Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

Novice problem:

I'm running Lubuntu and on my desktop I've created (mangled) two shortcuts...

I created them by right-clicking on the desktop and selecting Create New... > Shortcut

If I try to rename them, the first one is named "TeamSpeak", but appears as "TeamSpeak Server" when normally viewed from the desktop, and the second one is named "A" but appears as "TeamSpeak" when normally viewed from the desktop.

After goofing around trying to make a script to fix mouse settings using a text file on the desktop, I can no longer summon the shortcut editor, nor open them in a text editor. For some reason, they are set to open with Leafpad, but even then, nothing happens on double-click.

The shortcuts were supposed to run shell scripts, and I never got them to work before breaking them even more.

Running the shell scripts from the command line works fine.

How do I get working shortcuts (to shell scripts) in Lubuntu/LXDE?

share|improve this question
Can you please explain what exactly you want to do and how you reached the point of having desktop shortcuts. I'm asking because I think desktop shortcuts aren't there by default. Are you also saying that you can't edit anything in /usr/share/applications? – user25656 May 15 '13 at 2:37
up vote 2 down vote accepted

You can try to edit the .desktop file with Leafpad. If you can't open it clicking it with mouse second button, you can try it from terminal.

An example of a shortcut that launchs a shell script, viewed here:

[Desktop Entry]
Exec=sh /usr/share/nixnote/
share|improve this answer

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.