You are not logged in.

#1 2020-10-21 19:43:28

malm
jgmenu developer
Registered: 2016-10-13
Posts: 735
Website

wayland and labwc

@Packrat, @ohnonot

Continued from https://forums.bunsenlabs.org/viewtopic … 29#p107129

ohnonot wrote:

^ glorious. Not my style, but amazing. Possibly the first time I feel confident about evtl. switching to wayland at some point.

PackRat wrote:

Looks good. How stable is labwc now?
May try to build it on Void if I get some time.

@ohnonot, @packrat - sorry it took a while to reply, not sure where that week went.

labwc is still very alpha and is seriously missing lots of features and finesse. I aim to keep it pretty sparse, but even so, there is a long way to go.

Having said that, I have started to use it as my daily driver - just firing it up from a tty. I suppose that doesn't mean much as I mostly just use terminals and firefox.

We're at approx 3500 lines-of-code, which is pretty small. I am mostly just refactoring and getting my head around things. Want to build a stable and correct base before anything else.

Offline

#2 2020-10-22 19:42:28

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: wayland and labwc

Nice, nice.
Did you actually re-use any openbox code, beyond (parts of) the theme engine?

Offline

#3 2020-10-22 20:07:37

malm
jgmenu developer
Registered: 2016-10-13
Posts: 735
Website

Re: wayland and labwc

No big_smile

I think that on the whole, wayland/wlroots is so different to X11 that it’s easier to re-write.

Didn’t like how openbox parses xml; so took a simpler approach.
Same with parsing xbm buttons.

I think I might re-use bits of their menu implementation though. Looks tidy.

I do obviously look at how they did things and draw inspiration from it.

Offline

#4 2021-02-27 08:24:33

malm
jgmenu developer
Registered: 2016-10-13
Posts: 735
Website

Re: wayland and labwc

Just an update on labwc

Video showing a few features (4ish minutes)

Key points:

  • It's lightweight alternative to Gnome/KDE's Wayland compositors

  • It uses libwlroots - same as sway

  • It now supports waybar panel, swaybg for setting background images, bemenu-run for launching apps, etc

  • It supports XWayland, so you can run dmenu, xterm, GTK2 apps, and so on

  • It supports rc.xml, menu.xml, autostart and environment - albeit with a pretty small feature set

  • It supports openbox themes, incl xbm icons. Again, at a level - only 10% of theme options have been implemented

  • Damage tracking is implemented, so CPU usage is significantly reduced

I did work on it from Lithium for a while, but it got increasingly difficult to keep packages up-to-date (I lose track of what I built to keep going, but wayland and wayland-protocols were some of them). I've moved development to Arch, but think it'll just be a matter of time before dependency on latest upstream settles down a bit. The point being that unless you have access to a 'rolling release' OS, it might be easier to just watch the video for the minute.

This file below works well with GDM. Should work with other display managers, but have not tried.

/usr/share/xsessions/labwc.desktop

[Desktop Entry]
Name=labwc
Comment=A wlroots-based Wayland compositor
Exec=labwc
Type=Application

Offline

#5 2021-03-01 16:05:45

napcok
Member
From: Poland
Registered: 2018-12-22
Posts: 16
Website

Re: wayland and labwc

I compile labwc every now and then and test.
Progress is impressive.
Fingers crossed.

Thank you for Jgmenu too, the last version with gradients allows me to get some amazing color schemes smile

Offline

#6 2021-03-01 22:04:29

malm
jgmenu developer
Registered: 2016-10-13
Posts: 735
Website

Re: wayland and labwc

^ thanks for feedback.

Offline

#7 2023-10-27 13:33:24

THX1138
Member
Registered: 2019-01-14
Posts: 286

Re: wayland and labwc

Sorry about reviving an old thread but I thought it would be more efficient to put my enquiry here.
I Just wondered how labwc is progressing. I have looked at the project on github
https://github.com/labwc/labwc
and am very interested in this, although I havent yet got around to making a conversion to wayland.
I am in the process of doing that. I just wondered how malm, and others who have tried it, feel it is going, as it is becoming more and more obvious to me that whether we like it or not, wayland is going to be the future and of all the openbox-like implementations I have seen labwc seems to be the most competently programmed by reading about it. Is it time to switch yet?

Last edited by THX1138 (2023-10-27 14:01:35)


I’ve got this horrible feeling that if there is such a thing as reincarnation, knowing my luck, I’ll come back as me!
---------
Robotic Santa on Deviant Art

Offline

#8 2023-10-27 14:20:11

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,036
Website

Re: wayland and labwc

It's not time to switch yet, but it is time to look forward.

Linux Mint just made an announcement regarding their development of Cinnamon desktop on Wayland, and in it there's this paragraph...

Clem (Lefebvre) wrote:

In terms of timing we don’t think we need Wayland support to be fully ready (i.e. to be a better Cinnamon option for most people) before 2026 (Mint 23.x).

You can read the full post here (the Wayland portion is the third sub-header)...

https://blog.linuxmint.com/?p=4591

I think that, for Debian, the end of life for Xorg is a lot longer than that. Xorg is present in trixie ATM and trixie is likely to be supported until late in 2030...

https://endoflife.date/debian

I haven't seen malm around the boards in awhile. He's extremly active on github, last time I reached out to him was there and he got back to me immediately...

https://github.com/johanmalm/

As an aside, I recently tried the latest siduction Xorg release that runs fluxbox and they used jgmenu OOTB. jgmenu started here, folks!


No, he can't sleep on the floor. What do you think I'm yelling for?!!!

Offline

#9 2023-10-27 14:28:11

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,612

Re: wayland and labwc

THX1138 wrote:

Sorry about reviving an old thread but I thought it would be more efficient to put my enquiry here.
I Just wondered how labwc is progressing. I have looked at the project on github
https://github.com/labwc/labwc
and am very interested in this, although I havent yet got around to making a conversion to wayland.
I am in the process of doing that. I just wondered how malm, and others who have tried it, feel it is going, as it is becoming more and more obvious to me that whether we like it or not, wayland is going to be the future and of all the openbox-like implementations I have seen labwc seems to be the most competently programmed by reading about it. Is it time to switch yet?

Labwc is stable and a nice option for Wayland if you want to stay with the openbox-style window manager. Their wiki on getting it configured is pretty good. I've used/tested it on Arch, Void, and Debian - ran well on all 3.

malm & Co. do good work.


You must unlearn what you have learned.
    -- yoda

Offline

#10 2023-10-27 15:52:28

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,036
Website

Re: wayland and labwc

^ User title checks out!

He's online now, must be subscribed to this thread. Hi @malm!


No, he can't sleep on the floor. What do you think I'm yelling for?!!!

Offline

#11 2023-10-27 16:32:05

malm
jgmenu developer
Registered: 2016-10-13
Posts: 735
Website

Re: wayland and labwc

Hi @hhh. Hope you're keeping good.
And hi everyone else.
Yes, I'm a bit more responsive on GH, but had a "subscribe" on this thread smile

I Just wondered how labwc is progressing.

It's going great. We've made steady progress over four years and it's feature complete in terms of what I originally set out to do.

https://github.com/labwc/labwc-loc-grap … /graph.png
https://github.com/labwc/labwc-scope/bl … B-items.md

labwc seems to be the most competently programmed by reading about it

Well, I couldn't possibly comment big_smile The great news is that there are a number of pretty active developers and at least four are extremely competent which makes for a good team with peer-review, etc. (not including myself in that verdict btw). Also, the wlroots crowd are very competent including people who contribute to the Linux kernel.

Is it time to switch yet?

It depends on what you want. If you want a carefully crafted distribution-derivative that just looks good and works (like BunsenLabs) then no. However, if you're happy to setup your own environment + use a rolling distro + accept a few rough edges then yes.

By rough edges I mean things like:

  • It doesn't support old nvidia setups (older than v495 IIRC)

  • We've implemented everything that I personally need, but there are a few features still missing which you might find important, for example (a) <theme><titleLayout>; (b) <menu><submenuShowDelay>; (c) pipemenus; and (d) hover-buttons

  • We only support official wayland and wlroots protocols. That covers most things, but for example workspace and keyboard layout IPC are not yet supported. So if you want to switch workspace from a panel or see what the active keyboard layout is from a panel, you will have to wait. And just for context, technically it wouldn't actually be that hard to implement those things, but we're trying to follow the eco-system and do it the native way (for a number of reasons that I'm happy to discuss).

  • There isn't yet a mainstream wayland backend for Java, so if you use a lot of those NetBeans type applications you may experience a few annoying focus bugs with popups and so on.

  • There are lots of GTK3 clients (e.g. panels and launchers) using the layer-shell protocol. However, GTK4 does not support it, nor has Qt until very recently, so clients using those stacks do not exist for Desktop Environment type clients. Obviously, 'normal' applications work fine.

  • xfce4-panel support layer-shell protocol and works reasonably well - but not all features are supported (panels can be complicated things!)

  • LXQt desktop works with window rules (but not natively until Qt support layer-shell). I use it on my daily driver and it works fine with a simple setup, but if you use many screens, there will be some annoying short-comings

  • X11 clients are supported to like 99% but if you use bespoke, non-GTK/Qt clients you may get some odd behaviour. Don't try xeyes and tint2. If you use clients that have been designed for Wayland (like waybar), then everything works great.

https://github.com/stefonarch/LXQt-Wayland-files
https://github.com/lxqt/lxqt/issues/10# … 1759317897

Offline

#12 2023-10-27 19:06:53

THX1138
Member
Registered: 2019-01-14
Posts: 286

Re: wayland and labwc

Thank you all, for the excellent replies. Malm, that was a very comprehensive reply, thank you for that. I think i will wait a while, but at some point in the near future I will switch to wayland to be ahead of the game, so to speak. Great replies and good advice too hhh and packrat. Thank you very much


I’ve got this horrible feeling that if there is such a thing as reincarnation, knowing my luck, I’ll come back as me!
---------
Robotic Santa on Deviant Art

Offline

#13 2023-10-28 03:00:32

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,558
Website

Re: wayland and labwc

Hi @malm, thanks for dropping in and leaving that overview! It answers a lot of the questions I had about the future and what it might hold for BunsenLabs. smile

And it's great to see all the activity on labwc - grounds for optimism!


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#14 2023-12-10 17:29:39

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,612

Re: wayland and labwc

Been using labwc for a couple days now. Nice and stable (on Void Linux) and compatible with openbox so I could copy over rc.xml key binds etc ....

2023-12-10-T12-26-11-205801281-05-00.png

@malm - labwc does not suport the workspace module for waybar? Set up 4 workspaces no problem, but the module for waybar doesn't recognise them.


You must unlearn what you have learned.
    -- yoda

Offline

#15 2023-12-10 18:31:19

manyroads
Member
From: around here, somewhere
Registered: 2019-04-16
Posts: 158
Website

Re: wayland and labwc

I'm using labwc on Sid and also find it to be 'pretty good', the major issue I'm wrestling with is to build a decent pager/alt-tab  type function. I found a piece of software that might do it, but the docs are beyond my understanding (or missing or beyond my intellect).  Here's that link:

https://github.com/LBCrion/sfwbar/blob/ … sfwbar.rst


Here's a festive image of my labwc install.... proof-of-life image.

Screenshot-2023-12-10-06-03-44.png

Last edited by manyroads (2023-12-10 18:35:38)


Pax vobiscum,
Mark Rabideau - https://many-roads.com  https:/eirenicon.org 
i3wm, dwm, hlwm on sid/ arch ~ Reg. Linux User #449130
"For every complex problem there is an answer that is clear, simple, and wrong." H. L. Mencken

Offline

#16 2024-02-01 02:59:50

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,036
Website

Re: wayland and labwc

I've just been looking at some opinions on Wayland vs. X11 and it seems it might be quite a while before there will be a total switch. The crux of it is, besides all of the apps that still are exclusively X11... KDE and Xfce.

Both of these DEs are traditionally heavily tied to X11, and are even now just kind of supporting Wayland (KDE more than Xfce).

Then there's WINE. That's not migrating to Wayland anytime soon, WINE on Wayland is in the experimental phase at this point.

Steam, is that compatible with Wayland? Yeah, not so much so far.

Awesome that @malm and other developers (sway) are working on Wayland compatibility, but nobody needs to panic about switching for several years yet. It's still "kicking the tires", "not feature complete". Meaning "not ready".

Sway GitHub issues...

https://github.com/swaywm/sway/issues

labwc issues...

https://github.com/swaywm/sway/issues

There really isn't a link for X11 issues, maybe these?

https://bugs.debian.org/cgi-bin/pkgrepo … ist=stable
https://bugs.debian.org/cgi-bin/pkgrepo … t=unstable

Anyway, we have some time to deal with Wayland, I think there will be several years, still, of crossover. This is not like systemd, where the advantages we're fairly obvious and the transition was fairly easy, though controversial.


No, he can't sleep on the floor. What do you think I'm yelling for?!!!

Offline

#17 2024-02-01 07:22:31

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,558
Website

Re: wayland and labwc

@malm, if you're watching this thread and have a moment, could you take a look at the discussion I started about BL possibly(???) having a basic Wayland version using labwc? https://forums.bunsenlabs.org/viewtopic.php?id=8843


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#18 2024-02-01 09:10:58

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,646

Re: wayland and labwc

https://forum.siduction.org/index.php?t … 9#msg73519
Changed the theme to 'bunsen-themes-beryllium-yeti' the day before yesterday.
Result:
Editing files as root in thunar/foot does not work .

My conclusion from this experiment so far is that it is wrong to set up labwc on a sid system (Beardog), which already has 'next door' configurations of openbox.  big_smile

Offline

Board footer

Powered by FluxBB