使用以下脚本可以实现更改桌面背景的类似任务:
FILE="/backgrounds/background.png" gsettings set org.gnome.desktop.background picture-uri "$FILE"
我将如何获得相同的结果,但使用用户的头像/个人资料图片?
command-line bash
bash ×1
command-line ×1