I am using both Sway on Wayland, and i3 (X-Window based) in some cases on Fedora 36 on Framework Laptop. Recently I knew XWayland on the Framework community’s thread, and I consider using it. Because Firefox sometimes aborts silently, and I saw issues on Gimp (gimp), and Freeplane (freeplane) on Sway.
I am trying to find how to set up and the tips to use the XWayland. Are you using XWayland? How did you install it? What are the tips?
For the installation, the command below is enough?
xorg-x11-server-Xwayland is a dependency of sway package so it will be installed automatically when you install sway on Fedora. You can set and export MOZ_ENABLE_WAYLAND environment variable to make firefox use wayland instead of Xwayland.
I noticed I already have the installed xorg-x11-server-Xwayland package. As I saw the example of installing Sway and Xwayland separately in Ubuntu, I misunderstood that Xwayland was not installed on my local environment.
Here is my current status on my local environment.
Thanks. There is no installed firefox-wayland package on my local environment. And I didn’t know it is required to run Firefox on Wayland. I will try it.
You are right. I noticed the xorg-x11-server-Xwayland was already installed on my local environment.
I didn’t know the environment variable. Is it essential to run Firefox on Sway? I am still not sure about the behaviors of the environment variable and the firefox-wayland package.
I am trying to run a Java Swing application called “The yEd Graph Editor”. I am setting the above in the .bashrc. But it is opened as a picture than a blank window as someone reported below on the project’s forum. Do you guess which setting I need to run it on Sway? The application yEd works on i3.
$ yEd &
[1] 420670
$
(java:420670): dbind-WARNING **: 18:46:47.645: Couldn't connect to accessibility bus: Failed to connect to socket /run/user/1000/at-spi/bus_0: No such file or directory