Lid closing action for Mepis 6.5
Posts: 6
Hey all,
I have a Dell C600 and am running Mepis 6.5. From previous versions, I was used to the computer simply locking the session when I closed the lid. On this version, it completely logs me out of my current session when I close the lid, even if I lock the session first. I have tried changing the lid action setting in kpowersave, but it didn't seem to do the trick. Any thoughts?
Thanks!
No Beryl
Posts: 6
I haven't yet gotten Beryl to work (not sure if my video card will do it), so no it isn't running. 
what happens when you choose
Posts: 2299
what happens when you choose the suspend option via the Kpowersave icon? Does that log you out as well?
Newbie or not Newbie, there's always a question
Re: suspend
Posts: 6
Hmm, haven't ever really used suspend options on my laptop in Linux or Windows. I could try that I suppose and see what happens. It'll be later on this morning before I will be able to try that.
It just struck me as odd that it didn't do this under Mepis 6.0.
the answer is in
Posts: 2299
the answer is in /etc/powersave/events. There will be a number of entries like this:
EVENT_BUTTON_POWER="wm_shutdown"
EVENT_BUTTON_SLEEP="suspend_to_disk"
EVENT_BUTTON_LID_OPEN="ignore"
EVENT_BUTTON_LID_CLOSED="suspend_to_ram"
The lid_closed event determines what happens when the lid closes. edit the file as root and set
EVENT_BUTTON_LID_CLOSED=""
Then restart the powersave daemon (in console as root do /etc/init.d/powersaved restart) and the lid button should no longer trigger an event.
If you want suspend to disk or ram to work, try it out and open a new thread for help if needed.
Newbie or not Newbie, there's always a question
Thanks!
Posts: 6
Many thanks! I just wasn't sure where the config file was to fix this issue and I couldn't find this particular case in the forums. So far all of my other questions have been answered in the forums.
I'll also have to look into Beryl compatibility with my video card as well and toy with that.
Thanks again for your help so early in the morning!
well, it's now 13.05 PM in
Posts: 2299
well, it's now 13.05 PM in here, so I'm wide awake 
glad it works
Newbie or not Newbie, there's always a question
Hey, didn't work afterall
Posts: 6
Hey again,
I tried editing the line you mentioned in the "events" file for powersave, and it still logs me off when I close the lid. I also checked the screensaver settings under "Configure Desktop" and it is set to automatic. Any other thoughts?
Thanks!
Xserver is crashing
Posts: 6
I looked at the kernel output, and apparently the Xserver is crashing unexpectedly when I close the lid. Maybe I need to shut off the screensaver completely?
did you restart
Posts: 2299
did you restart powersave?
Also, look in the BIOS to see if you can disable the lid switch there
Newbie or not Newbie, there's always a question
Do you use Beryl? Newbie or
Posts: 2299
Do you use Beryl?
Newbie or not Newbie, there's always a question