Thanks to systemctl --user status xdg-desktop-portal-wlr.service, I
discovered slurp was a necessary dependency.
I had to add export MOZ_ENABLE_WAYLAND=1 and export XDG_CURRENT_DESKTOP=sway to my .zshrc file
The /etc/pipewire/media-session.d/media-session.conf file was
outdated. Using pacdiff, I was able to replace it by its pacnew
counterpart. The key difference between the two files is the
metadata module. The following lines has to be uncommented.
I run a mostly-full wayland setup on Arch Linux, and was recently bit by this bug that causes Audacity to OOM the system only when it runs under Wayland. The workaround is to run it in under Xwayland. Sigh.
I have a similar sway-based setup I do login into to try every few months.
Unfortunately, I typically last very little in there due to minor but unbearable annoyances.
E.g. when using chromium (not forced to wayland, so I presume it still defaults to X even today, which is in itself sad) and moving mouse above the tab bar (into i3’s window title, which is also a tab bar), the browser thinks mouse is still in the window, stuck at the topmost position. This causes tooltip for a browser tab to pop up. This happens a lot and is a major nag.
Screen sharing has proven to be a bit more difficult than expected on Wayland-based setup.
In addition to the setup described in this blogpost, I had to make the following modification:
systemctl --user status xdg-desktop-portal-wlr.service
, I discoveredslurp
was a necessary dependency.export MOZ_ENABLE_WAYLAND=1
andexport XDG_CURRENT_DESKTOP=sway
to my.zshrc
file/etc/pipewire/media-session.d/media-session.conf
file was outdated. Usingpacdiff
, I was able to replace it by itspacnew
counterpart. The key difference between the two files is themetadata
module. The following lines has to be uncommented.And after all that, it finally worked on Firefox.
I run a mostly-full wayland setup on Arch Linux, and was recently bit by this bug that causes Audacity to OOM the system only when it runs under Wayland. The workaround is to run it in under Xwayland. Sigh.
https://bugs.archlinux.org/task/67547?project=5&string=audacity
xeyes
is my favorite way to detect whether a client is running under Xwayland. It’s not super practical in every situation, but it sure is more fun.https://codeberg.org/dnkl/foot is a good wayland terminal. It’s packaged in debian and it doesn’t mind old graphic cards.
I have a similar sway-based setup I do login into to try every few months.
Unfortunately, I typically last very little in there due to minor but unbearable annoyances.
E.g. when using chromium (not forced to wayland, so I presume it still defaults to X even today, which is in itself sad) and moving mouse above the tab bar (into i3’s window title, which is also a tab bar), the browser thinks mouse is still in the window, stuck at the topmost position. This causes tooltip for a browser tab to pop up. This happens a lot and is a major nag.