SparkyLinux Forums

Software & hardware support => Newbie questions => Topic started by: Gordaun on May 15, 2021, 08:07:45 PM

Title: How to switch from Xorg to wayland or xwayland?
Post by: Gordaun on May 15, 2021, 08:07:45 PM
So,my desktop environment is Kde,it already has the necessities installed by default it seems (thank you sparky team) but i can't see how to log into the wayland or xwayland version on the lightdm,and terminal switching to wayland only seens to work on gnome.

So,any hints of what to do?I am doing because i want to experiment and read that althought wayland has less compatibility,it's faster.
Title: Re: How to switch from Xorg to wayland or xwayland?
Post by: MoroS on May 16, 2021, 12:23:33 AM
You might want to install the plasma-workspace-wayland package as described here:
https://wiki.debian.org/Wayland#KDE

To run Wayland, you need a compositor. GNOME has one out of the box, so the experience is quite seamless. As for KDE, you'll probably need to install the package above to replace KWin "the Xorg window manager" with KWin "the Wayland compositor" (basically also a window manager, but integrated on a much lower level and much more powerful).

Also note, that this works nicely on Intel and AMD GPUs. NVIDIA with nouveau is probably OK too, but with proprietary drivers additional steps are required - you need to ensure that the driver is running in modesetting mode as described here:
https://community.kde.org/Plasma/Wayland/Nvidia
Title: Re: How to switch from Xorg to wayland or xwayland?
Post by: paxmark1 on May 16, 2021, 06:13:46 AM
I did have fun with wayland and Sway WM (no DE, tiling WM) over a year ago back on Sid, i386 on an old old atom, but it died (the netbook - not sway).  If you are in rolling, you can follow Norbert Preining"s posts on Planet Debian.org about the newest things in KDE.  Note, I don't use KDE, but have nothing bad to say about it. 

https://www.preining.info/blog/2021/04/debian-kde-plasma-and-digikam-status-2021-04-07/
Title: Re: How to switch from Xorg to wayland or xwayland?
Post by: MoroS on May 16, 2021, 10:07:17 AM
Quote from: paxmark1 on May 16, 2021, 06:13:46 AM
I did have fun with wayland and Sway WM

That's my current setup and I find it very refreshing and... productive. ;)