Ubuntu – Create launcher shortcut for RDesktop

command linelaunchershortcutsunity

I am trying to create a 'shortcut' that I can pin to my launcher in Ubuntu 12.04.3 LTS that will launch an RDesktop session.

It works fine from the command line thus:

rdesktop -u UserName -d Domain -g 1024x720 -a 16 ServerName

I found something close in Terminal command script launcher, but it does not quite work.

I made the desktop file that contains this (made it executable etc as per the link above):

[Desktop Entry]
Version=1.0
Name=RDP-ServerName
Comment=Open an RDP session to ServerName
Exec=rdesktop -u UserName -d Domain -g 1024x720 -a 16 ServerName
Terminal=true
Type=Application
Categories=Utility;Application;

I figured if I could get it to work from the desktop, then I could somehow pin it to the launcher afterwards?

However, when I run it from the desktop, nothing seems to happen. I tried choosing the 'terminal' option, and also the 'run' option, but neither seems to work.

Best Answer

You can just copy your *.desktop file to ~/.local/share/applications.

Or use alacarte application for this.

sudo apt-get install alacarte