Posted: . At: 10:33 AM. This was 4 years ago. Post ID: 14032
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.



Sponsored



How to use the command line to change GTK settings easily.


The settings used by the file chooser in MATE or Gnome can be changed easily with the command line. The gsettings utility makes this easy.

This example will alter the Firefox file chooser, it will have directories listed first, in descending order, sorted by date modified.

gsettings set org.gtk.Settings.FileChooser sort-column 'modified'
gsettings set org.gtk.Settings.FileChooser sort-order 'descending'
gsettings set org.gtk.Settings.FileChooser sort-directories-first true

This will change the name of the Home icon on the MATE desktop.

4.4 Tue Feb 04 jason@Yog-Sothoth 0: $ gsettings set org.mate.caja.desktop home-icon-name 'HomeNode'

Change the MATE desktop wallpaper like this.

4.4 Tue Feb 04 jason@Yog-Sothoth 0: $ gsettings set org.mate.background picture-filename '/home/jason/Pictures/Scr1 2019-09-27 08-08-54.png'

To dump all dconf settings to a file, use this command.

4.4 Tue Feb 04 jason@Yog-Sothoth 0: $ dconf dump / > dconf-settings.txt

Then, to load the new settings on a re-installed system, or just another computer, use this command.

4.4 Tue Feb 04 jason@Yog-Sothoth 0: $ dconf load / < dconf-settings.txt

This is how a Linux user can backup and then restore dconf settings on another computer once the Linux distribution is installed.


Leave a Comment

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