LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   How can I create KDE/Gnome menu shorcut via perl script? (https://www.linuxquestions.org/questions/programming-9/how-can-i-create-kde-gnome-menu-shorcut-via-perl-script-353508/)

mf1234 08-15-2005 12:58 PM

How can I create KDE/Gnome menu shorcut via perl script?
 
Hi everyone
I write cool software in Perl with cool icon and I want to add shortcut to my software into the KDE and Gnome menu (K-Menu ...) like all the really cool software do on installation. Can someone please give the code example that add icon and shortcut to these menus
thx for the help :)

MF

leonscape 08-16-2005 05:46 PM

What you need to add is a .desktop file. These are simple text files based on a standard ini format. The place this file in the /usr/share/applications/

Details of what should go in a desktop file are specified here.


All times are GMT -5. The time now is 01:12 PM.