You are not logged in.
PackRat wrote:...the current version of xfce4 creates a ~/.config/xfce4/labwc folder for the labwc configuration and autostart files. It's nice, the files are separated from ~/.config/labwc so users can still log into labwc only.
Maybe we should do the same. Right now our openbox files are prefixed bl- but they're still in the same ~/.config/openbox directory along with the vanilla openbox files. We could put ours in ~/.config/bunsen/openbox and ~.config/bunsen/labwc
OK right now the directories are like this:
~/.config/bunsen/autostart
environment
(some lesser flag files)
~/.config/openbox/autostart (this file not used by BL)
bl-rc.xml (this file sets the menu.xml file path)
bl-menu.xml
( we don't ship them, but vanilla openbox files could go here too)
And this makes sense for openbox because it is launched with:
openbox --config-file ~/.config/openbox/bl-rc.xml --startup /usr/lib/bunsen/configs/bunsen-autostart
And bunsen-autostart calls ~/.config/bunsen/autostart
By the current scheme, the Wayland files would be:
~/.config/bunsen/autostart-wayland
environment-wayland
~/.config/labwc/autostart
environment
(other?)
----------------------
Under the suggested new scheme it would look like this:
~/.config/bunsen/autostart
environment
autostart-wayland
environment-wayland
~/.config/bunsen/openbox/autostart ( this file is not used by BL and stays in ~/.config/openbox )
rc.xml
menu.xml (in the BL X11 session we use jgmenu so this file is pretty much ignored)
~/.config/bunsen/labwc/autostart (this file should be empty)
environment
menu.xml
( bunsen-autostart calls ~/.config/bunsen/autostart or ~/.config/bunsen/autostart-wayland depending on the environment variable exported by /usr/bin/bunsenlabs-session. )
So the autostart files in ~/.config/bunsen don't move, but the openbox and labwc files that we use would go in directories under ~/.config/bunsen/
Openbox can be launched with --config-file ~/.config/bunsen/openbox/rc.xml --startup /usr/lib/bunsen/configs/bunsen-autostart no problem.
Labwc would similarly be launched with --config-dir ~/.config/bunsen/labwc --startup /usr/lib/bunsen/configs/bunsen-autostart
Labwc runs both the autostart file found in its config-dir and the file set with --startup, so just to avoid confusion and minimize changes let's keep labwc's autostart empty and use only ~/.config/bunsen/autostart-wayland.
Our autostart files do in principle let users set other window managers than openbox and other wayland compositors than labwc, but I don't know if anyone has actually used a BL setup with a different WM? Any reports?
Last edited by johnraff (Today 09:44:40)
...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 )
Offline
upgrading
Something we need to be aware of if we go ahead with this change - users who upgrade from Boron to Carbon will get the default openbox BunsenLabs rc.xml (just as they now get bl-rc.xml). Any personal modifications they might have made to rc.xml will disappear! Luckily, their original ~/.config/openbox/bl-rc.xml will still exist, so they can either just open that and ~/.config/bunsen/openbox/rc.xml side by side and copy across any changes they want to keep, or use a GUI diff app to compare them. (I like meld.)
Anyway, we'll have to put something about it in the release notes, and be ready to answer queries from users who didn't read them.
...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 )
Offline
XFCE developers discussing a similar arrangement:
https://gitlab.xfce.org/xfce/xfce4-sess … ote_104576
...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 )
Offline