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

Re: shutdown from gnome logout dialog



On Sat, Oct 18, 2003 at 03:33:25AM +0200, Jarno Gassenbauer wrote:
> Hi,
> 
> I made 2 patches for gdm and gnome-session to trigger machine
> shutdown/reboot/suspend from the gnome logout dialog. Now gnome-session
> 
> * opens a connection to GDM via the socket in /tmp/.gdm_socket
> * asks GDM about which actions are available (shutdown, reboot,
>   suspend). radio buttons for actions that aren't available will
>   be set insensitive.
> * updates the logout action variable in GDM each time you click a radio
>   button
> * greys out the radio button (makes it unselectable), waiting for GDM's
>   acknowledge
> * activates and makes the radio button clickable again upon GDM's
>   response. kind of visual feedback.

This sounds really cool.

> If you hit OK and selected anything but 'logout only', gnome-session
> exits and GDM will run the post-session script, kill (or reset?) the
> X server and instead of starting the login prompt, will shutdown or
> reboot or whatever. Without flicker :-)
> 
> I think my patches won't make it into the current debian unstable
> because that functionality is gnome 2.6 stuff. Just posting it
> here for the impatient, like me.

Why do you think they won't ? Is there a reason not to apply them to the
not yet existing 2.4 packages ?

Friendly,

Sven Luther



Reply to: