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.
159
questions
0
votes
0
answers
29
views
ubuntu server login doesn't appear when lid is open on a old MacBook Pro 201
I've installed Ubuntu Server 22.04 on an old MacBook Pro 2010 i7 to use it as home server. Everything seams working properly, I'm able to connect to Mac via ssh but when I try to use it directly, ...
0
votes
0
answers
74
views
Backlight of built-in display turns off when laptop lid is moved downwards from a certain angle
I want to prevent backlight of built-in display from turning off when laptop lid is moved downwards ( not even complete close, just downward movement ) from a certain angle via Ubuntu. The external ...
0
votes
1
answer
168
views
How to lock pc when lid is closed Ubuntu 22.04 LTS?
I've installed Ubuntu 22.04.3 LTS and configured all my environments, but when I was about to close my laptop lid, I encountered an issue. Instead of suspending, the external monitor continues to ...
1
vote
0
answers
47
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 ...
0
votes
0
answers
38
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 ...
0
votes
0
answers
30
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 ...
1
vote
1
answer
361
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 ...
0
votes
0
answers
63
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 ...
0
votes
0
answers
20
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 ...
1
vote
0
answers
109
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.
0
votes
1
answer
2k
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 ...
1
vote
0
answers
970
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 ...
0
votes
0
answers
127
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 ...
0
votes
0
answers
656
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.
...
3
votes
2
answers
9k
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
#...
0
votes
1
answer
1k
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???
0
votes
1
answer
496
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 ...
1
vote
0
answers
922
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 ...
0
votes
0
answers
187
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 ...
0
votes
0
answers
404
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 ...
0
votes
0
answers
416
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 ...
0
votes
0
answers
65
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?
0
votes
1
answer
624
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. ...
0
votes
1
answer
784
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 ...
0
votes
1
answer
342
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-...
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 ...
5
votes
1
answer
5k
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.
1
vote
0
answers
259
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 ...
0
votes
1
answer
214
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 ...
1
vote
0
answers
3k
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....
1
vote
0
answers
168
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 ...
0
votes
1
answer
410
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 ...
1
vote
0
answers
274
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 ...
1
vote
0
answers
66
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 ...
0
votes
1
answer
148
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 ...
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 (...
4
votes
3
answers
3k
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
...
0
votes
0
answers
90
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?
0
votes
1
answer
447
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 ...
2
votes
0
answers
168
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 ...
2
votes
0
answers
448
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 ...
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 ...
4
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 ...
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 ...
0
votes
1
answer
70
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 ...
0
votes
0
answers
158
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 (...
0
votes
1
answer
181
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.
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 ...
1
vote
0
answers
263
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/...
7
votes
1
answer
7k
views
20.04 LTS Since upgrade from 19.10 laptop doesn't suspend anymore after lid close
My Lenovo P50 laptop used to suspend nicely when I closed the lid on Ubuntu 19.10. After the upgrade this doesn't work anymore. When I execute the command sudo systemctl suspend then the laptop still ...