You are not logged in.
Although openbox is well established as the default BunsenLabs desktop, I would like to add a second option for the tiling window manager bspwm.
I've been tinkering with it since Hydrogen was released, here is my old guide:
https://forums.bunsenlabs.org/viewtopic.php?id=567
The window manager itself behaves very nicely in conjunction with tint2 and conky and it also works unusually well with a mouse (for a tiler) — for example, shift+left-click&drag will swap the window tiles and shift+right-click&drag allows the window tiles to be resized as desired.
Another interesting feature of bspwm is the ability to configure the window manager on-the-fly with the `bspc` command, this can be scripted and so is enormously flexible: tint2 executor buttons to change the configuration & layout are a distinct possibility 8)
It is also very small, the three packages we need for this option (bspwm, sxhkd & xdo) total 441 KiB[1] (amd64), plus the few KiB of configuration files.
I've worked up some sample configuration files that attempt to mimic BunsenLabs' openbox environment as much as possible:
https://github.com/BunsenLabs/bunsen-co … -dev_bspwm
The only real problem with this option at the moment is that the "Log Out" choice in bl-exit won't work although there is a specific keybind (super+shift+q) to logout.
The only extra files needed in /usr/share/bunsen/skel/.config are bspwm/bspwmrc (the autostart & configuration file) & sxhkd/sxhkdrc (for the keybindings).
The Debian stretch bspwm package already supplies a .desktop file so there will be a "bspwm" option in LightDM and that will start our desktop.
To test my configurations, utter the following incantation:
sudo apt install bspwm sxhkd xdo
git clone https://github.com/head-on-a-stick/bunsen-configs
cd bunsen-configs
git checkout helium-dev_bspwm
cp -r skel/.config/{bspwm,sxhkd,jgmenu} ~/.config
cd .. && rm -r bunsen-configs
Then log out and pick "bspwm" in the session selector (spanner icon at the top-right) before logging in again.
Once logged in, use <Alt>+F3 (for dmenu) or <Alt>+F2 (for gmrun) to bring up a run dialog; there is no menu (at the moment).
Is there any interest in this proposition at all?
[1] xcb libraries not included, ~1,090 KiB all-in.
Last edited by Head_on_a_Stick (2018-02-11 16:55:05)
Offline
Might I tempt you with an almost authentic bunsenlabs menu to go with it?
sudo apt install jgmenu
cat >~/.config/jgmenu/jgmenurc <<EOF
tint2_look = 0
at_pointer = 0
csv_cmd = ob
menu_width = 120
menu_padding_top = 0
menu_padding_right = 0
menu_padding_bottom = 0
menu_padding_left = 0
menu_radius = 1
sub_spacing = 3
item_margin_x = 1
item_margin_y = 1
item_height = 19
sep_height = 4
icon_size = 0
arrow_width = 8
color_menu_bg = #3a3a3a 100
EOF
EDIT: It's better to use at_pointer = 0 with a tint2 launcher.
Last edited by malm (2018-02-06 21:50:31)
Online
Might I tempt you
Thank you!
Added this line to the launchers section in tint2rc:
launcher_item_app = /usr/share/applications/jgmenu.desktop
We now have a Start Menu
Offline
This is for Lithium, right?
...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
^ Sure, whenever
It's just a suggestion, feel free to ignore it.
I was just playing around with the configurations and I thought it best to commit them somewhere before I forget, that's all.
EDIT: if you do want an experimental alternative desktop for Helium then this is pretty much good to go.
Last edited by Head_on_a_Stick (2018-02-07 08:08:14)
Offline
Helium... please! No more sudden bright ideas!! We're already six months late!
You do understand that replacing Openbox means a radical rearrangement of the whole desktop? All the functionality provided via pipemenus would have to be done some other way. I'm not opposing the idea per se at all, but really don't feel like baking in something like this for Helium at this late stage.
Feel free to post a HOWTO of course - I'm sure some of our members would love to try something like this, and their experiences would make a good base for building a future BunsenLabs setup.
When Wayland takes over we'll probably have to drop Openbox anyway, of course...
Excuse the strong language, but I really think something like this should be proposed at the beginning of a development cycle, not when we're under this strong pressure to get a BL for Debian Stretch out of the garage.
Last edited by johnraff (2018-02-07 08:51:33)
...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
replacing Openbox
Dear me, no, that is not what I was suggesting at all.
I intended this to be offered as an alternative second desktop, it is not at all suited to newcomers.
(sent from my phone, sorry)
Offline
When Wayland takes over we'll probably have to drop Openbox anyway, of course...
That is why I live my Linux life in constant denial.
Offline
When Wayland takes over we'll probably have to drop Openbox anyway, of course...
sway is supposed to be a drop-in Wayland replacement for i3, so that would be a potential horizon... Not sure how bspwm compares but i3 is a delight. Either way, certainly would be neat to see a tiling dm get even second class status. I don't know, offhand, of any Debian-based distros that do so.
Offline
The window manager itself behaves very nicely in conjunction with tint2 and conky
Works better with polybar (post #5 feb screenshot thread) - has polybar made it's way to the Debian repos yet?
And that jgmenu can be configured as a polybar module.
but I tend to agree with this -
Feel free to post a HOWTO of course - I'm sure some of our members would love to try something like this, and their experiences would make a good base for building a future BunsenLabs setup.
Stick with one wm, and howto's for the others.
Last edited by PackRat (2018-02-07 16:25:27)
You must unlearn what you have learned.
-- yoda
Offline
Stick with one wm, and howto's for the others.
^This.
Offline
Tilers are undoubtedly geek-cool and may even be useful in an IT environment but are not in any way conducive to a productive work station for the remaining 99.99% of us.
Absolute nonsense, with a common wide screen monitor far better than floating "windows" as is dmenu with nested menus a throwback from the early days of computing. I am no geek and have been using i3 for years on my main workstation. If I use Openbox or LXQT they just seem so dated and cluttered. This is just my opinion of course :<)
Offline
@HOAS - this is orthagonal to the discussion on whether or not to bundle any of this, but I just wanted to say I can't wait to try it out myself. I've been looking for a excuse reason to learn bspwm for a while now. Do keybinds interfere with anything else?
Offline
I've been looking for a reason to learn bspwm for a while now.
Count me in. HOAS, your effort in educating us is greatly appreciated.
So far the strength of BL (and CB before it) has been that a freshly installed system is simple yet functional, while the community courages for experimenting beyond default settings. Having two window managers out of the box might raise a flood of support questions in the forums. Those who follow a howto are better prepared for banging their own head on the wall first.
Offline
replacing Openbox
Well, as I intimated above, what I am proposing is an additional desktop option rather than a replacent, the packages only add ~1MiB so they're quite good value
All the functionality provided via pipemenus would have to be done some other way.
jgmenu seems to work:
Feel free to post a HOWTO
The OP also constitutes a HowTo, I will keep the fork synchronised with the upstream repository.
has polybar made it's way to the Debian repos yet?
No: https://packages.debian.org/search?keyw … ection=all
Why, after all the work done, add yet more stress to an already stretched 'small' team of developers?
This work constitutes my own personal project and I expect no assistance, furthermore this developer will continue to work on this project irrespective of it's adoption status within BunsenLabs; any support threads that arise from a bspwm-based desktop would be answered by me anyway (probably).
Offline
I can't wait to try it out myself. I've been looking for a excuse reason to learn bspwm for a while now.
You can try it out now in BunsenLabs Helium-dev by running the commands in the OP, here they are again:
sudo apt install bspwm sxhkd xdo
git clone https://github.com/head-on-a-stick/bunsen-configs
cd bunsen-configs
git checkout helium-dev_bspwm
cp -r skel/.config/{bspwm,sxhkd} ~/.config
cd .. && rm -r bunsen-configs
Then log out and choose "bspwm" as the session
Do keybinds interfere with anything else?
I've used the stock BunsenLabs keybinds, the only issue is that the "log out" option in bl-exit doesn't wok so use super+shift+q instead.
Offline
The OP also constitutes a HowTo,
I've used the stock BunsenLabs keybinds, the only issue is that the "log out" option in bl-exit doesn't wok so use super+shift+q instead.
In the spirit of these comments, can the bl-exit script be modified so that:
bspc quit
substituted for "openbox --exit" (or whatever the actual command is) and the script saved as bspwm-exit? Should give the useer a consistent aesthetic.
@cloverskull -
one keybinding issue I've had on my systems is that sxhkd - the recommended key grabber for bspwm - stays resident in memory, so if you logged out of bspwm and then logged into openbox (fluxbox, i3 ...) you'll get keybinding collisions. Quick fix is to have:
pkill -x sxhkd
at the beginning of your openbox autostart file.
You must unlearn what you have learned.
-- yoda
Offline
Back on topic ....
As I stated before, the default should be to stick with openbox and do it well, other window managers can be set up via user contributed HowTo.
If the developers were to go with an additional window manager, I think it might be beneficial to go with a wayland window manager - weston, enlightenment (>0.19), sway, and a fork of awesome wm are available - but I think only weston and enlightenment are available in the repos.
If you believe wayland will be the future for Debian, exposing the BL userbase to it now could be benificial.
You must unlearn what you have learned.
-- yoda
Offline
what was I thinking? You're absolutely right.
Glad we sorted that out. Joking apart I agree with your later post bunsenlabs is based on openbox and to introduce another desktop is just a distraction and extra work for the devs.
Offline
can the bl-exit script be modified so that:
bspc quit
substituted for "openbox --exit" (or whatever the actual command is) and the script saved as bspwm-exit? Should give the user a consistent aesthetic.
Once the new bl-exit code is finalised I will fork it and attempt to apply a conditional test (or something) so that it works in both, that would be my preference.
If the BunsenLabs Team decide not to integrate my project then I can host epoched (is that a word?) versions of the BL packages for those who want to use my desktop.
one keybinding issue I've had on my systems is that sxhkd - the recommended key grabber for bspwm - stays resident in memory, so if you logged out of bspwm and then logged into openbox (fluxbox, i3 ...) you'll get keybinding collisions.
Thanks for the heads-up but I can't reproduce that in my test system, were you using LightDM when you experienced those issues?
LightDM certainly kills sxhkd upon logout, it seems
good luck
Thanks!
to introduce another desktop is just a distraction and extra work for the devs
As I have already tried to explain, there is no "extra" work because I am going to do this anyway.
And I'm always distracted, that's my nature 8)
Offline