V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
SOSdanOffical
V2EX  ›  问与答

安装 Debian 的笔记本怎么正确设置挂起模式

  •  
  •   SOSdanOffical · 10 天前 · 470 次点击
    我有一台安装了 Debian12(gnome 桌面)的笔记本电脑,目前放家里当下载机用
    按照网上搜索到的教程修改了/etc/systemd/下的 logind.conf 和 sleep.conf
    希望它只要插着电源,无论开不开盖都不进入休眠
    但它还是时不时的进入挂起状态
    比如周日晚上确认是正常工作的,今天上午莫名其妙就自己挂起了
    TOUJOURSER
        1
    TOUJOURSER  
       10 天前
    systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
    试过这个吗
    SOSdanOffical
        2
    SOSdanOffical  
    OP
       10 天前
    @TOUJOURSER 还没有,我今天回去试试看
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2872 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 07:08 · PVG 15:08 · LAX 00:08 · JFK 03:08
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.