LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   How to create a menu group and application launcher? (https://www.linuxquestions.org/questions/programming-9/how-to-create-a-menu-group-and-application-launcher-294596/)

kiranprashant 02-24-2005 10:48 PM

How to create a menu group and application launcher?
 
Hi all,
This is my first mail to the forum, hope it will help me.

I want to make a menu group and an application launcher for my custom application, so i can create shortcuts for my application on the desktop and also in the Main Menu for both the desktops (Kde and gnome) for all users of that particular machin.

regards,

prashant

Artanicus 02-24-2005 11:16 PM

in KDE you can use the kmenueditor.. You can access it by rightklicking the K menu.. Its relatively easy to use.. After that you can use that as a shortcut everywhere..

About gnome, I have no idea.. But I doubt them not having a graphical tool for it..

kiranprashant 02-25-2005 03:18 AM

Hi,
Thanks for help.
But i want to make those menu groups and appl. launchers at the time of my application installation. As my installer is a shell script, i want to create it in shell script only.
waiting for reply.

Artanicus 02-25-2005 08:12 AM

ah.. Well in that case.. The custom entries are kept under ~/.local/share/applications/

Examine an allready existing entry to undersand the fundamentals, its pretty easy..

kiranprashant 02-25-2005 11:29 PM

Well, i was unable to find the path you mentioned on Redhat Linux

Artanicus 02-26-2005 12:15 AM

well, RH is know to screw up standards.. (;

Okies, one way for you to find out where it is.. If yo have some custom menu entry, you can use that, if not, create one.. Then just do a
Code:

locate unique_part_of_your_entry_name
Adn you should see a .desktop file emongst them.. Then youll know where redhat likes to keep em..


All times are GMT -5. The time now is 09:16 PM.