10

XFCE 4.14 promises HiDPI support. I'd like to use different DPI settings on my laptop screen and on the external monitor, but I can't find any new features improving this particular situation. So what does "HiDPI support" mean then? Is this for Wayland + XFCE only?

What I did before XFCE 4.14

This seems to work for < 4.14 and for >= 4.14 the same way:

Custom DPI settings in Appearance -> Fonts allows changing scaling of windows for both monitors at the same time:

screenshot

This works only for one screen unfortunately. The best I could come up with is adding this script as shortcut to toggle between different settings:

if [ $(xfconf-query -c xsettings -p /Xft/DPI) = 152 ]
then
    xfconf-query -c xsettings -p /Xft/DPI -s 96
else
    xfconf-query -c xsettings -p /Xft/DPI -s 152
fi

Many applications (Firefox, Thunderbird, ...) need to be restarted after changing this setting unfortunately.

What is new but doesn't help

I think the Window scaling option is new (but I'm not sure), but it offers only 1x or 2x scaling for both screens at the same time. This is not helping in my situation.

screenshot

xrandr

Not sure if this worked too before, but it kind of does now:

xrandr --output eDP-1 --scale "0.5x0.5" 

This sets the Laptop display to a scaling factor 2. But fonts are quite blurry. This does not happen with the Custom DPI setting.

1
  • In relation to the last example, using scale factors below one in xrandr (or the "Display" applet in XFCE) is equivalent to just choosing a lower screen resolution, but slower and with added tearing. While it usually isn't the best solution, if what you're after is using a lower resolution viewport and upscaling, just choose a lower monitor resolution - and let your display do the scaling, not software. Dec 11, 2021 at 12:52

1 Answer 1

0

You could try combining 2x Windows Scaling and xrandr --output eDP-1 --scale 1.25x1.25 to get less upscaling. It might affect to graphics performance, when e.g. playing videos, though. At least you can make the setting xrandr setting for each monitor separately.

Besides, you could choose a hdpi theme in Settings Manager > Window Manager > Style to change windows' edge thickness, at least.

1
  • Unfortunately I did not find hdpi styles in Xubuntu 19.10 at least in live session.
    – jarno
    Dec 5, 2019 at 16:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .