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" "http://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.