# How do I get my launcher to stay in the unity menu [closed]

I want to have a button in my unity launcher that will run a few lines of code in terminal when I click on it.

I have created a .sh file, made it executable, created a launcher for it, moved the launcher to /Home/.local/share/applications.

When I search for the launcher and try dragging it onto unity the message 'Drop to add application' comes up but it does not stay there.

Any help much appreciated

-

## closed as too localized by Marco Ceppi♦Jan 4 '12 at 0:08

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

From what I see, you need alacarte (search it on Ubuntu software Center). Try that app; it lets you create custom application launchers & menus. –  user33877 Nov 22 '11 at 20:57
:j-john-edwards, yea thats what I meant. –  jamie-khan Nov 22 '11 at 21:01
Bad Learner, I tried Alacarte, it was handy for creating launchers but they still dont stay in unity when I drag them in. Not sure if I am missing something here.. –  jamie-khan Nov 22 '11 at 21:08
Does not "Right Click/Keep in Launcher" work for custom applications? –  heartsmagic Nov 22 '11 at 21:43
When I drag the launcher in, it seems to be rejected and pops straight back out. I am unable to right click it as it does not stay long enough for me to do so. After dragging it in a couple of times and waiting a few minuets, I noticed the launcher appears to pop back out onto the desktop after not touching my computer, its as if it has frozen and is rejecting the launcher. –  jamie-khan Nov 22 '11 at 22:39