You are not logged in.

#1 2021-01-09 13:43:31

questionask
Member
Registered: 2021-01-09
Posts: 57

[SOLVED] Xfce: scaling in certain applications broken: Claws Mail, ...

I've got a 4K resolution with 2x window scaling in Xfce. For certain applications (Claws Mail, Orage, Sublime Text) I had to call "xrandr --dpi 192" so they were scaled correctly. I also have "export QT_FONT_DPI=192" in my ~/.profile.

This is broken since a few days (no scaling anymore for these applications only), and I suspect it is related to the upgrade to Xfce 4.16 and gtk2→3.

What I've tried: With the upgrade to Xfce 4.16, there is the new option in the display settings to set scaling to 2x (no effect for these applications). Setting the font dpi to 192 in the Xfce settings also produces a strange look.

My question is: How can I restore the old behavior?

Last edited by questionask (2021-01-09 16:35:57)

Offline

#2 2021-01-09 13:53:10

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,714

Re: [SOLVED] Xfce: scaling in certain applications broken: Claws Mail, ...

https://wiki.archlinux.org/index.php/HiDPI should contain most answers for these questions. In particular check the GTK3 settings for HighDPI

Online

#3 2021-01-09 16:35:26

questionask
Member
Registered: 2021-01-09
Posts: 57

Re: [SOLVED] Xfce: scaling in certain applications broken: Claws Mail, ...

Thank you.

I had to add

export GDK_SCALE=2
export GDK_DPI_SCALE=0.5

to ~/.profile and set custom DPI to 192 in Settings/Appearance/Font.

Offline

Board footer

Powered by FluxBB