[problem help] deepin23如何使用命令设置点击电源键时关机
Tofloor
poster avatar
2***[email protected]
deepin
2024-01-10 16:12
Author

deepin23如何使用命令设置修改控制中心中电源设置,修改为点击电源键时关机?

Reply Favorite View the author
All Replies
liwl
deepin
2024-01-10 16:26
#1

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

Reply View the author
2***[email protected]
deepin
2024-01-10 16:29
#2
liwl

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

我使用这个命令

gsettings set org.gnome.settings-daemon.plugins.power button-power 'shutdown'

但是报错了

No sush schema "org.gnome.settings-daemon.plugins.power"

Reply View the author
liwl
deepin
2024-01-10 16:45
#3
2***[email protected]

我使用这个命令

gsettings set org.gnome.settings-daemon.plugins.power button-power 'shutdown'

但是报错了

No sush schema "org.gnome.settings-daemon.plugins.power"

嗯,我提供的是20.9的,23的暂时不清楚

你可以执行gsettings list-schemas看下

大致差不多,这些东西要花时间去摸索了

Reply View the author
2***[email protected]
deepin
2024-01-10 16:52
#4
liwl

嗯,我提供的是20.9的,23的暂时不清楚

你可以执行gsettings list-schemas看下

大致差不多,这些东西要花时间去摸索了

好的!非常感谢大佬🌹 🌹

Reply View the author
neko
deepin
Ecological co-builder
2024-01-10 17:51
#5


image.png

Reply View the author
deepin
2024-01-10 17:58
#6

image.png

Reply View the author
兆兆嘟嘟嘟
deepin
2024-01-10 19:57
#7
2***[email protected]

我使用这个命令

gsettings set org.gnome.settings-daemon.plugins.power button-power 'shutdown'

但是报错了

No sush schema "org.gnome.settings-daemon.plugins.power"

Deepin系统没有Gnome桌面环境,不能用。

Reply View the author