English / Deutsch | Print version Plop Linux  

<< Previous
Benchmark tools

Table of Contents

Next >>
Xfce Shortcuts

Power button and Xfce


When you have the DBUS daemon running and you start Xfce, then Xfce is using DBUS for the power management and acpid is no longer able to turn off the computer. Xfce/DBUS captures the power key to provide a window for the user to select the next action. You see Log Off, Shutdown and so on. I don't like that. I want that the computer does a shutdown when I press the power button. To get this behavior just disable the dbus-daemon in /etc/rc.local. Now, acpid handles the power key even when Xfce is running. This means also, Xfce is no longer able to handle power saving features.

To disable screen blanking when Xfce is running without DBUS then add the block (inclusive the brackets { }) above the line exec startxfce4 in the ~/xfce4 file.

{
    sleep 2
    xset -dpms
    xset s off
} &

To disable screen blanking in Fluxbox do the same in the file ~/fluxbox.



<< Previous
Benchmark tools

Table of Contents

Next >>
Xfce Shortcuts


© 2024 by Elmar Hanlhofer