Solution to Laptop Sleep Issue When Closing the Lid After Installing Feiniu OS

Solution to Laptop Sleep Issue When Closing the Lid After Installing Feiniu OS πŸ”₯

Hello friends!πŸ‘‹ Today, let’s talk about the annoying issue of laptops going to sleep when closing the lid after installing Feiniu OS, and how to easily fix it!πŸ˜‰

πŸ’» When you happily install Feiniu OS on your laptop, but find that the system automatically goes to sleep every time you close the lid, it can be quite frustrating. Don’t worry, I have the solution for you!✨

First, you need to access the SSH of Feiniu OS, and remember that the default port number is 22!πŸš€

Then, open your Putty or the built-in PowerShell in Windows 10, enter the IP address and port number of Feiniu, and connect!🌐

Next, enter administrator mode by inputting your username and password, then type β€œsudo -i” to gain root privileges.πŸ”‘ Attention beginners! It’s normal for the screen not to display anything when you type the password, so don’t panic, just press enter to continue!

Now,

type the command β€œnano /etc/systemd/logind.conf” to edit the configuration file.πŸ“

Find the line β€œ#HandleLidSwitch=suspend”, remove the # in front of it,

and change suspend to ignore.

This way, the system will not go to sleep when you close the lid!πŸŽ‰

Remember to save your changes and exit the editor!πŸ’Ύ Finally, restart Feiniu OS for the settings to take effect!πŸ”„

By the way, if you want to turn off the screen but not go to sleep, some laptops’ built-in Fn shortcut keys can still be used under Feiniu OS!πŸ–₯️

Alright, that’s it for today’s sharing!πŸ‘‹ If you have any other questions or tips, feel free to leave a comment! See you next time!πŸ‘‹πŸ’•

Leave a Comment