You are not logged in.

#26 2019-03-13 06:50:03

hhh
Meep!
Registered: 2015-09-17
Posts: 7,965
Website

Re: jgmenu as default menu generator for Lithium?

Wow. I just realized that we've added a window-independent root menu and, thanks to some help from BB, a system init and window manager independent logout window to lithium in under a month. Nice!

Offline

#27 2019-03-16 05:00:26

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

Re: jgmenu as default menu generator for Lithium?

OP now has a link to the post which has specific instructions on trying the jgmenu-implemented BL menu, ie:
https://forums.bunsenlabs.org/viewtopic … 740#p82740

If anyone has a Buster or Lithium test system running and the time to check this out, any feedback will be most welcome.
Any comments on the whole idea of doing this, for that matter...


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

Offline

#28 2019-03-16 06:15:56

hhh
Meep!
Registered: 2015-09-17
Posts: 7,965
Website

Re: jgmenu as default menu generator for Lithium?

johnraff wrote:
malm wrote:

@johnraff, I'm not against xbindkeys, but reflect that it seems easier to let each Window Manager define their own key-binds.

Understood. I'm not suggesting using xbindkeys for all keybinds, but only for global, wm-independent, calls - mainly (perhaps only) launching apps. So openbox's rc.xml will go on defining keybinds for manipulating windows - maximize, move desktop etc - in fact everything related to openbox.

My reason for advocating a third-party app for global keybinds is the same as for suggesting moving from the openbox menu to jgmenu in the first place - to make it independent of the window manager. Without an externally defined keybind to launch jgmenu it would continue to depend on having openbox running (or else require the user to configure it themselves). Having done that, it seems to make sense to define keybinds for x-terminal-emulator, bl-file-manager etc in the same place.

@malm, I agree with John's thinking here. If you have any time and motivation, I think it's worth looking into.

Offline

#29 2019-03-16 07:23:00

Dobbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 2,260
Website

Re: jgmenu as default menu generator for Lithium?

Off Topic but on-topic.  I'm loving the direction you guys are taking, keep it up.


I like my Metal like my coffee.......Black!
Resident Metalhead Poser

Offline

#30 2019-03-16 08:12:18

hhh
Meep!
Registered: 2015-09-17
Posts: 7,965
Website

Re: jgmenu as default menu generator for Lithium?

Yeah, I agree. We have some good stuff cooking.

Offline

#31 2019-03-16 11:39:57

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

Re: jgmenu as default menu generator for Lithium?

johnraff wrote:

If anyone has a Buster or Lithium test system running and the time to check this out, any feedback will be most welcome. Any comments on the whole idea of doing this, for that matter...

Just to clarify, it works fine on Helium too, if you use 'csv_cmd = pmenu' in jgmenurc (which is the default anyway).

@twoion packaged the last version (v2.2.1) last night and put it in the backports repo.

v2.2.1 contains a couple of bug fixes and a new "starter-for-ten" feature which you can try like this:

jgmenu init --apply-obtheme

It doesn't look quite right for all openbox themes, so still some work to do smile

Offline

#32 2019-05-29 20:46:08

hhh
Meep!
Registered: 2015-09-17
Posts: 7,965
Website

Re: jgmenu as default menu generator for Lithium?

I've added a commit to comtpon.conf to restore drop-shadows to jgmenu...

https://github.com/BunsenLabs/bunsen-co … f59f4608ee

With that commit, my menu looks like this...

Screenshot_2019-05-29_16-32-30.md.png

Gorgeous, right? Question, if I add a prepend.csv as John posted, I lose my icons. Here's my jgmenurc...

# stay_alive = 1
# hide_on_startup = 0
csv_cmd = pmenu
# tint2_look = 0
at_pointer = 1
# edge_snap_x = 30
# terminal_exec = x-terminal-emulator
# terminal_args = -e
# monitor = 0
# hover_delay = 100
# hide_back_items = 1
# columns = 1
# tabs = 120
# menu_margin_x = 0
# menu_margin_y = 0
menu_width = 180
# menu_height_min = 0
# menu_height_max = 0
# menu_height_mode = static
menu_padding_top = 0
menu_padding_right = 0
menu_padding_bottom = 0
menu_padding_left = 0
# menu_radius = 1
# menu_border = 0
# menu_halign = left
# menu_valign = bottom
# sub_spacing = 1
# sub_padding_top = auto
# sub_padding_right = auto
# sub_padding_bottom = auto
# sub_padding_left = auto
# sub_hover_action = 1
item_margin_x = 2
item_margin_y = 2
# item_height = 25
# item_padding_x = 4
item_radius = 0
# item_border = 0
# item_halign = left
# sep_height = 5
# sep_halign = left
# sep_markup = 
# font = 
# font_fallback = xtg
# icon_size = 22
# icon_text_spacing = 10
icon_theme = Papirus
# icon_theme_fallback = xtg
# arrow_string = ▸
# arrow_width = 15
# color_menu_bg = #000000 100
# color_menu_border = #eeeeee 8
# color_norm_bg = #000000 00
# color_norm_fg = #eeeeee 100
# color_sel_bg = #ffffff 20
# color_sel_fg = #eeeeee 100
# color_sel_border = #eeeeee 8
# color_sep_fg = #ffffff 20
# color_scroll_ind = #eeeeee 40
# csv_name_format = %n (%g)
# csv_single_window = 0
# csv_no_dirs = 0
# csv_i18n = 
color_title_bg = #363D40 100
color_title_fg = #e8eff9 100
sep_markup = 
sep_halign = right
color_menu_bg = #363D40 100
color_norm_fg = #e8eff9 100
color_sel_bg = #f20f4f 100
color_sel_border = #f20f4f 100
color_sel_fg = #ffffff 100
color_sep_fg = #535353 100

csv_command = lx makes no difference. If I use the append option, I get an exit menu and my icons remain. I don't need the prepend menu (run, terminal, file manager, etc...) but the append menu is critical to the BL desktop IMO (Preferences>Openbox options, tint2 options, conky options, compton options, wallpaper, notifications, etc...)

Could you post an append.csv file for me?

Offline

#33 2019-05-29 21:30:11

hhh
Meep!
Registered: 2015-09-17
Posts: 7,965
Website

Re: jgmenu as default menu generator for Lithium?

Not being lazy, this is my current append.csv file...

^sep()
Preferences,^checkout(bl-preferences)
System,^checkout(bl-system)

Preferences,^tag(bl-preferences)
Back,^back()
Openbox,^checkout(bl-obConfig)
Compositor,^pipe(jgmenu_run ob --cmd="bl-compositor" --tag="bl-compositor")
Conky,^pipe(jgmenu_run ob --cmd="bl-conky-pipemenu" --tag="bl-conky-pipemenu")
Tint2,^pipe(jgmenu_run ob --cmd="bl-tint2-pipemenu" --tag="bl-tint2-pipemenu")
Appearance,lxappearance
Font configuration,bl-text-editor ~/.config/fontconfig/fonts.conf
BLOB Themes Manager,bl-obthemes
Wallpaper,nitrogen
Notifications,xfce4-notifyd-config
Power Management,xfce4-power-manager-settings
dmenu,^checkout(bl-dmenuconfig)
gmrun,^checkout(bl-gmrunconfig)
Display,^checkout(bl-DisplaySettings)

System,^tag(bl-system)
Back,^back()
Printers,^pipe(jgmenu_run ob --cmd="bl-printing-pipemenu" --tag="bl-printing-pipemenu")
Synaptic Package Manager,pkexec synaptic
Login Settings,pkexec bl-text-editor /etc/lightdm/lightdm-gtk-greeter.conf /etc/lightdm/lightdm.conf
GParted,pkexec gparted
Edit Debian Alternatives,galternatives
^sep()
About Bunsen Alternatives,yad --button="OK":0 --center --window-icon=distributor-logo-bunsenlabs --text-info --title="About Bunsen Alternatives" --filename="/usr/share/bunsen/docs/helpfile-bl-alternatives.txt" --width=900 --height=700 --fontname=Monospace

Which gives me this, the right menus and submenus, but still no icons. I'll logout in a minute to make sure it's not a cache issue...

Screenshot_2019-05-29_17-28-22.md.png

-edit- Reboot, still no icons in those menus.

Last edited by hhh (2019-05-29 21:36:17)

Offline

#34 2019-05-30 02:49:29

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

Re: jgmenu as default menu generator for Lithium?

hhh wrote:

Yeah, I agree. We have some good stuff cooking.

And it smells good. By the time Buster is out the door, Lithium should be very feature complete smile


Real Men Use Linux

Offline

#35 2019-05-30 12:21:52

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 1,056

Re: jgmenu as default menu generator for Lithium?

hhh wrote:

Gorgeous, right? Question, if I add a prepend.csv as John posted, I lose my icons. Here's my jgmenurc...

All of them or just in the prepend section?

In your append.csv (and prepend.csv) you need to specify the icon to use:

Preferences,^checkout(bl-preferences),folder
<snip>
Openbox,^checkout(bl-obConfig),falkon
<snip>
Font configuration,bl-text-editor ~/.config/fontconfig/fonts.conf,firefox-new
<snip

and un-comment this line:

# icon_theme_fallback = xtg

You can use another icon theme instead of xtg if you want.

OBX_Screenshot_2019-05-30_08-04-55.md.png

Do those bl-entries have *desktop files in /usr/share/applications? Not sure if you could go that route and actually create a BL menu item that would contain them. They would (should?) show up in jgmenu and any DE menu then.

Other option would be to add:

icon_size            = 0

to the jgmenurc and go without icons.

Last edited by PackRat (2019-05-30 12:22:46)


You must unlearn what you have learned.
    -- yoda

Online

#36 2019-05-30 18:20:21

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

Re: jgmenu as default menu generator for Lithium?

^ What PackRat said except “icon_theme_fallback” has a different meaning. It specifies where to looking if “icon_theme” is not specified.

Offline

#37 2019-05-31 03:53:09

hhh
Meep!
Registered: 2015-09-17
Posts: 7,965
Website

Re: jgmenu as default menu generator for Lithium?

Thanks gents. It'll be a couple of days before I can try this, work stuff is hectic ATM. Staisfying, but hectic as all get-out.

Offline

#38 2019-05-31 09:49:01

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 1,056

Re: jgmenu as default menu generator for Lithium?

malm wrote:

^ What PackRat said except “icon_theme_fallback” has a different meaning. It specifies where to looking if “icon_theme” is not specified.

Thanks for that clarification.


You must unlearn what you have learned.
    -- yoda

Online

#39 2019-06-02 12:03:35

Naik
Member
From: Lipsia
Registered: 2015-10-03
Posts: 168

Re: jgmenu as default menu generator for Lithium?

I must say that i like what you did here but can not really enjoy tjhe idea of bringing in any other application to handle this. for my taste the OB-menu and it' s GUI-generator are usable enough and it is anything but difficult to bring the debian/xdg menu up if needed.
I just don't see why this is neccesary. Is it likely that openbox will die within the next months/years?

naik --greetz


"Kaum macht [Mensch]* es richtig, funktioniert es sofort!"
BL-Kitchen on GitHub

Offline

#40 2019-06-02 18:12:57

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

Re: jgmenu as default menu generator for Lithium?

Naik wrote:

I must say that i like what you did here but can not really enjoy tjhe idea of bringing in any other application to handle this. for my taste the OB-menu and it' s GUI-generator are usable enough and it is anything but difficult to bring the debian/xdg menu up if needed.
I just don't see why this is neccesary. Is it likely that openbox will die within the next months/years?

naik --greetz

I believe OB will be ported to Wayland so we can still have OB goodness even then. smile


Real Men Use Linux

Offline

#41 2019-06-02 20:57:57

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 1,056

Re: jgmenu as default menu generator for Lithium?

DeepDayze wrote:
Naik wrote:

I must say that i like what you did here but can not really enjoy tjhe idea of bringing in any other application to handle this. for my taste the OB-menu and it' s GUI-generator are usable enough and it is anything but difficult to bring the debian/xdg menu up if needed.
I just don't see why this is neccesary. Is it likely that openbox will die within the next months/years?

naik --greetz

I believe OB will be ported to Wayland so we can still have OB goodness even then. smile

I just read about a project that is a fork of openbox for wayland. Can't remember the name of it though.


You must unlearn what you have learned.
    -- yoda

Online

#42 2019-06-02 21:40:50

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

Re: jgmenu as default menu generator for Lithium?

PackRat wrote:
DeepDayze wrote:
Naik wrote:

I must say that i like what you did here but can not really enjoy tjhe idea of bringing in any other application to handle this. for my taste the OB-menu and it' s GUI-generator are usable enough and it is anything but difficult to bring the debian/xdg menu up if needed.
I just don't see why this is neccesary. Is it likely that openbox will die within the next months/years?

naik --greetz

I believe OB will be ported to Wayland so we can still have OB goodness even then. smile

I just read about a project that is a fork of openbox for wayland. Can't remember the name of it though.

Yes name escapes me too but that sounds like an interesting project. Would love to see Fluxbox and FVWM ported too.


Real Men Use Linux

Offline

#43 2019-06-02 22:36:04

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 1,056

Re: jgmenu as default menu generator for Lithium?

DeepDayze wrote:
PackRat wrote:
DeepDayze wrote:

I believe OB will be ported to Wayland so we can still have OB goodness even then. smile

I just read about a project that is a fork of openbox for wayland. Can't remember the name of it though.

Yes name escapes me too but that sounds like an interesting project. Would love to see Fluxbox and FVWM ported too.

Last I checked (year or so ago), Thomas Adam said Fvwm will get ported to Wayland if it goes mainstream. Kind of a cross that bridge when we get to it attitude.

Wayland? -- maybe, but it's new and a moving target. No decorations (a la Xlib).

Last edited by PackRat (2019-06-03 01:56:43)


You must unlearn what you have learned.
    -- yoda

Online

#44 2019-06-03 00:51:56

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

Re: jgmenu as default menu generator for Lithium?

PackRat wrote:
DeepDayze wrote:
PackRat wrote:

I just read about a project that is a fork of openbox for wayland. Can't remember the name of it though.

Yes name escapes me too but that sounds like an interesting project. Would love to see Fluxbox and FVWM ported too.

Last I checked (year or so ago), Thomas Adam said Fvwm will get ported to Wayland if it goes mainstream. Kind of a cross that bridge when we get to it attitude.

Sounds good and it be great to have some lightweight WM's running atop Wayland besides the heavyweights GNOME and KDE.

Last edited by DeepDayze (2019-06-03 00:52:17)


Real Men Use Linux

Offline

#45 2019-06-03 04:35:03

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

Re: jgmenu as default menu generator for Lithium?

...and this is why we're trying to break the bonds with Openbox right now, to make things easier in the future.
Things like the menu, we can do right away. And jgmenu does have some nice improvements over the built-in openbox menu.


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

Offline

#46 2019-06-03 06:50:50

ohnonot
...again
Registered: 2015-09-29
Posts: 3,773
Website

Re: jgmenu as default menu generator for Lithium?

Naik wrote:

I must say that i like what you did here but can not really enjoy tjhe idea of bringing in any other application to handle this. for my taste the OB-menu and it' s GUI-generator are usable enough and it is anything but difficult to bring the debian/xdg menu up if needed.

who are you replying to?
malm, and jgmenu in general, or some specific aspect of this thread?

If jgmenu in general:
I believe jgmenu does things differently than the default openbox menu, has more options (even compared to a dynamic menu generator for OB) while still being very light and obviously can be used independently of openbox.
Except pipemenus, I believe that is a unique and useful feature of openbox' menu.
That said, I have no need for jgmenu myself and mostly just use trizen's obmenu-generator.

Naik wrote:

I just don't see why this is neccesary. Is it likely that openbox will die within the next months/years?

The real question here is: Is wayland going to push Xorg out, and if so, when.
First of all, make that years.
Personally I do not see Xorg going away anytime in the coming years; but there's the thing that the next debian release will feature GNOME/Wayland as a default...

DeepDayze wrote:

I believe OB will be ported to Wayland so we can still have OB goodness even then. smile

I know nothing of this.
Please share that important information if you have it.

Offline

#47 2019-06-03 07:21:23

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

Re: jgmenu as default menu generator for Lithium?

ohnonot wrote:

...pipemenus, I believe that is a unique and useful feature of openbox' menu.

jgmenu does pipemenus too. Ask @malm for details, but I can confirm that openbox pipemenu scripts can be used as-is by jgmenu.

Last edited by johnraff (2019-06-03 07:21:52)


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

Offline

#48 2019-06-03 10:05:52

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 1,056

Re: jgmenu as default menu generator for Lithium?

ohnonot wrote:
DeepDayze wrote:

I believe OB will be ported to Wayland so we can still have OB goodness even then. smile

I know nothing of this.
Please share that important information if you have it.


https://github.com/wizbright/waybox

There are some forks/clones in the works. I don't think the openbox devs are actually going to port openbox to Wayland. Fluxbox devs weren't too interested in porting to Wayland either.


You must unlearn what you have learned.
    -- yoda

Online

#49 2019-06-03 13:09:52

Naik
Member
From: Lipsia
Registered: 2015-10-03
Posts: 168

Re: jgmenu as default menu generator for Lithium?

ohnonot wrote:
Naik wrote:

I must say that i like what you did here but can not really enjoy tjhe idea of bringing in any other application to handle this. for my taste the OB-menu and it' s GUI-generator are usable enough and it is anything but difficult to bring the debian/xdg menu up if needed.

who are you replying to?
malm, and jgmenu in general, or some specific aspect of this thread?

If jgmenu in general:
I believe jgmenu does things differently than the default openbox menu, has more options (even compared to a dynamic menu generator for OB) while still being very light and obviously can be used independently of openbox.
Except pipemenus, I believe that is a unique and useful feature of openbox' menu.
That said, I have no need for jgmenu myself and mostly just use trizen's obmenu-generator.

That's it, the process of adapting it and the results shown here.
Sometimes I am a bit slow with adapting new things and have grown accustomed to the menu and the way it works. When something is about to change now, I don't know if it is to my likings. But as it looks for now the first glance experience will be quite the same and even the way things are configured won' t change that much, am i right?

ohnonot wrote:
Naik wrote:

I just don't see why this is neccesary. Is it likely that openbox will die within the next months/years?

The real question here is: Is wayland going to push Xorg out, and if so, when.
First of all, make that years.
Personally I do not see Xorg going away anytime in the coming years; but there's the thing that the next debian release will feature GNOME/Wayland as a default...

I see that Xorg seems to have become a strange big Monster with layers of layers on top of old layers of improvment and maybe it is a good thing to give wayland a chance. I was just curious whether all of this is meant to lead into dropping openbox altogether on bunsenlabs because openbox is the main reason why i came and stayed here (ever since crunchbang times).

naik --greetz


"Kaum macht [Mensch]* es richtig, funktioniert es sofort!"
BL-Kitchen on GitHub

Offline

#50 2019-06-03 20:11:03

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

Re: jgmenu as default menu generator for Lithium?

@naik, I have used openbox for a long time too, and struggle to really like anything else.

I have messed around with a few libraries/code-bases in the hope of finding one which could provide the beginnings of an openbox replacement. Quick notes on my findings so far (only my personal views based on pretty limited research - so take it for what it is):

  • kwin and mutter - too big

  • QtWayland - Possibly a bit too Qt/C++ for us (me anyway). Missing xwayland support. Supports nvidia through EGLStreams (which those further down the list don't). I played around with grefsen but struggled with scaling, cursors and various Qt quirks. You'd probably want the latest version of QtWayland, so a bit tiring on Debian. Possibly more suited to IOT, in car entertainment, etc.

  • Mir - Looks promising. Lubuntu have declared that they will be switching to Wayland by default for 20.10 and that they are going to do this by porting Openbox to use the Mir display server. I had a good play with egmde and quite liked it, although it's C++ and is possibly a little bit on the heavy side. Might be a good option if we were to use Ubuntu instead of Debian (although I'm not advocating this). Suggest we let the Lubuntu team get on with it and watch this space...

  • wlroots - I like the style of this the most and it looks the most promising to me. See swaywm, cage and wio. I don't think that waybox has really got off the ground.

I've had a quick play with wlroots, and will try to push it a bit further after Lithium release - maybe in the autumn. I'll post something if it ever gets to "proof of concept" cool

Offline

Board footer

Powered by FluxBB