Posted: . At: 10:38 AM. This was 4 years ago. Post ID: 13916
Page permalink. WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters.
These cookies expire two weeks after they are set.


How to set various options in the MATE Cinnamon and Gnome desktops with the terminal.


The old Gconf framework allowed a user to set various options for the Gnome 2 desktop with a command-line utility or the GUI. But nowadays, we have another one. The gsettings framework for modern desktops allows a user to set various options with the terminal.

This is a nice way of setting various options all in one go with a script.

To list all options, use this command.

4.4 Fri Dec 27 jason@Yog-Sothoth 0: $ gsettings list-recursively

For example, this will change the wallpaper.

4.4 Fri Dec 27 jason@Yog-Sothoth 0: $ gsettings set org.gnome.desktop.background picture-uri 'file:///home/jason/Pictures/nuuk.jpg'

And to turn on a banner message in the Gnome login screen.

4.4 Fri Dec 27 jason@Yog-Sothoth 0: $ gsettings set org.gnome.login-screen banner-message-enable true

This is a very easy way to set various Gnome options.

List all options of a certain type like this.

4.4 Fri Dec 27 jason@Yog-Sothoth 0: $ gsettings list-recursively | grep picture
org.gnome.desktop.background picture-opacity 100
org.gnome.desktop.background picture-options 'scaled'
org.gnome.desktop.background picture-uri 'file:///home/jason/Pictures/nuuk.jpg'
org.cinnamon.desktop.background picture-uri 'file:///home/jason/Firefox_wallpaper.png'
org.cinnamon.desktop.background picture-options 'scaled'
org.cinnamon.desktop.background picture-opacity 100
org.gnome.desktop.screensaver picture-opacity 100
org.gnome.desktop.screensaver picture-options 'stretched'
org.gnome.desktop.screensaver picture-uri 'file:///usr/share/backgrounds/The_Forbidden_City_by_Daniel_Mathis.jpg'
org.gnome.Evince pictures-directory @ms 'file:///home/jason/Desktop/images'
org.mate.background picture-opacity 100
org.mate.background picture-filename '/usr/share/backgrounds/ubuntu-gnome/ubuntu-gnome-path-to-heaven.jpg'
org.mate.background picture-options 'zoom'
org.mate.Atril pictures-directory @ms nothing

This is certainly a quick way to set a wallpaper, this could be part of a script that changes the wallpaper every so often.


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.