Limited Menus for non-root users
David L Norris
dave at webaugur.com
Sun May 2 13:36:57 UTC 2004
On Sat, 2004-05-01 at 07:08, Brian Fahrlander wrote:
> The idea's simple; until the "get root access" menu item, always
> displayed, is hit and it provides the little 'keys' icon on the system
> tray, programs requiring root access simply don't show up. Entire menus,
> once 'hidden' like this, would then be hidden from their parent menus.
>
> I think this is do-able, but then, I've not seen the code. What do
> you folks think?
Sounds problematic at best. How do you specify which menus or launchers
to hide? Anything along those lines would surely require changes to
various freedesktop.org specs. I doubt any of this will even be
considered until SELinux is in a usable state (FC3? FC4?). Then ideally
you would show menus based on user roles.
As for removing the menus entirely you can copy:
/etc/X11/desktop-menus/applications.menu
to:
~/.gnome2/vfolders/applications.vfolder-info
To remove the menus requiring root access you can edit the vfolder-info
file. Remove the Folder blocks named:
System
MoreSystem
System Settings
Server
MoreServer
There may be implications to doing this, of course. Particularly if
something adds a new application menu. But, I don't think anything of
grave importance would be affected. I've done it for several years
without any problems.
--
David Norris
http://www.webaugur.com/dave/
ICQ - 412039
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040502/7e2394b0/attachment-0001.sig>
More information about the fedora-list
mailing list