Ubuntu20 一直会自动挂起, 禁止自动休眠

在Ubuntu20系统中遇到电脑自动挂起问题?通过安装gnome-tweak-tool并修改电源设置,可以解决笔记本合盖后自动休眠的问题。只需将“Power”选项中的“Suspend when laptop lid is closed”设置为“off”,即可确保合盖仅关闭屏幕而不进入休眠状态。虽然这并未完全解决睡眠循环的问题,但足以满足日常需求。
摘要由CSDN通过智能技术生成

https://blog.csdn.net/u012090807/article/details/100077280
stackoverflow的回答:https://askubuntu.com/questions/1062369/how-to-disable-auto-sleep-in-ubuntu-18-04

I finally found a solution looking through some other threads. Here’s what I did:

Install gnome-tweak-tool: sudo apt install gnome-tweak-tool

Run gnome-tweaks.( 这个会进入修改界面。)

Change the option under “Power” for “Suspend when laptop lid is closed” to “off”.

Now the monitor only turns off the screen when the lid is closed, and no longer goes to sleep.

This doesn’t really resolve the issue of sleep-looping in case I ever wanted the laptop to actually go to sleep, but it’s a good enough solution for me at least.

在这里插入图片描述

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值