Welcome!
Important information
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-18.1 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.3.1 release info here

New users[/u
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Package request for Openbox Menu Generator

Post Reply
User avatar
donpine
Forum Novice
Forum  Novice
Posts: 3
Joined: Thu May 03, 2018 7:51 pm

Package request for Openbox Menu Generator

#1

Post by donpine » Mon Jun 11, 2018 1:12 am

Could someone check on "obmenu-generator"? I've tried openbox-menu without any success; it fails with "File applications.menu doesn't exist. Can't create menu." The docs and man page don't give me enough clue.

I found obmenu-generator here: https://sparkylinux.org/wiki/doku.php/obmenu_generator . It works super in creating a dynamic openbox menu! (I installed via git following the directions on that page.)

Info here: https://trizenx.blogspot.com/2012/02/ob ... rator.html

I found a .deb package here:
https://software.opensuse.org/download. ... -generator
MX-17, MX-16, AntiX-17, and Debian on my bevy of Gateway laptops.

User avatar
aledie
Forum Regular
Forum Regular
Posts: 170
Joined: Thu Sep 13, 2018 2:06 pm

Re: Package request for Openbox Menu Generator

#2

Post by aledie » Thu Feb 14, 2019 3:35 am

What was the conclusion regarding this one for the testrepo?

https://github.com/trizen/obmenu-generator

Sparky has a Deb for the latest 0.85 version already in their repo (newer than old Suse's 0.66 deb package mentioned above), can this be used?:
https://sparkylinux.org/repo/pool/main/ ... generator/
MX-18 (x64): HP 8460p, i5-2540M, 8GB RAM, 256GB SSD, HD3000

User avatar
Kruppt
Posts: 89
Joined: Tue Jul 29, 2008 11:22 am

Re: Package request for Openbox Menu Generator

#3

Post by Kruppt » Thu Feb 14, 2019 1:04 pm

Make a soft link to the xfce-applications.menu like so:

Code: Select all

sudo ln -s /etc/xdg/menus/xfce-applications.menu /etc/xdg/menus/applications.menu
and see if that will work.

User avatar
aledie
Forum Regular
Forum Regular
Posts: 170
Joined: Thu Sep 13, 2018 2:06 pm

Re: Package request for Openbox Menu Generator

#4

Post by aledie » Fri Feb 15, 2019 8:03 am

@Kruppt, it certainly would work as an item "Applications" inside openbox menu. I did it similarly before linking lxde-applications.menu (after install lxmenu-data openbox-menu) in OB on top of antiX, or used lxpanel instead of tint2.
Above Gen app however completely replaces obmenu with a dynamic iconified lxmenu looking thing. Anyway, right, there are different ways.
MX-18 (x64): HP 8460p, i5-2540M, 8GB RAM, 256GB SSD, HD3000

User avatar
Kruppt
Posts: 89
Joined: Tue Jul 29, 2008 11:22 am

Re: Package request for Openbox Menu Generator

#5

Post by Kruppt » Fri Feb 15, 2019 2:32 pm

The Sparky Linux deb package is tailored to their distro so I do not think it advantageous to use it.
If you extract the deb package and look at the perl schema files you will see that they are
customized to their specific distro. Naturally you could remove the schema files that do not pertain
and edit the schema.pl file to your liking but the git version is easy enough to install.
Install git if not already installed,
and install the depends:

Code: Select all

* Required dependencies:

    - perl>=5.14.0
    - gtk2-perl ([Gtk2](https://metacpan.org/pod/Gtk2))
    - perl-data-dump ([Data::Dump](https://metacpan.org/pod/Data::Dump))
    - perl-linux-desktopfiles>=0.25 ([Linux::DesktopFiles](https://metacpan.org/pod/Linux::DesktopFiles))

* Optional dependencies:
    - perl-file-desktopentry ([File::DesktopEntry](https://metacpan.org/pod/File::DesktopEntry))
Open a term and cd into the directory you usually download to
and run:

Code: Select all

git clone https://github.com/trizen/obmenu-generator
Then open a filemanager and drill into the obmenu-generator directory
and copy the obmenu-generator file that resides within the dir to /opt/bin or /usr/local/bin.
Run below to create a config dir:

Code: Select all

mkdir -p ~/.config/obmenu-generator 
Then copy the schema.pl file to this ~/.config/obmenu-generator directory.
If you open the schema.pl file in a text editor and look at the syntax you will see how you can
customized the menu to your liking, then run the perl script:

Code: Select all

        obmenu-generator -p -i     # dynamic menu with icons
        obmenu-generator -s -c     # static menu without icons
to generate your menu.

User avatar
aledie
Forum Regular
Forum Regular
Posts: 170
Joined: Thu Sep 13, 2018 2:06 pm

Re: Package request for Openbox Menu Generator

#6

Post by aledie » Sun Feb 17, 2019 5:56 am

@Kruppt: thanks the above info
MX-18 (x64): HP 8460p, i5-2540M, 8GB RAM, 256GB SSD, HD3000

Post Reply

Return to “Package Requests/Status - MX 17/18”