Re: Getting confirmation for power button

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



From: "Vanhorn, Mike" <michael.vanhorn@xxxxxxxxxx>

> Yes, and that works fine, *if* the user is logged in. But what about when
> the workstation is sitting there at the login window? At that point, when
> the action from power.conf is taken, there is no power manager, so it does
> the shutdown. 
> I'm wanting to get a prompt in that situation, too.

Maybe try (untested):
  sudo -u gdm gconftool-2 -g /apps/gnome-power-manager/action_button_power
  sudo -u gdm gconftool-2 -s /apps/gnome-power-manager/action_button_power -t string interactive
  sudo -u gdm gconftool-2 -g /apps/gnome-power-manager/action_button_power

JD
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos





[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux