Index | Thread | Search

From:
Landry Breuil <landry@openbsd.org>
Subject:
Re: [new] wayland/cagebreak
To:
Matthieu Herrb <matthieu@openbsd.org>, ports@openbsd.org
Date:
Thu, 27 Nov 2025 09:28:35 +0100

Download raw body.

Thread
Le Wed, Nov 26, 2025 at 11:08:27PM +0100, Jeremie Courreges-Anglas a écrit :
> On Wed, Nov 26, 2025 at 10:29:52PM +0100, Matthieu Herrb wrote:
> > On Wed, Nov 26, 2025 at 07:44:14PM +0100, Jeremie Courreges-Anglas wrote:
> > > 
> > > Here's cagebreak, a compositor for wayland that looks and feels very
> > > similar to x11/raptoison.  I have very little experience running
> > > wayland stuff under OpenBSD but it seems to just work when started
> > > from ttyC0.  It ships xwayland support, which maybe explains why I can
> > > run firefox out of the box?
> > 
> > Nowadays, Firefox run as a native Wayland application unless you set
> > MOZ_ENABLE_WAYLAND=0 explicitely.
> 
> ack.  Anyway xwayland support means the default config is able to
> start xterm.  I personally don't need much more than xterm and
> firefox. :)

if you have xwayland support shouldnt there be a bdep/rdep ?

> I had forgotten about this noop default.  I took the script from
> wayland/sway/files so free commit for you!

how about this (with a revision bump ofc) ? now i remember i've already cleaned
up startwayfire.sh..

Index: files/startsway.sh
===================================================================
RCS file: /cvs/ports/wayland/sway/files/startsway.sh,v
diff -u -r1.1 startsway.sh
--- files/startsway.sh  1 Dec 2023 20:52:37 -0000       1.1
+++ files/startsway.sh  27 Nov 2025 08:25:40 -0000
@@ -2,13 +2,11 @@
 set -eu
 
 : ${WLR_DRM_DEVICES:=/dev/dri/card0}
-: ${LIBSEAT_BACKEND:=noop}
 : ${XDG_CURRENT_DESKTOP:=sway}
 : ${XDG_RUNTIME_DIR:=${HOME}/.local/run}
 : ${QT_QPA_PLATFORM:=wayland}
-#: MOZ_ENABLE_WAYLAND:=1 # doesn't work yet
 
-export WLR_DRM_DEVICES LIBSEAT_BACKEND
+export WLR_DRM_DEVICES
 export XDG_CURRENT_DESKTOP XDG_RUNTIME_DIR
 export QT_QPA_PLATFORM

sidenote: i'll try to actually test cagebreak from a tty, and from greetd a bit
later... but it looks good portswise.