Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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]
Comment=Open an RDP session to ServerName
Exec=rdesktop -u UserName -d Domain -g 1024x720 -a 16 ServerName

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.

share|improve this question

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

Or use alacarte application for this.

sudo apt-get install alacarte
share|improve this answer

For the Exec= line Try /usr/bin/rdesktop as the command to execute. That worked for me when creating a shortcut on my desktop.

share|improve this answer
This doesn't create a shortcut. – guntbert Apr 22 '14 at 9:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.