You are not logged in.

#26 2018-02-09 05:47:39

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 5,231
Website

Re: Alternative bspwm desktop for BunsenLabs?

Head_on_a_Stick wrote:
johnraff wrote:

All the functionality provided via pipemenus would have to be done some other way.

jgmenu seems to work:
https://cdn.scrot.moe/images/2018/02/08/2018-02-07-192727_1280x768_scrot.th.png

Is that the standard BL "places" menu? Does jgmenu read dynamically generated standard Openbox XML menus?

Having a proper look at jgmenu is something I promised to do some time ago.
That, along with my own personal projects, has received no time at all for some months... neutral

Head_on_a_Stick wrote:

As I have already tried to explain, there is no "extra" work because I am going to do this anyway.

You're going to make a fork of BunsenLabs? Otherwise, how do you propose to integrate your project without anyone else having to do anything?

Anyway, more interesting (to me anyway):

PackRat wrote:

If you believe wayland will be the future for Debian...

It certainly seems to be for Gnome. The question, if we wanted to use OpenBox as long as possible, would be how long is Debian going to support X? I'd guess: for quite some time to come.
The alternative question is: when will Wayland be a realistic, solid, no-fuss option for setups like BunsenLabs? There is already a reference compositor/windowmanager called Weston which will also run under X apparently. Maybe we should at least be thinking what we're going to use in Lithium/Buster, or the release after that...


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Offline

#27 2018-02-09 07:41:13

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Alternative bspwm desktop for BunsenLabs?

johnraff wrote:

Is that the standard BL "places" menu? Does jgmenu read dynamically generated standard Openbox XML menus?

Apparently so, yes smile

johnraff wrote:

You're going to make a fork of BunsenLabs?

If there was no interest in merging this with BunsenLabs but there was some demand from the community I would consider that, I suppose.

Sounds like a lot of work though big_smile

johnraff wrote:

That works fine in stretch, the screenshot on the package page is actually one of mine glasses

EDIT: in fact, if you look at the hostname in the scrot you will see that it is from a BunsenLabs desktop cool

Last edited by Head_on_a_Stick (2018-02-09 07:43:50)


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#28 2018-02-09 07:59:04

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 5,231
Website

Re: Alternative bspwm desktop for BunsenLabs?

Head_on_a_Stick wrote:
johnraff wrote:

That works fine in stretch, the screenshot on the package page is actually one of mine glasses
EDIT: in fact, if you look at the hostname in the scrot you will see that it is from a BunsenLabs desktop cool

Wow! Cool indeed.

Sounds like a lot of work though

This was my basic message too, at the moment especially.
I haven't had time to do any of the stuff I've wanted to (unlike your good self, apparently roll ). The last thing I want to hear about just before Helium release is a whole new bunch of stuff to be bolted on, leaving aside all the team and community discussion that ought to precede something like that.

Sorry to sound so negative.


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Offline

#29 2018-02-09 08:03:08

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Alternative bspwm desktop for BunsenLabs?

johnraff wrote:

The last thing I want to hear about just before Helium release is a whole new bunch of stuff to be bolted on

To be clear: I am _not_ expecting this to be included with Helium, I'm very sorry if my posts have suggested otherwise.


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#30 2018-02-09 08:31:06

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 5,231
Website

Re: Alternative bspwm desktop for BunsenLabs?

^That was the impression I was getting, to be honest.

When Helium is released, let's all have a think about the future of BunsenLabs.


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Offline

#31 2018-02-09 21:05:39

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

Re: Alternative bspwm desktop for BunsenLabs?

Head_on_a_Stick wrote:

@malm: this is working really well except that the menu goes behind and opened windows, which is less than ideal hmm

I have raised this as an issue.
https://github.com/johanmalm/jgmenu/issues/51

Maybe bspwm does not handle XRaiseWindow()
I'll try to set some window hints (maybe _WM_NET_STATE_ABOVE) and see what happens.
Are there any other apps that set their own positions that I can xprop to see how they do it?

The `bspc` command can apply a rule to raise a window type but the jgmenu & Jgmenu names both don't work.
Which name is assigned to the "window" used by jgmenu?

Both name and class are set to "jgmenu"
https://github.com/johanmalm/jgmenu/blo … -ui.c#L164

You can check it with `./scripts/xwininfo-wrapper.sh` from the repo top level directory.

Offline

#32 2018-02-09 21:36:37

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Alternative bspwm desktop for BunsenLabs?

^ Thanks!

malm wrote:

Are there any other apps that set their own positions that I can xprop to see how they do it?

dmenu stays on top, if that helps.


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#33 2018-02-09 21:51:33

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

Re: Alternative bspwm desktop for BunsenLabs?

I can't reproduce.
Still running hydrogen/jessie, so no bspwm in repo.
Tried bspwm on ArchLabs and it works fine.
I'll try a clean install with your config files. Too tired tonight though.

Offline

#34 2018-02-09 21:57:36

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

Re: Alternative bspwm desktop for BunsenLabs?

Head_on_a_Stick wrote:

dmenu stays on top, if that helps.

Is it related to how you launch? Eg keyboard short cut vs tint2 launcher vs right click on root window.

Is it jgmenu root window and/or sub windows

Offline

#35 2018-02-09 22:13:12

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Alternative bspwm desktop for BunsenLabs?

malm wrote:

I can't reproduce.

Erm, I am really sorry about this but I can't seem to reproduce the problem now either  ops

I am absolutely positive it was appearing behind the windows but it is now on top, as it should be.

In fact, my last post in the screenshot thread shows just how well it works with bspwm:

https://forums.bunsenlabs.org/viewtopic … 057#p68057

Please accept my humble apologies for wasting your time with this. Just let me reboot the whole machine to double-check, back in a moment...

EDIT: it's all good, no problems here, maybe it was a flashback yikes

Last edited by Head_on_a_Stick (2018-02-09 22:16:02)


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#36 2018-02-10 15:48:27

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Alternative bspwm desktop for BunsenLabs?

Update: I'm not going crazy (yay!), the problem is there after all (boo!).

The issue is caused by restarting the conky, this seems to change the window layering order, see @malm's github issue for more details.

For the moment, simply not restarting conky means that the menu will continue to work as expected.


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#37 2018-02-10 22:12:39

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Alternative bspwm desktop for BunsenLabs?

The jgmenu issue appears to be fixed as of this commit:

https://github.com/johanmalm/jgmenu/com … e13e464ba0

So the next release should work seamlessly even after a conky restart.


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#38 2018-02-11 14:06:29

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Alternative bspwm desktop for BunsenLabs?

Updated the jgmenu theme to match the Bunsen-He-flatish version in use elsewhere:

2018-02-11-135518_1280x768_scrot.th.png

Here's the config:

empty@virtlab:~ $ cat ~/.config/jgmenu/jgmenurc                                       
tint2_look          = 0
at_pointer          = 1
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       = #cecece 100
color_menu_fg       = #888888 100
color_sel_bg        = #cecece 100
color_sel_fg        = #444444 100
color_norm_bg       = #cecece 100
color_norm_fg       = #888888 100
color_sep_fg        = #888888 100
empty@virtlab:~ $

To change the contents of the menu, edit ~/.config/openbox/menu.xml (or use obmenu).


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#39 2018-02-11 16:56:23

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Alternative bspwm desktop for BunsenLabs?

I've added jgmenurc to /usr/share/bunsen/skel along with some comments explaining how to add a "Start" menu to tint2.

(With apologies to the Team for pushing it to the Master branch by mistake!)

OP changed with new instruction.


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#40 2018-02-12 20:48:16

cloverskull
Member
Registered: 2015-10-01
Posts: 307

Re: Alternative bspwm desktop for BunsenLabs?

@HOAS - while I feel far from being a power user at this point, I'd just like to say this was a pretty awesome OOTB setup.

I've been known to browse unixporn once in a while and would like to get to the point where my panel has 10 roman numerals and some typical panel stuff (system load, time, network) and I'm comfortable rapidly switching between desktops. I'm not there yet but this'll get me there. Thanks for the hard work and for sharing.

Offline

#41 2018-02-12 21:59:20

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Alternative bspwm desktop for BunsenLabs?

cloverskull wrote:

this was a pretty awesome OOTB setup

Thanks!

I will actually use this desktop (unlike openbox) so I should hopefully be able to add some more polish as we go.


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#42 2018-02-17 10:22:56

thoro
Member
Registered: 2015-09-30
Posts: 37

Re: Alternative bspwm desktop for BunsenLabs?

For my part, I'm really happy with Openbox. I never needed or missed a start menu. Openbox distinguishes itself by the fact that you can right-click your menu anytime and anywhere. It's possible that other window managers also have their strengths and may be more modern, but #! and now BL are Openbox distributions. In my opinion, the combination of Openbox+Tint2+Conky is simply outstanding. If you want more, you have to install it yourself. Maybe BL will be able to offer so-called meta-packages at some point, where you can retrofit another WM or add additional functions.

Cheers!


"It's just your opinion, man!"

Offline

#43 2018-02-17 20:15:20

dhalgren
Member
Registered: 2015-10-01
Posts: 76

Re: Alternative bspwm desktop for BunsenLabs?

thoro wrote:

For my part, I'm really happy with Openbox. I never needed or missed a start menu. Openbox distinguishes itself by the fact that you can right-click your menu anytime and anywhere. It's possible that other window managers also have their strengths and may be more modern, but #! and now BL are Openbox distributions. In my opinion, the combination of Openbox+Tint2+Conky is simply outstanding. If you want more, you have to install it yourself. ....

Cheers!

Yes, I could not agree more.

Offline

#44 2018-02-17 20:28:04

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Alternative bspwm desktop for BunsenLabs?

thoro wrote:

Maybe BL will be able to offer so-called meta-packages at some point, where you can retrofit another WM or add additional functions

Well I could certainly create a package that would install the necessary files but the problem with our desktop is that any configuration is done at the user level and APT won't touch files in $HOME so any putative package would have to be installed before the first login (ie, during the installation process) for it to work seamlessly. If the package was installed afterwards then the configuration files would have to be copied over manually (as outlined in the OP).

My suggestion really does just amount to three added packages (plus libraries at ~1MiB extra added size in total) and two configuration files for an entire extra desktop that offers something not currently available in any other distribution — I thought that this was a good idea but clearly the community disagrees sad


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#45 2018-02-17 21:24:45

cloverskull
Member
Registered: 2015-10-01
Posts: 307

Re: Alternative bspwm desktop for BunsenLabs?

I don't disagree at all! I am very appreciative that you put together and shared this. I don't understand the reactions.

Offline

#46 2018-02-19 05:09:23

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 5,231
Website

Re: Alternative bspwm desktop for BunsenLabs?

Head_on_a_Stick wrote:
thoro wrote:

Maybe BL will be able to offer so-called meta-packages at some point, where you can retrofit another WM or add additional functions

Well I could certainly create a package that would install the necessary files but the problem with our desktop is that any configuration is done at the user level and APT won't touch files in $HOME...

A couple of suggestions:

1) Install the necessary user config files somewhere under /usr/share and also ship a script /usr/bin/install_bspwm_config which copies what's needed into $HOME. Users would need to run that script once after installing the package.

2) A bit snazzier: install /usr/share/xsessions/bspwm_session.desktop, whose Exec command runs /usr/lib/bspwm_startup, which does some tests and copies those config files into $HOME if they don't yet exist, does any other stuff that would be better done here than in the user's ~/.config/bspwm/bspwm, and then runs whatever /usr/share/xsessions/bspwm.desktop does.


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Offline

#47 2018-02-19 07:33:13

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Alternative bspwm desktop for BunsenLabs?

johnraff wrote:

A bit snazzier: install /usr/share/xsessions/bspwm_session.desktop, whose Exec command runs /usr/lib/bspwm_startup, which does some tests and copies those config files into $HOME if they don't yet exist, does any other stuff that would be better done here than in the user's ~/.config/bspwm/bspwm, and then runs whatever /usr/share/xsessions/bspwm.desktop does.

^ I like this idea very much, thanks!


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#48 2018-02-23 20:20:15

tknomanzr
BL Die Hard
From: Around the Bend
Registered: 2015-09-29
Posts: 1,029

Re: Alternative bspwm desktop for BunsenLabs?

PackRat wrote:

Thanks for the heads-up but I can't reproduce that in my test system, were you using LightDM when you experienced those issues?

May have been originally; I use lxdm now so might be an issue with that.

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 you're going to fork the script, why not go with a more generic command; this command:

killall `wmctrl -m | awk '/Name/ {print tolower($2)}'`

shoudl log you out of 99% of the window managers (Doesn't work with xmonad, probably some other exotic ones).

Unless you're looking to sharpen your ninja scripting skills, then good luck with it.

I have added support for logging out of bspwm in the newest bunsen-exit that I have been working on. I also added the above script but have not yet confirmed that it will actually work. I should have the new bunsen-exit alpha ready before too much longer.

Offline

#49 2018-06-02 20:23:16

nobody5
Member
Registered: 2018-06-02
Posts: 11

Re: Alternative bspwm desktop for BunsenLabs?

I realize this thread is a bit old, but I wasn’t aware that HoaS was working on bspwm in BunsenLabs as a sort of side project. I don’t know how much interest other community members have shown (perhaps outside of the forums if not inside), but I for one would like to see a bspwm edition of BunsenLabs as an alternative offering!

Last edited by nobody5 (2018-06-02 20:23:59)

Offline

#50 2018-06-03 00:44:36

DeepDayze
Member
From: In Linux Land
Registered: 2017-05-28
Posts: 647

Re: Alternative bspwm desktop for BunsenLabs?

AbsorptionOfLight wrote:

I realize this thread is a bit old, but I wasn’t aware that HoaS was working on bspwm in BunsenLabs as a sort of side project. I don’t know how much interest other community members have shown (perhaps outside of the forums if not inside), but I for one would like to see a bspwm edition of BunsenLabs as an alternative offering!

This does sound interesting and this could be the framework for adding other WM's to BL. By just installing a metapackage then setting up a new WM such as bspwm should be a breeze with say a postinst script setting up a sensible default config to match BL.

Or what about this being a part of bl-welcome, perhaps part of a misc setup option?


Real Men Use Linux

Offline

Board footer

Powered by FluxBB