Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [lid]

For questions regarding what Ubuntu does when you physically open or close a laptop or clamshell style computer. Common subjects are suspending/hibernation, and locking.

0
votes
0answers
44 views

Ubuntu 18.10 close lid lock screen [on hold]

this has been bothering me for a week now. google search for this topic give many answers but nothing works so far. /etc/systemd/logind.conf, restart doesn't work! With or without ac power, with or ...
-1
votes
0answers
76 views

Problems with suspend/resume on 18.10

I have installed Ubuntu 18.10 yesterday and it's running great except for 2 little problems, both related to suspend/resume. The first one is that when my external monitor (BenQ PD2500Q) is plugged in ...
0
votes
0answers
12 views

Screen glitch when laptop lid opens (XUBUNTU 18.04)

When I open the laptop lid after closing it while running Xubuntu 18.04LTS, the screen is glitched. The glitch itself is hard to explain. When I move my mouse, the screen gets filled up with the color ...
3
votes
1answer
60 views

How to use a key press to wake a suspended laptop when using a KVM switch?

I'm using a wireless Logitech Keyboard with a Logitech Unifying Receiver plugged into a KVM switch. I created a systemd suspend shortcut to suspend the laptop, a Lenovo IdeaPad. The laptop's lid is ...
0
votes
0answers
16 views

Ubuntu 18.04.1 Randomly opens windows when laptop lid is closed (GNOME Tweaks)

I have recently installed Ubuntu 18.04.1 on my laptop. I need to run a model everyday and this process is computationally expensive so that it lasts ~5h. So while running the model, I want the lid ...
2
votes
0answers
108 views

How can I make the screen not lock when I close the laptop in Ubuntu 18.04?

I think it is annoying that I have to enter my password every time I close the lid of my computer. There was a setting when the lid is closed: do nothing. in earlier versions, but this feature seems ...
1
vote
1answer
54 views

How to put the laptop to sleep/hybernatation by closing the LCD lid?

I installed Ubuntu 18.10 on my Thinkpad X1 Extreme. After I closed the lid, the machine is still working as I can see things on the external display. How can I put it to sleep/hibernation when I close ...
0
votes
1answer
42 views

When closing the lid of my laptop nothing happens instead of suspend) [duplicate]

I have Ubuntu 18.04 installed on my Lenovo Thinkpad L560. When I close the lid nothing happens. I want the system to suspend. The settings for this are turned on. So when I close my lid and reopen it ...
0
votes
0answers
30 views

Disable screen on lid close but don’t sleep

In Ubuntu 18.04 server I want to be able to shut the lid of my laptop and have the following happen: The screen turns off. The laptop itself keeps running and does not go to sleep. If I set this in /...
4
votes
2answers
127 views

Laptop automatically suspending after lid closed and reopened

My current kernel version Linux xorist-Blade-Stealth 4.18.0-041800-generic #201808122131 SMP Sun Aug 12 21:33:20 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux The issue I'm having First I feel it's ...
0
votes
0answers
47 views

Problem with ubuntu 18.04 in a dell inspirion 7000 with a amd ryzen 5

I have been using ubuntu for a while and at the beginning could not turn it on with out changing the default grub and adding a "noapic" at the end of the default linux line. Now it starts perfect with ...
1
vote
1answer
63 views

Unable to use laptop after I close and open the lid

After closing the lid on my laptop (using all default settings) and opening it again, I am unable to use it and have to reboot it. I am using Ubuntu 18.04. Is there anything I could do to resolve ...
2
votes
1answer
94 views

Lid Closed Suspend then Hibernate

I would love for the lid closing behavior to "suspend" for a certain amount of time (1 or 2 hours) and then "hibernate" to save battery. Is there a way to change the settings of "suspend" so that it ...
2
votes
1answer
95 views

Can you execute a custom shell command on power button or lid close?

I am trying to make hibernate work on my Ubuntu 18.04. I followed all the tutorials around (mostly from the answers here: How can I hibernate on Ubuntu 16.04?) So far, executing pm-hibernate on the ...
0
votes
0answers
27 views

logind.conf change automatically to default values

My laptop recently did not go to sleep mode when I close the lid. So I looked /etc/systemd/logind.conf file and configuration was #HandleLidSwitch=ignore. Then I uncommitted it and change value to ...
3
votes
2answers
221 views

Unable to wake with external keyboard while lid is closed

I have Ubuntu 16.04 on my Acer Aspire 7750G laptop connected to an external monitor with the built-in screen disabled. I also have an external keyboard and mouse connected to the laptop. When I ...
0
votes
1answer
220 views

ubuntu 18 freeze when systemctl restart systemd-logind.service

I am trying to change lid close behavior using this When I get to the systemctl restart, system freezes and gets stuck. What am I doing wrong here? Is there a simpler solution?
0
votes
0answers
361 views

Airplane mode automatically switches “ON” when the lid is closed in UBUNTU 18.04 on hp laptop

Whenever i close the lid of my laptop screen the airplane mode switches on and when i again re-close it , the airplane mode switches off. Is there a way to stop this from happening? The downloading ...
1
vote
0answers
94 views

Asus G550 screen goes black after resume from suspend, even though the system is responsive on Ubuntu 16.04

My Ubuntu 16.04 system running on ASUS ROC laptop cannot resume from suspend. More specifically, after closing the lid, and then opening it back, during resume from suspend, the screen will go black ...
1
vote
1answer
1k views

How can I tell Ubuntu 18.04 to do nothing when I close my laptop lid? [duplicate]

Power Change options in dconf-editor I want my laptop to do nothing when I close the laptop lid. I found these options in dconf-editor for the laptop to do 'nothing'. However, the laptop still goes ...
0
votes
0answers
89 views

Ubuntu 16.04 does not wake up from sleep

I know this question has been answered a hell lot of times but I tried everything and the problem persists. It was working fine until I changed NVIDIA's driver version and switching it back doesn't ...
1
vote
1answer
67 views

Laptop not coming back from sleep after lid close

I'm using Ubuntu 16.04 LTS on an ROG Strix GL553. I have a problem when I close the laptop lid. The computer goes to sleep but when I open it back again it gets stuck on a black screen. I belive ...
9
votes
0answers
2k views

Battery drain while supend after 18.04 upgrade

After upgrading from 17.10 to 18.04, my laptop (XPS 13 9370) doesn't suspend properly anymore. The problem is twofold: First, the laptop doesn't seem to go into suspend mode at all when I close the ...
4
votes
1answer
832 views

Suspend laptop when closing lid in Kubuntu 18.04

When I close the lid nothing happens in Kubuntu 18.04 and I see no option in Power settings regarding this.
0
votes
0answers
846 views

Ubuntu 18.04 + Dell XPS 9360 = Suspension doesn't work when I close the lid [duplicate]

I upgraded to 18.04 after 16.04 had no way to make the touchpad work. The only issue with 18.04 is that when I close the lid (with or without external monitor) the laptop does not suspend. How can ...
0
votes
0answers
47 views

How can I make Ubuntu 17.10 do nothing when lid is closed? [duplicate]

I'm using ubuntu 17.10 and I'm trying to make do nothing when I close the lid. I used dconf editor but it doesn't do anything; no matter what setting I change there, Ubuntu seems to ignore it. I'm ...
1
vote
0answers
55 views

Laptop Lid State Incorrect After Suspend and Resume - Causes Repeated Suspend

After installing updates on a clean install of Xubuntu 16.04, my laptop fails to completely resume after suspending by closing the lid. This did work before installing the updates (i.e. on the ...
0
votes
0answers
20 views

How do I tell Ubuntu to do nothing when I open the lid?

I don't want it to come back from suspend. I still want to be able to use the power on button for this purpose.
0
votes
0answers
24 views

How to suspend when lid is closed in Artful?

I tried to make script for acpid, did not work. Then tried HandleLidSwitch=suspend in /etc/systemd/logind.conf, system just froze. So I want to confirm, which is handling lid event and suspend in ...
1
vote
0answers
31 views

Internal laptop screen is not avaiable after lid close event, instead multiple times attached

I am running Ubuntu 17 on a Surface Pro 4. I had the same issue with Fedora 27. Both running gnome as desktop. I have a external (DELL) monitor connected to my surface 4. When I close the lid, ...
2
votes
1answer
449 views

Ubuntu 17.10 lid close: different behaviors on AC or battery? [duplicate]

I would like different behaviors on lid closing depending on AC is plugged (do nothing) or not (suspend). My laptop is a DELL Latitude under 64-bit Ubuntu 17.10. What I already tried: Using GNOME ...
0
votes
0answers
206 views

Turn off built-in display without suspending if external display is plugged in in Ubuntu 17.10

In Ubuntu 17.10, when I plug in an HDMI or VGA external display, without plugging in any other external device, and then close the lid, I just want the built-in display to turn off, not the whole ...
4
votes
0answers
239 views

Ubuntu 17.10.1 doesn't suspend on lid close with 2 displays

I run Ubuntu 17.10.1 on Acer Aspire V17 Nitro (VN7-791G). I am booting from a secondary hard drive that is installed instead of a DVD drive, I also have a secondary display connected using a VGA (...
0
votes
0answers
32 views

Lubuntu16.04 on Inspiron 15-3521 won't suspend when lid closes

I've recently installed Lubuntu 16.04 on a Dell Inspiron 15-3521. The hardware functionality from the start is great including WLAN, sound, even default function key mapping, however there is one ...
1
vote
0answers
169 views

gnome-shell freezing after opening lid/logging in

gnome-shell freezes almost every time I open the lid of my laptop, and once that happens there's nothing to do but to hard reboot from the power button. It also freezes sometimes after logging in ...
1
vote
0answers
55 views

Unity not locking session when closing laptop lid

Sometimes after I close my laptop's lid, the system takes a few seconds after opening the lid to ask for the password and unlock the session. In detail: I close the laptop lid; system should lock ...
0
votes
0answers
39 views

Notebook lid close does not suspend the system

My notebook is a HP Spectre with a i5-8250u. A problem I'm still working on is the suspend when I close the lid. I can get it to lock the screen but I can't get it to suspend the system. (manual ...
0
votes
1answer
364 views

Xubuntu (XFCE) closing lid locks screen

The usual advice is to go to: /etc/systemd/logind.conf and set HandleLidSwitch=ignore, which I already did, and it seems to be working (or my computer wakes up before I can notice it is not up). ...
1
vote
1answer
252 views

hibernate when lid is close

I just installed ubuntu then I installed gnome then I instaled TLP(power manegment) now I want to hibernate the computer when lid is close. I followed this instructions: Is it possible to make 16.04 ...
0
votes
0answers
30 views

Login on lid close event

Very odd question, but I'd like to know what to enter into a lid script executed by something in /etc/acpi/events/ to run a command to log in to a user. I have a magnetic implant and I think it'd be ...
1
vote
0answers
172 views

How to prevent Ubuntu asking for password after laptop lid closed and reopened?

I'm using Ubuntu 17.10 on a laptop and I disabled the 'screen lock', but every time I closed and reopened the laptop lid, the system shows me the GDM login and asks for password. Is there a way to ...
0
votes
0answers
61 views

How to set preference to “do nothing” when closing lid in Ubuntu 17.10? [duplicate]

Unlike in Ubuntu 16.04 LTS ,there is no option such as power management where I would tell my machine what to do when I close my lid. How can I configure lid close behaviour?
1
vote
1answer
571 views

Laptop won't get in sleep if I close the lid

Recently I installed Ubuntu 17.10 on my ThinkPad T530.But I have a problem (and I know how much ThinkPad hardware is supported on the linux world).So If I close the lid,the thing won't get on sleep ...
0
votes
0answers
33 views

How do I chose what happens when I close my laptop? [duplicate]

Just upgraded to 17.10 and now my laptop sleeps when I close the lid. Not sure how to turn this off. I use my laptop as a media server and I like to keep the laptop stored when not using it.
26
votes
3answers
16k views

Ubuntu 17.10 and later: Don't suspend when lid is closed, just lock screen

Since my upgrade to Ubuntu 17.10 there's no option in the settings about what to do when the notebook-lid is closed any more. Before this function had the options "do nothing" and "suspend" and ...
0
votes
0answers
109 views

Strange close lid behavior on GNOME

Recently I decided to switch to GNOME and it was glorious until I found out that I can't close the lid without the GNOME killing itself. I tried everything from the dconf-editor method to killing ...
1
vote
0answers
971 views

Ubuntu Gnome 17.04 laptop lid options missing

I moved from Unity to Gnome and there seems to be no option to change the action for when I close the lid of my laptop. I found a workaround using dconf Editor, but I really wanted to know why there ...
0
votes
0answers
295 views

What controls lid switch settings in GNOME?

I've just switched from the usual Unity Ubuntu to Gnome on my Dell XPS 9550 after being convinced by the hype, and frustrated by the litany of bugs I've spent years tolerating in Unity. In my long, ...
6
votes
1answer
1k views

Suspended Ubuntu 17.04 , when “wake up” does full reboot

After installing Ubuntu 17.04 a week ago on my /dev/sda1 partition, all was working properly. Closing the lid put my computer into suspend mode. Opening it up, touching a keyboard touch turned it on,...
1
vote
0answers
237 views

Suspend not working on Asus r558q laptop on ubuntu 16.04

As in topic, when i suspend my laptop by closing the lid it never starts up again. Just shows me a blank screen. I need to hard reset my laptop to get it to work. Laptop is brand new, aswell as the ...