Mac*_*dav 7 terminal xfce wallpaper shell-script
Linux kali-linux 5.6.0-kali2-amd64 #1 SMP Debian 5.6.14-2kali1 (2020-06-10) x86_64 GNU/Linux
我想从终端更改我的壁纸。
我尝试了这里建议的方法:
gsettings set org.cinnamon.desktop.background picture-uri "file:///filename"
不起作用。xsetbg
安装apt install xsetbg
feh
方法不提供输出或更改壁纸。gsettings set org.gnome.desktop.background picture-uri file:///path/to/your/image.png
小智 8
Xfce 使用 Xfconf 配置系统。要访问 xfconf,有一个 CLI 工具 xfconf-query。 https://docs.xfce.org/xfce/xfconf/xfconf-query
要了解背景更改时哪些属性发生更改,请在终端窗口中运行以下命令:
xfconf-query -c xfce4-desktop -m
Run Code Online (Sandbox Code Playgroud)
...然后使用“设置管理器”>“桌面”更改背景。
该命令监视通道 xfce4-desktop 的更改。它将告诉 xfce4-desktop 通道上的哪个属性被更改。
那么更改该属性的命令将如下所示
xfconf-query -c xfce4-desktop -p insert_property_here -s path/image
Run Code Online (Sandbox Code Playgroud)
相应地更改图像的属性和路径。