David W Noon <[email protected]> wrote:

> On Mon, 26 Apr 2010 21:40:02 +0200, [email protected] wrote about
> Re: [gentoo-user] gnome login panel how to disable restart and shutdown
> buttons:
> 
> >I did not look in gconf editor, and gdm at least, is compiled with the
> >policykit use flag, so I am not sure where to go with this.  Where
> >would I look in gconf?
> 
> Take a look at /usr/share/gdm/defaults.conf.
> 
> # Specify which actions are displayed in the greeter.  Valid values are
> # HALT,
> # REBOOT, SUSPEND, and CUSTOM_CMD separated by semicolons.
> SystemCommandsInMenu=HALT;REBOOT;SUSPEND;CUSTOM_CMD
> 
> # Specify which actions are supported by QUERY_LOGOUT_ACTION,
> # SET_LOGOUT_ACTION
> # and SET_SAFE_LOGOUT_ACTION.  Valid values are HALT,
> # REBOOT, SUSPEND, and
> # CUSTOM_CMD separated by semicolons.
> AllowLogoutActions=HALT;REBOOT;SUSPEND;CUSTOM_CMD
> 
> You wll, of course, need to recycle xdm when you are done.
> -- 
> Regards,
They seem to have abolished the defaults.conf in 2.28.2, however I found
a gconf key /apps/gdm/simple-greeter/disable_restart_buttons and if I
use gconftool-2 --set /apps/gdm/simple-greeter/disable_restart_buttons
true 
as the gdm user, this fixed the problem.'

Thanks to all for your responses.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         [email protected]

Reply via email to