我找到了改变桌面壁纸的终端命令:
gsettings set org.gnome.desktop.background picture-uri file:///path/to/your/image.png
但是此命令在 cron 和其他桌面(如 Mate)中不起作用。pgrep gnome-session方法对我来说没有任何意义。
pgrep gnome-session
linux terminal cron wallpaper command-line-interface
command-line-interface ×1
cron ×1
linux ×1
terminal ×1
wallpaper ×1