I’ve found the best way to handle scaling is to install sway-hidpi-git from the AUR which patches wlroots, xwayland, and sway to allow HiDPI for Xwayland as well as Wayland apps. I’ve been using it for a while now, and it’s been very reliable. Never had to set any font scales or use xrandr, just
As for other distros, you can compile each part of the sway stack manually to add HiDPI xwayland, I don’t think the patched versions are available pre-configured anywhere but arch.
Hey I’m using sway as well on the framework. Did anyone figure out how to setup the keyboard backlight. Neither light nor brightnessctl seem to find the correct led for the keyboard. Was anyone able to resolve this?
Also what @shark found out sounds pretty nice but compiling everything myself is something I may do in the future as I’m kinda happy with what I’ve got since now.
EDIT:
I just found out that it seems. That this still needs to be developed. So If I understand correctly there is no way for me to get the keyboard backlight to turn on via sway, correct?
It allows you to run applications that are made for Xorg and not Wayland. If that is something you want to do (and the majority of Linux software is written for Xorg) then you have no choice but to run XWayland.
This is a rather long (and old!) thread and I’m not sure I can answer all the (unanswered?) questions, but considering I have fought with this quite a bit, I figured I could offer my comments…
I switched to Wayland (from i3 to Sway) after buying a Framework 12th gen, because I was having too much graphics issues in Xorg. I documented my migration in this post, but basically, I had to rewrite a few bits I was using in i3 to make them work in Sway. I have, in particular, the following tools now:
i3-pa-mixer.py: works in sway or i3, considering the @DEFAULT_SINK@ trick…
sway-focus: to get a more “normal” alt-tab (across containers), had to rewrite from my i3-focus, rather annoyingly
dmenu-bash-history: runner that taps into my bash history (and adds to it), to improve on the default dmenu completion, yet another fuzzel/rofi rewrite
dmenu-ssh.py: rofi-like SSH completion for dmenu/fuzzel
I’m using swayidle to automatically lock the screen. It generally works on suspend, but I’ve seen it fail to lock the screen once, which was disturbing.
My Framework review post also has more information on the trouble I had running Debian on the Framework and which might provide you more information.
Thanks! I have been wanting to move back to Sway again, BUT I never did because I had all these issues with integrating gnome session stuff, authentication, etc.
Are you having any issues with these kind of things? Have you tried running the Steam client or done any gaming with it?
I love Sway, and would love to move to it, instead of forcing Gnome to function like Sway. Which is what I have been doing.
… hmm… well not with Sway specifically I’d say. Running things like sway or i3, you often run into weird issues because you don’t run a “normal desktop”, but so far so good, I’d say: sway isn’t better or worse than other alternatives in that regard. I did have touble running it under systemd, but that has somewhat stabilized…
I know it is possible, because on the MNT Reform I have I am using Sway and everything just works. No issues whatsoever. For example, i can open gnome-control-center (settings) with no issues. On the Framework running Sway I got all kinds of issues with that, in that the settings from it weren’t being saved and taking affect on the session I was currently in.
If I could get Sway in the same situation as the Reform, I’d know I could use it for everything at that point. Then I would use Sway again. Probably just need to dig a little deeper and compare the config files between the two.
Still I remapped mod + 1-9 to move between workspaces just like sway, and then I just manually put everything on a grid in the workspaces. It is kind of what I would recommend if you prefer tilers but need no quirks in your desktops functionality.
For example, i can open gnome-control-center (settings) with no issues.
I’ve experienced the same for the most part, however I’ve never managed to be able to manage Bluetooth (when in Sway) works in Gnome.
Have you found the same?
I am not sure how many people are interested in the i3 window manager. But I just want to share that the i3 recently released the latest version 4.22, and the latest version has the gaps feature finally! It works in my environment. The i3 version 4.22 is already available as RPM packages in Fedora.