shutdown (physical) button

Robby Workman xfce at rlworkman.net
Tue Jun 17 00:24:39 CEST 2008


Jean-Christophe wrote:

>> Another solution to this problem might be to stop handling power button 
>> presses using acpid (I thought acpid was deprecated, anyway, and events 
>> like that should go through a /dev/input/event# device in the future). 
>> Then you could catch the power key via some kind of power management 
>> daemon that runs as a part of your X session, and do something 
>> appropriate there.  But that's quite a bit of work...
>>   
> Well, I'm in a Debian, and with my first installation I installed the 
> debian 'desktop-base' with xfce, and there were the gnome-power-manager 
> in. In this case my button was working. I just try now to have a nearly 
> 'no-gnome' desktop. Does a light power-manager exists?


Unfortunately, the answer to that question is "no" (best I can tell,
anyway).  I *really* wish there were a gtk-only power management
daemon, but since I lack the skills to write one, I'll just have to
keep on wishing...

-RW



More information about the Xfce mailing list