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.

Filter by
Sorted by
Tagged with
1 vote
0 answers
26 views

Ubuntu GUI doesn't appear after lid is opened from suspend

I have tried all the possible tricks/suggestions that appear on Google but still unable to solve this issue. I have a HP Victus laptop with Nvidia RTX 3050 Ti GPU. The same problem happened on Ubuntu ...
Sajjad Haider's user avatar
0 votes
0 answers
28 views

Keep suspended on lid closed

I have a lap top with Ubuntu v22.10 Mate v1.26.0 When I close the lid it suspends, but then regularly wakes up again without opening the lid (which can lead to a very hot bag, and a drained battery) I ...
dezzer10's user avatar
  • 121
0 votes
0 answers
23 views

My PC switch on alone when i close the lid to let it go in stand by (after some hours)

I'm using Ubuntu 22.04 and I know closing the lid is not the best solution to put the pc in stand by, but when I do and i let it go for some hours, I find it compleatly discharge. Last night happened ...
Elios's user avatar
  • 3
1 vote
1 answer
207 views

(23.04) OS crashes after waking from suspend/reopening lid

I recently bought Huawei MateBook d16 (on intel i5 12450H, LPDDR4x) and did clean install of Ubuntu 23.04. Everything is great except when I resume from suspend or when I reopen the lid, the OS either ...
Konstantin D's user avatar
0 votes
0 answers
52 views

Black screen after closing lid and opening back, no response until hooked to power

After I close the lid for a couple seconds using Ubuntu 22.04 LTS - freshly installed today, and reopening - the screen is permanently black, pressing keys does not work, pressing/long pressing the ...
Kyodo's user avatar
  • 375
0 votes
0 answers
18 views

Duplicate closed lid behaviour having the laptop lid open?

How to duplicate the closed lid behaviour while having the laptop lid open? Wish to have display off on demand when running certain apps, with a remote screen. $ xrandr --output --off This command ...
AccessDenied's user avatar
0 votes
0 answers
89 views

How to lock the screen when the laptop lid is closed in Ubuntu 23.04?

I have the following entries in /etc/systemd/logind.conf: HandleLidSwitch=lock HandleLidSwitchExternalPower=lock but it doesn't help even after reboot.
Kok How Teh's user avatar
0 votes
1 answer
1k views

ThinkPad T14 Gen 3 Type 21CF BIOS/firmware issue with laptop lid close and suspend

I recently bought a ThinkPad T14 Gen 3 Type 21CF. Here's a link to the Lenovo product page: link Here's what I did: I have Ubuntu 22.04 installed. I ran: sudo fwupdmgr update I did this because my ...
Micah Parks's user avatar
0 votes
0 answers
41 views

Rebind events back to lid open/close button

I tried to stop waking up my system, when opening a lid. So, I used a command echo 'PNP0C0D:00' | tee /sys/bus/acpi/drivers/button/unbind It stopped waking up, but also stopped turning off the screen, ...
qba-dev's user avatar
  • 324
1 vote
0 answers
572 views

Laptop: close lid, turn screen of but keep RDP enabled (Ubuntu 22.04.1 LTS)

I'm running Ubuntu 22.04.1 LTS on an old laptop. From windows, I can connect with the RDP-protocol, no problem. To save some energy: I want to have my screen blank, but in that case, I can NOT connect ...
bartplessers's user avatar
0 votes
0 answers
137 views

Suspend/Hibernate issues on Macbook 10,1 (2017 12 inch)

Not new to Ubuntu, but not an expert either. I recently acquired a 12 inch Macbook Mid-2017 model A1534 and decided I wanted Ubuntu 22.04 on it. I decided to try and dual boot with MacOS and didn't ...
Dschulz72's user avatar
0 votes
0 answers
123 views

Wrong signals from lid switch

Ubuntu 22.10 Kernel 5.19.0-23-generic Closing the laptop lid doesn't work for me libinput list-devices Device: Lid Switch Kernel: /dev/input/event0 Group: 2 Seat: ...
Markus Dewoli's user avatar
0 votes
0 answers
76 views

Disable LID sensor to prevent wakeup

My notebook sometimes wakeup, how to disable LID sensor to prevent wakeup from sleep. I try to find LID device cat /proc/acpi/wakeup Device S-state Status Sysfs node GPP1 S4 *enabled ...
Virusok's user avatar
0 votes
0 answers
107 views

Completely disable LID sensor events on Ubuntu 20

TLDR: I've tried changing both logind and upower configuration files to ignore lid closing action, I tried disabling it via /proc/acpi/wakeup, I tried gnome tweaks and I checked even if it can be ...
Erik Citterberg's user avatar
0 votes
0 answers
601 views

Ubuntu 22.04 LTS Sleeping issues after upgrade

When I close my laptop it sometimes hangs after trying to suspend. Kernel version is 5.15.0-41-generic. Ubuntu Version is Ubuntu 22.04 LTS & I upgraded from Ubuntu 20.04 LTS Half of time it works. ...
FFmpegEnthusiast's user avatar
3 votes
2 answers
5k views

How to Prevent Ubuntu from sleeping when Closing Lid

I want to prevent my system (Ubuntu 22.04 on old HP laptop) from sleeping when closing the lid. I already tried to edit my /etc/systemd/logind.conf : [Login] #NAutoVTs=6 #ReserveVT=6 #...
Baron_Ba3ba3's user avatar
0 votes
1 answer
684 views

Keep Bluetooth Turned on while laptop goes on Sleep Mode

I just want my laptop to go in Sleep mode while keeping the Bluetooth turned on. Keeping the whole system on while the lid is closed, it drains battery pretty fast!! Is there any way to do so???
DSKTP's user avatar
  • 411
0 votes
1 answer
386 views

Inspiron 15 3525 w/new Ubuntu install won't turn on after closing lid

A dear friend, disabled Vietnam vet, had to replace his old computer, and bought a Dell Inspiron 15 (3525) and asked me to put Ubuntu on it. After a somewhat fraught install process (BIOS in this ...
Elaine Albertson's user avatar
1 vote
0 answers
827 views

Any Ubuntu 22.04 software freezes every time the laptop lid opens

I have a Toshiba Satellite A305-S6905 whose previous software was Ubuntu 22.04 and is currently running on Ubuntu Budgie 22.04 and every time I try to open the laptop lid, It freezes no matter what. I ...
Saturanium's user avatar
0 votes
0 answers
127 views

Black screen after shutting lid on Ubuntu

When I close the lid on my HP computer and re-open it then screen remains black and no matter what button I press - I always have to resort to holding the powerbutton down for 10 seconds to shutdown ...
Joshilovessnow's user avatar
0 votes
0 answers
364 views

Mi Notebook Pro (Ubuntu 20.04) does not turn back on after lid open

Installed Ubuntu 20.04 (LTS) on my new Mi Notebook Pro (14", Core-i5, 16/512GB, Iris Xe graphics). It does suspend when the lid is closed but not turning back on once the lid is opened. I tried ...
Sanjeev Saju's user avatar
0 votes
0 answers
257 views

Use pm-suspend instead of suspend on lid close

From testing on my Ubuntu 20.04 Thinkpad P51 laptop (Quadro M1200 running proprietary driver 510.39.01), systemctl suspend will only suspend for a few seconds then wake again, while sudo pm-suspend ...
qwr's user avatar
  • 2,692
0 votes
0 answers
60 views

Laptop Lid Behaviour

I want my laptop running Ubuntu Server 20.04.3 LTS to not shut off when closing the lid. All the answers I've found involve the GUI which I do not have. Is there a command to change this?
ItzFoil 's user avatar
0 votes
1 answer
561 views

Ubuntu 20.04.3 with issues in Acer Nitro 5 with Ryzen 7 (Lagging/freezing UI response to I/O, lid closing behavior)

I've recently bought an Acer Nitro 5 laptop with AMD Ryzen 7 4800H and GTX 1650Ti,that came with Windows 10 as its operating system, and installed Ubuntu 20.04.3 to it, in a dual boot configuration. ...
Rafael Santos's user avatar
0 votes
1 answer
616 views

Can't ping or remote connect to Ubuntu 18.04 when I close computer lid

I've set up an old laptop (dell e6330) with Ubuntu 18.04 Desktop. I want to be able to stash the machine in a closet but be able to have it continue to run as a server and also be able to remote ...
lamelylounges's user avatar
0 votes
1 answer
241 views

Laptop randomly thinks lid is closed

I have an issue whereby my laptop randomly turns my screen off or logs me out. From /var/log/auth.log it seems that the system thinks the lid is closed: Sep 15 09:36:44 michael-Latitude-7280 systemd-...
MikeG's user avatar
  • 43
0 votes
0 answers
51 views

Black screen with unblinking cursor on sleep [duplicate]

I have a Lenovo Ideapad 310 wit an NVIDIA 920M graphics card. I recently dual booted Ubuntu and I didn't have any problems. I've never put my laptop to sleep nor closed the lid without shutting it ...
josh k's user avatar
  • 1
5 votes
1 answer
4k views

How do you disable the Laptop Lid Switch in Ubuntu 20.04? [duplicate]

Is there a way to just stop the OS from using the Laptop Lid Switch all together, regardless of what you want to happen? If not, I want to close the lid and open it with out having to log back in.
OldMan's user avatar
  • 61
1 vote
0 answers
234 views

Refresh rate slows to 1 FPS/ unusable when I close the lid on my laptop Dell Precision 7530 and use external monitors after upgrade to Ubuntu 21.04

After upgrade from Linux Ubuntu 20.10 to Ubuntu 21.04 on a Dell Precision 7530, with Nvidia drivers correctly installed and reporting correctly using recommended nvidia-driver-470. With a laptop lid ...
Leigh Mathieson's user avatar
0 votes
1 answer
208 views

Dell XPS 9310 2 in 1 will not suspend on lid close

I'm running Ubuntu 20.04.2, kernel 5.8.0-59-generic on an XPS 9310. I've come across a number of questions related to the inability to wake from a suspended state, but I'm having the exact opposite ...
sirmanleypower's user avatar
1 vote
0 answers
2k views

How to configure lid close action as hibernate in Ubuntu 20.04?

I want to configure my laptop (ASUS UX461UN) to go to hibernate when I close the lid. I tried 3 basic suggestions that I saw as a result of my research. Run command sudo -H gedit /etc/systemd/logind....
Salim Azak's user avatar
1 vote
0 answers
147 views

Ubuntu won't completely ignore lid closing

TLDR: I've tried changing both logind and upower configuration files to ignore lid closing action and it still keeps detecting it and acting on it. I'm trying to use an old laptop as a local Plex ...
Daro's user avatar
  • 11
0 votes
1 answer
357 views

Cannot disable airplane mode on laptop with faulty lid sensor

Problem : Unable to disable airplane mode. It says use hardware switch to turn off. OS : Ubuntu 20.04.1 LTS Laptop Model : HP 15 r074tu Description : The lid sensor of of laptop is not working. In ...
Avinash Ubale's user avatar
1 vote
0 answers
205 views

WoL while laptop lid is closed

Hope you can help me with this problem. Namely, I have an old Asus laptop that I use as my home server. It's runnung Ubuntu Server LTS 20.04. I'm able to suspend it and wake it up by using $systemctl ...
larryyy's user avatar
  • 11
1 vote
0 answers
63 views

MacBook Air Locks up After Closing Lid: 20.04

Details: Power button must be depressed for 10 seconds to recover (reboot) Unsaved data is lost Lockup happens after several minutes of closure The battery drains during this lockup and the laptop ...
Gary Highberger's user avatar
0 votes
1 answer
128 views

Lenovo S1 Yoga Lid Switch Disables Keybord and Trackpad

Just installed LTS 20.04 on my Lenovo S1 Yoga. I have found though that the keyboard and mouse suspend when in laptop mode, and activate when in tablet mode. Is there a way to reverse the effect of ...
Jaragoth's user avatar
0 votes
1 answer
1k views

Ubuntu 20.04. laptop closed lid issue

I am solving a minor issue with my Ubuntu 20.04. Focal fossa. This might be relevant for all users using a laptop closed aside with an external display. Whenever I shutdown or reboot the computer (...
happy Ubuntu explorer's user avatar
4 votes
3 answers
2k views

Dell Laptop Won't Suspend When Lid Closed (Ubuntu 20.04.1 LTS)

So here are the things related with my problem: I uncommented these lines $ grep -v '^#' /etc/systemd/logind.conf [Login] HandleLidSwitch=suspend HandleLidSwitchExternalPower=suspend ...
Alk's user avatar
  • 139
0 votes
0 answers
85 views

My laptop turns ON when I close the lid

I have a really strange problem that my laptop turns on automatically when I close the lid after being shutdown. I use 20.04.1 LTS on DELL Latitude-7310. Does anyone know the solution?
Yuya Shimizu's user avatar
0 votes
1 answer
421 views

Ubuntu 20.04.1 - Laptop - suspension stops music

I have a Samsung laptop that I maintain plugged and charging all night, and at the same time, I use VLC to listen some relaxing music to sleep. If I close the lid, the music stops after a minute. If I ...
Mitsumako's user avatar
2 votes
0 answers
164 views

Laptop not suspending on lid close

I have a Dell Inspiron 5570 with Ubuntu 20.04.1 and an external monitor and I have followed many articles, used gnome tweaks and more but my laptop will not suspend on the closing of the lid but it ...
Callum's user avatar
  • 33
2 votes
0 answers
435 views

Airplane mode turns on automatically after closing the lid

I am using an HP 15-da1058TU laptop with Ubuntu 20.04 LTS. Now whenever I close the lid, the airplane mode turns on automatically, and wifi and all services stop working. But I don't want this and ...
Ramesh Saini's user avatar
3 votes
2 answers
3k views

How turn off External Display, on closing lid in Ubuntu 20.04

I believe that there are a lot of questions asking the other way around. However for me, on closing my laptop's lid the external monitor is still running which I would like it to stop continuing to ...
PKMAN630's user avatar
3 votes
2 answers
1k views

Configure closing the lid to suspend the laptop when an external monitor is used

When I use an external monitor the laptop does not automatically suspend when I close the lid. Instead the external monitor is then still in use. I want to configure ubuntu in such a way that the ...
Whack's user avatar
  • 401
4 votes
2 answers
5k views

Ubuntu thinkpad e15 gen2 lid and fn keys not working

I just got the thinkpad e15 gen2 (amd) and I installed ubuntu 20.04 lts on it and I can't seem to be able to get the fn keys working nor can I get the laptop to suspend when closing the lid. For the ...
Rub3n's user avatar
  • 43
0 votes
1 answer
67 views

JS script to inhibit sleep when lid is closed not working. File descriptor managing problem or else?

I'm trying to develop an extension for gnome, that allows me to inhibit system sleep when the lid is closed directly from the status bar without having to open tweaks. Till now, I have a basic js ...
pablomd's user avatar
  • 61
0 votes
0 answers
136 views

Manufacture logo shown instead of the login screen when booted with an external monitor

Background: I have always been frustrated with the way Ubuntu handles laptop's lid behaviour while connected to an external monitor. This was also an issue with my previous installation of Ubuntu 16 (...
scribe's user avatar
  • 670
0 votes
1 answer
177 views

Disable mouse when lid is closed

How do I disable the mouse when the lid is closed? Sometimes my mouse gets moved around when carrying it, and it ends up clicking and moving around and creating a mess.
James Palmer's user avatar
2 votes
2 answers
2k views

Ubuntu 20.04 LTS Screen Lock not working randomly

I recently updated to 20.04 LTS and I've been having some trouble with lock screen. When I close the lid it is configured to suspend and lock and the suspend part is ok but when I open the lid, most ...
Arian Amani's user avatar
1 vote
0 answers
233 views

lm_lid doesn't run when lid closed

I have an xps 15 7590 laptop with ubuntu 20.4 and I'm using a displaylink driver that has a problem that when the laptop lid is closed the computer become so laggy it's unusable: https://github.com/...
eyal mazuz's user avatar