[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: remove "shutdown" option from gnome system (not gdm!) menu?



On Tue, Oct 03, 2006 at 07:22:18PM -0500, Chris Mohler wrote:

>>  Wow.
>>  
>>  I installed 'pessulus' via yum.  When run as root, it allows one to
>>  remove the "log out" from the "System" menu.  BUT, that also removes
>>  the "Shut Down" item - apparently, the two are bound somehow.

First let me say a "thanks for pursuing this"!  we're not at a great
solution yet, but it's nice to get some response ....

I also installed pessulus, started it up, and observed that the lockdown
option I actually wanted wasn't available.

>>  Even though the "Log Out" function departs the menu, you can still do:
>>  gnome-session-save --kill --gui
>>  from the command line and it (seemingly) logs out the user cleanly.
>>  You could add a new item to the menu or panel with that command.  Not
>>  pretty, but maybe it would work.

This actually sounds kind of promising ....  I worry a bit, though,
that if people [*] can't easily figure out how to log out they'll just
reboot, which would defeat the purpose of this change.  However,
it might be worth a try.

[*] The people who use the machines in question range from Unix-savvy
types who would figure something out to newbies who -- might not.

>>  Seems odd that you can't remove the shutdown item without disabling logout.

My guess is that the people who designed this thing figured that if
you can log out, you can get to the GDM Actions menu, which has a 
shutdown option, so therefore there's no point in just disabling the
shutdown menu item in a GNOME session.  Plausible??

I guess they weren't thinking about putting "shutdown" and "log out"
right next to each other on a menu would make it too easy to click
the wrong one.

What bugs me is that this stuff appears to be buried somewhere that
even sysadmin types can't change.  Maybe it all makes sense to people
who know something about the internals of GNOME, though.

(I have similar, um, issues? with what GDM does when you choose
something other than "Default" from the "Sessions" menu.  But maybe
that should be a rant for another time.)

-- blm


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]