Monday, January 21, 2008

guidance power manager tuxonice acpi dbus

/usr/share/python-support/kde-guidance-powermanager/powermanage.py

change the following:

# Send suspend / hibernate commands to HAL or use Sx_COMMANDS
SUSPEND_USE_HAL = False

# Show the cpu frequency widgets in the tooltip?
SHOW_CPUFREQ = True


# Command to initiate suspend-to-disk when not using HAL
S4_COMMAND = "sudo /usr/local/sbin/hibernate"
# Command to initiate suspend-to-ram when not using HAL
S3_COMMAND = "sudo /usr/local/sbin/hibernate"

Now you should have tuxonice working when you close the lid. (i.e) ACPI, D-bus events should work automatically.

0 comments: