Help answer threads with 0 replies.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 08-15-2005, 12:58 PM   #1
LQ Newbie
Registered: Aug 2005
Posts: 2

Rep: Reputation: 0
Question 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

Old 08-16-2005, 05:46 PM   #2
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SL-NV400-64 Boot Menu Shorcut routers Linux - Hardware 0 10-18-2005 11:26 AM
How to add shorcut to Kmenu and gnome menu via perl code mf1234 Linux - Software 0 08-15-2005 12:18 PM
HELP!! Perl script to display drop down menu domquem Programming 3 06-03-2005 11:26 AM
Script to create menu-entries for installed apps pingu Debian 4 04-06-2005 05:10 AM
perl script to create a backwards file?! WorldBuilder Programming 16 10-30-2003 10:05 PM > Forums > Non-*NIX Forums > Programming

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration