1

I am trying to fix some colors in qt5 applications. I'm using a dark theme and some of the text colors are not bright enough on the dark background.

However, I am very confused about how to achieve this. I have Kvantum Manager and qt5ct installed, but I am not sure which one does exactly what. I was able to switch to a different theme with Kvantum Manager and change the look the qt application, but I couldn't figure out how to change specific font colors.

With the help of this article, I was able to change the text color (in my case by choosing a custom palette, cloning a color scheme and editing the "Less dark" color). But it worked only if I started the qt application with

QT_QPA_PLATFORMTHEME=qt5ct <application>

Unfortunately I couldn't figure out how to make the changes permanent.
Both adding export QT_QPA_PLATFORMTHEME=qt5ct to /etc/X11/Xsession.d/101-qt and ~/.xinitrc did not work.

(If I change an Icon Theme with qt5ct, the changes are permanent.)

What is the proper way to change the color scheme or theme, and make the changes permanent?

Edit:

Is there a way to check what theme/color scheme qt5 is loading? Or if QT_QPA_PLATFORMTHEME=qt5ct is really applied?


Config: Arch Linux (Manjaro Gnome)

Your Answer

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

Browse other questions tagged or ask your own question.