Skip to content

Instantly share code, notes, and snippets.

@mbobesic
Created March 6, 2016 11:25
Show Gist options
  • Save mbobesic/56ab4b7543480cb60fee to your computer and use it in GitHub Desktop.
Save mbobesic/56ab4b7543480cb60fee to your computer and use it in GitHub Desktop.
Changing wallpaper from terminal in linux (cinnamom)
choosen_picture = "$(ls $path_to_wallpapers | shuf -n 1)"
gsettings set org.cinnamon.desktop.background picture-uri "file://$path_to_wallpapers/$choosen_picture"
gsettings set org.cinnamon.desktop.background picture-options "scaled"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment