Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
deepin V20 Beta电源管理,盒盖处理缺失,手工修改存在bug
Tests
4822
views ·
1
replies ·
To
floor
Go
w***n@qq.com
deepin
2020-07-28 16:14
Author
V20 Beta版本的电源管理中,笔记本 合盖不关闭显示器选项在V15是有的,V20中不见了
手工修改如下配置文件 cat /etc/systemd/logind.conf
[Login]
#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#InhibitDelayMaxSec=5
HandlePowerKey=ignore
#HandleSuspendKey=suspend
#HandleHibernateKey=hibernate
HandleLidSwitch=ignore
HandleLidSwitchExternalPower=ignore
HandleLidSwitchDocked=ignore
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
LidSwitchIgnoreInhibited=no
#HoldoffTimeoutSec=30s
#IdleAction=ignore
#IdleActionSec=30min
#RuntimeDirectorySize=10%
#RemoveIPC=yes
#InhibitorsMax=8192
#SessionsMax=8192
不过仍存在如下bug,经过验证,只是修改如下有时仍然不行,需要在启动时重新启动如下服务,
将服务加入开机启动中
cat /etc/init.d/rc
systemctl restart systemd-logind
exit 0
如此才能正常,希望版本能更新解决
Reply
Like 0
Favorite
View the author
All Replies
deepin-mq
deepin
2020-07-28 17:27
#1
需求已收录
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Events
More
手工修改如下配置文件 cat /etc/systemd/logind.conf
[Login]
#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#InhibitDelayMaxSec=5
HandlePowerKey=ignore
#HandleSuspendKey=suspend
#HandleHibernateKey=hibernate
HandleLidSwitch=ignore
HandleLidSwitchExternalPower=ignore
HandleLidSwitchDocked=ignore
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
LidSwitchIgnoreInhibited=no
#HoldoffTimeoutSec=30s
#IdleAction=ignore
#IdleActionSec=30min
#RuntimeDirectorySize=10%
#RemoveIPC=yes
#InhibitorsMax=8192
#SessionsMax=8192
不过仍存在如下bug,经过验证,只是修改如下有时仍然不行,需要在启动时重新启动如下服务,
将服务加入开机启动中
cat /etc/init.d/rc
systemctl restart systemd-logind
exit 0
如此才能正常,希望版本能更新解决