「修复」更新后deepin笔记本合盖无法休眠
Tofloor
poster avatar
neko
deepin
Ecological co-builder
Q&A Team
2020-11-19 21:00
Author

sudo dedit /etc/systemd/logind.conf


修改 #HandleLidSwitch=ignore

为: HandleLidSwitch=suspend


systemctl restart systemd-logind.service

已知问题每次重启后要重新执行systemctl restart systemd-logind.service才能睡眠。

Reply Favorite View the author
All Replies
mcaoser
deepin
2020-11-19 21:11
#1

楼主是官方的吗?不是的话,为什么不是官方发现并解决问题。这挺有意思

Reply View the author
189******18
deepin
2020-11-19 21:23
#2

xiexie 

Reply View the author
忘记、过去
deepin
2020-11-19 21:27
#3
mcaoser

楼主是官方的吗?不是的话,为什么不是官方发现并解决问题。这挺有意思

https://bbs.deepin.org/post/205923

有大佬之前发过详细解释,理论上来说这个设置应该被控制中心的配置文件操作覆盖执行的。最好还是等官方修复,这个文件改动和控制中心不同步。

Reply View the author
灵兮之
deepin
2020-11-19 21:31
#4

设置了,重启之后测试无效

Reply View the author
SamLukeYes
deepin
2020-11-19 22:19
#5
忘记、过去

https://bbs.deepin.org/post/205923

有大佬之前发过详细解释,理论上来说这个设置应该被控制中心的配置文件操作覆盖执行的。最好还是等官方修复,这个文件改动和控制中心不同步。

我不是大佬,我只是个搬运工[尴尬]

Reply View the author
jzc
deepin
2020-11-19 22:52
#6

亲测 有效 

Reply View the author
jzc
deepin
2020-11-19 22:53
#7

@shenmo

Reply View the author
Ziggy
deepin
2020-11-20 01:45
#8

收藏了

Reply View the author
moqilintong
deepin
2020-11-20 04:35
#9
灵兮之

设置了,重启之后测试无效

你好,请问你有没有执行命令行:

sudo systemctl restart systemd-logind.service

执行了上面的命令行之后,应该可以修复合盖无法休眠的问题

Reply View the author
灵兮之
deepin
2020-11-20 16:42
#10
moqilintong

你好,请问你有没有执行命令行:

sudo systemctl restart systemd-logind.service

执行了上面的命令行之后,应该可以修复合盖无法休眠的问题

有执行这个命令,但是重启之后就无效了

执行这个命令之后有些desktop会提示管理员权限运行

Reply View the author