Forum › Forums › New users › New Users and General Questions › Menu Maintenance
- This topic has 7 replies, 3 voices, and was last updated Nov 27-5:09 pm by olsztyn.
-
AuthorPosts
-
November 26, 2018 at 9:27 am #13710Member
olsztyn
First to mention: There is a fantastic video on menu maintenance function on the Control Center, showing flexibility of AntiX design. It does work fine in general however I am running into some cases this method appears to not cover, I must be overlooked something simple:
– Created some app shortcuts from Chrome (specific sites) – Space Fluxbox
– This created a few icons on desktop and ‘Chrome Applications’ menu as submenu of Applications
– Deleted desktop icons to get rid of these desktop shortcuts
– Chrome Applications submenu still there, of course…It appears to me Menu Maintenance does not seem to see these menu items, so how do I remove these menu entries?
Thanks and Regards…
Live antiX Boot Options (Previously posted by Xecure):
https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_ParametersNovember 26, 2018 at 9:34 am #13712Member
fatmac
::I usually do all my menu maintenance directly in .fluxbox/menu – (however, you may be able to get rid of them by running Update Menus).
Linux (& BSD) since 1999
November 26, 2018 at 10:08 am #13713Memberolsztyn
::Update menus was first on my mind to run, however did not remove these menu items… I must be overlooking something simple because just ‘normal’ application menu items seems to be handled just fine, both from Applications and Personal sections…
Live antiX Boot Options (Previously posted by Xecure):
https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_ParametersNovember 26, 2018 at 1:53 pm #13715Anonymous
::I can confirm the bug described in the OP. It only affects items displayed in the desktop menu “Personal” flyout.
Upon removing an item via MenuManager, I can see that its associated .desktop file within
~/.local/share/applications/TCM
has been removed, yetboththe update operation initiated within MenuManageror using of “Update Menus” desktop menu itemfails to remove the tested menu item.
(the strikeout bit is true, but set that aside for now and just troubleshoot a single piece of the puzzle.)Toward troubleeshooting, I launched it from commandline
strace -eexecve /usr/local/bin/menu_manager.shUpon clicking the “Refresh” button displayed in MenuManager, the strace output showed:
{snip} awk: fatal: cannot open file '/home//.desktop-session/desktop-code.0' for reading (No such file or directory) +++ exited with 1 +++Hmm… the file “~/.desktop-session/desktop-code.0” does exist
/usr/local/bin/menu-manager.sh
# Capture the name of the currently running window manager CURRENT_WINDOW_MANAGER=$(awk -v FS='-' '$0=$2' /home/$SUDO_USER/.desktop-session/desktop-code.0)apparently, for the context in which the awk command is executed, env var $SUDO_USER is undefined
November 26, 2018 at 7:44 pm #13720Memberolsztyn
::I could be misunderstanding or missing important steps in Menu Maintenance function but at this time having done more testing it does not seem to work for me beyond adding apps to personal menu. No maintenance to Applications menu appears to take effect. I may have jumped to conclusion when I reported as working in my earlier post…
This is too bad as this would be a fantastic feature if worked…Live antiX Boot Options (Previously posted by Xecure):
https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_ParametersNovember 27, 2018 at 11:55 am #13724Memberolsztyn
::Question:
I am still trying to figure out how to make Menu Maintenance work for me. However if it is confirmed as not working except Personal section, would a tool such as Fluxmenu be a good interim solution until Menu Maintenance is fixed?
Tonight I will try to do some testing but Fluxmenu is being described as “Fluxmenu is a menu editor for Fluxbox WM. It should ease the generation and reorganising the menu.”
I would appreciate your opinion…
Regards…Live antiX Boot Options (Previously posted by Xecure):
https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_ParametersNovember 27, 2018 at 2:46 pm #13725Anonymous
::Give the devs a chance to notice this bug report. I’m confident it’ll be fixed.
FWIW, in the past, the MenuManager utility has worked perfectly. As far as I can tell, its code has remained unchanged and the glitch is due to some other component in the overall system (debian-packaged default configuration/behavior of sudo?)Your latest post, “confirmed” doesn’t match what I posted. Re-read the first line of my earlier post.
In my test (which wasn’t performed on a pristine system, BTW) the bug affecting removal… it ONLY affected contents of “Personal” submenu.Fluxmenu is probably not compatible with antiX.
Although I wanted to write “is definitely not”, whydontcha install/test it during a throwaway (non-persistent) liveboot session, then post back here to report the result.November 27, 2018 at 5:09 pm #13728Memberolsztyn
::Your latest post, “confirmed” doesn’t match what I posted. Re-read the first line of my earlier post.
Yes, I did read your post carefully and I did notice this. However the reason I emphasized my experience was that it appears the scope of the issue in my case is wider than Personal, it appears I am experiencing this issue also with Applications. Therefore perhaps I am overlooking something simple, particularly that you confirmed that this issue affects only Personal. I will test this with different images of AntiX, as possibly my test image was corrupted in some way…
I will definitely be looking forward to AntiX developers correcting this if possible. Such functionality is IMHO very important for AntiX…Update:
I just did some quick testing on a different, pristine AntiX image, to exclude a possibility of corruption and results appear to be:
– Confirming your assessment most maintenance for Applications do seem to work fine except the following:
– As originally reported Chrome applications. which are sub-menu of Applications do not seem to be ‘maintenable’ which means there seems no way to remove them.
– Some items, when set to ‘Shown’ in Menu Maintenance, such as Bluetooth Manager do not seem to be shown anywhere, even after rebooting without ‘LX’ option to reduce services. It is listed as ‘Shown’ in the menu maintenance list as status though…
This is just to clarify my testing and again, I could be missing something…
Regards…- This reply was modified 4 years, 5 months ago by olsztyn.
Live antiX Boot Options (Previously posted by Xecure):
https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_Parameters -
AuthorPosts
- You must be logged in to reply to this topic.