Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

gtk2 and qt5 unify look (openbox session)

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
mt12345
Posts: 70
Joined: 2010-02-15 15:46

gtk2 and qt5 unify look (openbox session)

#1 Post by mt12345 »

I would like qt5 apps to follow gtk2 theme.
How to do that?
Do I have to install theme that is both gnome and kde compatible?

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: gtk2 and qt5 unify look (openbox session)

#2 Post by stevepusser »

What version of Debian and KDE are you talking about? The KDE in the last stable release of Debian uses Qt 4.
MX Linux packager and developer

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: gtk2 and qt5 unify look (openbox session)

#3 Post by Head_on_a_Stick »

Pick the Adwaita GTK+ theme and set this environmental variable:

Code: Select all

QT_STYLE_OVERRIDE=adwaita
https://wiki.archlinux.org/index.php/Un ... ns#Adwaita
deadbang

mt12345
Posts: 70
Joined: 2010-02-15 15:46

Re: gtk2 and qt5 unify look (openbox session)

#4 Post by mt12345 »

OVERRIDE didnt help (I know this archwiki page).

sorry I meant qt5 not kde I run debian unstable + openbox

MoaTib
Posts: 74
Joined: 2011-02-27 02:38

Re: gtk2 and qt5 unify look (openbox session)

#5 Post by MoaTib »

apt-get install braindump -t unstable

Stupid changes are not synonymous of useful progress.

mt12345
Posts: 70
Joined: 2010-02-15 15:46

Re: gtk2 and qt5 unify look (openbox session)

#6 Post by mt12345 »

Solved!
Actually some time ago I installed qt5ct (from ubuntu package I guess?)
but I could only choose between Windows and Fusion themes.
After installing qt5-style-plugins GTK and few others were added.
Thanks!

mt12345
Posts: 70
Joined: 2010-02-15 15:46

Re: gtk2 and qt5 unify look (openbox session)

#7 Post by mt12345 »

For future reference:

install:

qt5-style-plugins (debian)
humanity-icon-theme (ubuntu 16.10)
qt5ct (ubuntu 16.10 webupd8 PPA)

echo QT_QPA_PLATFORMTHEME=qt5ct >> ~/.profile

tested on debian testing ;-)

Post Reply