Page 1 of 1
Fluxbox applications menu not populating with games
Posted: Wed Sep 21, 2022 10:00 pm
by Outlander
The update menu script that runs after installing something with apt or manually running it from the menu does not seem to properly populate the Game category of apps. I have a bunch of .desktop files in ~/.local/share/applications for games and none of them appear in the Fluxbox app menu though they do show up in drun and xfce4-appfinder. I also have RuneLite installed via flatpak and it doesn't show up in the FB menu either.
Other applications in .local/share/applications do work properly.
Here's an example .desktop file from Team Fortress 2, which is freely available on Steam:
Code: Select all
[Desktop Entry]
Name=Team Fortress 2
Comment=Play this game on Steam
Exec=steam steam://rungameid/440
Icon=steam_icon_440
Terminal=false
Type=Application
Categories=Game;
Re: Fluxbox applications menu not populating with games
Posted: Wed Sep 21, 2022 10:49 pm
by dolphin_oracle
ok the mxfb-menu-generator script needs some updating. here is one to try. (deb inside the zip file)
https://drive.google.com/file/d/18l9fNx ... sp=sharing
Re: Fluxbox applications menu not populating with games
Posted: Thu Sep 22, 2022 12:24 am
by wdscharff
the mxfb-menu-generator script needs some updating
I have already pointed this out several times, one of the reasons why I use fbmenugen. With fbmenugen you can configure the directories in which you want to search for desktop files (apart from the integration of icons and other gimmicks).
tried mxfb menu generator, now also works with .local/share/applications
(pardon me, I'll stick to fbmenugen anyway :) )
Re: Fluxbox applications menu not populating with games
Posted: Thu Sep 22, 2022 4:08 am
by Jerry3904
@dolphin_oracle Thanks
Re: Fluxbox applications menu not populating with games
Posted: Thu Sep 22, 2022 10:14 pm
by Outlander
I saw this got updated today with mxfb-accessories. Nice! Unfortunately though it is currently broken when it comes to .desktop files that contains spaces. So you get errors like this:
Code: Select all
grep: /home/jon/.local/share/applications/Team: No such file or directory
grep: Fortress: No such file or directory
grep: 2.desktop: No such file or directory
Re: Fluxbox applications menu not populating with games
Posted: Thu Sep 22, 2022 11:03 pm
by dolphin_oracle
Ah thanks. Looks like that bug has been around a while. I’ll push a fix
Re: Fluxbox applications menu not populating with games
Posted: Sun Sep 25, 2022 8:33 pm
by whiskerc
Probably related, starting today whenever I install or uninstall from the command line, mxfb-menu-generator is throwing an error:
Code: Select all
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for mailcap (3.69) ...
Processing triggers for desktop-file-utils (0.26-1) ...
Please wait, creating menu file - stored in /home/alec/.fluxbox/submenus/full_menu ...
/usr/bin/mxfb-menu-generator:62: no matches found: /var/lib/flatpak/exports/share/applications/*.desktop
E: Problem executing scripts DPkg::Post-Invoke 'su $(logname) /usr/bin/mxfb-menu-generator'
E: Sub-process returned an error code
Any ideas what is causing this?
Re: Fluxbox applications menu not populating with games
Posted: Sun Sep 25, 2022 9:16 pm
by dolphin_oracle
hmm I thought I set up so that if the files didn't exist there wouldn't be an error. I'll look into it.
Re: Fluxbox applications menu not populating with games
Posted: Sun Sep 25, 2022 9:25 pm
by dolphin_oracle
what version of mxfb-accessories do you have?
Re: Fluxbox applications menu not populating with games
Posted: Sun Sep 25, 2022 9:43 pm
by whiskerc
22.08.26+2
Re: Fluxbox applications menu not populating with games
Posted: Sun Sep 25, 2022 9:53 pm
by dolphin_oracle
hmm mine doesn't give an error here, but I'm going to add additional checks to the script.
try this one:
mxfb-accessories deb file
Re: Fluxbox applications menu not populating with games
Posted: Mon Sep 26, 2022 6:02 am
by whiskerc
That fixed it! :)
Re: Fluxbox applications menu not populating with games
Posted: Mon Sep 26, 2022 6:40 am
by dolphin_oracle
Thanks!
Re: Fluxbox applications menu not populating with games
Posted: Thu Sep 29, 2022 11:35 pm
by Outlander
This seems to have been reverted in an update. Is it gonna come back at some point?
Re: Fluxbox applications menu not populating with games
Posted: Fri Sep 30, 2022 6:38 am
by dolphin_oracle
I haven’t updated it since the test deb.
Re: Fluxbox applications menu not populating with games
Posted: Fri Sep 30, 2022 7:57 pm
by Outlander
dolphin_oracle wrote: ↑Fri Sep 30, 2022 6:38 am
I haven’t updated it since the test deb.
Well at some point I got an update and now the Games menu is not being populated again.
Re: Fluxbox applications menu not populating with games
Posted: Fri Sep 30, 2022 8:19 pm
by dolphin_oracle
you're right...I broke something fixing something else...
Re: Fluxbox applications menu not populating with games [Solved]
Posted: Fri Sep 30, 2022 9:33 pm
by dolphin_oracle
Re: Fluxbox applications menu not populating with games
Posted: Sat Oct 01, 2022 1:01 am
by Outlander
I missed this, but the update via apt resolved it.