Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
Works here. Which file have you edited? – enzotib Feb 11 '11 at 16:23

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

share|improve this answer

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

Your Answer


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.