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.
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.