Switching between X11 and wayland

is it easy switching from x11 to wayland and back? I understand x11 support eventually will be dropped (?) but also see many problems with wayland (shared clipboard, GPU support etc).

For me a nogo would be if I cannot copy information from keepass to another application.

In terms of switching, desktop and apps are different:

Swithing your dekstop environment (DE) between X11 and Wayland requires a DE which Fedora still offers in both variants. I have used i3 and sway “in parallel” for a while with mostly the same config until I had set up everything they (s)wway I wanted it.

As for apps: You can run X11 apps under Wayland (using XWayland - this is automatic), so it’s the same app with the same data store etc. and switching back and force is no problem. As for copy & paste, there are quirks under X11 already (primary vs regular clipboard). I use that with keepassxc regularly (not the automatic plugin), it runs as native wayland app.

The biggest challenge (for me) often is figuring out which clipboard an app uses and whether ctrl+v, ctrl+shift+v or yet something else. And why someone thought turning off middle-click-pasting would be a good idea, but that’s a different tangent.

In summary, most things work much better under wayland for me. That will depend on ”the set of things”, of course :wink:

3 Likes

Works out of the box with KDE plasma under Wayland.
A DE specific issue I guess?

I copy and paste things around all the time in Wayland, including from my password manager (1Password). Are you talking copy/paste on the same system or to/from remote systems or VMs?

1 Like

Sure, it’s a Gnome/Firefox thing (“different tangent”). Gnome doesn’t affect me either :wink:

I was considering dumping Budgie (a gnome-clone) for KDE as well. I might want to throw out my experiments with budgie altogehter and go the Wayland/KDE way on Fedora. (I probably will have to spend some time on these boards again..)

Btw: Currently

 johannes@ws-study
 -----------------
 OS: Fedora Linux 43 (Budgie) x86_64
 Host: Z170X-Gaming 7
 Kernel: Linux 6.18.10-200.fc43.x86_64
 Uptime: 4 hours, 10 mins
 Packages: 3448 (rpm), 18 (flatpak)
 Shell: bash 5.3.0
 Display (CF791): 3440x1440 in 34", 100 Hz [External] *
 Display (M14): 1920x1080 in 14", 60 Hz
 DE: Budgie 10.9.3
 WM: Mutter(Budgie) (X11)
 Theme: Pocillo-dark [GTK2/3/4]
 Icons: Papirus [GTK2/3/4]
 Font: Adwaita Sans (11pt) [GTK2/3/4]
 Cursor: Adwaita (24px)
 Terminal: GNOME Terminal 3.56.3
 Terminal Font: Adwaita Mono (11pt)
 CPU: Intel(R) Core(TM) i7-7700K (8) @ 4.80 GHz
 GPU: NVIDIA Quadro RTX 4000 [Discrete]
 Memory: 3.99 GiB / 15.56 GiB (26%)
 Swap: 865.48 MiB / 8.00 GiB (11%)
 Disk (/): 255.00 GiB / 686.71 GiB (37%) - btrfs
 Local IP (enp0s31f6): 192.168.111.43/26
 Locale: en_US.UTF-8

The live iso runs perfect, the installation software crashed a couple of times to I will try again when more time.

Can I use my existing btrfs setup?

Now if only clipboard would work reliably between applications…

What pair of apps do not work?

Autotype from Keepass for instance

There appears to be an upstream note about this.

1 Like

That is not copy-n-paste is input injection.

The ability to send input to another app, that works in x11, is a security problem that wayland fixed. But folks miss the convienience.

It might and probaly is a thing of the past. I remember geting my hands dirty when Wayland just came out (wuhuh. something fundametily new and exciting in the gnulinux world!) Soon to find all the pitfalls.

I must say a lot has changed. It seems capable of everything and copy-n-paste does indeed work (with a delay?) so I take back my reservations. Running this on my multimedia ws as test and now on my main development ws. I’m impressed at how unvisible it is which is a good thing. Definitely stable and future proof.

To all (other) doubters: no reason to do so. It works.