You are not logged in.
I have installed an NFS server on my laptop, so it's running long times without me directly using it. In order to save space and power, I would like to close the lid.
Basically, all I want it to do is turn of the screen, and not go to sleep. Currently, when closing the lid, it turns of the screen, but also attempts to sleep (which results in a kernel panic).
I read about the ACPI package somewhere, but I guess there's an easier way to turn off this "feature" without having to install ACPI?
Thanks in advance!
Last edited by MrAllan (2009-03-22 11:55:21)
Offline
Are you running X and some DE?
Offline
Are you running X and some DE?
No, usually I don't even login locally (only over SSH) and stay at the CLI login screen.
Offline
On my system HAL is monitoring the lid switch, powerdevil (kde4 power manager) reacts on this and other events from HAL according to what I set in my KDE systemsettings. I think HAL alone doesn't initiate anything, do you have some other powermanager/cpufreq daemon running? Maybe that one is responsible for the suspend action, and you can set it to not do anything on a lid event in some configuration file...
[val@tux ~]$ lshal --monitor
Start monitoring devicelist:
-------------------------------------------------
14:07:01.891: computer_logicaldev_input_2 property button.state.value = true
14:07:01.897: computer_logicaldev_input_2 condition ButtonPressed = lid
14:07:02.128: computer_logicaldev_input_2 property button.state.value = false
14:07:02.134: computer_logicaldev_input_2 condition ButtonPressed = lid
14:07:05.639: computer_logicaldev_input_2 property button.state.value = true
14:07:05.645: computer_logicaldev_input_2 condition ButtonPressed = lid
14:07:05.845: computer_logicaldev_input_2 property button.state.value = false
14:07:05.851: computer_logicaldev_input_2 condition ButtonPressed = lid
SignorRossi.
Offline
Can anyone recommend some good software that does the trick?
Offline
acpid seems to be simplest way to achieve what you want.
Check acpid Wiki , tip 4.3 .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
acpid seems to be simplest way to achieve what you want.
Check acpid Wiki , tip 4.3 .
OK, thanks!
Offline