How to add e menu entry to KDE start menu over CLI
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How to add e menu entry to KDE start menu over CLI
Hi there
I have an own program that I have created a install package for (.deb). I want to create a menu entry in KDE when it is installed. So far all I could find was a GUI Menu Editor for KDE, which does not work for me obviously. Anyone know how you script adding a menu entry?
I tried it and it is not that easy really. The entries that I create with the menu editor (as a template) get created in the local dir of the user and do not show up for other users therefore.
When I copy these .desktop entries into /usr/share/applications they don't show up in other peoples menus.
I want that the programs I install are accessible by all users.
Hi
When I copy these .desktop entries into /usr/share/applications they don't show up in other peoples menus.
You check the permissions on the files you put in /usr/share/applications?
Can you post the contents of one of your .desktop files?
Are you using KDE 3 or KDE 4? Though the method for both is the same I think.
I suspected the permissions to be the problem at the beginning too, so I changed everthing to read (user / group / other), in line with all the other files in the dir.
here one .desktop file:
brownyworld.desktop (which is really only a directory, a subcategory, under which you can fit menu entries:
Well under KDE 3 /usr/share/applications/Frostybaby\ unstable.desktop works fine for me. It shows up in the K-Menu under Applications. If you want it to show somewhere else you need to specify a category. If it doesn't show up for you then try logging out and in again or restart the kicker with
Code:
$ dcop kicker kicker restart
brownyworld.desktop - well if that's supposed to define a new directory level on the K Menu then for starters the filename needs to be brownyworld.directory and you don't need an Exec line. Also you need a .menu file somewhere. On my SLED 10 systems at work I have
Yes, this is KDE3.5.
On Debian though and I don't have a applications menu. And so far I am not seeing any menu entries that I put into /usr/share/applications...How does this work with the menu entries in /etc/xgd/ ? is there any tutorial or info how everything is laid-out and connected with eachother? Wiki or anything?
I see that the files in xgd are written in XML, do you know any editor on Linux that can display XML in a structured view, meaning that you can edit the fields and show it hierachical, instead of plain text?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.