8

I am not sure about the command, but I would like to know how to determine which theme is currently enabled on Ubuntu 14.04.

I am hoping for a command line solution.

  • 1
    Do you mean currently enabled ? – EdiD Apr 30 '16 at 20:37
  • yes that is what i mean – Kalamalka Kid Apr 30 '16 at 20:39
11

You can use gsettings to show currently enabled gtk theme:

gsettings get org.gnome.desktop.interface gtk-theme

and set eg. Radiance

gsettings set org.gnome.desktop.interface gtk-theme Radiance
2

If only want to know which themes are available on your system you can look into these two directory:

  • /usr/share/themes
  • ~.themes

The above directories contains the themes folder.

If you also want to know which is the current active theme you can follow these two way:

  • Open System Settings and then choose Appereance. Now in the Look tab watch at the window bottom right: you can see which theme is currently set (e.g Ambiance);
  • Install unity-tweak-tool to manage unity appearance:

    sudo apt-get install unity-tweak-tool
    

    Now open it and select Themes section. It will be shown the list of themes installed on your system and you can choose which is the best for you or you can install other from internet.

Note: if you have installed a new theme, then you can't see with the first method. Unfortunately you need a third-party software to manage themes different from default.

EDIT:
I you want to know which is the current active theme from terminal you can use this command:

gsettings get org.gnome.desktop.interface gtk-theme

I hope this could help you.

  • thanks for trying but currently - System Settings -->Appereance--> Look bottom right panel is greyed out (blank), as there is third party installed. Unity Tweak tool only shows available themes, not what is currently installed. – Kalamalka Kid Apr 30 '16 at 20:18
  • What is the content of the two directory that I post above (could you post the output of ls /usr/share/themes)? Which is theme are you currently using? – Danibix Apr 30 '16 at 20:23

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.