Commit 9b9f852a authored by Tails developers's avatar Tails developers
Browse files

Hide GNOME menu items properly rather than deleting their desktop files.

parent 1e4ecdc6
......@@ -17,13 +17,3 @@ find /usr/share/scribus-ng/translations \
-type f \
-regextype 'posix-egrep' -not -regex ".*scribus\.(${locales}).*" \
-exec rm "{}" \;
# Remove links to unsuitable GNOME preferences tools.
rm -f \
/usr/share/applications/gnome-about-me.desktop \
/usr/share/applications/gnome-network-properties.desktop
# Remove links to unsuitable GDM tools.
rm -f \
/usr/share/gdm/applications/gdmflexiserver*.desktop \
/usr/share/gdm/applications/gdmsetup.desktop
<!DOCTYPE Menu
PUBLIC '-//freedesktop//DTD Menu 1.0//EN'
'http://standards.freedesktop.org/menu-spec/menu-1.0.dtd'>
<Menu>
<Name>Applications</Name>
<MergeFile type="parent">/etc/xdg/menus/gnome-applications.menu</MergeFile>
<Menu>
<Name>System</Name>
<Exclude>
<Filename>gdmflexiserver-xnest.desktop</Filename>
</Exclude>
<Exclude>
<Filename>gdmflexiserver.desktop</Filename>
</Exclude>
</Menu>
</Menu>
<!DOCTYPE Menu
PUBLIC '-//freedesktop//DTD Menu 1.0//EN'
'http://standards.freedesktop.org/menu-spec/menu-1.0.dtd'>
<Menu>
<Name>Desktop</Name>
<MergeFile type="parent">/etc/xdg/menus/gnome-settings.menu</MergeFile>
<Menu>
<Name>Preferences</Name>
<Exclude>
<Filename>gnome-about-me.desktop</Filename>
</Exclude>
<Exclude>
<Filename>gnome-network-properties.desktop</Filename>
</Exclude>
</Menu>
<Menu>
<Name>Administration</Name>
<Exclude>
<Filename>gdmsetup.desktop</Filename>
</Exclude>
</Menu>
</Menu>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment