Page 1 of 1

Wayland on WDL_Arch64 is a breeze

Posted: Mon May 24, 2021 1:08 am
by wiak

Using Wayland display compositor instead of X is a breeze on WDL_Arch64 since it is fully Arch Linux compatible.

Attached screenshot shows WDL_Arch64 running pure Wayland with 'Sway' desktop manager.

It took me no more than ten minutes to get it all going per the easy instructions I found at link below (all credit where credit is due):

https://www.fosskers.ca/en/blog/wayland

That uses the 'Sway' tiling desktop manager, which is one of many pure wayland client DEs available. I've since also got one alternative called 'labwc' working (Grey's 'list' below makes me want to also try 'Waybox' from Arch AUR), which is similar to openbox (and uses openbox config files but without needing X or Xwayland at all). I haven't finished configuring labwc though (only currently have a cursor and dropdown menu with that one as yet).

The pure wayland client apps I'm using, per the above article, are:

Terminal 'alacritty', desktop panel 'Waybar', application launcher 'Wofi'.

Since screenshot apps such as scrot or any of the Puppy alternatives only work with X, I used proper wayland client 'grim' to take the attached screenshot.

Ubuntu will no doubt aim towards using pure wayland client apps, but many older GUI apps have only been written to work with a full X server. If you need to use these then you'd have to install something like Xwayland, which is a bit of an inefficient fudge really. Xwayland is a full X server that is used as a client to pure Wayland compositor. I have tested it (the version of pcmanfm I have isn't a wayland client app), and works fine, but I simply don't need that for pure Wayland compatible client apps such as I've otherwise been using.

Wayland has been around for a long time, so I'm not claiming much here in terms of futuristic or whatever - using Wayland was really simple (the main protocol was already installed in WDL_Arch64 by default)...but I have little doubt that pure Wayland will become the future of most distros, including the various WeeDogLinux releases (and Xwayland eventually irrelevant though I expect we'll all use that too sometimes...).

wiak


Re: Wayland on WDL_Arch64 is a breeze

Posted: Mon May 24, 2021 1:27 am
by Grey

I looked at this list.
And how will the emulators of any computers/consoles feel with Wayland? The main thing is OpenGL, but still.


Re: Wayland on WDL_Arch64 is a breeze

Posted: Mon May 24, 2021 8:18 am
by wiak
Grey wrote: Mon May 24, 2021 1:27 am

I looked at this list.
And how will the emulators of any computers/consoles feel with Wayland? The main thing is OpenGL, but still.

I'm not sure what you mean. Good or bad? I know next to nothing about Wayland and how it works or doesn't with OpenGL, but the first of the answers in the following is an interesting read that may illuminate the matter. I certainly think it is good that Ubuntu will be developing for Wayland, since the protocols sounds versatile and efficient and X has all sorts of flaws in terms of over-weight protocol and not in itself at all secure really. Anyway, making that first answer below is encouraging:

https://unix.stackexchange.com/question ... ngl#556771

Nice Wayland client list you posted about above.


Re: Wayland on WDL_Arch64 is a breeze

Posted: Mon May 24, 2021 8:41 am
by Grey

Well, I'm trying to understand how Wayland works with Nvidia's proprietary drivers. Most of the people swear. But there is also encouraging news:
https://www.phoronix.com/scan.php?page= ... d-Friendly