Thursday, May 16, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 2849  / 2 Years ago, sun, may 8, 2022, 11:13:45

I have been using Clementine as my main music player for a while now, and it has always perfectly matched the theme of my desktop environment (be that Gnome, Cinnamon or Xfce) until I installed the latest version of Ubuntu.



I am currently running Ubuntu Studio 18.10, and for whatever reason it isn't following the system theme. I have checked in Clementine's settings through; Tools>Preferences>Appearance and I have got 'Use the system default colour set' ticked. I understand that Xfce is a GTK desktop environment and Clementine is created using Qt but this has never been an issue with other GTK environments before.



To show you what I mean here is a picture of Clementine running next to Thunar: enter image description here



Hopefully someone knows the answer, the lighter theme Clementine is currently using just doesn't go with the rest of my system. Thank you in advance!



Edit: I can also confirm that the same thing occurs on Xubuntu 18.10


More From » themes

 Answers
7

Your Clementine looks fine to me, has a proper Qt theme. In my case it looked like Windows 95, so my solution might not work for you. As you had no answer I though this might be useful anyway.


sudo apt install qt5-style-plugins qt5ct qt4-config

The first might be already installed. The second, qt5ct, Qt5 Settings, is not for Clementine, but for other Qt applications like Qmmp (simple UI), it might prove useful.


The helpful Clementine settings are to be made with Qt4 Settings (qt4-config package, runs as qtconfig) - namely selecting GUI style GTK+.


enter image description here


Reboot was needed in my case for changes to be adopted.


As I don't use a background image, it looks like this:


enter image description here




Considering the OP's answer that solved the problem in Ubuntu 19.04, but that doesn't work in previous versions: the question was initially about 18.10, I have tested in 18.04, the OP's solution is in 19.04. That may involve different modes of operation and versions of the Qt settings tools. I do not find surprising that the Qt4 settings tool, not the Qt5 one, is the one that worked in my case, given that Clementine 1.3.1 uses Qt4, namely Qt 4.8.7. The OP solved it in 19.04 with settings made in Qt5 Configuration Tool (qt5ct). I think that is because qt5ct is a newer version in the newer 19.04 Ubuntu, while mine (version 0.34 from Ubuntu 18.04) not only behaves but also looks a bit different:


enter image description here


It might be that the newer version of Qt5 Settings has taken over the Qt4 options too.




Summing it up:



  • In Xubuntu 19.04 and later, use the Qt5 Settings (qt5ct), as said in the OP's answer.



  • In previous versions where the above doesn't work, like in Xubuntu 18.04 and 18.10, use the Qt4 Settings (qt4-config package, runs as qtconfig). (For other Qt applications like Qmmp with Simple UI, depending on their Qt version, the Qt5 Settings might be the one useful though. I have also seen a case where Qmmp with Simple UI would not follow the system (dark) theme unless the setting in the Qt5 tool was changed accordingly under Palette - Custom - Color scheme.)



  • Reboot might be needed to see changes.




[#6584] Tuesday, May 10, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
cocal

Total Points: 236
Total Questions: 111
Total Answers: 123

Location: Belarus
Member since Tue, Mar 14, 2023
1 Year ago
;