Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

3.3. Removing Submenus for Individual Users

To remove the entire System Settings submenu for a user, use the <Deleted/> element in the user's $HOME/.config/menus/applications.menu file as shown:

<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
"https://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">

<!-- File created by desktop-file-utils version 0.8 -->
<Menu>
  <Name>Applications</Name>
  <MergeFile>/etc/xdg/menus/applications.menu</MergeFile>


<!-- Removes the System Settings submenu from the Applications menu-->

  <Menu>
    <Name>System Settings</Name>
    <Deleted/>
  </Menu>

<!-- END of System Settings removal content -->

</Menu>

The other submenus of the Applications can be removed in similar fashion. Note that the name of the submenus can be determined from the files located in the /usr/share/desktop-directories/ directory.

 
 
  Published under the terms of the GNU General Public License Design by Interspire