Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

.desktop file - specify folder in menu

User discussion about Debian Development, Debian Project News and Announcements. Not for support questions.
Post Reply
Message
Author
tgh94
Posts: 8
Joined: 2012-07-03 00:22

.desktop file - specify folder in menu

#1 Post by tgh94 »

I'm trying to make a .desktop file for LMMS. It's a multimedia app.When I made the new .desktop and put it in /usr/share/applications/, KDE put it in the Lost & Found folder. How do I specify that it should be in the Multimedia folder in the menu by default?

adenukolnis
Posts: 459
Joined: 2012-02-24 18:36

Re: .desktop file - specify folder in menu

#2 Post by adenukolnis »

add
Categories=AudioVideo;
to the .desktop file



But if you installed lmms from the debian repo it should create its own desktop file and show in the menu.

tgh94
Posts: 8
Joined: 2012-07-03 00:22

Re: .desktop file - specify folder in menu

#3 Post by tgh94 »

It should, but it doesn't. http://lists.debian.org/debian-edu/2012 ... 00080.html

For future use, how does one find what categories are mapped to each folder in KDE's menu?

adenukolnis
Posts: 459
Joined: 2012-02-24 18:36

Re: .desktop file - specify folder in menu

#4 Post by adenukolnis »

For future use, how does one find what categories are mapped to each folder in KDE's menu?
Not sure what kde does but there is a standard - http://standards.freedesktop.org/menu-s ... y-registry



All I usually do is look at other .desktop files to figure out what goes where.

Post Reply