The officially official Devuan Forum!

You are not logged in.

#1 2022-02-18 21:17:35

jacksprat
Member
Registered: 2017-11-10
Posts: 57  

[SOLVED] Where did obmenu go?

I [think I] remember using the Openbox menu tool "obmenu" in earlier versions of Devuan, but the default 4.0 install doesn't have it.  Is it discontinued, hidden?  If the former, is its function replaced by anything?  Thanks.

Offline

#2 2022-02-18 21:52:43

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: [SOLVED] Where did obmenu go?

jacksprat wrote:

discontinued

^ This: https://pkginfo.devuan.org/cgi-bin/poli … u&x=submit

jacksprat wrote:

is its function replaced by anything?

There's https://github.com/keithbowes/obmenu but it isn't packaged for Devuan. It should be fairly simple to do that with debmake(1) though. See also https://www.debian.org/doc/manuals/debmake-doc/


Brianna Ghey — Rest In Power

Offline

#3 2022-02-18 22:12:13

jacksprat
Member
Registered: 2017-11-10
Posts: 57  

Re: [SOLVED] Where did obmenu go?

Thanks, I will try adding into /etc/apt, though I am not sure about mixing different releases.  My backup is to modify ~/.config/openbox/menu.xml .  I must be alone in using Openbox as my DE.

Offline

#4 2022-02-18 23:28:41

golinux
Administrator
Registered: 2016-11-25
Posts: 3,305  

Re: [SOLVED] Where did obmenu go?

IIRC MiyoLinux has some nice menus for openbox.  Check in Devuan Derivatives.

Online

#5 2022-02-19 08:39:49

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: [SOLVED] Where did obmenu go?

There is obmenu-generator, I provide the .deb packages linked from the GitHub page:

https://github.com/trizen/obmenu-genera … INSTALL.md

Be sure to either add the repository or install both the perl-linux-desktopfiles and the actual obmenu-generator packages. I do not recommend manually installing the linux-desktopfiles perl modules with cpan although many random interweb "guides" will suggest it.

Last edited by Head_on_a_Stick (2022-02-19 08:52:54)


Brianna Ghey — Rest In Power

Offline

#6 2022-02-19 10:55:34

jacksprat
Member
Registered: 2017-11-10
Posts: 57  

Re: [SOLVED] Where did obmenu go?

Thanks for your help, but I decided to just copy over the obmenu generated .xml files from my Void computer to ~/.config/openbox;  I will comeback to your suggestions for obconf alternatives if I get bored writing xml.

Offline

#7 2022-03-20 21:39:57

zephyr
Member
From: as where the crow flies native
Registered: 2016-12-01
Posts: 421  
Website

Re: [SOLVED] Where did obmenu go?

Very good question, have been using obmenu2, doesn't work well doing a build with live-build, it just breaks. Found obmenu3 on sourceforge with a whole different gui. Working with it now, will let those interested how it goes with a build.

For me, too old school for a obmenu-generator, like configuring my own menus! Don't like icons everywhere either.

https://sourceforge.net/projects/obmenu3/files/

https://github.com/0x10/obmenu2

Don't forget to add a  3 on the obmenu, menu.xml!
Screenie smile 

JubSD3jl.png

Fluxbox with fluxmenu also MIA, lot easier to edit the menu by hand!

zephyr

Last edited by zephyr (2022-03-20 22:09:40)


CROWZ
easier to light a candle, yet curse the dark instead / experience life, or simply ...merely exist / ride the serpent / molon labe

Offline

#8 2022-03-21 01:50:46

vlax
Member
From: hipsterland
Registered: 2020-06-14
Posts: 42  
Website

Re: [SOLVED] Where did obmenu go?

jacksprat wrote:

Thanks, I will try adding into /etc/apt, though I am not sure about mixing different releases.  My backup is to modify ~/.config/openbox/menu.xml .  I must be alone in using Openbox as my DE.

nope, you're not alone: I use Openbox for many years now and I love it


satellite mestizo

Offline

#9 2022-03-21 10:03:09

xinomilo
Unknown
Registered: 2017-07-02
Posts: 315  

Re: [SOLVED] Where did obmenu go?

you're not alone.

Offline

#10 2022-03-21 21:21:33

thierrybo
Member
Registered: 2017-11-11
Posts: 107  

Re: [SOLVED] Where did obmenu go?

zephyr wrote:

For me, too old school for a obmenu-generator, like configuring my own menus! Don't like icons everywhere either.

obmenu-generator is very customizable. If you don't want any icons, just remove "-i" from "execute" part in menu.xml:

<?xml version="1.0" encoding="utf-8"?>
<openbox_menu xmlns="http://openbox.org/"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://openbox.org/">
    <menu id="root-menu" label="obmenu-generator" execute="/home/thierrybo/Sys/GIT.local.repositories/obmenu-generator/obmenu-generator -i" />
</openbox_menu>

And you also have to customize your menu layout in schema.pl. The only thing that is automatically updated is desktop files inside freedesktop categories. But even theses categories are "manual entries":

    #          NAME            LABEL                ICON
    # Deux lignes du dessous ajoutées mais Debian menu plante, mais inclut dans lxde
    #{pipe => ['/usr/bin/openbox-menu -i debian-menu.menu', 'openbox-menu debian-menu.menu', 'applications-system']},
    {pipe => ['/usr/bin/openbox-menu lxde-applications.menu', 'ob-menu lxde-app.menu', 'applications-system']},
    {cat => ['utility',     'Accessoires', 'applications-utilities']},
    {cat => ['development', 'Développement', 'applications-development']},
    {cat => ['XAMPP', 'Développement XAMPP', 'applications-development']},
    {cat => ['education',   'Education',   'applications-science']},
    {cat => ['game',        'Jeux',       'applications-games']},
    {cat => ['graphics',    'Graphisme',    'applications-graphics']},
    {cat => ['audiovideo',  'Multimedia',  'applications-multimedia']},
    {cat => ['network',     'Internet',     'applications-internet']},
    {cat => ['office',      'Bureautique',      'applications-office']},
    {cat => ['other',       'Autres',       'applications-other']},
    {cat => ['settings',    'Réglages',    'applications-accessories']},
    {cat => ['system',      'Système',      'applications-system']},

but before this block I have this:

	# Ajouté nom distribution
    {sep => "Devuan"},
    #          COMMAND                 LABEL              ICON
#    {item => ['xdg-open .',       'File Manager', 'system-file-manager']},
    {item => ['bl-file-manager',       'Gestionnaire de fichiers', 'system-file-manager']},
    {item => ['x-terminal-emulator',            'Terminal',     'utilities-terminal']},
    {item => ['x-www-browser', 'Navigateur Web',  'web-browser']},
    {item => ['thunderbird', 'Courriel',  'emblem-mail']},
    {item => ["$editor", 'Editeur texte',  'text-editor']},
    {item => ['wine "C:\Program Files\Tracker Software\PDF Viewer\PDFXCview.exe"', 'Lecteur Pdf',  'C055_PDFXCview.0']},
#    {item => ['/home/thierrybo/.local/opt/foxitsoftware/foxitreader/FoxitReader.sh', 'Lecteur Pdf',  'FoxitReader']},
    {item => ['keepassxc', 'KeepassXC',  'keepassxc']},
#    {item => ['~/.local/opt/KeePassXC.AppImage', 'KeepassXC',  'keepassxc']},
#    {item => ['gtk-launch appimagekit-org.keepassxc.KeePassXC.desktop', 'KeepassXC',  'keepassxc']},
    {item => ['~/.config/conky/conky-startup.sh', 'Conky',  '']},
    {item => ['gmrun',            'Exécuter',  'system-run']},

    {sep => 'Catégories'},

and after i have this:

    {sep => 'Mes pipemenus'},

    {pipe => ['~/.config/openbox/menu/cbpp-places-pipemenu', 'Dossier personnel', '']},
    {pipe => ['~/.config/openbox/menu/obrecent.sh', 'Fichiers récents', '']},
#    {pipe => ['~/.config/openbox/menu/obrecent-test_pipemenu', 'Fichiers récents test', '']},
#    {pipe => ['~/.config/openbox/menu/openbox_wiki__Pipemenus__obrecent.sh', 'Fichiers récents Wiki', '']},
    
    {sep => undef},
    
    {pipe => ['~/.config/openbox/menu/help-pipemenu', 'Aide et ressources', '']},
    {pipe => ['~/.config/openbox/menu/bl-kb-pipemenu', 'Raccourcis clavier', '']},
    
    {sep => undef},

    {pipe => ['~/.config/openbox/menu/openvpn-pipemenu', 'OpenVPN', '']},
    {pipe => ['~/.config/openbox/menu/scrot-pipemenu', 'Scrot', '']},
    {pipe => ['~/.config/openbox/menu/bash-pipemenu', 'Bash', '']},
    {pipe => ['~/.config/openbox/menu/ffmpeg-pipemenu', 'Ffmpeg', '']},

test

There is a special bonus :-) I you also use jgmenu, a graphical dmenu tool, it can integrate automatically obmenu generated menu.

Last edited by thierrybo (2022-03-21 21:31:44)

Offline

#11 2022-04-02 07:36:16

zephyr
Member
From: as where the crow flies native
Registered: 2016-12-01
Posts: 421  
Website

Re: [SOLVED] Where did obmenu go?

thierrybo wrote: obmenu-generator is very customizable. If you don't want any icons, just remove "-i" from "execute" part in menu.xml:

Thank you for your suggestion, plus sorry I'm late getting back with you! I have tried jgmenu and like it, BL uses it and it's an enhancement for me which I like. 

Appreciate your time and effort for the configuration script for ob-generator, will take a shot at it! smile

Thanks again! cheers

zephyr

Last edited by zephyr (2022-04-02 07:37:48)


CROWZ
easier to light a candle, yet curse the dark instead / experience life, or simply ...merely exist / ride the serpent / molon labe

Offline

#12 2022-04-17 16:43:40

czeekaj
Member
Registered: 2019-06-12
Posts: 154  

Re: [SOLVED] Where did obmenu go?

yikes. I'll miss it but looks like there are already drop in replacements.
Am I missing something or is chimaera recently had obmenu added again? I never noticed it going missing.

Offline

#13 2022-05-25 15:28:59

Dev1User
Member
Registered: 2022-05-16
Posts: 16  

Re: [SOLVED] Where did obmenu go?

I also miss obmenu. Unfortunately, there isn't really an alternative in Devuan's packages. In the virtual machine I looked at jgmenu under Artix. At first glance, quite okay, but it is not as simple as obmenu. I will continue to use my XML file and modify it as needed and wait until a decent replacement comes along.

Offline

#14 2022-05-25 19:23:02

MiyoLinux
Member
Registered: 2016-12-05
Posts: 1,323  

Re: [SOLVED] Where did obmenu go?

I'm on my phone...waiting in line to pick up my son from school.  So, I can't test this as to whether it would work or not...

I probably shouldn't even say anything since I can't test it... tongue

I don't know if the dependencies are still available, but you could try downloading the. deb file to see if it will install... wink

https://packages.debian.org/buster/obmenu


I have been Devuanated, and my practice in the art of Devuanism shall continue until my Devuanization is complete. Until then, I will strive to continue in my understanding of Devuanchology, Devuanprocity, and Devuanivity.

Veni, vidi, vici vdevuaned. I came, I saw, I Devuaned. wink

Offline

#15 2022-05-25 21:03:18

alexkemp
Member
Registered: 2018-05-14
Posts: 338  

Re: [SOLVED] Where did obmenu go?

I am unsure how different this may be, but YAD is available:-

$ apt search yad
yad/stable,now 0.40.0-1 amd64 [installed]
  tool for creating graphical dialogs from shell scripts

Command-line only, works very well in my experience.

Offline

#16 2022-05-26 20:18:18

MiyoLinux
Member
Registered: 2016-12-05
Posts: 1,323  

Re: [SOLVED] Where did obmenu go?

MiyoLinux wrote:

I'm on my phone...waiting in line to pick up my son from school.  So, I can't test this as to whether it would work or not...

I probably shouldn't even say anything since I can't test it... tongue

I don't know if the dependencies are still available, but you could try downloading the. deb file to see if it will install... wink

https://packages.debian.org/buster/obmenu

...and I shouldn't have said anything. I just tried it on chimaera, and it didn't work due to a missing dependency --> python-glade2.

I use obmenu-generator and/or jgmenu on Openbox. Sorry for the interruption. I'll bow out of the discussion now... tongue


I have been Devuanated, and my practice in the art of Devuanism shall continue until my Devuanization is complete. Until then, I will strive to continue in my understanding of Devuanchology, Devuanprocity, and Devuanivity.

Veni, vidi, vici vdevuaned. I came, I saw, I Devuaned. wink

Offline

#17 2022-05-30 16:59:37

Dev1User
Member
Registered: 2022-05-16
Posts: 16  

Re: [SOLVED] Where did obmenu go?

I have now taken a closer look at jgmenu. It seems to work fine. I installed jgmenu from Daedalus packages on Chimaera. After a few tries, I managed to get it to look good by my standards. Actually I wanted to make it even better, but somehow it didn't quite work out yet. In that area obmenu was already much easier.
I have a submenu, but how can I actually make another submenu from the submenu?

I used now the old XML obmenu file parallel with jgmenu. Jgmenu is anchored in the Tint2 bar. What else I noticed is that jgmenu can also read the XML file without any problem and can also display it just like obmenu. I like that jgmenu has a search function integrated. That is already very practical. I have set it so that jgmenu uses the same optics settings of obconf and tint2.

MiyoLinux wrote:

...and I shouldn't have said anything. I just tried it on chimaera, and it didn't work due to a missing dependency --> python-glade2.

I use obmenu-generator and/or jgmenu on Openbox. Sorry for the interruption. I'll bow out of the discussion now...

Ah good to know that it no longer works.

Offline

#18 2022-05-30 17:41:18

xinomilo
Unknown
Registered: 2017-07-02
Posts: 315  

Re: [SOLVED] Where did obmenu go?

there's also rofi, dmenu replacement (amongst other things.)
https://tracker.debian.org/pkg/rofi

Offline

#19 2022-05-31 12:12:07

Altoid
Member
Registered: 2017-05-07
Posts: 1,571  

Re: [SOLVED] Where did obmenu go?

Hello:

I've been following this thread as I have a parallel Devuan Beowulf setup on another drive which I keep up to date.
It is a practise bed for when I finally leave Xfce behind and go to a 100% Openbox setup.
I'd like to recover the best part of my old #! Waldorf installation.

xinomilo wrote:

there's also rofi, dmenu replacement ...

Seems that this app (just from reading about it) suffers from what I have seen in many other applications: feature creep.
Why can't things go back to the tried and true do one thing and do it well and just not complicate things?

I like how obmenu works and not getting it in chimaera is yet another reason to keep using beowulf with a backported kernel.
slim and wicd my other ones.

Of course, YMMV.

Best,

A.

Last edited by Altoid (2022-05-31 12:13:08)

Offline

#20 2022-07-22 21:38:59

aitor
Member
From: basque country
Registered: 2016-12-03
Posts: 230  
Website

Re: [SOLVED] Where did obmenu go?

Altoid wrote:
xinomilo wrote:

there's also rofi, dmenu replacement ...

Seems that this app (just from reading about it) suffers from what I have seen in many other applications: feature creep.
Why can't things go back to the tried and true do one thing and do it well and just not complicate things?

I like how obmenu works and not getting it in chimaera is yet another reason to keep using beowulf with a backported kernel.

Recently I developed a dynamic cache for xmenu called xmenu-cache. It monitors /usr/share/applications keeping the content of xmenu up-to-date. The local directory /usr/local/share/applications should be added to the watching directories of inotify as well, but this directory is used only in some exotic cases, so I decided to leave the program as simple as possible so far. I included a built-in *.svg -> *.png conversor, because icons in .svg format weren't displayed by xmenu. You can test the menu running the new images of gnuinos-openbox (chimaera):

https://www.gnuinos.org/mirror/chimaera/live/

Alternatively, you can also install both xmenu and xmenu-cache from the package mirror in your current system:

http://packages.gnuinos.org/gnuinos/pool/main/x/xmenu/
http://packages.gnuinos.org/gnuinos/poo … enu-cache/

Once you have installed the packages, you need to follow the steps below:

  • Add a new line xmenu-cache & to your ~/.config/openbox/autostart in order to start the monitoring tool

  • Replace the default menu of openbox with xmenu.sh in your ~/.config/openbox/rc.xml

  • If you want to customize the static part of the menu (header plus footer), copy the content of /etc/default/xmenurc to ~/.xmenurc and modify the key-value pairs to suit your needs better. By default:

#===== Configuration file for xmenu-cache =====

ApplicationLauncher = gmrun
TerminalEmulator = sakura
FileManager = spacefm
TextEditor = geany
WebBrowser = icecat
Logout = logout

Bear in mind that this is a work in progress, and it has nothing to do with my previous popupmenu in Gtk. It's faster and requires X11 instead, and neither does it depend on libmenu-cache. Only on lxmenu-data, because it requires some .desktop files in /usr/share/desktop-directories to classify the applications by categories.

Here you are a screenshot:

FluxBB bbcode test

Last edited by aitor (2022-07-23 16:50:05)


If you work systematically, things will come by itself (Lev D. Landau)

Offline

#21 2022-07-23 08:32:19

aitor
Member
From: basque country
Registered: 2016-12-03
Posts: 230  
Website

Re: [SOLVED] Where did obmenu go?

I' ve fixed a bug when running execv in xmenu-cache.c, and I'm rebuilding the iso images of gnuinos openbox.


If you work systematically, things will come by itself (Lev D. Landau)

Offline

#22 2022-07-23 16:46:49

aitor
Member
From: basque country
Registered: 2016-12-03
Posts: 230  
Website

Re: [SOLVED] Where did obmenu go?

aitor wrote:

I' ve fixed a bug when running execv in xmenu-cache.c, and I'm rebuilding the iso images of gnuinos openbox.

Done. I've built the images mirroring from deb.devuan.org without issues:

https://www.gnuinos.org/mirror/chimaera/live/

Now you can give a try to the xmenu downloading the ob images.

Last edited by aitor (2022-07-23 16:48:25)


If you work systematically, things will come by itself (Lev D. Landau)

Offline

#23 2022-07-23 16:53:07

aitor
Member
From: basque country
Registered: 2016-12-03
Posts: 230  
Website

Re: [SOLVED] Where did obmenu go?

I forgot: xmenu-cacherc has been renamed to xmenurc, and I did change it in my previous posts.


If you work systematically, things will come by itself (Lev D. Landau)

Offline

#24 2022-12-29 00:44:43

MiyoLinux
Member
Registered: 2016-12-05
Posts: 1,323  

Re: [SOLVED] Where did obmenu go?

As an Openbox fanboi tongue , I recently tried out Crunchbang ++...for the second time.

After playing around with it for a while, I took a dive into the "GUI Menu Editor"...I'm not sure how I didn't notice this before.

The developer of #!++ has repackaged obmenu to work on newer systems using python3. Not only that, but he also incorporated (into obmenu) the ability to add icons to the Openbox menu (if desired). yikes big_smile

I downloaded the .deb file from my installation of #!++, and I've installed it on Chimaera, Daedalus, and Ceres...it works perfectly on all of them! wink

This may be what the OP was looking for???


I have been Devuanated, and my practice in the art of Devuanism shall continue until my Devuanization is complete. Until then, I will strive to continue in my understanding of Devuanchology, Devuanprocity, and Devuanivity.

Veni, vidi, vici vdevuaned. I came, I saw, I Devuaned. wink

Offline

#25 2022-12-29 12:04:43

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: [SOLVED] Where did obmenu go?

#!++ uses obmenu2, their debian directory is here. It's all MIT licensed so you don't need to ask Ben for permission. I'm sure he would grant it though.


Brianna Ghey — Rest In Power

Offline

Board footer