I have Kubuntu 16.04 with kde 5.6.5, and I cannot change the graphical components, I am stuck with the qtcurve style.

Here is a screenshot of the settings, as you can see, the style selected (and applied) is Fusion, but the qtcurve is still used. enter image description here

I am using a laptop with intel graphics and nvidia card, and I had problems insalling drivers because of the optimus system. While trying to reinstall my graphics drivers, I ended up installing the ubuntu desktop on my system (I don't remember the exact command). On the login screen, I can now choose between plasma and Ubuntu.

I don't know if it's related, but I thought it was useful to mention it.

I tried rebooting, no luck.

This is not an urgent problem (qtcurve style is good), but this is annoying and I like having a working system :D

Any help is welcome.

share|improve this question
    
Are you using Unity with KDE? – Anwar Aug 26 '16 at 5:47
    
I never used Unity with KDE, but I think I installed it by mistake, because I can choose ubuntu in the log in screen – Keplyx Aug 26 '16 at 14:27
    
Installation is enough to override settings. You can't really use Unity with KDE. – Anwar Aug 26 '16 at 14:36
up vote 1 down vote accepted

Cause of the Problem

I experienced this same problem yesterday and discovered that, some packages was overriding QT style with gtk looks. The environment variables in question were QT_STYLE_OVERRIDE and QT_QPA_PLATFORMTHEME.

Solution

The solution is putting these lines in ~/.profile file to unset the environment variables.

## Fixing QT style override problem
if [ "x$XDG_SESSION_DESKTOP" == "xKDE" ] || [ "x$XDG_SESSION_DESKTOP" == "xplasma" ];
then
    unset QT_STYLE_OVERRIDE
    unset QT_QPA_PLATFORMTHEME
fi

Now, the style should be changeable and will persist.

share|improve this answer
    
well doing echo $QT_STYLE_OVERRIDE returns nothing, just a blank line – Keplyx Aug 26 '16 at 14:31
    
what is the output of env | grep QT? @Keplyx – Anwar Aug 26 '16 at 14:35
    
QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_ACCESSIBILITY=1 QT_QPA_PLATFORMTHEME=appmenu-qt5 QT_IM_MODULE=compose – Keplyx Aug 26 '16 at 15:52
    
Aha! found it. I've updated the answer. @Keplyx check it now – Anwar Aug 26 '16 at 15:55
    
Still not working, but I think I know why. I'm dumb and said I was stuck with qtcurve, but this is wrong, I'm stuck with Style GTK+. This is because I had this problem: askubuntu.com/questions/812270/color-problem-on-kubuntu-16-0‌​4. So I changed the GTK2 theme to oxygen-gtk. Still don't know how to fix this tho – Keplyx Aug 26 '16 at 16:08

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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