Debian :: How To Disable Sleep / Hibernation When Closing Laptop Lid
Sep 15, 2015
I am using a old laptop as a server now and its running great! I would like to disable sleep/hibernation when I close the lid (i would prefer the screen still shut off if possible) ...
This has to be done via command line because I don't use a gui ...
How to completely disable hibernation in Debian Squeeze (with KDE). If it's impossible to disable it for whole system, I want to hide button in KDE menu.
I'm running 9.10, how do I wake up from sleep or hibernation on my Dell XPS notebook? I have no problem putting the comp to sleep/hiber but can't seem to work out the keys to wake it up again.
I don't get any responses from the keys even when I try CAPS LOCK or NUM LOCK, so all I can do is reach for the on/off switch.
I have a laptop Acer Aspire 4551-2194. I've installed Debian Squeeze with XFCE and it works great. I have only one problem. I can go through hibernation / suspend, but when I push the power button, the computer hangs. It doesn't come back and I must reboot it.
I have a Dell Latitude D505. I installed Squeeze on 12 November 2011 from the weekly DVD. I install updates every day, when available. My kernel: 2.6.32-5-686 #1 SMP Thu Nov 25 18:43:34 UTC 2010 i686 GNU/Linux
Everything is working fine except the button that is pressed when I close my lid. Hibernate works, Suspend works, blank screen works. user is member of the group "powerdev". I really thought thread "closing-laptop-lid-renders-computer-unusable-786822" would bring me a solution. When I close my lid my screens turns black with my mouse cursor on it. Connections with ssh are broken. Keyboard is dead, mouse pad too. It looks like it never start any software it just hangs immediately. I cant find anything in my logs.
Recently, I found my system can't sleep or hibernation. Whatever I click "sleep(suspend to memory)" or "hibernation(suspend to disk), the system just lock the screen, don't sleep really.
Have been using Ubuntu 9.10 since past 2 months and had similar power and screen saver options as I do now after upgrading to 10.04. ( "sleep" after 1 h, "lock screen" after 10 min, "hibernate" when "close lid" on a Dell 600m laptop)
With Karmic, Never had issues with closing the lid while the laptop was sleeping. Three times in a row noticed that if the lid is closed while laptop is in sleep mode, opening the lid results in a blank screen, HDD and CD drive spins, fan turns on. No response to keyboard and/or mouse. Pressing the power key: no response.
The only solution is to shut-down by holding the power key down for a few seconds and reboot. Cant imagine why there would be a problem, but wondering if there are others who also see the same thing and if there is fix to this. Right now, have disabled sleep and will see if problem shows up.
I am currently running squeeze with the 2.6.32-trunk amd64 kernel.
If I close the laptop lid the screen will not turn back on and the laptop becomes unresponsive. The only way to get it functioning again is to hold the power button down until it dies.
Note: I use debian testing.GUI very frequently completely breaks for me, it looks like this:URL....It usually happens after a short freeze or after going back to GUI from TTY (which doesn't display because of a known Nvidia proprietary driver issue).And sometimes my laptop goes into sleep state by itself while it's being used. This is lenovo ideapad z510 laptop, with intel+nvidia GPU (nvidia Optimus). To use nvidia GPU I use bumblebee.
Installed Squeeze into my Thinkpad T410 and noticed that when I closed the laptop lid, the moon icon does not light up.Reopening the lid and will see a screensaver password screen immediately.Does this means that the laptop does not have Sleep (or is it called hibernate) mode enable? How can I enable it?[Solved]Managed to found out what I've done wrongFor KDE users, go to the menu-> Power Management-> Chose the Profile as Powersave
I have Debian Jessie 8 installed on a Acer 5733 Laptop. After I closed the screen, it goes sleeping, and when I open it, aleatory, it freezes. I don't have graphical interface, and the tty are not accessible. Sometimes, I get access to the computer 10 seconds, and then freeze.I have to shutdown the computer...and lose my work I was doing.I thought it was a X-problem, but the tty don't work too, so it's not ? When I restart the computer, it shows Code: Select allclearing orphaned inode <some inode number.
I have a strange problem in my new debian 8.3 LXDE install. Every time I boot my laptop it goes in to sleep mode automatically after a min. It is a default install and I have not configured any power management options. How do I find out the reason for the automatic sleep and how can I rectify it?
I would like to disable the screen locking for hibernation only, in Kubuntu 11.04.I know that there is an option in the KDE Control Center, but I believe that it disables screen locking for both hibernation and sleep.Does anyone know of a way to do this (I'd be perfectly happy with a hacky solution)?Does anyone know what scripts are run when the "sleep" or "hibernate" buttons are pressed?
My laptop beeps three times during the resume from hibernation. How can I disable this beeping. I use CentOS 5.3. Interestingly, this issue did not occur when I used CentOS 5.2 on the same laptop last year.
I am trying to disable the touchpad and when I try to run synclient -l I get synclient -l Couldn't find synaptics properties. No synaptics driver loaded?
Hibernation on my laptop doesn't work. When I try to hibernate (either manually or automatically because battery goes critically low), any of the following can happen (randomly):
A. During the hibernation process it hangs forever with a black screen (with or without some error messages unanderstandable to me) and never terminates hibernation. I have to manually turn it off by holding the power button, and when I turn it on again, it does a fresh boot.
B. Instead of hibernating, it just locks screen.
C. It (apparently) terminates the hibernation (the power goes off automatically as if it had succesfully hibernated, even if AC power is connected), but then, when I turn the computer on, instead of resuming it does a fresh boot.
D. It hibernates succesfully and when I turn it on it resumes succesfully. This almost never happens; it has been a long long time since the last time it happened.
I am far from being the only one and this has been so for years. The bug has been reported in launchpad by a lot of people a long time ago, so if it has not been fixed in such a long time it must mean that the developers don't think it deserves much attention. (Which is strange by the way, because an operating system with non-bulletproof hibernate/suspend is an operating system that you just cannot safely use, at least on a laptop.)
I have a Dell Vostro 2520 and when I plug in the headphones, the speakers don't mute. I tried to edit /etc/modprobe.d/alsa-base.conf file several times to put different things in, that I found on the internet but non of them worked.
lspci | grep -i audio Code: Select all00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
I'm using xfce, and the power manager settings, to only lock the screen when close, are not honored. The laptop suspends, no matter what, when closed. Is there a way to forcibily only allow xfce power manager to handle the close lid behavior?
I have tried to use the extensions toggle-touchpad and touchpad-indicator that claim to be able to do this, but neither will load properly. They show up with a little exclamation-point-triangle in the "Tweaks" panel saying "Error loading extension". How to get Jessie gnome system succeeded in getting their touchpad disabled via a simpe toggle mechanism?
Since my laptop went back to DELL to be repaired closing the lid does nothing. It used to put the laptop into suspend. I even tried on my windows partition and closing it still does nothing. I suspected that the switch(?) that controls this is not sending any data to the laptop - is there away to see if any input is being received when the lid is closed? Or does anyone have any other thoughts on what might be at fault?
I'm wondering if there is any way to execute a program, run some command or anything else when closing the laptop's lid. My question aims to be generic, both for Windows and Linux. Something useful should be locking the laptop when closing the lid (Win + L in windows), or running expensive processes such as antivirus analysis etc. without doing it manually before closing the lid.
I recently upgraded my laptop from Lucid to Meerkat 10.10. Everything was fine until I closed my laptop cover. In "suspend" , I can't come back. I get a black screen with a frozen cursor, and I have to reboot. Not a good situation with a laptop. Is there anything I can do? I prefer Meerkat to Lucid for my laptop except for this one area.
since I've upgraded to 11.04 on my Dell Latitude E6400, every time I close the lid and open it again, Ubuntu fires up but the screen itself is totally messed up, it's just random patterns all over the screen. The laptop is locked, so I can type in my password, hit enter, and once I'm logged in again the screen is perfectly fine, so the system itself works, only the display is the problem
Gnome (or XORG, I'm not sure which name to give it) freezes up not always, but about once every 24 hours after I close the laptop's cover/lid. I know this happens when I close the lid rather than open it judging by the time the clock is locked at. The cursor will move around on the screen, but noting will react to it in any way. Other services such as FTP and Samba still work just fine when the computer is "locked down". Without more details to why the problem is occurring, I have no idea what to search for or where to get started solving the problem. I have attached the XORG logs (found in var/log) in case they are of any use.
Whenever I use the function hibernate or sleep - or just generally close my lid on my laptop, my laptop displays a black screen when I open the lid again - though it is turned on.
Basically, it hibernates/sleeps the laptop when I close the lid. When I open the lid though, it turns on the laptop, but brings me a black screen.
It looks like something must've slipped the attention of Ubuntu developers as in the previous LTS version laptop suspension after closing the lid worked perfectly fine for me (Dell Latitude D820) while after upgrading to Meerkat it doesn't work any more....well sometimes it does sometimes it doesn't - it behaves sort of like a weather in UK/Ireland ...anyway...is there more information I could provide to you guys or is there something you could give me to point me to the right direction ?
When I close my laptop and open it the screen become grey and blotchy with almost an argyle pattern. This has only started happening after I configured the usb ports to work in my VM. My startup screen also says something about a usb problem, and S for skip and M to manually fix it but I have had no problems with my usb. Oh except for my computer won't start