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

How can I remove the Games sub-menu from the Applications menu remotely? I don't want to remove it completely, I just don't want to show it in the Applications menu. So that I can revert it back if I need it again. I want to remove it from more than 200 ubuntu PCs, that is why I would prefer a remote method for doing this task.

share|improve this question
up vote 4 down vote accepted

Edit /usr/share/desktop-directories/ and add a NoDisplay=true line.

This will hide the Games category (and all of the games) from the default menu. Individual users will be able to re-enable the category in alacarte if they so choose.

share|improve this answer
  1. Right click on your Application button on the panel, select Edit Menus
  2. Click on Applications, it's the very first item on the left side.
  3. On the right side, uncheck the Game item.

You are done.

If you want to do this remotely for 200 computers, take a look at


I looked more carefully in the file above, so basically if you remove the section from

<!-- Games -->
<!-- End Games -->

save it in another file, and then you can swap the file remotely. You can probably accomplish this.

share|improve this answer
not really what he's asking, imagine doing this on 200 pc's? – Uri Herrera May 7 '11 at 5:36
i think /etc/xdg/menus/ can edit out the game part, not certain though. – hansioux May 7 '11 at 5:45
Note that removing the games section from will dump all of your game shortcuts into the "Other" section, which may not be what you were expecting. – cscarney May 7 '11 at 16:23

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.