Sponsored Link
First off, right click your applications menu and hit "Edit Menus"
The Menu editor will appear . In the left panel select the category like accessibility, Debian, accessories etc. The right panel will update with the entries in that category.
After you have selected the category, click on the New Item Button
Another dialog will appear, thats where you will make the actual entry.In this case I will add a Firefox entry.
First of all select what type of application it is. You can select application or application in terminal, both are quite self explanatory, you can also select a file.
Fill name with the application name or whatever you want. Fill command with the applications command, in this case its firefox. If you selected file in the first box instead of application, you can browse for the file or just add the path to it.
Comment is rather self explanatory.Now, select an icon by clicking the button to the left, in this case since i haven't selected one yet It sais no Icon
Hit the ok Button that's it.
hi
How can I create a menu entry for a sh script?
I have a program which I downloaded from the internet that provides a startup sh script. I can launch the program fine if I navigate to the folder with nautilus and then double-click the sh file icon. I’d like to create a menu entry for this app but when I do it and then click my new menu entry nothing happens.
Thanks for your help.
How do I add a menu entry for all users ?
I followed the way you have mentioned .. it works but only for the user who has added the menu entry… It does not show for other users
@ricardo silva:
When launching an .sh script, the working directory is probably your home directory. If the shell script is located somewhere else and requires relative paths (e.g. Java classpath stuff) this can cause problems. In that case a workaround is to modify the shell script to manually cd into its own directory before launching executing the actual command.
Best,
Jürgen
Alacarte (aka Menu Editor) really sucks. It is far and away my least favourite thing about Gnome (and, therefore, about Ubuntu). It has pretty much the worst usability of any Gnome program I’ve ever used, frequently fails to work properly, and makes the most awful mess of crap in the configuration files (which I have to go and hand-edit when it screws something up). Part of the problem is Alacarte itself, and part of the problem is the freedesktop.org menu specifications and standards. But it adds up to a real p.i.t.a.
@santhosh – probably your best option is to edit /etc/xdg/menus/applications.menu – but make sure you make frequent backups – it’s far from intuitive.
Fucking agree with simon.
Just… bloody awful.
@santhosh: You should try to follow this guide (http://www.breaknenter.org/2010/10/share-menus-between-users-in-ubuntu/) instead of editing the applications.menu file directly, that’ll prevent (some of) the mess that Alacarte makes.
Could someone please help me. After installing Ubuntu 10.04 i ma trying to add a new menu within the Application Menu list. I can add the menu calling it “Security Tools”, it displays as a folder. BUt when i check the box to enable it it automatically unchecks itself. I notice that if i try to check other entries they also uncheck themself. I am logged ina s root. Any help please??
Thanks
Stu
YEAH.. a real PITA…crashed GNOME 3x just by editing the menus.
If you take out the hidden nautilus icon, the menus refuse to work for any of the PLACES…
I have had GNOME just kill off the window manager and leave it in limbo somewhere with no recourse.
I have flat out killed off the window manager by the sessions part of the ADMIN pane..
I have brokne *NIX in so many places that refuse to get fixed….
Am just about sick of the INSTABILITY of the Linux+ X11 interface in General.
KDE is (of more later versions) just as annoying as Win7 with all the popups and real estate being taken up.
I have a netbook, for crickets sake….I need my real estate.
icewm is fine(once Dl and install correctly[need active connection(HARD LINE??)] with nautilus but you need to tell it to pkill nautilus as YOUR normal user before exiting….
Still leaves a whacky menu with things everywhere, though.
Someone needs a better solution to X11. The core of *nix seems fine.
This was why I decided to write my own OS, but alas Im hitting every C bug there is in testing out my FREE PASCAL-based OS.(including random execution halt during runtime in VM emulation)
The fact is that there is NO solution unless you MAKE one..nobidy wants to spend the time fixing other peoples bad code and nobody wants to rewrite the mess that has been left around since the 60s.
Unless someone steps up, we are left with stable DOS code. I’ve noticed that M$ cant even compete..(Win7 is closest they have and its bloatware/crippleware at best)
Or switch to XP. That way you can just download a new program and run it.
To clarify: I followed the instructions above, and they worked, except that when I click the program in the Applications menu, nothing happens. It does not run.
Where is the menu configuration stored for a user? We want to copy it over to the skel.
$HOME/.config/menus/*.menu
Nope. Still does not work. Added the new application to menu, but will not run. Nothing happens. Also never shows up in Application Finder despite going to the trouble of reinstalling with Synaptic Package Manager.