我的笔记本电脑几分钟不使用后就会自动挂起(休眠)。我通常让笔记本电脑下载东西然后进入休眠状态,然后我醒来发现什么都没下载,笔记本电脑处于休眠状态,这可不太妙。
如何阻止笔记本电脑自动挂起并使其仅在我指示时挂起?
- 笔记本型号:DELL inspiron-3542
- 操作系统:UBUNTU 17.10
- 桌面环境:GNOME 3.26.1
我在启动应用程序中有这个:
GNOME 调整电源选项:
系统概要:
内容/etc/systemd/logind.conf
:
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
#
# See logind.conf(5) for details.
[Login]
#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#InhibitDelayMaxSec=5
#HandlePowerKey=poweroff
#HandleSuspendKey=suspend
#HandleHibernateKey=hibernate
#HandleLidSwitch=ignore
#HandleLidSwitchDocked=ignore
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
#LidSwitchIgnoreInhibited=yes
#HoldoffTimeoutSec=30s
#IdleAction=ignore
#IdleActionSec=30min
#RuntimeDirectorySize=10%
#RemoveIPC=yes
#InhibitorsMax=8192
#SessionsMax=8192
#UserTasksMax=33%