Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
High DPI screen and i3 + Firefox
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
Monq
n00b
n00b


Joined: 11 Feb 2011
Posts: 40
Location: Spain

PostPosted: Sat Dec 09, 2017 6:19 pm    Post subject: High DPI screen and i3 + Firefox Reply with quote

I'm trying to run i3 on a high DPI screen. By that I mean a screen with a slightly higher DPI than average (sorta 125 %, according to Windows), not a 4K screen.

To rescale Firefox, I'm supposed to use the GTK3 env variable GDK_SCALE. GDK_SCALE=2 makes things huge and, unfortunately, that env variable only works with integers.
Back to top
View user's profile Send private message
Monq
n00b
n00b


Joined: 11 Feb 2011
Posts: 40
Location: Spain

PostPosted: Sun Dec 10, 2017 12:10 pm    Post subject: Reply with quote

I was under the impression that GTK3 applications simply ignored the Xft.dpi and xrandr --dpi options, but they don't! Only Firefox ignores them.

So in about:config I have layout.css.devPixelsPerPx = 1.2 and it works fine. The rest of GTK3 applications are well behaved and they scale as they should, so problem solved.
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