Ubuntu :: Stop Suspend On Laptop Lid Close In GDM
Jun 14, 2011
I have done a fresh install of Ubuntu 11.04. My problem is that at the login screen if I close my laptop lid, the laptop goes into suspend. This is not the effect I want. GDM doesn't respect my settings in gnome-power-preferences and I can't seem to locate any other way to configure the power preferences for GDM. I have had 11.04 installed before as an upgrade to 10.10 and I did not have this problem in that case.
View 1 Replies
ADVERTISEMENT
Jul 24, 2011
I've tried to look this problem up on Google but I haven't found much consensus on what to do. I have the HP g6-1070us
View 3 Replies
View Related
Mar 18, 2010
I am using ubuntu 9.10 and when i close the lid of the laptop it does not hibernate or suspend?
what do i do?
View 1 Replies
View Related
May 23, 2011
3 questions i have about "pm-suspend-hybrid"
1. is it possible to schedule this command in the same manner as shutdown ? eg sudo shutdown -h 60
2. is it possible to schedule the laptop to come out of suspend ?
3. i have a usb sound card (xfi go). when waking from suspend, the internal sound card is selected. i have to manually select the external sound card & for whatever reason, also unmute it too
View 1 Replies
View Related
Jan 1, 2010
I have a laptop that I wish to keep on even when lid is closed, but I am unable to accomplish this. Does anyone have an idea where to look?
System is Fedora 13 (Rawhide).
gdm-2.29.4-1.fc13.x86_64
gnome-power-manager-2.29.1-2.fc13.x86_64
View 3 Replies
View Related
May 1, 2010
When I close the lid on my Macbook Pro 5,2 running Ubuntu 10.04 nothing happens.. it doesn't turn off the screen, suspend, hibernate or anything. Everything that i've looked at says to change the setting in power management but there's no option there for what to do when the lid closes. I've also checked out gconf-editor and the setting appear to be right in that... so I don't know what the issue could be.
View 5 Replies
View Related
Jul 20, 2015
So I have this laptop with a busted battery, I'm trying to get it into some kind of headless server, media topbox hybrid.
First thing I want to do is being able to leave it shut (powered on) in the corner without having to interact with it directly.
I've setup ssh and vnc so to login remotely and do task, transfer files and etc.
However there is a little issue with the laptop lid down upon turning it on, it immediately goes into suspend when getting to the display manager, which is 'lightdm'.
I suppose this is the default setting for Xorg and as such my custom configs for KDE only kick in after I login.
Question is: I never seen configuration for default power management stuff being done in Xorg, is there some way to disable automatic suspension on lid down?
Another question is: After the KDE kicks in does it always replace power options? I have setup a xorg.conf file specifying dpms options but these don't seem to remain.
View 11 Replies
View Related
Nov 2, 2015
System is a Dell E7440, with Jessie, I recently upgraded to kernel 4.2.5 due to issues with wireless that are supposed to be fixed. (The same issue exists with jessie stock kernel 3.16 and BPO tough)
When I close the lid it often does not work and I get this in dmesg
Code: Select all[ 567.104335] pci_bus 0000:01: Allocating resources
[ 567.104349] pci_bus 0000:02: Allocating resources
[ 567.104415] pci_bus 0000:03: Allocating resources
[ 567.104428] i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
[ 567.105515] i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
[ 567.105540] i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
[ 567.105585] i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
[Code] ....
I suppose the i915 stuff is something I can ignore, However
Code: Select all[ 570.768020] acpi device:40: Cannot transition to power state D3hot for parent in (unknown)
seems to be the issue.. I don't even know what device:40 is.
in ls -l it shows as
Code: Select all lrwxrwxrwx 1 root root 0 Nov 2 12:28 device:40 -> ../../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/INT33C6:00/device:40
and
Code: Select all# cat /sys/bus/acpi/devices/device:40/path
\_SB_.PCI0.SDHC.WI01
The awkward thing is tough, software suspend by running "systemctl suspend" works perfectly and always.
Code: Select all [ 872.054627] PM: Syncing filesystems ... done.
[ 872.091506] PM: Preparing system for sleep (mem)
[ 872.092045] Freezing user space processes ... (elapsed 0.001 seconds) done.
[ 872.093377] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[ 872.094563] PM: Suspending system (mem)
[ 872.094595] Suspending console(s) (use no_console_suspend to debug)
[Code] ....
So despite the mysterious issue with acpi device 40, how is real lid close different from "systemctl suspend"? And can I simply workaround the issue by making such a suspend when the lid closes?
View 2 Replies
View Related
Jan 30, 2011
i have a habit of frequently changing my desktop themes in gnome desktop. off late i found that whenever i close the appearance settings window, the process diesnt seem to stop and it becomes a runaway process, increasing fan speed in my laptop and ofcourse the temp that shoots beyond 70, every time i change the theme i have to issue top command in terminal, identify the gnome-appearance process id and kill it. the instant i kill it, temp drops down to 32 / 32....
View 1 Replies
View Related
Sep 13, 2010
I run my desktop the old fashioned way, lots of icons on it, I think its what you would call under KDE: Folder view. (right click desktop, settings, appearance, type: Folder view)
1- first thing I noticed was that you now have the + and - signs when you hover or select icons, I understand what they mean to do but to be honest I can do that perfectly well using ctrl + mouse click, so is there a way to not show the + and - sign.
2- with 11.2 and KDE 4.3.5 if I held my mouse over a folder on my desktop I would see its content in a panel. If I for exampled placed an image on the desktop the icon would be a small version of the image. In KDE 4.5 I no longer have these effect. In Desktop settings - Plasma Workspace under Display the Previews is checked and under More Preview Options I selected the whole lot. But nope it not longer will do a preview, am I missing something here ?
3- sometimes, but hard to reproduce, when closing for example Dolphin, it wont close right away, mouse will stop moving for about 1-1.5sec and then Dolphin will close. Not sure where to look for that. I won't mind entering a bug report at KDE but rather not do it if I simply missing something in the configurations.
View 3 Replies
View Related
May 30, 2011
In Ubuntu 10.10 Gnome . When I close the laptop lid I seem to get only two choices - hibernate or suspend. What i want is when i close the laptop lid I want nothing to happen.
There are real issues I'm having with network-Manager stopping and not starting when i go into suspend. it's a major hasle therefore I want to prevent any suspend or hibernate.
How do i do it so closing the lip just closes the lid and nothing else?
View 3 Replies
View Related
Jun 9, 2010
I'm running
Opensuse 11.2
Kernel Linux 2.6.31.12-0.2-desktop
GNOME 2.28.2
I have an instance of Nautilus File Browser that will not close or be killed, and it always opens to the same directory, kdenlive in my home directory.
Rebooting, logging out and in as someone else, then logging back in again as myself doesn't stop it. And, I'm afraid to uninstall Nautilus. I've tried Re-installing it to no avail.
View 4 Replies
View Related
Jun 9, 2010
I'm running
Opensuse 11.2
Kernel Linux 2.6.31.12-0.2-desktop
GNOME 2.28.2
I have an instance of Nautilus File Browser that will not close or be killed, and it always opens to the same directory, kdenlive in my home directory. I'm a newbie and have already googled. Rebooting, logging out and in as someone else, then logging back in again as myself doesn't stop it. And, I'm afraid to uninstall Nautilus. I've tried Re-installing it to no avail.
View 4 Replies
View Related
Apr 13, 2011
Upgraded to Ubuntu 10.10 recently. (Now that was a mistake...) Problem occurring now that when I close lid of my laptop (Asus K40IN series) , which I set to suspend, it won't wake up (and I have to shut down and reboot). It used to be fine (in both Windows and 10.04) though so must've something to do with the upgrade to 10.10.
View 2 Replies
View Related
Jul 18, 2010
I have an external (USB) sound-card attached to my laptop, through which I generally want all of my sound routed. By and large, the device works wonderfully - with one minor (but annoying) quirk: almost every time the computer reawakens from suspend mode with the device plugged in, something in the OS automatically mutes all sound coming from that device. Note that Ubuntu does NOT restore control to my on-board sound chip - so whenever this happens, I'm left with a machine that's basically universally muted, for no good reason. Of course, I can just go into the volume control panel and unmute the external card - but I'm getting a bit tired of having to do this each time I turn on the machine.
Anybody have any ideas as to how I can force Ubuntu to NOT mute the external card?
View 6 Replies
View Related
Jul 13, 2010
I have this situation: I installed F13 on my laptop having an Intel Graphics Media Accelerator. The screen of my laptop was flickering and i did a 'yum update'. The flickering didn't stop, but after suspending the system once, the flickering stops and everything is fine. Now after each reboot i have to suspend the system once for the flickering to stop. Please help.
After discussing in #fedora in freenode, some people asked for these (i'm posting in case you need them too):
$ lspci | grep -i vga
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 12)
/var/log/Xorg.0.log -> url.
View 2 Replies
View Related
Jan 5, 2010
All I want to do is to be able to shut the lid on my laptop, have it go into suspend like it already does, but upon opening it again, successfully start up again. It'll sleep just fine, but if you close the lid and try to open it again later, the lights will indicate it is starting up, but the screen won't initialize, and I am left with a blank, black screen.I've tried a line of code to enter into my menu.lst file, and it seemed like it should work, but it borked my computer and I had to manually reinstate the line of code it had before.
View 9 Replies
View Related
Apr 22, 2010
Whatever way I suspend my laptop (menu, keyboard shortcut, close lid), it seems to suspend just find (no panic lights, suspend LED indicator flashing as expected). However, when i try to resume, the laptop seems to begin the proper wakeup process (for example, the DVD-drive is tested), there's a lot of HDD activity for about 5 seconds, screen does not power on, and then the laptop just shuts off.
System setup:
lucid beta 2, fully updated (just check now)
LG E-500 laptop /w nvidia gforce mobile 8400G
bios version 1.17 from June 2007 (not sure this is important)
Things I tried:
* Completely remove anything to do with gpu drivers and installed nvidia-current driver.
* Suspend stress test described here. this didn't work at all. The first test failed (with ac adapter attached) and the second test suspended but didn't automatically resume (see "the behavior" above). Also, when I booted up again, no apport bug report is created. I tried both with rtc set to utc=yes and utc=no. with utc=yes, the second test did automatically resume, but the same problem happened (laptop shutdown while resuming).
* The debugging steps described here, but I couldn't get the "no_console_suspend" option to work. I tried adding both "no_console_suspend" and "no_console_suspend=1" (without quotes) to the boot script in the grub menu, but when I did pm-suspend in tty1, the laptop really did suspend. I would like to try to do this again if someone could explain how to add this option.
Notes:
* Not sure this is relevant, but when I boot up after a failed resume attempt, wireless network is disabled (this only happens after a failed resume!!!).
* I found a package called nvram-wakeup in synaptic that seems to be related to this. This package is not installed. Should I install it?
In case this is relevant, forgot to mention I'm running ubuntu in dual-boot along side windows7.
View 6 Replies
View Related
Dec 17, 2011
Dell Latitude C610 laptop with Debian Squeeze.I am using the computer as a print and file server, accessing it with ssh, so I don't need the display (which is busted anyway). I want to close the lid without having the computer suspend. Could not find a way to make it happen with gnome-power-preferences or the BIOS settings. There is a script, /etc/acpi/lid.sh, that runs when the laptop lid switch changes. Part of the script is shown here:
Code: Select allgrep -q closed /proc/acpi/button/lid/*/state # this is a file of 1 line like "state: open" or presumably "state: closed"
if [ $? = 0 ] # The brackets evaluate to True when the lid is closed.
then
if [ x$LID_SLEEP = xtrue ]; then
[ -x /etc/acpi/sleep.sh ] && /etc/acpi/sleep.sh # i.e., if this file exists, then run it.
exit
fi
... there's more ...
The stuff that gets executed after the if [ #$ = 0 ] is the stuff that suspends the computer. So I just replaced the brackets with something that is certain to be false, so it will never happen:
Code: Select allif [ 1 = 2 ]
I admit this is FAR from an elegant solution, but it seems to work and it doesn't fubar the system.
View 3 Replies
View Related
Jan 15, 2010
I've a MSI V601 laptop that won't come out from neither suspend nor hibernate and I tried almost everything so far...what shall I do?
View 1 Replies
View Related
Feb 25, 2010
I think it might have to do with an app I installed called Jupiter (http://sourceforge.net/projects/jupiter/) that missed with my power configs, I removed it but I still can't hibernate or suspend. Whenever I try to do either, my screen fades to black and nothing happens. If I move the mouse or touch the keyboard, it comes back.
View 5 Replies
View Related
Oct 25, 2010
This is a new issue since 10.04 (9.10 did it right). I'm on 10.10 netbook right now. What I would like to figure out is how to tell the system to go into suspend when idle even though the lid is open. I don't know if this problem is hardware specific or just a config file edit. Just to get it out of the way, it does suspend correctly when the lid is closed - and I can tell it to suspend when the lid is open, but what I need is for it to suspend when I fall asleep working or forget I left it open without overheating / running out of battery and losing my work. I'm pretty good at doing things on linux, despite the fact that I'm running the netbook remix, so don't be afraid to tell me to open a file in the terminal or whatever.
View 1 Replies
View Related
Mar 31, 2016
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?
View 2 Replies
View Related
Jan 2, 2010
I just upgraded to 9.10 (Karmic Koala) on a Dell laptop. Now when I close the laptop lid to suspend and then open it to resume, the audio disappears; have to reboot to get the audio back. I remember having this problem a while ago back on Hardy Heron and finding a kludge to fix it - a line inserted in a shell script that gets invoked on resume
View 9 Replies
View Related
Sep 1, 2010
After installing Ubuntu Tweaks (that's about all I remember changing) the cursor disappears whenever I hibernate or suspend the laptop. I am running 10.04.1 and have compiz running but changing to less effects seems to have no effect on this problem. when I have no cursor the only thing I can do is restart and it reappears and does fine until I suspend or hibernate. Some hours later - I just found the setting that caused this. The tweak has a box that was clicked to disable the touchpad while typing. This caused the blank cursor when awakened. working now. This shouldn't happen, but I guess this is one to leave alone. Here we go again. cursor disappears after suspend.
View 3 Replies
View Related
Oct 7, 2010
My Suspend and Hibernate buttons disappeared on my laptop.And i can't find a way to restore that I heard that i could restore them with Ubuntu tweak but i can't find how.
View 1 Replies
View Related
Oct 29, 2010
When I close the lid of my laptop and open it after some time I am greeted with a message "Failed to suspend". When I tried to manually suspend/hibernate, I saw these options are not available there at all. Of course, they did exist when I did the fresh installation but I cant see them anymore. I am totally pissed off with this.
View 1 Replies
View Related
Oct 29, 2010
When I close the lid of my laptop and open it after some time I am greeted with a message "Failed to suspend". When I tried to manually suspend/hibernate, I saw these options are not available there at all. Of course, they did exist when I did the fresh installation but I cant see them anymore.
View 9 Replies
View Related
Jul 9, 2010
I have recently updated my Ubuntu 9.10 install to Ubuntu 10.04 and the default kernel to 2.6.32-23 on my Acer Aspire 5738z laptop with 3 GB RAM and Intel GMA 4500m graphics card.
My problem is sometimes the laptop fails to resume after being Suspended to RAM. The problem is not consistent. Most of the time the system resumes properly but then some times it doesn't . It even doesn't respond to the Magic Keys. I am left with no other alternative but to keep the power button pressed till the laptop shuts down.
View 2 Replies
View Related
Sep 30, 2015
I'm running stock Debian 8.2 with GNOME DE on an Acer ES1-512 series laptop. Whenever I attempt to go into suspend, either by closing the laptop lid or holding ALT when clicking the power button in the top-left system menu on the desktop, my laptop briefly flashes the default GNOME lock screen, fades to black, and then hangs there. Usually, when my laptop would actually suspend, the power indicator light would change from blue to orange and slowly fade in and out. However, now it just sits on blue. There is no way to re-awaken the laptop from this state, and I have to force shutdown by holding the power button.
Running Code: Select allgrep -i error /var/log/messages gives me:
Code: Select allSep 28 17:59:57 debian gnome-session[1188]: [1504:1536:0928/175957:ERROR:mcs_client.cc(752)] Received close command, resetting connection.
Sep 28 18:17:50 debian gnome-session[1188]: [1504:1536:0928/181750:ERROR:mcs_client.cc(752)] Received close command, resetting connection.
Sep 28 21:27:52 debian gnome-session[1188]: [1504:1536:0928/212752:ERROR:channel.cc(307)] RawChannel read error (connection broken)
Sep 29 14:21:51 debian gnome-session[1188]: [1504:1536:0929/142151:ERROR:mcs_client.cc(752)] Received close command, resetting connection.
[code]....
View 1 Replies
View Related