You are not logged in.

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

malm
jgmenu developer
Registered: 2016-10-13
Posts: 703
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,554

Re: wayland and labwc

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


Give to COVAX! Here or here. (explanation)

Offline

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

malm
jgmenu developer
Registered: 2016-10-13
Posts: 703
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: 703
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: 9
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: 703
Website

Re: wayland and labwc

^ thanks for feedback.

Offline

Board footer

Powered by FluxBB