Kali Linux: How to keep your laptop running when you close the lid
I wanted to run some software on my laptop but I wanted to close the lid of my laptop so it would be easier to carry with me but every time when I closed the lid my laptop went to sleep
and stopped everything what it was doing =( I didn’t find any settings from Kali Linux GUI but you can do some small command line kung fu:
This setting disable the sleep mode when your laptop charger is plugged in and you close the lid:
gsettings set org.gnome.settings-daemon.plugins.power lid-close-ac-action nothing
And this one disable the sleep mode when you are running your laptop on battery mode:
gsettings set org.gnome.settings-daemon.plugins.power lid-close-battery-action nothing
After that your laptop should stay a wake even if you close the lid =)
本文介绍如何通过命令行设置 Kali Linux 以防止在关闭笔记本电脑盖子时进入睡眠状态。提供了两种不同的命令,分别用于充电状态和电池供电状态。
2903

被折叠的 条评论
为什么被折叠?



