Sway not working properly
On Sunday (27.22.2022) I updated my system:
apk update
apk upgrade
Both commands finished successfully, but when I rebooted my computer and tried restarting sway, it failed to launch. My sway launch script:
#!/bin/bash
session="$1"
if [[ "$session" = "" ]];
then
session="sway"
fi
export MOZ_ENABLE_WAYLAND="1"
export MOZ_DBUS_REMOTE=1
export XDG_CURRENT_DESKTOP=sway
export XDG_SESSION_TYPE=wayland
export QT_QPA_PLATFORM="wayland-egl"
/usr/libexec/pipewire-launcher
dbus-run-session $session
After reading through sway's error messages, I disabled squeekboard
in my sway config:
# virtual keyboard
exec gsettings set org.gnome.desktop.a11y.applications screen-keyboard-enabled false
#exec squeekboard
Afterwards, sway would launch (my wallpaper is being displayed correctly) and I was even able to launch fuzzel
.
This is where the problem arose: Running any GUI application (Firefox, Signal flatpak, Foot (Terminal)) crashed sway.
I'm not sure where this is coming from, because looking at the sway GitHub, there was no new major version, so my config should still be fine.
Whilst I was trying to get sway to launch at all, I also encountered a wl_display
error, but I haven't been able to recreate it.
So all in all, I'm unsure as to which package caused my system to break, but I am unable to use sway and had to install Gnome for now.