Welcome!

The kernel problem with recent updates has been solved. Find the solution here

Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.3 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

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

fbmenugen Request

For developer discussion on package requests
Post Reply
User avatar
manyroads
Forum Guide
Forum Guide
Posts: 1627
Joined: Sat Jun 30, 2018 6:33 pm

fbmenugen Request

#1

Post by manyroads » Thu May 30, 2019 9:17 am

Is this a piece of software we can get added to either/ both MX & antiX repos? It is for auto generation of fluxbox menus. Currently the software is arch based.

fbmenugen: https://github.com/trizen/fbmenugen
"Don't believe everything you think."
Pax vobiscum,
Mark Rabideau - http://many-roads.com - Reg. Linux User #449130
MX-18.3 kernel: 5.1.11-antix.1-amd64-smp
Dell Latitude E5470
Intel i5-6300U~ 24GB RAM ~ SSD: 1TB
Coding since 1974

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 24934
Joined: Wed Jul 19, 2006 6:13 am

Re: fbmenugen Request

#2

Post by Jerry3904 » Thu May 30, 2019 9:39 am

Looks like it could be used, scroll down to see where the OP just casually mentioned that he used it as if there was no problem:

http://forums.debian.net/viewtopic.php?f=5&t=129794
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, SSD 120 GB, Data 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB
Personal: XPS 13, 4.18.0-19.3-liquorix, 4 GB

User avatar
manyroads
Forum Guide
Forum Guide
Posts: 1627
Joined: Sat Jun 30, 2018 6:33 pm

Re: fbmenugen Request

#3

Post by manyroads » Thu May 30, 2019 9:52 am

Jerry3904 wrote:
Thu May 30, 2019 9:39 am
Looks like it could be used, scroll down to see where the OP just casually mentioned that he used it as if there was no problem:

http://forums.debian.net/viewtopic.php?f=5&t=129794
Thanks Jerry. I tried following the post and still get an error that reads:

Code: Select all

$ ./fbmenugen -g -1 -o
Can't locate Linux/DesktopFiles.pm in @INC (you may need to install the Linux::DesktopFiles module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at ./fbmenugen line 30.
BEGIN failed--compilation aborted at ./fbmenugen line 30.
"Don't believe everything you think."
Pax vobiscum,
Mark Rabideau - http://many-roads.com - Reg. Linux User #449130
MX-18.3 kernel: 5.1.11-antix.1-amd64-smp
Dell Latitude E5470
Intel i5-6300U~ 24GB RAM ~ SSD: 1TB
Coding since 1974

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 24934
Joined: Wed Jul 19, 2006 6:13 am

Re: fbmenugen Request

#4

Post by Jerry3904 » Thu May 30, 2019 10:02 am

What does line 30 say?

You saw this part I assume:
For my Strech box the above cpan install Linux::DesktopFiles command was not working and was giving me a permission error so I had to additionally do:
1. $ curl -L http://cpanmin.us | perl - App::cpanminus
2. $ ~/perl5/bin/cpanm --local-lib=~/perl5 local::lib && eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
All I have, will let real packagers handle this...
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, SSD 120 GB, Data 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB
Personal: XPS 13, 4.18.0-19.3-liquorix, 4 GB

User avatar
manyroads
Forum Guide
Forum Guide
Posts: 1627
Joined: Sat Jun 30, 2018 6:33 pm

Re: fbmenugen Request

#5

Post by manyroads » Thu May 30, 2019 10:46 am

Jerry3904 wrote:
Thu May 30, 2019 10:02 am
What does line 30 say?

You saw this part I assume:
For my Strech box the above cpan install Linux::DesktopFiles command was not working and was giving me a permission error so I had to additionally do:
1. $ curl -L http://cpanmin.us | perl - App::cpanminus
2. $ ~/perl5/bin/cpanm --local-lib=~/perl5 local::lib && eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
All I have, will let real packagers handle this...
Yes, those installs seem to have proceeded without error.
As for my error it says:

Code: Select all

use Linux::DesktopFiles 0.25;
I assume, I am running the fbmenugen from the wrong area. I'm running it from within /home/$User/.fluxbox/fbmenugen
"Don't believe everything you think."
Pax vobiscum,
Mark Rabideau - http://many-roads.com - Reg. Linux User #449130
MX-18.3 kernel: 5.1.11-antix.1-amd64-smp
Dell Latitude E5470
Intel i5-6300U~ 24GB RAM ~ SSD: 1TB
Coding since 1974

skidoo
Forum Guide
Forum Guide
Posts: 1442
Joined: Tue Sep 22, 2015 6:56 pm

Re: fbmenugen Request

#6

Post by skidoo » Thu May 30, 2019 1:04 pm

heads up:
fbmenugen is unsuitable for inclusion in antiX repository because its use causes breakage affecting several of the antiX utilities provided via Control Center (and via menu launchers, and elsewhere).

For instance, fbmenugen lacks awareness of (will not check for presence of .desktop files residing in) these directories:
~/.local/share/desktop-defaults/
~/.local/share/applications/TCM/
~/.local/share/applications/custom/
/usr/share/applications/antix/
/usr/share/desktop-defaults/
ref: fbmenugen#L207

fbmenugen is a perl script; it could be quickly/easily modified to recognize these additional paths...

...but it would (as does the /usr/bin/update-menus utility provided by the debian-provided "menu" package)
remain incompatible with, conflict with, the antiX "update menus" script (which is called during each apt install//update//remove operation)

===============

Understand that when an antiX user visits the JWM / icwWM / fluxbox menu, everything not contained within (displayed under) the "Applications" submenu
is a "value added" entry populated by the antiX-exclusive menu generator script. Also, the content contained within the "Applications" submenus is marshalled into an arguably more convenient (fewer nested levels, fewer redundantly-displayed items, vs the debian//xdg presentation) flyout structure.

===============

The upstream fluxbox source already provides a "fluxbox-menu" utility (and associated manpage)
but it is similarly incompatible (is distro-agnostic, does not extend support for antiX "value added" menu content).
My custom fluxbox package included this "fluxbox-menu" script (bash, not perl) and you can, perhaps should, read the advisement it prepended as header lines within the output of its generated menu file: fluxbox-generate_menu.in#L1575
Last edited by skidoo on Thu May 30, 2019 1:40 pm, edited 1 time in total.

User avatar
manyroads
Forum Guide
Forum Guide
Posts: 1627
Joined: Sat Jun 30, 2018 6:33 pm

Re: fbmenugen Request

#7

Post by manyroads » Thu May 30, 2019 1:27 pm

skidoo wrote:
Thu May 30, 2019 1:04 pm
[...]
...but it would (as does the /usr/bin/update-menus utility provided by the debian-provided "menu" package)
remain incompatible with, conflict with, the antiX "update menus" script (which is called during each apt install//update//remove operation)
Thank you skidoo. Right now I'm trying to wade through an old post of yours to see if I can accomplish my objective(s).
see reference: https://antix-skidoo.github.io/archive/ ... t7130.html

I think some of the files have moved since the guidance was written. I am almost there, but it will still take a bit.

My objective(s) are:
get all wms including openbox on the main login
allow for rox, spacefm and pcmanfm file mangers

I am planning to centralized (optionally) the access & management of the wm's via tint2 (mostly). To make it very simple to have consistency across window managers (where the user wants it) with a single simple point of maintainability.

I, do not, want to damage anything in the native antiX install; rather I hope to facilitate easy augmentation of functions across managers (to include look & feel, if desired).
"Don't believe everything you think."
Pax vobiscum,
Mark Rabideau - http://many-roads.com - Reg. Linux User #449130
MX-18.3 kernel: 5.1.11-antix.1-amd64-smp
Dell Latitude E5470
Intel i5-6300U~ 24GB RAM ~ SSD: 1TB
Coding since 1974

Post Reply

Return to “Package Requests / Status”