So I got a new laptop with a small 12.2 inch screen and installed EndeavourOS on it with sway and found everything to be too small so I increased the scale factor of sway’s output, but now all the apps running via XWayland are blurry. According to this sway wiki page, using something called xwayland-satellite would fix the issue.
I installed xwayland-satellite & wrote xwayland disabled in my sway config yet, after rebooting & launching xwayland-satellite, none of the apps running via XWayland launch when I try to launch them. I can see xwayland-satellite is running though in the .
Also, I want xwayland-satellite to run on startup so, as the systemd section states, I moved xwayland-satellite.service to /etc/systemd/user and made sure ExecStart was set to the right path. But I still have to write systemctl --user enable --now xwayland-satellite to launch it as otherwise it won’t run.
I dunno how to solve these problems, so I’m thankful for any/all responses
@Creature ,
With my laptop I cannot reproduce the blurry problem. I used vlc as an X11 application.
When xwayland-satellite was started from a terminal it said that xwayland_satellite > Connected to Xwayland on :2
Seeing that I don’t think that xwayland should be disabled.
So I simply inserted the next line at the end of autostart_applications exec env DISPLAY=:2 xwayland-satellite
tested with env DISPLAY=:2 vlc
Some scalings were set by swaymsg output eDP-1 scale 1.2 # 1.5 and 2
Sorry, if I misunderstand the issue.
Since my initial post I figured out how to get xwayland-satellite to run on startup by adding this to my sway config instead of just writing it in the terminal: exec systemctl –user enable –now xwayland-satellite. But I’ve have been struggling to define the DISPLAY environment variable. I tried doing it in pam_env.conf like the sway wiki instructs, but that makes my login manager not work.
But writing exec env DISPLAY=:1 xwayland-satellite in the terminal works! However if I add this to my sway config, xwayland-satellite no longer runs on startup, even if I include enable –now.
So the only issue left for me is getting xwayland-satellite to run on startup while also retaining DISPLAY=:1 in the line of code.
Ah, I didn’t think there’d be a difference of where exactly in the sway config I’d put that line, I moved it to autostart_applications and it launches on startup, thanks.
However this is still not ideal because when I launch an X11-based app, it still launches through xwayland instead of xwayland-satellite (hence there’s blur) and if I disable xwayland, the apps won’t launch. I can still write env DISPLAY=:1 [some X11 app]to launch some X11 app but it’s not ideal