![]() Go back to the Control Panel and select Power Options again.If the Choose what closing the lid option isn’t available, you can change the plan settings.Then click on Choose what closing the lid does and follow the process as listed above.Click on Power Options in the next window.Conversely, you can stay on Category in View by and select Hardware and Sound.Click the Save changes button at the bottom.Click the drop-down menu for On battery.Locate the When I close the lid option on the window.In this new window, click on Choose what closing the lid does on the left-hand side.In the drop down menu, select either Large or Small icons.The Control Panel should have its View by set to Large or Small.In the Search bar, search for the Control Panel.Click on the magnifying glass icon in the taskbar.You may also be recording something or want some other feature to continue working while you take a break. There could be an instance where you want to go to sleep but don’t want the glaring glow of the display disturbing you. Case in point, whenever you are downloading a massive file onto your laptop and you don’t want the laptop to stay open. There are cases where you don’t want your laptop to go to sleep whenever you close the lid. Why would I want to change the lid close action on my laptop? That way, you can continue doing certain actions. However, it’s entirely possible to do away with that feature and have your laptop stay on even with the display closed. This is a very common feature that’s available on all kinds of laptops. And whenever you open it up, the laptop will turn on again and you can continue using it right where you left off. Whenever you close the lid on any kind of laptop, it will automatically go to sleep. Restoro has been downloaded by 0 readers this month.Download Restoro PC Repair Tool that comes with Patented Technologies (patent available here).Ĭlick Start Scan to find Windows 11 issues that could be causing PC problems.Ĭlick Repair All to fix issues affecting your computer's security and performance.Sudo chmod +x /etc/acpi/local/lid.sh.Home › Windows 11 › How To › Change lid close action Windows 11 After saving and closing the created script, you must set the execution permission:.Su -c "gnome-screensaver-command -l" $CURRENT_USER # Some system process is used to verify who is the current logged user.ĬURRENT_USER=`ps up $PROCESS_PID | awk ''`ĭBUS_SESSION_BUS_ADDRESS=`grep -z DBUS_SESSION_BUS_ADDRESS /proc/$PROCESS_PID/environ | sed -e 's/DBUS_SESSION_BUS_ADDRESS=//'` Grep -q close /proc/acpi/button/lid/*/state # Any redistribution must include the information of authors. ![]() # This script can be freely redistributed, modified and used. # closed in Ubuntu 11.10 (Oneiric Ocelot). # Description: This script locks the screen when the laptop lid is # # Script written by Rafael Fernandes Lopes and Thyago Mendes Neves # The new file should contain the following code:.Mkdir /etc/acpi/local gksudo gedit /etc/acpi/local/lid.sh.post You should create a directory and a new script file:.If you want to install the Gnome Tweak tool, you should use the following command: Using the "Power manager" or "Gnome Tweak Tool" you should configure your laptop to "do nothing" when lid is closed.In order to implement my solution, you have to do the following steps: While a "full" solution is not developed by the community (i.e., adding a 'lock' option in the power manager), I have implemented my own solution. I am having the same problem in my laptop with Ubuntu 11.10.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |