-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Menu items exist for blackarch pkgs not installed #35
Comments
So digging into this on the awesome side it makes sense why the issue exists I think. We set the menu items here but it does not look like there is any switch to only include items that are actually present. That being said this is not an entirely simple task to fix. Dynamically generating the menu during install time is not a huge thing as the menu could be split out into a separate Lua file and then we import it in with some logic during a post-install. That same logic would then also need to be present during the normal course of things so that as groups or packages within a group are installed or removed post-install the corresponding menu items can be created. This is a common linux thing, adding menu items via a desktop file but with awesome it can be a little tricky. Is there a maintainer of the awesome environment for blackarch, someone who may have insight as to why things are the way they are? I have yet to confirm this is also present in i3 but I would suspect it could be. |
I ran into this problem a few days ago too, you can write a pacman hook to execute blackarch-menu.sh gen after you install a package, and manully install all blackarch pkgs in your computer, that'll regenerate all .desktop file, works for me, generates another 2000+ well structured .desktop file. I will post my hook file later. |
@mattyjones @noptrix maybe you guys can add this hooks to offical build of blackarch? and you're definitely doing a great job by providing such a huge penetration distro, (although) I am a newbie to hacking but feel really handy with all the tools I want to try pre-installed. Thank you so much! |
Bug description
During an install of either the Live or NetInstall if a subset of blackarch groups is installed menu items get created for all blackarch items. This is demonstrated in but Fluxbox and Awesome and is not dependent on the groups that are selected.
Steps to reproduce
reboot
at the end of the installnmap -Pn 127.0.0.1
returns command not found even though scanner group was selectedActual result: All packages are in the menu
Expected result: A subset of packages should be in the menu and packages in the selected group should be installed.
Screenshots
Info for developers
Link to debug log
The text was updated successfully, but these errors were encountered: