Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Some Qt apps aren't themed in XFCE desktop
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
engineermdr
Apprentice
Apprentice


Joined: 08 Nov 2003
Posts: 273
Location: Altoona, WI, USA

PostPosted: Tue Aug 16, 2016 4:08 pm    Post subject: Some Qt apps aren't themed in XFCE desktop Reply with quote

I use XFCE as my desktop and want to run some kde apps, games mainly, but I like konsole as well. Some, like konqueror, appear to honor the theme set in qtconfig, but others like kpat and konsole do not. Looking at the versions, I'm speculating that those that use qt4 are ok, and those using qt5 are not.

I've been looking around and found that qt5 uses the desktop configuration instead of qtconfig, so it set the theme in "KDE System Settings" as well, but still no theme under XFCE. If I fire up a full plasma 5 session, then konsole, kpat, etc. look fine. Is there some service I need to run under XFCE to get the theme correct for these applications?
Back to top
View user's profile Send private message
engineermdr
Apprentice
Apprentice


Joined: 08 Nov 2003
Posts: 273
Location: Altoona, WI, USA

PostPosted: Tue Aug 16, 2016 4:39 pm    Post subject: Reply with quote

Deep inside an ArchLinux Wiki I found this, which seems to work:
Code:
export QT_STYLE_OVERRIDE=breeze

Although the fonts don't quite look right yet. Is this the correct way? How would one select the fonts?
Back to top
View user's profile Send private message
mir3x
Guru
Guru


Joined: 02 Jun 2012
Posts: 427

PostPosted: Sat Aug 20, 2016 9:56 am    Post subject: Reply with quote

For qt4 apps u can use qtconfig tool to set fonts (package qtgui-4.x)
For qt5 qt5ct (package qt5ct) - I never tested that.

For qt5 u can install qtdiag and check what fonts qt detected.
Eg. it shows: System font General font Fixed font Title font Smallest font.

Or maybe u can use qtcurve theme - its very configurable and after some tuning u can mimic almost any theme, but it doesnt work for gtk3 apps.
_________________
Installation aborted to prevent system self-destruction
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum