levlaz

Debian LXDE hide other menu directory

2015-01-07 Tags: debian

LXDE is an awesome, light weight, and customizable desktop environment that gets out of your way and lets you get to work! By default in Debian, the LXDE menu has an “Other” category which is filled with a whole bunch of stuff that does not fall into any other category. In my opinion this option is useless and just adds more clutter to an otherwise clean desktop environment. I found an easy way to get rid of this menu item that is a bit hacky but gets the job done. Basically, we are just going to comment out the entire menu item in the configuration file. The configuration file lives in /etc/xdg/menus/lxde-applications.menu Find this file, and locate the part that refers to the Other directory. Then proceed to comment the entire thing out. The end result should look like this:

137     <!-- Other  138     <Menu> 139         <Name>Other</Name> 140         <Directory>lxde-other.directory</Directory> 141         <OnlyUnallocated/> 142         <Include> 143             <And> 144                 <Not><Category>Core</Category></Not> 145                 <Not><Category>Settings</Category></Not> 146                 <Not><Category>Screensaver</Category></Not> 147             </And> 148         </Include> 149         </Menu> End Other -->

Once you save this file, this menu item will be gone and you will have a nice clean Menu.