SS14.Launcher icon indicating copy to clipboard operation
SS14.Launcher copied to clipboard

No UI scale on Linux

Open lzk228 opened this issue 1 year ago • 4 comments

lzk228 avatar Dec 24 '23 09:12 lzk228

Is this about changing the in-game UI scale in case somebody breaks it? Or is this for changing the UI scale of the launcher itself?

PJB3005 avatar Dec 24 '23 15:12 PJB3005

for launcher itself, because buttons are too small image i think if someone playing on 4k monitors its even worse looking

lzk228 avatar Dec 24 '23 15:12 lzk228

Yeah that's just a Linux-specific issue with it not supporting proper DPI scaling (and now that Wayland finally does, Avalonia doesn't support it yet). On a competent OS this works fine.

PJB3005 avatar Dec 24 '23 23:12 PJB3005

Workaround described here: https://github.com/AvaloniaUI/Avalonia/wiki/Configuring-X11-per-monitor-DPI

Basically, put something like AVALONIA_SCREEN_SCALE_FACTORS='eDP-1=2' %command% in your launch options on steam, except replace eDP-1 with the name of your monitor (can be obtained using xrandr --listactivemonitors). Adjust the number after the equals sign to your prefered scaling factor. This works for me on gnome wayland.

simplepad avatar Jul 22 '24 18:07 simplepad