Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
all gtk apps HUGE [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Thu Jun 25, 2015 6:35 pm    Post subject: all gtk apps HUGE [SOLVED] Reply with quote

I am running KDE 5 and recently (not sure which update caused it) all
my gtk apps (firefox, thunderbird, gimp, etc) render with huge UI fonts
and icons. There content is also way too big.

This is because I have set kde "force fonts DPI" to 157 (correct for
my screen). On a new user with DPI set to 96 the gtk apps look OK.

There are workarounds for some apps but they are highly unsatisfactory.

I wonder if anyone knows a fix for this.
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)


Last edited by albright on Fri Jun 26, 2015 11:12 am; edited 1 time in total
Back to top
View user's profile Send private message
natrix
Guru
Guru


Joined: 23 Aug 2013
Posts: 556

PostPosted: Fri Jun 26, 2015 2:51 am    Post subject: Reply with quote

Install "kde-plasma/kde-gtk-config" and check the configuration in systemsettings5, or look the file ".gtkrc-2.0" in your HOME
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4565

PostPosted: Fri Jun 26, 2015 8:23 am    Post subject: Reply with quote

To be more precise: adjust the gtk-font-name key in your ~/.gtkrc-2.0 and ~/.config/gtk-3.0/settings.ini for gtk3.
I have set it to gtk-font-name="DejaVu Sans Book 8" in both, I run 118 DPI and everything looks ok.
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Fri Jun 26, 2015 11:12 am    Post subject: Reply with quote

Quote:
I have set it to gtk-font-name="DejaVu Sans Book 8" in both


thanks to both repliers; unfortunately, I already had that setting

BUT, changing "DejaVu Sans Book 8" to "DejaVu Sans 8" restored
gtk apps to perfection

don't know why Sans Book is missing ...
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Fri Jun 26, 2015 6:21 pm    Post subject: Reply with quote

You could just check the difference in matching for the font with 'fc-match -s '...
Well, that is unless it's something pango/Qt specific...
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