我需要通过 Puppet、虚拟终端或 ssh 自动化桌面配置。
不幸的是,gsettings
通过 ssh 或虚拟终端调用会给出:
gsettings set org.compiz.core:/org/compiz/profiles/unity/plugins/core/ hsize "4"
(process:29520): dconf-WARNING **: failed to commit changes to dconf: Cannot autolaunch D-Bus without X11 $DISPLAY
Run Code Online (Sandbox Code Playgroud)
当我$DISPLAY
用export DISPLAY=:0.0
它设置时会出现另一个错误:
(process:29862): dconf-WARNING **: failed to commit changes to dconf: Could not connect: Connection refused
Run Code Online (Sandbox Code Playgroud)
我能做什么?
除了使用Alt+ F2, R+之外,有没有办法重新启动 GNOME Shell Enter?
关于这个问题,我已经了解了Alt+F2 中 `gnome-shell --replace` 和 r 之间的差异,但我没有得到我想要的。
我正在寻找一个完全执行Alt+ F2、r+Enter功能的命令。
请注意,我不愿意执行gnome-shell -- replace
命令......
我没有检查这两个东西Alt+ F2,r Enter和gnome-shell --replace
...
有一个很大的区别,我发现...