QTile HDPI scaling issue
The issue:
I'm having some issue with QTile and 4k display. I searched online and it seems that the way to scale in QTile is by creating ~/.Xresources
Xft.dpi: 192
The issue with this change is that Firefox/Chrome are unable to play any video, but also I can't use Discord or Jitsi anymore. The scaling looks perfect but somehow those apps stop working correctly. (As soon as I disable the scaling everything start to work as usual)
I didn't try this approach https://github.com/qtile/qtile/issues/1494#issuecomment-1009497797 but it doesn't seems the proper way.
Do you have any idea about how to solve this issue? Exist another way to do scaling? (Btw with Gnome I'm able to scale the screen and everything works as usual).
Required:
- [X] I have searched past issues to see if this bug has already been reported.
you can scale the screen using xrandr.
I used it by typing xrandr --output HDMI-1 --scale 1.25x1.25 --panning 3840x2160 & in my autostart file
If I understand correctly, that kind of scaling will lead to UI blurriness. I've noticed that Gnome scale the font, I wonder if that kind of approach can be taken by QTile too as the result is really good.
I didn't feel any kind of blurriness when I used it (I stopped using it because now I'm in the Wayland version) it would be a matter of you trying it and seeing how it turns out
Can confirm that dpi settings are ignored by qtile widgets only under X11. Namely Xft.dpi: 120 settings from ~.Xresources doesn't make any effect on a bottom Bar from a default configuration file. Use qtile v0.21.0.
@cr1ogen playing around with xrandr make an image blurry on my screen. I have 1920x1200 screen and using Xft.dpi: 120.
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days.
Don't think this is resolved yet.
Please re-open if this doesn't happen with other WMs. But to me this doesn't look like a Qtile issue, especially on X11
I just install and tried QTile and im also having this issue with QTile not scaling to Xft.dpi: 192, i normally use AwesomeWM and its bar and bar's widgets scale just fine.
IDK if it is useful, but this is my randr script that is run on login
xrandr --output eDP-1 --mode 1920x1080 --pos 3840x860 --rotate normal --output DP-1 --off --output HDMI-1 --primary --mode 3840x2160 --pos 0x0 --rotate normal --output DP-2 --off --output DP-3 --off --output DP-4 --off --output DP-5 --off
I just install and tried QTile and im also having this issue with QTile not scaling to Xft.dpi: 192, i normally use AwesomeWM and its bar and bar's widgets scale just fine.
IDK if it is useful, but this is my randr script that is run on login
xrandr --output eDP-1 --mode 1920x1080 --pos 3840x860 --rotate normal --output DP-1 --off --output HDMI-1 --primary --mode 3840x2160 --pos 0x0 --rotate normal --output DP-2 --off --output DP-3 --off --output DP-4 --off --output DP-5 --off
Have you found any solution yet?
Sorry for closing
I just install and tried QTile and im also having this issue with QTile not scaling to Xft.dpi: 192, i normally use AwesomeWM and its bar and bar's widgets scale just fine. IDK if it is useful, but this is my randr script that is run on login
xrandr --output eDP-1 --mode 1920x1080 --pos 3840x860 --rotate normal --output DP-1 --off --output HDMI-1 --primary --mode 3840x2160 --pos 0x0 --rotate normal --output DP-2 --off --output DP-3 --off --output DP-4 --off --output DP-5 --offHave you found any solution yet?
nop
@ecruzolivera, @foozzi , I made a simple script to determine the font scale based on the dpi set in .Xresources. Check it here if you need it and modify it to your needs:
https://github.com/qtile/qtile/issues/1494#issuecomment-2193904349