Posted: . At: 7:52 PM. This was 4 years ago. Post ID: 14298
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.


Set the theme for the Ubuntu MATE desktop with the command line.


Setting themes for the Ubuntu MATE desktop is very easy, but it can be done with the command line. This is very simple to do.

The command below will set the GTK theme as “Bluebird”. This works instantly and would be very useful in a script to quickly set up a Linux desktop just as you wish it to be set up after installation.

4.4 Thu May 07 jason@Yog-Sothoth 0: $ dconf write /org/mate/desktop/interface/gtk-theme "'Bluebird'"

Set the Marco window manager theme like this.

4.4 Thu May 07 jason@Yog-Sothoth 0: $ dconf write /org/mate/marco/general/theme "'Ambiance'"

And to set the desktop icon theme, use this command.

4.4 Thu May 07 jason@Yog-Sothoth 0: $ dconf write /org/mate/desktop/interface/icon-theme "'Suru'"

Finally, to set the mouse cursor theme, use this example. Find the name of a good theme that you wish to use and then use this one-liner to set the cursor theme.

4.4 Thu May 07 jason@Yog-Sothoth 0: $ dconf write /org/mate/desktop/peripherals/mouse/cursor-theme "'crystalgray'"

This is a very cool tip for Ubuntu. This would allow setting up a desktop with little fuss. Put it all in a script and all the settings can be set at one time. This is very useful for a new Linux installation.

Putting everything in one script allows setting everything at once. A very useful snippet to squirrel away for when you need it.

dconf write /org/mate/desktop/interface/gtk-theme "'Bluebird'"
dconf write /org/mate/marco/general/theme "'Ambiance'"
dconf write /org/mate/desktop/interface/icon-theme "'Suru'"
dconf write /org/mate/desktop/peripherals/mouse/cursor-theme "'crystalgray'"

Leave a Comment

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