How to change lid close ubuntu


How to change lid close ubuntu. 04 LTS laptop that dual-boots with Windows 10. Also, SAVE ALL YOUR WORK, the second command would require you to reboot. Install Tweaks (gnome-tweak-tool) by running. Whenever I closed the lid it went to sleep (or hibernation?). 04 / 20. If I close the lid of my laptop it successfully locks (after I reopen it I have to type my password) but the windows opened on my second screen stay in place. So if you want to do something else, e. $ gsettings get org. 04 in system settings - power i had chosen 'when lid is closed do nothing' but now, after the upgrade to 13. HandleLidSwitch=ignore (i. However, there are several users who are facing issues with suspend behavior when the lid of the laptop is closed. I tried setting it in gsettings which seems to stick, but the settings don't seem to effect lid-close, despite what it reports. 9-rc1 kernel fixed the problem on my Asus. 04, Ubuntu 20. That’s it. Does anyone know how I can keep Ubuntu Server in my laptop with the lid closed from hibernating? Dec 30, 2020 · Hi James, Great tutorial, thanks! The other day I installed a music server on an old notebook running Ubuntu Server 20. About. Apply changes: Running Ubuntu on Laptop? Here’s the beginner’s guide shows how to configure and tell what to do when the lid is closed. Then, after a pre-determined time (even if the battery is going strong) if I still don't use it, it should put itself into a Hibernate to save battery power. I've setup Power manager to 'ignore' closed lid. No Comments on Change Laptop Lid Action on Ubuntu 20. 04 running with the default GNOME desktop, you can enable ‘Automatic Suspend‘ feature in Power Settings easily. Also how do I set screen to "Blank" when lid is closed correctly? Doing it from dconf-editor doesn't seem to work! Feb 7, 2015 · You can set it through powercfg commands. So, I tried to put the lid on my laptop. g. If it does not resume, try clicking the mouse or pressing a key. Oct 4, 2023 · Closing the lid should suspend the unit. systemd-logind[917]: Lid opened. power lid-close-ac-action suspend And $ gsettings get org. Feb 9, 2019 · Here are three answers of mine that solve similar tasks and contain step-by-step instructions: (1) How do I disable the touchpad when the lid is twisted or closed? (2) A new use for Lenovo onekey recovery key. Nov 15, 2020 · It detects the lid actions, but It just doesn't suspend my pc. conf, but you only need to change this line from the default configuration:. When a computer enters sleep mode, it stops doing everything that isn’t essential. Aug 6, 2022 · The odd thing is that when the lid isn't closed, the system stays awake as long as I want it to. Aug 31, 2022 · Install GNOME Tweaks tool in Ubuntu from the software center or use this command: sudo apt install gnome-tweaks. The Gnome Tweaks app says that suspend on lid close is on. Now the default is standby which I can disable in Gnome Tweak Tool. The logind. while just listening to audio). Different model (X540SA) but had the same issue. However, the laptop still goes to suspended mode after I close the lid. If I close the lid of the laptop, it goes to suspend/sleep mode and when I open the lid, it wakes up. settings-daemon. You can then choose from the following options: Sleep: The laptop will go to sleep when you close the lid. This tells the system to take no action when we close the lid in a situation when the laptop is operating on battery power. 04 with the latest kernel 5. Feb 14, 2018 · I prefer to link with the lid action of my laptop. Is there a tutorial/literature explaining what script gets run upon the laptop lid closing / re-opening? Jun 12, 2021 · I want to configure my laptop (ASUS UX461UN) to go to hibernate when I close the lid. After checking this post I also checked this command Dec 15, 2023 · I'm trying to figure out a workaround for the WiFi going into Airplane Mode whenever I shut the laptop lid. Here's how to close the lid without putting your PC to sleep. lid-close-battery-action using dconf-editor but those seem to be completely ignored. powersave = 2 to no effect. See: How to open the Windows Control Panel. This is due to an upstream GNOME change. Open a Terminal following the steps below for your specific operating system: . power lid-close-ac-action 'blank' gsettings set org. How can I make the Wi-Fi working with the lid closed, on AC? I'm on Ubuntu 17. 32. For example this one suggests a complicated solution with hotkeys. 04 0 Ubuntu 20. May 9, 2019 · To change the default behavior of Windows 10 when you close the lid, right-click the battery icon in the system tray, and then click on "Power Options. In all current Ubuntu releases, including Ubuntu 18. conf file to change the action of lid in Ubuntu. pm-powersave. I don't know if any logs are going to be useful; or what the cause may be. 04, and Ubuntu 24. 04 LTS - Tips on Ubuntu . May 13, 2020 · How can you make it so when the laptop lid is closed, the PC doesn't suspend or lock but just turn off the display so that I don't have to log back in. rather with loosing internet connection when the lid is closed. Is there a way to change the settings of "suspend" so that i Jan 4, 2022 · I want my laptop running Ubuntu Server 20. Open the Control Panel in Windows. power lid-close-ac-action 'suspend' Possible setting values instead of suspend are: hello :)How to Change Lid Close Behavior in Ubuntu 20?sudo nano /etc/systemd/logind. Everything worked fine on Ubuntu 22. But occasionally I want to close the lid without triggering standby (eg. power lid-close-battery-action 'blank' As you see, you can set different actions depending on whether the computer is on AC power (lid-close-ac-action) or on battery power (lid-close-battery-action). Using this method on Ubuntu turn off display when lid is closed; change laptop close lid behaviour on Linux Ubuntu Systems. You can set lid close action to do nothing then just close the laptop lid. It is in the USC (Ubuntu Software Center) under either tweak or Advanced Settings. Option details. You can also choose to set what closing the lid does when your laptop is Jan 23, 2021 · Hibernation fails with closed lid and external monitor connected Ubuntu 18. sudo apt-get install gnome-tweak-tool Launch Tweaks, go to the "Power" section and disable suspend on lid-close. Per Energy Saving tab: System Settings > Power Management > Energy Saving > On AC Power (or another tab) > Button Event Handling > When laptop lid closed, and choose desired action. I reconfigured logind. My only choice is to force shut down pc using power off button. 10 on a laptop. . May 30, 2022 · To change lid close action without any condition, enable the #HandleLidSwitch=suspend line and change the value to ignore, lock, poweroff, etc. Home. Step 2 Once the Dconf part is done, open terminal and run the command gives below to open and edit the login configuration file: In Ubuntu versions before Gnome Shell, I could set what I wanted to happen when I close the laptop lid depending on whether the laptop is connected to power or not. Jun 15, 2018 · Power Change options in dconf-editor. You can resume it by opening the lid. confHandleLidSwitch=lock – lock when lid closed. The change-log contained several ACPI and power management fixes. edit /etc/systemd/logind. Jan 21, 2022 · I opened up the settings app and went to Power. Dec 9, 2011 · Running Ubuntu Server 11. Tried ls -lrt /var/log between lid derivatives, but I can't understand those satanic logs. Feb 12, 2018 · even though I set in the settings when the laptop is on AC to do nothing when the lid is closed, I also selected on gnome-tweak-tool to not suspend but, the wireless still turns off. You can report a bug on launchpad or upstream about it, but I'm not sure if the option will be added, as such bugs often end up just devolving into endless discussion with no actual solution (being honest here). HandleLidSwitch=ignore – Feb 23, 2018 · Using GNOME Tweaks. 04. My laptop resumed from suspend when the lid is opened after I made changed on files for S3 and S4. sleepchecks until the specified time has passed, and that time stops when the computer sleeps. Dconf editor offers options to change the action to take when the laptop lid is closed on AC or… When I close the lid, the laptop is put into Suspend. While this is a useful energy-saving feature, it can be frustrating if you’re in the middle of a task and your system goes to sleep. Open a Terminal for Ubuntu (Figure 1): . Nov 25, 2021 · gsettings set org. Jul 31, 2019 · The following answer is adapted from this source. After any changes you will to run: Code: When you close the lid of your laptop, your computer will suspend in order to save power. If installed press the super button and type in tweak or advanced and choose the Advanced Settings. 04, while it suspends Ubuntu by default. Contents: 1. In this tutorial, we are going to configure this default lid close behavior in Ubuntu 20. 10 Oct 28, 2017 · The issue is still around on Ubuntu 20. The test is complicated somewhat by the fact that some registers are expected to change, such as timers. power. I followed this instructions: Is it possible to make 16. Change the lid closing settings on a laptop. Oct 21, 2016 · Upgrading to the 4. You will need to write a script: In a terminal, create the file /etc/acpi/lid. Nov 2, 2017 · To disable suspend on lid-close. gnome. There should be an automated test to see what registers change across a sleep cycle, but few vendors have such a test. Feb 16, 2024 · Open a Terminal following the steps below for your specific operating system: . Check the value, if it's -1 or 0, it means the function is disabled. I tried to edit org. Apr 13, 2017 · Related: How can I tell Ubuntu to do nothing when I close my laptop lid? I have my laptop set to activate standby when I close the lid. Sep 14, 2016 · Currently, you can enable "Suspend when laptop lid is closed" in Gnome Tweaks > General (Gnome v3. 2 with LXDE (Lubuntu) Desktop; if you have this desktop you can change the default and manage the monitor through that. I'm able to successfully hibernate by typing sudo pm-hibernate into terminal but Apr 15, 2015 · my laptop's lid is a little broken and when i put it in it's bag it'll be open while i'm handling it and then it get's out of the suspend mode, how can i change what opening the lid does, i only found how to change what closing the lid does in Power Manager, but there was no option to control what opening the lid does :D Open a Terminal following the steps below for your specific operating system: . If you choose to suspend from the power menu and it suspends then you have a bug that is not engaging when you close the lid to the laptop. The current behavior is: The laptop goes to sleep/hibernate, causing the server to stop working, when I close the lid. I Googled my problem and got a result saying to modify a configuration file. May 25, 2012 · when I close the lid, the ssh server stops working and, I guess, wlan0 too. Then I rebooted the service with $ sudo service systemd-logind restart, but if I close the lid the whole screen turns off, so nothing changed! I've even tried rebooting the pc for the sake of trying May 27, 2023 · How to Change the Lid Close Action in Ubuntu 22. In the General tab from the sidebar, toggle off the ‘Suspend when laptop lid is closed’ button. log seems to be updated between lid movements. power lid-close-ac-action If the printed reply is not nothing then use this command: gsettings set org. I can share them if needed. I mean they can be seen after the lid is closed. Mar 6, 2019 · Indeed, the lock screen clocked is huge for a split second after opening the lid, then the screen resolution is changed to my normal 2560x1440. On battery Power: Do Nothing. 04, there is no such option. change lid close behavior ubuntu. 10 it is changed in 'when lid is closed suspend'. May 6, 2024 · I am using Ubuntu 24. Your impression that the solution to your real problem is with sleep may be wrong. I tried 3 basic suggestions that I saw as a result of my research. Dec 29, 2022 · If you’re a user of Ubuntu 22. You can change the value to 1 accordingly. $ sudo journalctl -b -u systemd-logind I can see these in the last 2 lines of the output of above line. after i read your question, i checked my system settings. Tried the BIOS and nothing, no option about the lid. To undo simply: gsettings set org. All the answers I've found involve the GUI which I do not have. Using dconf shows some interesting settings (lid-close-ac-action and lid-close-battery-action), but they are always overriden by the above discussed GNOME Tweaks settings. I have also gone into gnome-tweaks to turn off 'suspend when the laptop lid is closed' to no effect. But I can't get this to Aug 1, 2021 · I found Light Locker, as I have Ubuntu 14. I'm able to do this in Kubuntu 18. May 28, 2020 · But I am tired of having to type this command every time before I shut the lid, and sometimes I don't have time to unlock the computer and type it, I need to just shut the lid and go. My preferred setting is to only go to standby when on battery and stay on when connected to AC. conf file to change the action. Otherwise you might have to install gconf-editor through terminal if you don't have it. 04 via the Power settings. Apr 28, 2024 · This simple tutorial shows how to change the action (e. 04: Shutdown / Hibernate Your Laptop When Lid is Closed | UbuntuHandbook You have to do two simple step in your system to prevent lid close effects: 1) Change “When lid is closed” Go to System Settings >> Power – change options for “When a lid is closed ” as per given image to. Follow the steps below for how to change what your laptop does when the lid is closed. Is there a command to change this? Feb 9, 2020 · I use Ubuntu 18. How to Change Lid Close Action in Ubuntu 18. systemd-logind[917]: Lid closed. Jul 5, 2020 · Ubuntu 20. Ubuntu Version: 20. Undo the above steps before following this. Jul 6, 2024 · Let’s change the value of HandleLidSwitch to ignore in the logind. Then save the file do a restart. , hibernate or hybrid-sleep, you can let suspend behave like one of those. 04, and Ubuntu 23. There's an option to disable the automatic suspend on lid close. To make things simple: 3. May 3, 2018 · There are two ways to achieve the desired result. To change lid close action without any condition, enable (remove ‘#’) the #HandleLidSwitch=suspend line and change the value to ‘ignore‘, ‘lock‘, ‘poweroff‘, etc. Among other issues, Whenever I close my laptop lid (it should ideally suspend and work normal whenever I open it back). When that happens the external monitor will turn off. To report errors in this documentation, May 14, 2020 · This simple tutorial shows how to change the action (e. 04, it suspends Ubuntu by default. Issue:. I want it to do nothing when I close the laptop lid. Sep 4, 2021 · Tips on Ubuntu – 28 Apr 18 . To set a specific time, before the computer should switch to suspend, we need to disable the default actions for closing the lid. 0-51-generic, and perhaps other distros as well. 04, computer keeps shutting down when I close the lid, I've already checked logind. 04 laptop, open the System Settings > Power > Power button and lid menu. If it is not, then the system is not suspending. When I close the lid now the screen goes black for a few seconds and it switches to clone, with my laptop screen disabled. power lid-close-ac-action 'nothing' Then repeat the first command and the response should be nothing. conf, settings are set to suspend To my knowledge, this is no longer possible, because of the limited options available in GNOME 3. Tried search for an hour, but couldn't fi Apr 28, 2022 · I installed Ubuntu 22. and this instructions: Ubuntu 16. Most laptops enter a sleep state when the lid is closed. conf and set HandleLidSwitch=lock to lock the screen on lid close (but not suspend), or HandleLidSwitch=ignore to not even lock the screen. By default Ubuntu will go suspend Apr 28, 2018 · In Ubuntu 18. But On opening lid there is just a black screen there is no effect of any input from keyboard or mouse. 04 LTS: Apr 28, 2018 · I have an Ubuntu 18. 04 LTS. Prevent Your Laptop from Shutting Down When You Close the Screen First, open Windows Settings by pressing Windows+i on your keyboard. Dec 21, 2017 · 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. Sep 8, 2022 · No offense, but we may have an XY problem here. If that still does not work, press the power button. 04, Ubuntu 22. lid-close-ac-action was set to 'ignore' lid-close-battery-action was set to 'ignore' lid-close-suspend-with-external-monitor was left unchecked. x as of now. 04 in my HP Pavilion 15 today. To set up the Laptop Lid Close Action you have to install Advanced Setting (or the Gnome Tweak Tool). So I was trying to change the behavior of shutting the lid to running this command instead of whatever it is doing now. I noticed that machine does not even respond to ping when the lid is closed. Figure 1: Open Terminal for Ubuntu Open a Terminal for Red Hat Enterprise 7 using the keyboard command of Ctrl + Alt + T. By answering duplicate questions that have already been asked and answered elsewhere, it makes our site more difficult to navigate. 04, you may have noticed that your system goes to sleep after a certain period of inactivity. When I suspend from the command line and wake up with the power button, the screen does not change resolution. Whenever the laptop suspends (either due to a closed lid or due to a black screen for a certain time), I cannot wake it up. conf is the default login manager configuration file for Linux Ubuntu Systems. May 20, 2014 · Lid Close Action. And Gnome Tweaks only offer a switch to enable / disable ‘Suspend when laptop lid is closed’. Jun 2, 2012 · Every time I close or open the lid, Ubuntu reconfigures the monitor set up. power lid-close-battery-action suspend May 13, 2020 · You'll find the file named "lid_resume_S3" "lid_resume_S4" and "lid_resume_S5": S3 is suspend, S4 is hibernate, S5 is power-off. Methods I have tried: Gnome Tweaks - disable the automatic suspend on lid close. After a certain length of time with no input from the user, most computers and other electronic devices enter sleep mode. For example, my laptop is set up to go into a Suspend once I close the lid. In Ubuntu 18. I want my laptop to do nothing when I close the laptop lid. Dconf editor offers options to change the action to take when the laptop lid is closed on AC or power, but it doesn’t work! So far as I know, you can edit the logind. " If you don't see the battery icon, click on "Show Hidden Icons" and then right-click on the battery icon---or head to Control Panel > Hardware and Sound > Power Options instead. conf file and make sure to uncomment the line. Aug 31, 2020 · Changing the way your laptop reacts when closing the lid, where the screen is housed, is one of them. 4. [ Change to English Language | Change to Browser's Preferred Language] The material in this document is available under a free license, see Legal for details. Dec 17, 2019 · This suggests that the lid close action is being blocked because "External monitor attached or configuration changed recently". e. To change what happens when you close the lid of your Ubuntu 22. 04 LTS; To change what closing the lid of your Laptop does in Ubuntu 20. Aug 13, 2020 · However for me, on closing my laptop's lid the external monitor is still running which I would like it to stop continuing to run,when I close my laptop lid. So I Apr 28, 2023 · To change the lid close action on Windows 11, open Control Panel > Hardware and Sound > Power Options, and click “Choose what closing the lid does,” use the “When I close the lid” setting and choose the action for “On Battery” and “Plugged in:” “Do nothing –” keeps the device running when closing the lid. For information on contributing see the Ubuntu Documentation Team wiki page. Sep 5, 2022 · The post details how to modify Ubuntu Linux’s default setting of automatically suspending when a laptop’s lid is closed. Any help would be greatly appreciated. Jul 2, 2018 · I've tried the power options in settings and it didn't work. Similarly, we need to save the changes by pressing Ctrl+O, then Enter, and exit the text editor by pressing Apr 28, 2024 · Unlike laptop lid close action, it’s easy to tell Ubuntu to shutdown or hibernate automatically when reached idle timeout. I would like to find a way to have the lcd display power off when I close the lid. – Jan 11, 2016 · I want to change some power management options from the terminal (I don't have GNOME or a GUI installed, and I don't want to either). Lock: The laptop will lock when you close the lid. When I opened up the configuration file, the setting I was supposed to change was just how it was supposed . 04 Gnome desktop, there’s no option in Settings utility for configuring laptop lid close actions. But then, the system hibernates. plugins. Once installed, start the Tweaks application. For those who want it automatic shutdown, hibernate, or do nothing when laptop lid is closed, here’s how to do it by hacking on the configuration file. 04, it used to give a "Suspend when lid is closed" option in the General section, but in Ubuntu 24. Sep 2, 2022 · If you want, you can change the value of those parameters to one of these as per your preference: lock: lock when lid is closed; ignore: do nothing; poweroff: shutdown; hibernate: hibernate when lid is closed; I would suggest going with ignore. May 17, 2020 · When laptop lid is closed in Ubuntu 20. Mar 6, 2024 · gsettings get org. To enable lock on lid-close. – Aug 29, 2014 · You're on the right track with logind. I do connect my laptop to a monitor using a USB-C cable but as I write this, it's been undocked and running on batteries for nearly 3 hours (GNOME settings only shows my laptop display as available). It's a long standing bug (there is at least one bug report describing this behavior) with rather slim chances of being fixed, IMHO. Close Menu. Nov 1, 2016 · Do the same process to change the value of “lid-close-battery-action”. What did go wrong? Jun 22, 2023 · I have Ubuntu Server installed on my laptop and it works fine when I leave the lid of my laptop uncovered. I want to keep this as the default for both battery and AC power. Disable sleep (do nothing) on lid close Copy-paste this into Mar 5, 2022 · Still doesn't fix lid-close though. 2 at time of writing). 3 LTS to not shut off when closing the lid. 1. For those who want it automatic Aug 18, 2018 · In order to force your Ubuntu to just disable the screen on lid close, you need to do two things: Disable sleep (do nothing) on lid close Disable screen on lid close Just follow all the steps from both sections and you should be fine. 10 laptop doesn't suspend on lid close. Simply turn off the screen. Blog. 04 and closing the lid of the laptop. Dec 7, 2022 · Saving power is another reason why computers include a “sleep” mode for when they are not in use. I have looked at several similar questions and tried the below methods already. When I closed a laptop lid, then the laptop screen is turned off and an external montor was still turned on. When I suspend from the command line, then close the lid, opening it resizes the windows. 1 I did the following things, However none of them seem to work: May 14, 2020 · This simple tutorial shows how to change the action (e. AFAIK when I close it, the screen Dec 7, 2020 · Ubuntu 20. 04 won't wake up from sleep. Edit the systemd-logind config file: 2. 04 Laptop - FOSTips. I can only guess that a script is run when the laptop lid is closed. Ubuntu simply keeps on running without bothering about going in suspend mode. When Plugged In: Do Nothing – same way change “show battery status in the menu bar” to Never NOTE: This tutorial is also tested and works in Ubuntu 22. I was fed up with all of my programs quitting every time I close the lid, so I attempted to change the lid close action to "hibernate," like my Windows side does. Don't want to burned it out. By using the ‘systemd’ and changing a command line, or installing ‘Gnome Tweaks’, users can alter the setting so closing the laptop lid doesn’t trigger sleep mode. It did not show an option for suspending on lid close. conf. conf, settings are set to suspend 0 Cannot reboot the laptop using an external monitor. sh, make it executable, and instruct your system to reference this file for the behavior of lid "events": gsettings get org. (3) Ubuntu 17. I did change the config file in /etc/NetworkManager/conf. 04 (64 bit) and I'd really love to be able to make my laptop hibernate on closing the lid. How can I ensure that the laptop suspends when the lid is closed? I also installed the Tweaks (gnome-tweaks) tool and in Ubuntu 22. so i think you have to change it manually. This means that your laptop will suspend when you close the lid. Mar 5, 2024 · I just want my laptop to keep running as usual with the lid closed. conf but it did not have an effect. you don't need LidSwitchIgnoreInhibited=no). I tried the same in dconf which just showed what gsettings did, and still had no effect on lid-close, despite what it reports. 04 hibernate on lid close? | Ask Ubuntu. 10 with default GNOME desktop environment. Jul 26, 2018 · gsettings set org. May 5, 2024 · This tutorial shows how to turn off your laptop’s built-in display for using external monitors in Ubuntu Desktop. 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. Run command sudo -H gedit /etc/systemd/logind. After a fresh installation, there are several options enabled that lock the screen and put your computer to sleep after the set period Jun 3, 2019 · How can I tell Ubuntu to turn off the screen when I close my Laptop Lid? I don't want to suspend the session, hibernate, or shut down. , power off, hibernate, do nothing, or lock) when laptop lid is closed in Ubuntu 20. My wlan0 is a RaLink RT3090. I recently updated to 16. I found these options in dconf-editor for the laptop to do 'nothing'. When working with multiple monitors, it can be useful to disable the built-in screen for saving power. And Gnome Tweaks only offer a switch to enable / disable ‘Suspend when laptop lid is closed’. I have tried changing the lid close action to blank but it logs me out. This means that the computer is not actually turned off — it has just gone to sleep. Light Locker is in can be found in Preferences in the main menu. I compared dconf before and after to find the option, but it turns out that's not how it's implemented. When it opens choose the shell tab; Aug 15, 2021 · It's better to close the question as a duplicate since the question and answer are exactly the same. However, I didn't want to leave the lid of my laptop open all the time. The pre-configured schemes have the following GUIDs: Power Scheme GUID: 381b4222-f694-41f0-9685-ff5bb260df2e (Balanced) Power Scheme GUID: 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c (High performance) Power Scheme GUID: a1841308-3541-4fab-bc81-f71556f20b4a (Power saver) Aug 22, 2019 · I'm running Ubuntu Studio, which is based on Ubuntu 19. in ubuntu 13. power lid-close-ac-action 'nothing' This will disable any action when the lid gets closed, and the laptop is plugged into AC. – Sep 2, 2016 · Install GNOME Tweak Tool and go to the Power section. Nov 30, 2010 · Edit /etc/systemd/logind. Dec 11, 2017 · I would like to learn how to customize the behavior of Ubuntu when the laptop lid closes. d to, say, wifi. Nov 26, 2023 · Here, you can choose among several options to find what best fits your needs: do nothing, sleep, hibernate, or shut down. There are a lot of similar questions. lid-close-ac-action and org. We are going to tweak the logind. To tell Ubuntu what to do when your notebook plugged, also remove # from #HandleLidSwitchExternalPower=suspend line and change its value. It works well to define the overall lid behavior, but it does not change with AC/battery status. I have also typed into the terminal: Nov 27, 2018 · I have an issue with Ubuntu 18. 3 gnome laptop with a second monitor connected with HDMI. Dconf editor offers options to change the action to take when the laptop lid is closed on AC or power, but it doesn’t work! Mar 19, 2017 · Disable default close-lid actions. A computer may be woken up Nov 9, 2023 · If you'd like to use your Windows 11 laptop with an external monitor, mouse, and keyboard, it's often nice to keep the lid closed. Ideally, I'd be able to close the lid, have the screen turn off, but still have the server May 15, 2020 · On Ubuntu change lid close behaviour using the logind. conf default login manager configuration file. xfnk ufze oreq acwl fznhic ylhxe fxtgb tqyqnrr yasmxmm uokbjj