Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have both KDE and GNOME desktop environments installed on Ubuntu 10.10. When I add the entry OnlyShowIn=GNOME; in a .desktop file, the application doesn't appear in the KDE menu.

However, when I add OnlyShowIn=KDE; the file still appears in the GNOME menu. Does anyone know why this isn't working? Does anyone have a workaround?

share|improve this question
1  
Works here. Which file have you edited? –  enzotib Feb 11 '11 at 16:23
add comment

2 Answers

Try running sudo update-desktop-database after you make any changes to the .desktop files.

share|improve this answer
add comment

I don't know about the whole Gnome story but you could use this in the meanwhile: Gnome Menu Extended (Debian package)

There's a KDE version too: K Menu Gnome (Debian package)

Hint: read the Breaking news section in the first link ;)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.