Hi,
Would someone please run me through the process of creating a launcher for rtorrent in lxde? I would like for it to show up in my Menu>Internet.
Also, Lubuntu came with Transmission installed as default. Someone walked me through the process of turning my Transmission launcher into a rtorrent launcher. So, I do currently have a rtorrent launcher, but it's actually an edited Transmission launcher. I want to uninstall Transmission completely from my computer. But when I do that I lose my rtorrent launcher.
So this is what I want to do. Uninstall Transmission from my computer, then make a launcher for rtorrent that will show up in my Internet menu.
Thank you for any help. I'm pretty new to LXDE. I was using Gnome for a couple years, so I still have to get used to, and learn the way of LXDE. So any help will be greatly appreciated.
Thanks.
Creating a launcher
-
- Posts: 381
- Joined: Mon Mar 23, 2009 5:14 am
Re: Creating a launcher
Copy your working rtorrent launcher to rtorrent.desktop, then you can uninstall. They go in /usr/share/applications if they are system-wide, and ~/.local/share/applications if they are per-user.
Here is a basic .desktop file as an example
The Categories= key controls which menu the item is in. Pick a .desktop file that is in the menu you want your new one in, and copy those categories.
Here is a basic .desktop file as an example
Code: Select all
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=XSane - Scanning
Comment=Acquire images from a scanner
Exec=xsane
Icon=xsane
Categories=Application;Graphics
-
- Posts: 7
- Joined: Tue Dec 01, 2009 1:46 pm
Re: Creating a launcher
EDIT: Figured it out. And yep, that did it work. Thank you so much for explaining how to do this, Marty.
So I can use that same .desktop and create a launcher for pretty much anything?
Thanks again.
So I can use that same .desktop and create a launcher for pretty much anything?
Thanks again.
-
- Posts: 381
- Joined: Mon Mar 23, 2009 5:14 am
Re: Creating a launcher
Pretty much anything. The one thing that doesn't cover is Terminal=true if it is a console app that needs to run in a terminal.
If anyone should want to read the documentation, it is at http://standards.freedesktop.org/deskto ... atest.html
If anyone should want to see the mapping from Categories to menu, it is at /etc/xdg/menus/lxde-applications.menu
If anyone should want to read the documentation, it is at http://standards.freedesktop.org/deskto ... atest.html
If anyone should want to see the mapping from Categories to menu, it is at /etc/xdg/menus/lxde-applications.menu
-
- Posts: 7
- Joined: Tue Dec 01, 2009 1:46 pm
Re: Creating a launcher
Ok. Not sure I've ran into console apps that need to run in a Terminal. So I think I'll be ok.
I do have other question though that I'm hoping you can help me with, and I thought I would just ask here instead of starting a new thread.. Is there anyway to send Terminal(specifically rtorrent) to the system tray? Now, when I used to use Ubuntu/Gnome I would simply use the AllTray app to do this for me. But AllTray doesn't behave correctly in LXDE. AllTray will send whatever app/terminal to tray, but it won't pop it back up when you click on it(like it did in Gnome). If you want the app to pop back up you have to actually undock it from AllTray. Then when you want to put it to tray again you have to start up AllTray once more.
So, is there anyway to get terminal to tray in LXDE? It's not a huge deal, but I do like certain apps that are open most of the time to sit in the tray instead of the task bar.
Thanks again for the help.
I do have other question though that I'm hoping you can help me with, and I thought I would just ask here instead of starting a new thread.. Is there anyway to send Terminal(specifically rtorrent) to the system tray? Now, when I used to use Ubuntu/Gnome I would simply use the AllTray app to do this for me. But AllTray doesn't behave correctly in LXDE. AllTray will send whatever app/terminal to tray, but it won't pop it back up when you click on it(like it did in Gnome). If you want the app to pop back up you have to actually undock it from AllTray. Then when you want to put it to tray again you have to start up AllTray once more.
So, is there anyway to get terminal to tray in LXDE? It's not a huge deal, but I do like certain apps that are open most of the time to sit in the tray instead of the task bar.
Thanks again for the help.