Page 1 of 1

mxfb2025: Menus

Posted: Fri Jan 24, 2025 9:46 am
by Jerry3904
I want to start this topic b/c I believe we can settle it by the end of the month (a week from today) and it would be nice to have a "Solved" flag to get us started down the right path. I will concentrate on the root menu (=RM) since it looks to me like we reached a consensus on rofi and "all apps" (which @dolphin_oracle has nicely reconfigured).

My guide in setting up the RM from the very beginning was this line in man fluxbox (numbers added):
The root menu is where you can 1) launch commonly-used applications, and 2) change different aspects of fluxbox by simply clicking on a menu item.
Those two components are clearly set off in our current RM with a horizontal line; we have added "all apps" and "recent files" on top--though I'm not totally persuaded about "recent files" occupying such a position and would prefer to see it gain a desktop file to become available through the terminal, a key or rofi.

The middle section is the one needing attention this cycle, and we saw a number of good suggestions. By the end of today I intend to post for discussion a reconfiguration of that middle section making use of posts in the initial development thread.

Re: mxfb2025: Menus

Posted: Fri Jan 24, 2025 10:21 am
by dolphin_oracle
a suggestion for the Terminal entry , if it remains on the top level root menu: use x-terminal-emulator rather than a specific terminal, which may or may not be installed.

Re: mxfb2025: Menus

Posted: Fri Jan 24, 2025 10:26 am
by Jerry3904
Good one, thanks.

Re: mxfb2025: Menus

Posted: Fri Jan 24, 2025 5:02 pm
by Jerry3904
OK, here's a revised menu for discussion (haven't actually run it yet so there may be a syntax problems)

Code: Select all

#the default versions of the submenus are located in /usr/share/mxflux/menu

[begin] (MX Fluxbox)
   [submenu] (All Apps)
        [include] (~/.fluxbox/submenus/full_menu)
        [separator]
        [exec] (Update)  {/usr/bin/mxfb-menu-generator}
        [exec] (Disable) {mx-tweak --other}
   [end]
	[separator]
    [exec] (Browser) {sensible-browser}
    [exec] (File manager) {exo-open $HOME/.fluxbox} 
    [exec] (Help) {mxfb-help}
    [submenu] (Multimedia)
    	[exec] (Music) {deadbeef}
    	[exec] (Xkcd) {bl-xkcd}
        [end]
    [submenu] (Other)
    	[submenu] (Recent files) 
		[include] (~/.fluxbox/submenus/recent_files_menu)
		[separator]
		[exec] (Update) {~/.fluxbox/scripts/recentfiles-fbmenu}
	[end]
	[exec] (Weather) {mxfb-simple-weather}
	[end]
    [exec] (Run) {mxfb-rofirun}
    [exec] (MX Fluxbox tools) {custom-toolbox /etc/custom-toolbox/mxfb-settings.list} 
    [exec] (Terminal) {x-terminal-emulator} 
    [separator]
    [submenu] (Appearance)
    [include] (~/.fluxbox/submenus/appearance)
    [end]
    [submenu] (Settings)
    [include] (~/.fluxbox/submenus/settings)
    [end]
    [submenu] (Out of sight)
        [include] (~/.fluxbox/submenus/out-of-sight)
    [end]
    [submenu] (Leave)
        [exec] (Refresh) {fluxbox-remote restart; idesktoggle idesk refresh } 
        [exec] (Suspend) {sudo 'pm-suspend'}
        [exec] (Lock) {dm-tool switch-to-greeter}
        [exit] (Logout) 
        [exec] (Reboot) {sudo /sbin/reboot} 
        [exec] (Shutdown) {sudo /sbin/halt}
    [end]
[end]
NOTES
1. I moved recent files out of the top level: really don't believe it belongs there
2. Followed @siamhie suggestions about categories: "Multimedia" instead of "Music," adding a useful "Other"
3. I followed DO's suggestion; I had introduced a different terminal b/c xfce4-terminal refused to be moved to the center AFAIK, but now giving up on that
4. Removed the window decoration entries, don't think anyone is likely to be interested and it's always in all apps
5. I added "Lock" to the Leave category
6. I'm ignoring for the moment the suggestion to change a couple of apps

Re: mxfb2025: Menus

Posted: Sat Jan 25, 2025 8:11 am
by Jerry3904
BTW: haven't touched the "included" menus (~/.fluxbox/submenus), which seem to me to be pretty well set up and working well.

Re: mxfb2025: Menus

Posted: Sat Jan 25, 2025 11:09 am
by Jerry3904
The two current entries under Extras:

Code: Select all

[submenu] (Window options)
    	   	[Exec] (Border) {mxfb-borders}
    		[Exec] (Titlebar) {mxfb-top}

Re: mxfb2025: Menus

Posted: Sat Jan 25, 2025 11:14 am
by siamhie
Jerry3904 wrote: Sat Jan 25, 2025 11:09 am The two current entries under Extras:

Code: Select all

[submenu] (Window options)
    	   	[Exec] (Border) {mxfb-borders}
    		[Exec] (Titlebar) {mxfb-top}

I keep forgetting about that menu as I always edit my init file by hand. I'll blame that on my muscle memory. :rofl:

Re: mxfb2025: Menus

Posted: Sat Jan 25, 2025 11:17 am
by Jerry3904
Are you otherwise good with the proposed changes?

Re: mxfb2025: Menus

Posted: Sat Jan 25, 2025 11:21 am
by siamhie
Jerry3904 wrote: Sat Jan 25, 2025 11:17 am Are you otherwise good with the proposed changes?
Yes I am. You are good to go. Trim away the excess.

Re: mxfb2025: Menus

Posted: Sat Jan 25, 2025 2:54 pm
by Jerry3904
OK, closing Root Menu discussion (though still open to comment).

Second and last menu topic: mxfb-appfinder.rasi and its settings.

--There was a short discussion about adding the exit options and a nice image from @Melber of how it would look. Do we want to go ahead with this?
--Are there any other changes to the menu we want to consider? @kobaian ?

Re: mxfb2025: Menus

Posted: Sat Jan 25, 2025 7:21 pm
by Melber
Jerry3904 wrote: Sat Jan 25, 2025 2:54 pm last menu topic: mxfb-appfinder.rasi and its settings.
Three things with mxfb-appfinder.

1. Adding a mxfb-tools category. viewtopic.php?p=796261#p796261
I already have an amended app-categories script,we would just need to add "MXFB-Tools" to the categories in the .desktop files of all mxfb-tools.

2. Adding an exit-options tab.
I have a working script and have been using it for months.
Requires amending ~/.config/rofi/themes/appfinder/mxfb-appfinder.rasi, so we need to decide how to deal with mx23 users who retain their /home.
Would also need to update appfinder-manager to deal with the new tab.

3. Update tab icons.
I'd like to update the icons to differentiate them more.
Again requires amending ~/.config/rofi/themes/appfinder/mxfb-appfinder.rasi, which would break the current version of appfinder-manager.

250126-appfinder-mxfbtools.png

Re: mxfb2025: Menus

Posted: Mon Jan 27, 2025 7:36 am
by Jerry3904
Thanks.
1. Adding a mxfb-tools category. viewtopic.php?p=796261#p796261
I already have an amended app-categories script,we would just need to add "MXFB-Tools" to the categories in the .desktop files of all mxfb-tools.

2. Adding an exit-options tab.
I have a working script and have been using it for months.
Requires amending ~/.config/rofi/themes/appfinder/mxfb-appfinder.rasi, so we need to decide how to deal with mx23 users who retain their /home.
Would also need to update appfinder-manager to deal with the new tab.

3. Update tab icons.
I'd like to update the icons to differentiate them more.
Again requires amending ~/.config/rofi/themes/appfinder/mxfb-appfinder.rasi, which would break the current version of appfinder-manager.
1. That sounds great. I am going to propose that we remove from MXFB Tools all those that duplicate what is in MX Tools (revised mxfb-tools.list coming soon).

2. We could do what we we already have in place for at least one other app: ask permission with a small yad popup (not just rely on CLI method which is often pretty unclear) and say that existing will be backed up to ~/.restore/rofi

3. Maybe have upgraded appfinder-manager liimited to >> mx23, not sure.

Have to consult with @dolphin_oracle for his preferred method.

Re: mxfb2025: Menus

Posted: Mon Jan 27, 2025 8:06 am
by Jerry3904
After using the new menu proposal for a while, I would like to propose two small changes to make the multimedia entry more understandable by regular users:

Code: Select all

 [submenu] (Multimedia)
    	[exec] (Audio player) {deadbeef}
    	[exec] (Webcomic) {bl-xkcd}
        [end]
1. Rationale: "Xkcd" will be incomprehensible to many users, and "Music" is ambiguously broad
2. Both those changes make use of web searches on "what is x?" that many a typical user would turn to
3. I checked "webcomic" on DeepL and languages I understand simply adopt a form of the English; it's not just a new word but also a new (primarily post internet) category

Re: mxfb2025: Menus

Posted: Mon Jan 27, 2025 9:33 am
by Jerry3904
1. That sounds great. I am going to propose that we remove from MXFB Tools all those that duplicate what is in MX Tools (revised mxfb-tools.list coming soon).
There are some newer ones from @Melber (about font, e.g.) but for now here is the 2023 list following a severe diet:

Code: Select all

Category=USER
mxfb-tint2-manager
mxfb-keybindings
mx-rofi-manager
exit-options-manager
mx-dockmaker
mx-idesktool
mxfb-backgrounds
mxfb-trashcheck

Category=OTHER
mx-tools

Re: mxfb2025: Menus

Posted: Mon Jan 27, 2025 10:00 am
by siamhie
One suggestion.

Can we change the location of opening Thunar?

Code: Select all

[exec] (File manager) {exo-open $HOME/.fluxbox} 
to just the HOME folder

Code: Select all

[exec] (File manager) {exo-open $HOME}

Re: mxfb2025: Menus

Posted: Mon Jan 27, 2025 10:03 am
by dolphin_oracle
Melber wrote: Sat Jan 25, 2025 7:21 pm
Jerry3904 wrote: Sat Jan 25, 2025 2:54 pm last menu topic: mxfb-appfinder.rasi and its settings.
Three things with mxfb-appfinder.

1. Adding a mxfb-tools category. viewtopic.php?p=796261#p796261
I already have an amended app-categories script,we would just need to add "MXFB-Tools" to the categories in the .desktop files of all mxfb-tools.
@Melber I don't remember why exactly, other than its technically more freedesktop compliant than the current mx tools categories, (which we made when we were young and dumb), but mxfb-menu-generator looks for the "X-MXFB-Tools" category in the desktop files, and puts it into a submenu called "MXFB-Tools".

Re: mxfb2025: Menus

Posted: Mon Jan 27, 2025 10:04 am
by Jerry3904
@siamhie Certainly possible and reasonable--thanks.

Re: mxfb2025: Menus

Posted: Mon Jan 27, 2025 1:06 pm
by Melber
dolphin_oracle wrote: Mon Jan 27, 2025 10:03 am @Melber I don't remember why exactly, other than its technically more freedesktop compliant than the current mx tools categories, (which we made when we were young and dumb), but mxfb-menu-generator looks for the "X-MXFB-Tools" category in the desktop files, and puts it into a submenu called "MXFB-Tools".
righty ho, X-MXFB-Tools it is then

Re: mxfb2025: Menus

Posted: Tue Jan 28, 2025 9:00 am
by Jerry3904
Jerry3904 wrote: Mon Jan 27, 2025 9:33 am <snip>
Here is the 2023 list of "MX Fluxbox Tools" following a severe diet:

Code: Select all

Category=USER
mxfb-tint2-manager
mxfb-keybindings
mx-rofi-manager
exit-options-manager
mx-dockmaker
mx-idesktool
mxfb-backgrounds
mxfb-trashcheck

Category=OTHER
mx-tools
Are people good with this transitional list?


Image

Re: mxfb2025: Menus

Posted: Tue Jan 28, 2025 9:25 am
by dolphin_oracle
I have a suggestion for the mxfb custom tools thing. If you are going to just do those, then the addition of the usual mx-tools category items, plus "OnlyShowIn=FLUXBOX" to the desktop files, will show the tools in the standard mx-tools application, without additional work. some of those are already included anyway. MX-Tools is set up to filter per supported desktop that way. we do similar for a few that are Xfce only so that they don't show up in KDE.

many of the desktop files already have the OnlyShowIn=FLUXBOX line added (lower case, but mx tools is case insenstive I think or a quick adjustment to mx-tools to make it so), so all you would need to add is the appropriate mx tools sub category.

food for thought.

Re: mxfb2025: Menus

Posted: Tue Jan 28, 2025 9:26 am
by siamhie
Is Shortcuts Keybindings?

Re: mxfb2025: Menus

Posted: Tue Jan 28, 2025 10:09 am
by Jerry3904
Shortcuts=Keybindings=Keys=Hotkeys

Re: mxfb2025: Menus

Posted: Tue Jan 28, 2025 10:10 am
by Jerry3904
dolphin_oracle wrote: Tue Jan 28, 2025 9:25 am I have a suggestion for the mxfb custom tools thing. If you are going to just do those, then the addition of the usual mx-tools category items, plus "OnlyShowIn=FLUXBOX" to the desktop files, will show the tools in the standard mx-tools application, without additional work. some of those are already included anyway. MX-Tools is set up to filter per supported desktop that way. we do similar for a few that are Xfce only so that they don't show up in KDE.

many of the desktop files already have the OnlyShowIn=FLUXBOX line added (lower case, but mx tools is case insenstive I think or a quick adjustment to mx-tools to make it so), so all you would need to add is the appropriate mx tools sub category.

food for thought.
Gonna have to read that through a couple of more timesNow I see what you're talking about, going to try it. Thanks.

Re: mxfb2025: Menus

Posted: Tue Jan 28, 2025 12:45 pm
by siamhie
Jerry3904 wrote: Tue Jan 28, 2025 10:09 am Shortcuts=Keybindings=Keys=Hotkeys
I see. The word shortcuts has a different meaning to me compared to the obvious keybindings. It's all semantics I guess.

Re: mxfb2025: Menus

Posted: Sat Feb 01, 2025 8:32 am
by Melber
Jerry3904 wrote: Tue Jan 28, 2025 9:00 am
Jerry3904 wrote: Mon Jan 27, 2025 9:33 am <snip>
Here is the 2023 list of "MX Fluxbox Tools" following a severe diet:

Code: Select all

Category=USER
mxfb-tint2-manager
mxfb-keybindings
mx-rofi-manager
exit-options-manager
mx-dockmaker
mx-idesktool
mxfb-backgrounds
mxfb-trashcheck

Category=OTHER
mx-tools
Are people good with this transitional list?
I would make a few additions and change the category names

Code: Select all

Category=MX FLUXBOX TOOLS
mxfb-tint2-manager
mxfb-keybindings
mx-rofi-manager
exit-options-manager
mx-dockmaker
mx-idesktool
mxfb-backgrounds
mxfb-trashcheck
+ mxfb-font
+ mxfb-look
+ appfinder-manager (need to add a .desktop file)
+ mxfb-workspace-settings (needs to be added to mxfb-accessories)
+ mx-tweak

Category=MX TOOLS
mx-tools

Re: mxfb2025: Menus

Posted: Sat Feb 01, 2025 8:41 am
by Jerry3904
Those look good, thanks. Will test today.

Re: mxfb2025: Menus

Posted: Sat Feb 01, 2025 9:15 am
by Jerry3904
Looks good in test, I like the new category names. 2 comments:

1) I thought we decided that mxfb-workspace-settings was redundant given the Workspace menu available off a middle mouse click (and we might want to add that to the Root menu somewhere). ATM it's not even in any repo, is it?

2) I really don't want to include mx-tweak under Fluxbox Tools, given the existence of the MX Tools category. What about instead creating a new desktop file named something like "Fluxbox settings" that opens the "Fluxbox" tab in Tweak?

Code: Select all

mx-tweak --fluxbox
That option is not currently recognized in bash, but I imagine that @dolphin_oracle would be willing to add it sometime.

Re: mxfb2025: Menus

Posted: Sat Feb 01, 2025 9:55 am
by dolphin_oracle
mx-tweak already opens the fluxbox tab by default when running fluxbox. no need for a switch.

Re: mxfb2025: Menus

Posted: Sat Feb 01, 2025 10:07 am
by Jerry3904
OK, thanks.

BTW: better name for that new desktop file--not "Fluxbox settings" which is ambiguous and too broad, but "Fluxbox tweaks"

BTW2: not sure ATM how one would launch the Workspace menu from the menu, researching...

Re: mxfb2025: Menus

Posted: Sat Feb 01, 2025 11:05 am
by i_ri
Hello Jerry3904
/menu-mx

Code: Select all

[workspaces] (Workspace Menu submenu)
[WorkspaceMenu] (Workspace Menu separate)
[clientmenu] (Window List of Workspace Menu)
[workspace N] (Go to Workspace N)

Re: mxfb2025: Menus

Posted: Sat Feb 01, 2025 11:11 am
by Jerry3904
I meant how to call this:
Image

Re: mxfb2025: Menus

Posted: Sat Feb 01, 2025 11:14 am
by i_ri
[workspaces] (Workspace Menu submenu)
[WorkspaceMenu] (Workspace Menu separate)

Re: mxfb2025: Menus

Posted: Sat Feb 01, 2025 11:14 am
by siamhie
Jerry3904 wrote: Sat Feb 01, 2025 11:11 am I meant how to call this:
Image

Code: Select all

OnDesktop Mouse2 :WorkspaceMenu

Re: mxfb2025: Menus

Posted: Sat Feb 01, 2025 12:19 pm
by Jerry3904
From the Root menu...

Re: mxfb2025: Menus

Posted: Sat Feb 01, 2025 12:51 pm
by ceeslans
Jerry3904 wrote: Sat Feb 01, 2025 12:19 pm From the Root menu...

Code: Select all

[workspaces] (Workspaces)

Re: mxfb2025: Menus

Posted: Sat Feb 01, 2025 1:55 pm
by Jerry3904
Yup, thanks--I was using a capital W on the first element and that failed. That puts up the dialog box right next to the menu like a submenu, and everything works.

Image

Re: mxfb2025: Menus

Posted: Sat Feb 01, 2025 2:21 pm
by Jerry3904
Seems to me that entry would fit better under Settings.

Re: mxfb2025: Menus

Posted: Sat Feb 01, 2025 4:22 pm
by ceeslans
Ehhh, not really a Settings menu entry, is it?
If it was up to me, I would categorize it under 'Utilities', together with entries for screen capture, recent files, empty-trash and the likes

Re: mxfb2025: Menus

Posted: Sat Feb 01, 2025 5:12 pm
by Jerry3904
Well it allows removal. addition and renaming of workspaces, all of which fits for me under the concept of Settings. Following the principle laid out in the first post of this thread, I'm very reluctant to open up new categories--especially one so large as Utilities--and I want/need to get this topic closed b/c it could be discussed forever otherwise.

But you have gotten me thinking about screen capture...

Re: mxfb2025: Menus

Posted: Sat Feb 01, 2025 5:51 pm
by siamhie
Jerry3904 wrote: Sat Feb 01, 2025 12:19 pm From the Root menu...
That how fluxbox has it setup.

Image

Re: mxfb2025: Menus

Posted: Sat Feb 01, 2025 7:52 pm
by Jerry3904
Thanks. There's another one I don't see being located in top level...

Re: mxfb2025: Menus

Posted: Sun Feb 02, 2025 12:28 pm
by Melber
Jerry3904 wrote: Sat Feb 01, 2025 9:15 am Looks good in test, I like the new category names. 2 comments:

1) I thought we decided that mxfb-workspace-settings was redundant given the Workspace menu available off a middle mouse click (and we might want to add that to the Root menu somewhere). ATM it's not even in any repo, is it?

2) I really don't want to include mx-tweak under Fluxbox Tools, given the existence of the MX Tools category. What about instead creating a new desktop file named something like "Fluxbox settings" that opens the "Fluxbox" tab in Tweak?

Code: Select all

mx-tweak --fluxbox
That option is not currently recognized in bash, but I imagine that @dolphin_oracle would be willing to add it sometime.
Sorry for the delayed response, was busy this weekend.

1) OK with Workspaces being added to FB Menu > Settings
2) Think there should be a direct link to mx-tweak from the mxfb-settings, regardless whether using mx-tweak.desktop or a new fluxbox-tweaks.desktop.

Re: mxfb2025: Menus

Posted: Sun Feb 02, 2025 12:44 pm
by Jerry3904
Thanks, agreed.

Re: mxfb2025: Menus

Posted: Sat Feb 15, 2025 6:03 am
by Jerry3904
After people upgrade to get the new mxfb-accessories (25.02.01mx23), you should be able to see the new "MXFB-Tools" entry in All apps with the following steps:

1) Click Menu > Settings > Configure > Menus > Main, and replace the existing All apps section at the top with this:

Code: Select all

   [submenu] (All Apps)
        [include] (~/.fluxbox/submenus/full_menu)
        [separator]
        [include] (~/.fluxbox/full_menu)
        [exec] (Update)  {/usr/bin/mxfb-menu-generator}
        [exec] (Disable) {mx-tweak --other}
   [end]
2) log out and back in, and click All apps > MXFB-Tools at the top of the rootMenu. Notice in particular the new "MX Fluxbox Tweaks" and "Appfinder Setttings"

NOTE: there are still a couple missing from the menu and the dashboard--working on that this weekend. But I have crossed out this item on the mxfb2025 Index. :popcorn:

Re: mxfb2025: Menus

Posted: Sat Feb 15, 2025 10:23 am
by siamhie
Jerry3904 wrote: Sat Feb 15, 2025 6:03 am

Code: Select all

   [submenu] (All Apps)
[include] (~/.fluxbox/full_menu)
I don't have that file listed.

Code: Select all

╔═[siamhie@flux23]═[07:08 15/02/25]══════════════════════════════════════[~/.fluxbox]
╚═> ls
apps                 init       lastwallpaper  overlay              startup
backgrounds          keys       menu           pre-global-menu.txt  styles
fbrun_history        keys-BAK   menu-mx        scripts              submenus
fluxbox-mx-defaults  keys-orig  mystyles       slitlist             windowmenu

2) log out and back in, and click All apps > MXFB-Tools at the top of the rootMenu. Notice in particular the new "MX Fluxbox Tweaks" and "Appfinder Setttings"
MX Fluxbox Tweaks opens MX Tweaks. Is that the intention? Just asking.

Re: mxfb2025: Menus

Posted: Sat Feb 15, 2025 10:43 am
by Jerry3904
I don't have that file listed.
"All apps" is at the top of the rootMenu and we had a long discussion about this (maybe in this thread)
MX Fluxbox Tweaks opens MX Tweaks. Is that the intention? Just asking.
Yes, there is a discussion between @Melber and me on this somewhere in this (?) thread.

Re: mxfb2025: Menus

Posted: Sat Feb 15, 2025 11:32 am
by siamhie
Jerry3904 wrote: Sat Feb 15, 2025 10:43 am
I don't have that file listed.
"All apps" is at the top of the rootMenu and we had a long discussion about this (maybe in this thread)

I'm referring to this file. This isn't in my fluxbox home folder.

Code: Select all

~/.fluxbox/full_menu

MX Fluxbox Tweaks opens MX Tweaks. Is that the intention? Just asking.
Yes, there is a discussion between @Melber and me on this somewhere in this (?) thread.

I'll go looking for it. I am subscribed to all of the MXFB-2025 threads.

Re: mxfb2025: Menus

Posted: Sat Feb 15, 2025 11:55 am
by Jerry3904
Your looking in the wrong place, it's in

Code: Select all

~./fluxbox/submenus
Image

Re: mxfb2025: Menus

Posted: Sat Feb 15, 2025 12:18 pm
by siamhie
Jerry3904 wrote: Sat Feb 15, 2025 11:55 am Your looking in the wrong place, it's in

Code: Select all

~./fluxbox/submenus
Image

I'm referring to the code you want us to replace in post #45.
1) Click Menu > Settings > Configure > Menus > Main, and replace the existing All apps section at the top with this:

Code: Select all

[submenu] (All Apps)
        [include] (~/.fluxbox/submenus/full_menu)
        [separator]
        [include] (~/.fluxbox/full_menu)  [b]<-----------This is the entry in question[/b]
        [exec] (Update)  {/usr/bin/mxfb-menu-generator}
        [exec] (Disable) {mx-tweak --other}
   [end]

Re: mxfb2025: Menus

Posted: Sat Feb 15, 2025 12:31 pm
by Jerry3904
I'm sorry, but I have no idea what you are not getting here. Right-click the desktop and follow those directions. The text editor will pop up with the main menu (=menu-mx) and that section is at the top.

Full-menu is generated and has nothing to do this.

Re: mxfb2025: Menus

Posted: Sat Feb 15, 2025 12:45 pm
by ceeslans
Jerry, the second [include] line should be deleted:
a) the full_menu file is already called in the first [include] line, and
b) the second one states an incorrect path anyway

Re: mxfb2025: Menus

Posted: Sat Feb 15, 2025 1:04 pm
by siamhie
Jerry3904 wrote: Sat Feb 15, 2025 12:31 pm I'm sorry, but I have no idea what you are not getting here.
I pointed it out in your code you asked us to change. Here I'll explain it in quotes.
[submenu] (All Apps)
[include] (~/.fluxbox/submenus/full_menu)
[separator]
[include] (~/.fluxbox/full_menu) <-----------This is the entry in question
[exec] (Update) {/usr/bin/mxfb-menu-generator}
[exec] (Disable) {mx-tweak --other}
[end]

Re: mxfb2025: Menus

Posted: Sat Feb 15, 2025 1:45 pm
by dolphin_oracle
The last commit on GitHub added a second incorrect full_menu entry

Re: mxfb2025: Menus

Posted: Sat Feb 15, 2025 3:50 pm
by Jerry3904
So the correct entry should read like this?

Code: Select all

   [submenu] (All Apps)
        [include] (~/.fluxbox/submenus/full_menu)
        [separator]
        [exec] (Update)  {/usr/bin/mxfb-menu-generator}
        [exec] (Disable) {mx-tweak --other}
   [end]
I misunderstood the script's instructions, I guess.

Re: mxfb2025: Menus

Posted: Sat Feb 15, 2025 4:45 pm
by siamhie
dolphin_oracle wrote: Sat Feb 15, 2025 1:45 pm The last commit on GitHub added a second incorrect full_menu entry
Thanks for the clarification @dolphin_oracle.

Sorry for the confusion @Jerry3904. I was just trying to point out the duplicate entries.

Re: mxfb2025: Menus

Posted: Sat Feb 15, 2025 4:49 pm
by Jerry3904
I was feeling unusually dense...

Re: mxfb2025: Menus

Posted: Sun Feb 23, 2025 11:05 am
by Jerry3904
I restored a lost entry under Settings (don't know where it went, or when exactly)

Code: Select all

    [submenu] (Toolbars)
        [exec] (Fluxbox) {toggletint2}
        [exec] (tint2) {toggletint2}
    [end]
Also followed advice to change "Browser" to "Web browser," primarily to parallel "Icon browser."

Re: mxfb2025: Menus

Posted: Wed Mar 12, 2025 7:47 am
by Jerry3904
One of the things I don't like about the All apps menu is that it requires that the user already know what category the app has been put into, which is often not clear with the 3 big ones: Accessories, System and Settings. I would like to see a Search box for that situation, and decided this morning that I would make use of rofi for that. Came up with the following as a proof of concept, and am throwing it out here as an idea. If we like it we could perhaps specify a theme to use that would be appropriate.

Code: Select all

 	[submenu] (All Apps)
   		[exec] (Search) {rofi -show drun}
   		[separator]
   		[include] (~/.fluxbox/submenus/full_menu)
        [separator]
        [exec] (Update)  {/usr/bin/mxfb-menu-generator}
        [exec] (Disable) {mx-tweak --other}
   	[end]
Image

Re: mxfb2025: Menus

Posted: Tue Aug 05, 2025 9:51 pm
by AA BB
When I rt-click on the screen background, the FB menu pops up, but items listed under ALL APPS sub-menu dont respond to mouse clicks

Re: mxfb2025: Menus

Posted: Tue Aug 05, 2025 10:49 pm
by siamhie
AA BB wrote: Tue Aug 05, 2025 9:51 pm When I rt-click on the screen background, the FB menu pops up, but items listed under ALL APPS sub-menu dont respond to mouse clicks
Open the root menu (All Apps) and click on Update at the bottom. Does that fix it?

Re: mxfb2025: Menus

Posted: Wed Aug 06, 2025 2:00 am
by FullScale4Me
I'm a little late to the party, so to speak. My old drive of MX 21 Virtual Box installs had failed last year. So I have no comparison.

Is this what the menu is supposed to look like on a fresh installation of MXFB 23.6 at 1024x768? I thought it was a good screen size that a typical FB user would have.

Image

Did I get a corrupt download of the ISO? Mine doesn't look anything like the image in post #11 of this thread, esp the buttons on the left (look & number).

Re: mxfb2025: Menus

Posted: Wed Aug 06, 2025 5:36 am
by Jerry3904
It would be easier to tell (at least for me) if you used a full screen capture. Here's mine on my Trixie dev box with a 1440x900 display

Image

Just to make sure you know about appfinder settings

Image

Re: mxfb2025: Menus

Posted: Wed Aug 06, 2025 10:03 am
by siamhie
I don't use rofi but this is what I'm talking about when updating the menu file.

fb-menu.png

Re: mxfb2025: Menus

Posted: Wed Aug 06, 2025 10:10 am
by Melber
@FullScale4Me
You have the mx23 appfinder menu. It looks right to me.
The changes to appfinder in post #11 are mx25 only.

Re: mxfb2025: Menus

Posted: Wed Aug 06, 2025 3:42 pm
by FullScale4Me
Melber wrote: Wed Aug 06, 2025 10:10 am @FullScale4Me
You have the mx23 appfinder menu. It looks right to me.
The changes to appfinder in post #11 are mx25 only.
Thanks, that explains the button differences. I'm still a little surprised at the cut-off text on first install, I decided to go old school and looked at the Fluxbox manual.
The Root Menu is hidden by default and offers a quick and easy way to access many functions and settings.
Aha! So, I guess my expecting a normal menu from a menu button was a reach too far. My desire was to learn the basics of MXFB in time for the 25 release.

So .....my priority is getting most pending edits of my how-to documents done before MX25 hits. The Dual Boot one looks like a toddler drew on it - that many [of my] notes! Most of those update ideas come from watching user's struggles in 3 distro's forums.

Re: mxfb2025: Menus

Posted: Wed Aug 06, 2025 5:50 pm
by Melber
@FullScale4Me
mxfb is a slightly different beast.

The mx logo button opens mxfb-appfinder, which is actually just a customised rofi window we set up as a replacement for the xfce whisker menu. It is preset to 20% screen width, which results in the cut off text at your extremely low res screen size. (Typical mxfb users aren't all running the system on a potato.;) ) You can adjust the width with appfinder settings (right click on the logo to open).

The root menu is a fluxbox native thing and not related to appfinder. We adjust the contents of the default root menu to our liking.

Re: mxfb2025: Menus

Posted: Wed Aug 06, 2025 6:27 pm
by siamhie
FullScale4Me wrote: Wed Aug 06, 2025 3:42 pm
The Root Menu is hidden by default and offers a quick and easy way to access many functions and settings.
Aha! So, I guess my expecting a normal menu from a menu button was a reach too far. My desire was to learn the basics of MXFB in time for the 25 release.
@FullScale4Me
Generally, you just right click anywhere on the desktop to access the root menu.
fluxbox users can add an entry to the fluxbox toolbar to access it's root menu, if they want to. (similar can be done using tint2)


*Users will edit the init file for this part of the magic. :happy:

Code: Select all

session.screen0.toolbar.button.homenu.label: Menu
session.screen0.toolbar.button.homenu.commands: RootMenu
session.screen0.toolbar.tools:	button.homenu, iconbar, systemtray, clock, workspacename
toolbar-menu.jpg

Re: mxfb2025: Menus

Posted: Wed Aug 06, 2025 9:38 pm
by AA BB
siamhie wrote: Tue Aug 05, 2025 10:49 pm
Open the root menu (All Apps) and click on Update at the bottom. Does that fix it?
I've already tried this previously ...it does not fix the problem

Re: mxfb2025: Menus

Posted: Wed Aug 06, 2025 10:52 pm
by siamhie
AA BB wrote: Wed Aug 06, 2025 9:38 pm
siamhie wrote: Tue Aug 05, 2025 10:49 pm
Open the root menu (All Apps) and click on Update at the bottom. Does that fix it?
I've already tried this previously ...it does not fix the problem
@AA BB What does your menu entry look like?
Root menu > Settings > Configure > Menus > Main. (Post it in code tags...the </> icon)

Re: mxfb2025: Menus

Posted: Thu Aug 07, 2025 8:05 am
by dolphin_oracle
AA BB wrote: Tue Aug 05, 2025 9:51 pm When I rt-click on the screen background, the FB menu pops up, but items listed under ALL APPS sub-menu dont respond to mouse clicks
probably worth posting the

Code: Select all

$HOME/.fluxbox/submenus/full_menu
file.

Re: mxfb2025: Menus

Posted: Thu Aug 07, 2025 12:25 pm
by AA BB
dolphin_oracle wrote: Thu Aug 07, 2025 8:05 am probably worth posting the

Code: Select all

$HOME/.fluxbox/submenus/full_menu
file.

Code: Select all

[begin] (All Apps)
[submenu] (Accessories)
x (Archive Manager ) { file-roller  } Categories=GTK;GNOME;Utility;Archiving;Compression;X-GNOME-Utilities;
x (Bulk Rename ) { thunar --bulk-rename  } Categories=Utility;Core;GTK;Filesystem;
x (Catfish File Search ) { catfish  } Categories=GNOME;GTK;Utility;
x (compton ) { compton } Categories=Utility;
x (Conky Manager ) { conky-manager2 } Categories=Utility
x (Conky Toggle ) { conkytoggle.sh } Categories=Utility;System;
x (FeatherPad ) { featherpad  } Categories=Qt;Utility;TextEditor;
x (Galculator ) { galculator } Categories=Utility;
x (GtkHash ) { gtkhash  } Categories=Utility;Security;GTK;
x (Hardinfo2 ) { hardinfo2 } Categories=System;Utility;
x (LightDM GTK+ Greeter settings ) { lightdm-gtk-greeter-settings-pkexec } Categories=GNOME;GTK;Settings;System;Utility;X-XFCE-SettingsDialog;X-XFCE-SystemSettings;
x (Magnus ) { magnus } Categories=Utility;Accessibility;
x (MX Updater ) { /usr/bin/apt-notifier-unhide-Icon } Categories=System;Qt;KDE;Utility;X-KDE-Utilities-Desktop;
x (nitrogen ) { nitrogen } Categories=Utility;GTK;DesktopSettings;
x (Onboard ) { onboard } Categories=Utility;Accessibility;
x (Passwords and Keys ) { seahorse  } Categories=GNOME;GTK;Security;Utility;DesktopSettings;X-XFCE-SettingsDialog;
x (ROXTerm ) { roxterm } Categories=GTK;Utility;TerminalEmulator;System;
x (Shutter ) { shutter  } Categories=Utility;
x (TeXInfo ) { x-terminal-emulator -e info } Categories=Utility;Documentation;ConsoleOnly;
x (Thunar File Manager ) { thunar  } Categories=System;Utility;Core;GTK;FileTools;FileManager;
x (Touchpad Indicator ) { /usr/bin/touchpad-indicator } Categories=Utility;
x (Vim ) { x-terminal-emulator -e vim  } Categories=Utility;TextEditor;
[end]
[submenu] (Development)
x (Geany ) { geany  } Categories=GTK;Development;IDE;TextEditor;
x (GHex ) { ghex  } Categories=GNOME;GTK;Development;
x (Icon Browser ) { yad-icon-browser } Categories=GTK;Development;
[end]
[submenu] (Graphics)
x (nomacs ) { nomacs  } Categories=Graphics;RasterGraphics;Viewer;2DGraphics;
[end]
[submenu] (Internet)
x (Advanced Network Configuration ) { nm-connection-editor } Categories=GNOME;GTK;Settings;X-GNOME-NetworkSettings;X-GNOME-Utilities;
x (Brave Web Browser ) { /usr/bin/brave-browser-stable  } Categories=Network;WebBrowser;
x (MX Network Assistant ) { mx-network-assistant } Categories=System;MX-Tools;
x (MX Viewer ) { mx-viewer  } Categories=Qt;Network;Utilities;
[end]
[submenu] (Multimedia)
x (Alsamixer ) { x-terminal-emulator -e alsamixer } Categories=AudioVideo;Player;Audio;
x (DeaDBeeF ) { deadbeef  } Categories=Audio;AudioVideo;Player;GTK;
x (guvcview webcam ) { guvcview } Categories=Video;AudioVideo;
x (PulseAudio Volume Control ) { pavucontrol } Categories=AudioVideo;Audio;Mixer;GTK;Settings;X-XFCE-SettingsDialog;X-XFCE-HardwareSettings;
[end]
[submenu] (MX-Tools)
x (About MX Linux ) { mx-welcome --about } Categories=GNOME;GTK;System;MX-Tools;
x (Bash Config ) { bash-config } Categories=GNOME;GTK;System;X-MX-Tools;
x (Brightness Systray ) { mx-tweak --tray & } Categories=XFCE;Settings;DesktopSettings;MX-Tools;
x (Chroot Rescue Scan ) { x-terminal-emulator -e sudo chroot-rescue-scan --pause } Categories=X-antiX;MX-Tools;
x (Deb Installer ) { deb-installer  } Categories=System;MX-Tools;
x (Disk Manager ) { /usr/bin/disk-manager-launcher } Categories=System;MX-Tools;
x (Format USB ) { formatusb } Categories=System;MX-Tools;X-antiX;
x (Job Scheduler ) { job-scheduler } Categories=System;MX-Tools
x (Live-USB Kernel Updater ) { x-terminal-emulator -e sudo /usr/local/bin/live-kernel-updater --pause } Categories=X-antiX;MX-Tools;
x (MX Boot Options ) { mx-boot-options } Categories=GNOME;GTK;System;MX-Tools
x (MX Boot Repair ) { mx-boot-repair } Categories=System;MX-Tools;
x (MX Cleanup ) { mx-cleanup } Categories=System;MX-Tools
x (MX Conky ) { mx-conky } Categories=GNOME;GTK;System;MX-Tools
x (MX Date & Time ) { mx-datetime } Categories=GNOME;GTK;System;MX-Tools;
x (MX Fix GPG keys ) { x-terminal-emulator -e pkexec checkaptgpg --wait-at-end } Categories=PackageManager;System;MX-Tools;
x (MX Live USB Maker ) { mx-live-usb-maker } Categories=System;MX-Tools;
x (MX Locale ) { mx-locale } Categories=System;MX-Tools;X-antiX;
x (MX Network Assistant ) { mx-network-assistant } Categories=System;MX-Tools;
x (MX Package Installer ) { mx-packageinstaller } Categories=System;MX-Tools;
x (MX RemasterCC ) { mx-remastercc } Categories=GNOME;GTK;System;MX-Tools
x (MX Repo Manager ) { mx-repo-manager } Categories=GNOME;GTK;System;MX-Tools;
x (MX Samba Config ) { mx-samba-config } Categories=System;MX-Tools;
x (MX Select Sound ) { mx-select-sound } Categories=GNOME;GTK;System;MX-Tools
x (MX Service Manager ) { mx-service-manager } Categories=GNOME;GTK;System;MX-Tools;
x (MX Snapshot ) { mx-snapshot } Categories=GNOME;GTK;System;MX-Tools;
x (MX Tour ) { mx-tour } Categories=System;MX-Tools;
x (MX Tweak ) { mx-tweak } Categories=XFCE;Settings;DesktopSettings;X-XFCE-SettingsDialog;X-XFCE-PersonalSettings;MX-Tools;
x (MX User Manager ) { mx-user } Categories=System;MX-Tools;
x (MX Welcome ) { mx-welcome } Categories=GNOME;GTK;System;MX-Tools;
x (Nvidia driver installer ) { x-terminal-emulator -e pkexec /usr/bin/ddm-mx -i nvidia } Categories=ConsoleOnly;System;MX-Tools;
x (Papirus Folder Colors ) { papirus-folder-colors } Categories=Settings;MX-Tools;
x (Quick System Info ) { quick-system-info-gui } Categories=System;MX-Tools
x (System Keyboard ) { system-keyboard-qt-launcher } Categories=XFCE;GTK;Settings;DesktopSettings;X-XFCE-SettingsDialog;X-XFCE-HardwareSettings;MX-Tools;
x (UEFI Manager ) { uefi-manager } Categories=System;MX-Tools;
x (User Installed Packages ) { user-installed-packages } Categories=System;MX-Tools;
[end]
[submenu] (MXFB-Tools)
x (Appfinder Settings ) { appfinder-settings } Categories=System;X-MXFB-Tools;
x (Backgrounds ) { nitrogen } Categories=System;X-MXFB-Tools;
x (Exit Options Manager ) { exit-options-manager } Categories=System;X-MXFB-Tools;
x (Font ) { mxfb-font } Categories=System;X-MXFB-Tools;
x (Look ) { mxfb-look } Categories=System;X-MXFB-Tools;
x (MX Comfort ) { mxfb-comfort } Categories=System;X-MXFB-Tools;
x (MX Fluxbox Tweaks ) { mx-tweak } Categories=System;X-MXFB-Tools;
x (MX Idesktool ) { mx-idesktool } Categories=System;X-MXFB-Tools;
x (Quickshot ) { mxfb-quickshot } Categories=System;X-MXFB-Tools;
x (Rofi Manager ) { mx-rofi-manager } Categories=System;X-MXFB-Tools;
x (Shortcuts ) { mxfb-keybindings } Categories=System;X-MXFB-Tools;
x (Tint2 Manager ) { /usr/bin/mxfb-tint2-manager } Categories=System;X-MXFB-Tools;
x (Trash check ) { mxfb-trashcheck } Categories=System;X-MXFB-Tools;
[end]
[submenu] (Office)
x (qpdfview ) { qpdfview --unique  } Categories=Viewer;Office;
[end]
[submenu] (System)
x (About MX Linux ) { mx-welcome --about } Categories=GNOME;GTK;System;MX-Tools;
x (Appfinder Settings ) { appfinder-settings } Categories=System;X-MXFB-Tools;
x (Backgrounds ) { nitrogen } Categories=System;X-MXFB-Tools;
x (Bash Config ) { bash-config } Categories=GNOME;GTK;System;X-MX-Tools;
x (Borders ) { mxfb-borders } Categories=System;
x (Conky Toggle ) { conkytoggle.sh } Categories=Utility;System;
x (Custom Toolbox ) { custom-toolbox } Categories=GNOME;GTK;System;
x (dconf Editor ) { dconf-editor } Categories=GNOME;GTK;System;
x (Deb Installer ) { deb-installer  } Categories=System;MX-Tools;
x (Disk Manager ) { /usr/bin/disk-manager-launcher } Categories=System;MX-Tools;
x (Disk Usage Analyzer ) { baobab  } Categories=GTK;GNOME;System;Filesystem;X-GNOME-Utilities;
x (Exit Options Manager ) { exit-options-manager } Categories=System;X-MXFB-Tools;
x (FAQ ) { mx-faq } Categories=System;
x (Firewall Configuration ) { gufw } Categories=GNOME;GTK;Settings;Security;X-GNOME-Settings-Panel;X-GNOME-SystemSettings;X-Unity-Settings-Panel;X-XFCE-SettingsDialog;X-XFCE-SystemSettings;
x (Font ) { mxfb-font } Categories=System;X-MXFB-Tools;
x (Format USB ) { formatusb } Categories=System;MX-Tools;X-antiX;
x (GKrellM System Monitor ) { gkrellm } Categories=System;
x (GParted ) { /usr/sbin/gparted  } Categories=GNOME;System;Filesystem;
x (Grsync ) { /usr/bin/grsync -i  } Categories=Application;System;
x (GSmartControl ) { "/usr/bin/gsmartcontrol-root" } Categories=System;Monitor;
x (Hardinfo2 ) { hardinfo2 } Categories=System;Utility;
x (Htop ) { x-terminal-emulator -e htop } Categories=System;Monitor;ConsoleOnly;
x (Job Scheduler ) { job-scheduler } Categories=System;MX-Tools
x (LightDM GTK+ Greeter settings ) { lightdm-gtk-greeter-settings-pkexec } Categories=GNOME;GTK;Settings;System;Utility;X-XFCE-SettingsDialog;X-XFCE-SystemSettings;
x (Look ) { mxfb-look } Categories=System;X-MXFB-Tools;
x (Manual ) { mxfb-help } Categories=System;
x (MX Boot Options ) { mx-boot-options } Categories=GNOME;GTK;System;MX-Tools
x (MX Boot Repair ) { mx-boot-repair } Categories=System;MX-Tools;
x (MX Cleanup ) { mx-cleanup } Categories=System;MX-Tools
x (MX Comfort ) { mxfb-comfort } Categories=System;X-MXFB-Tools;
x (MX Conky ) { mx-conky } Categories=GNOME;GTK;System;MX-Tools
x (MX Date & Time ) { mx-datetime } Categories=GNOME;GTK;System;MX-Tools;
x (MX Fix GPG keys ) { x-terminal-emulator -e pkexec checkaptgpg --wait-at-end } Categories=PackageManager;System;MX-Tools;
x (MX Fluxbox Tweaks ) { mx-tweak } Categories=System;X-MXFB-Tools;
x (MX Idesktool ) { mx-idesktool } Categories=System;X-MXFB-Tools;
x (MX Live USB Maker ) { mx-live-usb-maker } Categories=System;MX-Tools;
x (MX Locale ) { mx-locale } Categories=System;MX-Tools;X-antiX;
x (MX Network Assistant ) { mx-network-assistant } Categories=System;MX-Tools;
x (MX Package Installer ) { mx-packageinstaller } Categories=System;MX-Tools;
x (MX RemasterCC ) { mx-remastercc } Categories=GNOME;GTK;System;MX-Tools
x (MX Repo Manager ) { mx-repo-manager } Categories=GNOME;GTK;System;MX-Tools;
x (MX Samba Config ) { mx-samba-config } Categories=System;MX-Tools;
x (MX Select Sound ) { mx-select-sound } Categories=GNOME;GTK;System;MX-Tools
x (MX Service Manager ) { mx-service-manager } Categories=GNOME;GTK;System;MX-Tools;
x (MX Snapshot ) { mx-snapshot } Categories=GNOME;GTK;System;MX-Tools;
x (MX Tour ) { mx-tour } Categories=System;MX-Tools;
x (MX Updater ) { /usr/bin/apt-notifier-unhide-Icon } Categories=System;Qt;KDE;Utility;X-KDE-Utilities-Desktop;
x (MX USB Unmounter ) { mx-usb-unmounter } Categories=System
x (MX User Manager ) { mx-user } Categories=System;MX-Tools;
x (MX User Manual ) { mx-manual } Categories=System;
x (MX Welcome ) { mx-welcome } Categories=GNOME;GTK;System;MX-Tools;
x (Nvidia driver installer ) { x-terminal-emulator -e pkexec /usr/bin/ddm-mx -i nvidia } Categories=ConsoleOnly;System;MX-Tools;
x (Print Settings ) { system-config-printer } Categories=GNOME;GTK;Settings;HardwareSettings;X-GNOME-Settings-Panel;X-Unity-Settings-Panel;System;Printing;
x (Quickshot ) { mxfb-quickshot } Categories=System;X-MXFB-Tools;
x (Quick System Info ) { quick-system-info-gui } Categories=System;MX-Tools
x (Rofi Manager ) { mx-rofi-manager } Categories=System;X-MXFB-Tools;
x (ROXTerm ) { roxterm } Categories=GTK;Utility;TerminalEmulator;System;
x (Screensaver ) { xdg-open /usr/share/doc/mxfb-accessories/help_mxfb-screensaver } Categories=System;
x (Settings Manager ) { custom-toolbox /etc/custom-toolbox/mxfb-settings.list } Categories=GNOME;GTK;System;
x (Shortcuts ) { mxfb-keybindings } Categories=System;X-MXFB-Tools;
x (Synaptic Package Manager ) { synaptic-pkexec } Categories=PackageManager;GTK;System;Settings;
x (System Keyboard ) { system-keyboard-qt-launcher } Categories=XFCE;GTK;Settings;DesktopSettings;X-XFCE-SettingsDialog;X-XFCE-HardwareSettings;MX-Tools;
x (Thunar File Manager ) { thunar  } Categories=System;Utility;Core;GTK;FileTools;FileManager;
x (Tint2 Manager ) { /usr/bin/mxfb-tint2-manager } Categories=System;X-MXFB-Tools;
x (Tint2 ) { tint2 } Categories=System;
x (Titlebar ) { mxfb-top } Categories=System;
x (Trash check ) { mxfb-trashcheck } Categories=System;X-MXFB-Tools;
x (UEFI Manager ) { uefi-manager } Categories=System;MX-Tools;
x (User Installed Packages ) { user-installed-packages } Categories=System;MX-Tools;
x (Xfce Terminal ) { xfce4-terminal } Categories=GTK;System;TerminalEmulator;
[end]
[submenu] (Settings)
x (About Me ) { /usr/bin/mugshot } Categories=GNOME;GTK;Settings;X-GNOME-Settings-Panel;X-GNOME-PersonalSettings;DesktopSettings;X-XFCE;X-XFCE-SettingsDialog;X-XFCE-PersonalSettings;
x (Adblock ) { su-to-root -X -c block-advert.sh } Categories=Settings;
x (Advanced Network Configuration ) { nm-connection-editor } Categories=GNOME;GTK;Settings;X-GNOME-NetworkSettings;X-GNOME-Utilities;
x (Appfinder Settings ) { appfinder-settings } Categories=System;X-MXFB-Tools;
x (ARandR ) { arandr } Categories=Settings;HardwareSettings;
x (Bluetooth Manager ) { blueman-manager } Categories=GTK;GNOME;Settings;HardwareSettings;
x (Brightness Systray ) { mx-tweak --tray & } Categories=XFCE;Settings;DesktopSettings;MX-Tools;
x (Firewall Configuration ) { gufw } Categories=GNOME;GTK;Settings;Security;X-GNOME-Settings-Panel;X-GNOME-SystemSettings;X-Unity-Settings-Panel;X-XFCE-SettingsDialog;X-XFCE-SystemSettings;
x (LightDM GTK+ Greeter settings ) { lightdm-gtk-greeter-settings-pkexec } Categories=GNOME;GTK;Settings;System;Utility;X-XFCE-SettingsDialog;X-XFCE-SystemSettings;
x (Monitor Settings ) { lxrandr } Categories=GTK;Settings;HardwareSettings;X-LXDE-Settings;
x (MX Tools ) { mx-tools } Categories=XFCE;Settings;DesktopSettings;X-XFCE-SettingsDialog;X-XFCE-PersonalSettings;
x (MX Tweak ) { mx-tweak } Categories=XFCE;Settings;DesktopSettings;X-XFCE-SettingsDialog;X-XFCE-PersonalSettings;MX-Tools;
x (nitrogen ) { nitrogen } Categories=Utility;GTK;DesktopSettings;
x (Onboard Settings ) { onboard-settings } Categories=Settings;Accessibility;
x (Papirus Folder Colors ) { papirus-folder-colors } Categories=Settings;MX-Tools;
x (Passwords and Keys ) { seahorse  } Categories=GNOME;GTK;Security;Utility;DesktopSettings;X-XFCE-SettingsDialog;
x (Print Settings ) { system-config-printer } Categories=GNOME;GTK;Settings;HardwareSettings;X-GNOME-Settings-Panel;X-Unity-Settings-Panel;System;Printing;
x (PulseAudio Volume Control ) { pavucontrol } Categories=AudioVideo;Audio;Mixer;GTK;Settings;X-XFCE-SettingsDialog;X-XFCE-HardwareSettings;
x (Removable Drives and Media ) { thunar-volman-settings } Categories=XFCE;GTK;Settings;DesktopSettings;X-XFCE-SettingsDialog;X-XFCE-HardwareSettings;
x (Settings Manager ) { custom-toolbox /etc/custom-toolbox/mxfb-settings.list } Categories=GNOME;GTK;System;
x (Synaptic Package Manager ) { synaptic-pkexec } Categories=PackageManager;GTK;System;Settings;
x (System Keyboard ) { system-keyboard-qt-launcher } Categories=XFCE;GTK;Settings;DesktopSettings;X-XFCE-SettingsDialog;X-XFCE-HardwareSettings;MX-Tools;
x (Thunar Preferences ) { thunar-settings } Categories=XFCE;GTK;Settings;DesktopSettings;X-XFCE-SettingsDialog;X-XFCE-PersonalSettings;
x (Tint2 Settings ) { tint2conf } Categories=Settings;DesktopSettings;
x (Window Effects ) { compton-conf } Categories=Settings;DesktopSettings;Qt;LXQt;X-XFCE-SettingsDialog;X-XFCE-PersonalSettings;
x (Xfce Terminal Settings ) { xfce4-terminal --preferences } Categories=XFCE;GTK;Settings;DesktopSettings;X-XFCE-SettingsDialog;X-XFCE-PersonalSettings;
[end]
[submenu] (Other)
x (Exit options ) { exit-options } Categories=Accessories;
[end]
[end]

Re: mxfb2025: Menus

Posted: Thu Aug 07, 2025 12:32 pm
by siamhie
siamhie wrote: Wed Aug 06, 2025 10:52 pm
AA BB wrote: Wed Aug 06, 2025 9:38 pm
siamhie wrote: Tue Aug 05, 2025 10:49 pm
Open the root menu (All Apps) and click on Update at the bottom. Does that fix it?
I've already tried this previously ...it does not fix the problem
@AA BB What does your menu entry look like?
Root menu > Settings > Configure > Menus > Main. (Post it in code tags...the </> icon)

@AA BB What about the main menu entry?

Never mind. I see the problem with your full_menu file.
Every entry is crossed out.

Code: Select all

x (Archive Manager ) { file-roller  } Categories=GTK;GNOME;Utility;Archiving;Compression;X-GNOME-Utilities;
Edit full_menu and replace all of the x's in front of each entry on the list with [exec].

Re: mxfb2025: Menus

Posted: Thu Aug 07, 2025 12:36 pm
by AA BB
@AA BB What does your menu entry look like?
Root menu > Settings > Configure > Menus > Main. (Post it in code tags...the </> icon)

Code: Select all

#the default versions of the submenus are located in /usr/share/mxflux/menu

[begin] (MX Fluxbox)
		[submenu] (All Apps)
            [include] (~/.fluxbox/submenus/full_menu)
            [separator]
            [exec] (Update)  {/usr/bin/mxfb-menu-generator}
            [exec] (Disable) {mx-tweak --other}
   [end]
	[submenu] (Recent files) 
			[include] (~/.fluxbox/submenus/recent_files_menu)
			[separator]
			[exec] (Update) {~/.fluxbox/scripts/recentfiles-fbmenu}
		[end]
	[separator]
    [exec] (Browser) {sensible-browser}
    [exec] (File manager) {exo-open $HOME/.fluxbox} 
    [submenu] (Extras)
    	[exec] (Weather) {mxfb-simple-weather}
    	[submenu] (Window options)
    	   	[Exec] (Border) {mxfb-borders}
    		[Exec] (Titlebar) {mxfb-top}
        [end]
        [exec] (Xkcd) {bl-xkcd}
    [end]
    [exec] (Help) {mxfb-help}
    [exec] (Music) {deadbeef}
    [exec] (Run) {mxfb-rofirun}
    [exec] (Settings manager) {custom-toolbox /etc/custom-toolbox/mxfb-settings.list} 
    [exec] (Terminal) {roxterm} 
    [separator]
    [submenu] (Appearance)
    [include] (~/.fluxbox/submenus/appearance)
    [end]
    [submenu] (Settings)
    [include] (~/.fluxbox/submenus/settings)
    [end]
    [submenu] (Out of sight)
        [include] (~/.fluxbox/submenus/out-of-sight)
    [end]
    [submenu] (Leave)
        [exec] (Refresh) {fluxbox-remote restart; idesktoggle idesk refresh }
        [exec] (Suspend) {sudo 'pm-suspend'}
        [exit] (Logout) 
        [exec] (Reboot) {sudo /sbin/reboot} 
        [exec] (Shutdown) {sudo /sbin/halt}
    [end]
[end]

Re: mxfb2025: Menus

Posted: Thu Aug 07, 2025 1:18 pm
by AA BB
Never mind. I see the problem with your full_menu file.
Every entry is crossed out.

Code: Select all

x (Archive Manager ) { file-roller  } Categories=GTK;GNOME;Utility;Archiving;Compression;X-GNOME-Utilities;
Edit full_menu and replace all of the x's in front of each entry on the list with [exec].
I've edited this file twice to remove the "x " characters at the start of each line... but after I reboot the file gets reset with all the "x " again ...Dont quite get what the reasoning behind this is, but it should be changed in my humble opinion. I fully support the basic idea that these menus /submenus should be user edit-able, but resetting the "x " makes no sense

Re: mxfb2025: Menus

Posted: Thu Aug 07, 2025 1:25 pm
by dolphin_oracle
AA BB wrote: Thu Aug 07, 2025 1:18 pm
Never mind. I see the problem with your full_menu file.
Every entry is crossed out.

Code: Select all

x (Archive Manager ) { file-roller  } Categories=GTK;GNOME;Utility;Archiving;Compression;X-GNOME-Utilities;
Edit full_menu and replace all of the x's in front of each entry on the list with [exec].
I've edited this file twice to remove the "x " characters at the start of each line... but after I reboot the file gets reset with all the "x " again ...Dont quite get what the reasoning behind this is, but it should be changed in my humble opinion. I fully support the basic idea that these menus /submenus should be user edit-able, but resetting the "x " makes no sense
it shouldn't be making those x.

can you post the output of

Code: Select all

locale
and

Code: Select all

cat /usr/bin/mxfb-menu-generator
and

Code: Select all

cat $HOME/.fluxbox/startup
please.

Re: mxfb2025: Menus

Posted: Thu Aug 07, 2025 1:36 pm
by AA BB
L ~ $locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=


///////////////////////
LL ~ $cat $HOME/.fluxbox/startup
#!/bin/sh
#
# fluxbox startup-script:
#
# Lines starting with a '#' are ignored.

# Applications you want to run with fluxbox.
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.

#setup default translated mx-fluxbox menu
#only do on first setup of new user
#upgrades are handled by mxflux_install.sh script

# localize fluxbox menu
# to reset default localized menu configuration, delete ~/.fluxbox/menu-chkd
# logout, then log back in to fluxbox session
localize_fluxbox_menu-mx

# mx-welcome if configured to autostart
if [ -e $HOME/.config/autostart/mx-welcome.desktop ]; then
# launch mx-welcome
(sleep 5; /usr/bin/mx-welcome) &
fi

# User folders update
xdg-user-dirs-update
# Update common folders names to match current locale
xdg-user-dirs-gtk-update

#start a compositor if using complicated conkies
#compton &

#set number of seconds before inactive screen turns off
xset -dpms && xset s 600

#add system monitors
#gkrellm &

# arandr genrated screenlayout
# before conky

# export Qt variables
export QT_QPA_PLATFORMTHEME=gtk2
export QT_PLATFORMTHEME=gtk2
export QT_PLATFORM_PLUGIN=gtk2

# add selected tint2 panel
tint2session

# add desktop icons
idesktoggle idesk on 1>/dev/null 2>&1 &

# add root access
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &

#set the default dock
$HOME/.fluxbox/scripts/DefaultDock.mxdk

#conky to follow conky toggle settings
conkystart

#place network manager on the toolbar
nm-applet &

#start pipewire before volumeicon so unmute works
pipewire-start
sleep 2
volumeicon -c volumeicon-fluxbox &

#place clipboard on the toolbar
xfce4-clipman &

#put brightness controller and battery monitor on toolbar
#tint2 has its own battery widget so this is unnecessaary
#xfce4-power-manager &

# start user accessibility bus - if not already running
/usr/libexec/at-spi-bus-launcher --launch-immediately &

#update app menu if it doesn't exist
if [ ! -f $HOME/.fluxbox/submenus/full_menu ]; then
command -v mxfb-menu-generator && mxfb-menu-generator
fi

#get last background selected
#~/.fehbg
nitrogen --restore

# Debian-local change:
# - fbautostart has been added with a quick hack to check to see if it
# exists. If it does, we'll start it up by default.
which fbautostart > /dev/null
if [ $? -eq 0 ]; then
fbautostart
fi

# put apt-notifier on the toolbar
(sleep 6; /usr/bin/apt-notifier) &

# start spice-vdagent in KVM/Qemu
if [ -x /usr/bin/spice-vdagent ]; then
pidof -q spice-vdagentd && /usr/bin/spice-vdagent
fi

# And last but not least we start fluxbox.
# Because it is the last app you have to run it with ''exec'' before it.

exec fluxbox
# or if you want to keep a log:
# exec fluxbox -log ~/.fluxbox/log
LL ~ $


////////////////////////////////////////////////////////////////////
///////////////////////
LL ~ $cat /usr/bin/mxfb-menu-generator
#!/bin/bash

### mxfb-menu-generator: a tiny script to Create a (non dynamic) fluxbox menu using information on .desktop files, released by PPC, 7/10/2020, under GPLv3
### Modified by MX Linux Devs for use in MX-Fluxbox August 2021

### How to use this script:
### 1. Copy the script below and paste it into your text editor, saving it in your Home as MXFB_menu_generator.sh
### 2. Navigate to that file, right click it > Proprieties > "Permissions" tab > Check the last field, to allow this script to run as a program
### 3. Add the following entry to your menu to access "All Categories" anywhere you want
#######################################################################################
#[submenu] (All Apps)
# [include] (~/.fluxbox/submenus/full_menu)
# [separator]
# [include] (~/.fluxbox/full_menu)
# [end]
#######################################################################################
### 4.- Now click Menu > All apps > Update menu. Wait for some seconds while the menu is generated

#ensure subfolder menu exists
if [ ! -d "$HOME/.fluxbox/submenus" ]; then
mkdir -p "$HOME/.fluxbox/submenus"
fi

#use a temp file for unsorted list
TEMPLIST="$(mktemp /tmp/mxfb-menu-generator.XXXXX)"

#preglobal file (can be removed)
PREGLOBAL="$HOME/.fluxbox/pre-global-menu.txt"

#target menu file
FILE="$HOME/.fluxbox/submenus/full_menu"

#exit if in chroot
if [ "$UID" = "0" ]; then
echo "mxfb-menu-generator: in a chroot, exiting..."
exit 0
fi

#exit if menu generation toggled off
if [ "$1" = "auto" ]; then
if [ -e "$HOME/.fluxbox/mxfb-menu-generator-disabled.chk" ]; then
exit 0
fi
fi

#check time since last build
time=0
now=$(date +"%s")
if [ -e "FILE" ]; then
time=$(stat --format %Y $FILE)
fi

if [ $(($now-$time)) -lt 5 ]; then
exit 0
fi

Encoding=UTF-8
#
# use session locale
SESSION_LANG=$(sed -n '/^Language=/{s///; s/[.].*/.UTF-8/;p;q}' ~/.dmrc 2>/dev/null) ;
LANG=${SESSION_LANG:=$LANG}

# i18n - Internationalization
#export TEXTDOMAIN=mxfb-accessories
export TEXTDOMAIN=mx-desktop-menu-l10n
export TEXTDOMAINDIR="/usr/share/locale"

CATEGORIES="Accessories Development Games Graphics Internet Multimedia MX-Tools MX-Live MX-Maintenance MX-Setup MX-Software MX-Utilities MXFB-Tools Office System Settings"
ALLAPPS=$(gettext "All Applications")
[ "$ALLAPPS" = "All Applications" ] && ALLAPPS="All Apps"

echo "Please wait, creating menu file - stored in $FILE ..."

#echo
#echo If you want to insert this 'All categories' sub-menu into your MXFB menu:
#echo 'rootMenu > Settings > Configure > Menu'
#echo and insert, anywhere you want, this code:
#echo ' [submenu] (All apps)'
#echo ' [include] (~/.fluxbox/submenus/full_menu)'
#echo ' [separator] '
#echo ' [exec] (Update Menu) {mxfb-menu-generator} '
#echo ' [end]'
#echo


#Get system language (to allow localization):
lang=${LANG%%_*}

#Loop through all .desktop files in the applications folder
#lang=fr

LIST="/usr/share/applications/*.desktop"

if [ -n "$(find /var/lib/flatpak/exports/share/applications/ -name *.desktop 2>/dev/null)" ]; then
LIST="$LIST /var/lib/flatpak/exports/share/applications/*.desktop"
fi

if [ -n "$(find $HOME/.local/share/applications/ -name *.desktop 2>/dev/null)" ]; then
LIST="$LIST $HOME/.local/share/applications/*.desktop"
fi

if [ -n "$(find $HOME/.local/share/flatpak/exports/share/applications/ -name *.desktop 2>/dev/null)" ]; then
LIST="$LIST $HOME/.local/share/flatpak/exports/share/applications/*.desktop"
fi

if [ -n "$(find /usr/share/applications/antix/ -name *.desktop 2>/dev/null)" ]; then
LIST="$LIST /usr/share/applications/antix/*.desktop"
fi

for file in $LIST
do

if [ -f "$file" ]; then
name1=$(grep -o -m 1 '^Name=.*' "$file")
### localized menu entries generator (slows the script down, but produces nearly perfect localized menus):
name2=$name1
translated_name1=$(grep -o -m 1 "^Name\[$lang\]=.*" "$file")
[ -z "$translated_name1" ] && note="No localized name found, using the original one" || name2=$translated_name1
#if the desktop file has the string "Desktop Action" simple use the original untranslated name, to avoid using a translation that's not the name of the app, but the action it does
grep -q "Desktop Action" "$file" && name2=$name1
name1=$name2
### end of localized menu entries generator

name=$(echo $name1|sed 's/.*\=//')
command1="$(grep -o -m 1 '^Exec=.*' "$file")"
command=$(echo "$command1" |sed -E 's/Exec\=//g')
name=$(echo "$name" |sed 's/[()]//g')
terminal=$(grep -o -m 1 'Terminal=.*' "$file")
if [[ $terminal == *"true"* ]]; then
command=$(echo x-terminal-emulator -e $command)
fi
categories=$(grep -o -m 1 'Categories=.*' "$file")

#process NoDisplay, OnlyShowIn, NotShowIn
nodisplay=$(grep -o -m 1 'NoDisplay=.*' "$file")
onlyshowin=$(grep -o -m 1 'OnlyShowIn=.*' "$file")
notshowin=$(grep -o -m 1 'NotShowIn=.*' "$file")
if [ -n "$onlyshowin" ]; then
if [[ ! "$onlyshowin" =~ "fluxbox" ]]; then
nodisplay=true
fi
fi
if [ -n "$notshowin" ]; then
if [[ "$notshowin" =~ "fluxbox" ]]; then
nodisplay=true
fi
fi
if [[ $nodisplay != *"rue"* ]]; then
echo "[exec] ("$name ")" "{" $command "}" $categories
fi
fi
done > "$TEMPLIST"

#process MX-Tools categories in temp list
sed -i "s/MX-Live/MX-Tools/" "$TEMPLIST"
sed -i "s/MX-Maintenance/MX-Tools/" "$TEMPLIST"
sed -i "s/MX-Setup/MX-Tools/" "$TEMPLIST"
sed -i "s/MX-Software/MX-Tools/" "$TEMPLIST"
sed -i "s/MX-Utilities/MX-Tools/" "$TEMPLIST"
sort "$TEMPLIST" > "$PREGLOBAL"
rm "$TEMPLIST"
#remove existing menu file, if it exists
if [ -e "$FILE" ]; then
rm "$FILE"
fi

#fix for repeated synaptic menu entry- first instance does not run, so, delete it:
sed -i '/{ synaptic }/d' "$PREGLOBAL"

#### Now divide applications into categories:
#This array has all the available .desktop file categories we want to have on the menu (note: the "." is a quick and dirty workaround, so the script ignores entry nr 0):
array1=( . Utility Development Game Graphics Network AudioVideo MX-Tools MX-Live MX-Maintenance MX-Setup MX-Software MX-Utilities X-MXFB-Tools Office System Settings)
#This array corresponds to the previous one, but it's the "user friendly name" that shows on the menu- NOTE: this can be translated to any language!
array2=( . $CATEGORIES)

#Begin LOCALIZATION OF Category sub-menus to a language - pt, add equivalent section for other languages:
# if [[ $lang == *"pt"* ]];
# then
# array2=( . Acessórios Desenvolvimento Jogos Graficos Internet Multimédia Escritório Sistema 'Definições globais')
# echo A criar submenus em Português
# fi
#End LOCALIZATION OF Category sub-menus

#Create the header of the file
echo "[begin] ($ALLAPPS)" >> $FILE
#Loop through the array- the last number below has to match the number of entries on $array1
for i in {1..16};
do
#Create a submenu entry for the current item on $array2
MAKESUBMENU=true
#Nested loop to check if the item on the current line of the "pre-global-menu.txt" file matches the current item on $array1, if it matches, add it to the "$FILE" file
while read p; do
if [[ $p =~ ${array1[$i]} ]]
then
if [ "$MAKESUBMENU" = "true" ]; then
echo "[submenu] ($(gettext "${array2[$i]}"))" >> $FILE
MAKESUBMENU=false
fi
echo $p >> $FILE
fi
done <"$PREGLOBAL" ;
if [ "$MAKESUBMENU" = "false" ]; then
echo '[end]' >> $FILE ;
fi
MAKESUBMENU=true
done

#Process only entries that don't fit anywhere else:
sed -i '/Utility/d' "$PREGLOBAL"
sed -i '/Development/d' "$PREGLOBAL"
sed -i '/Game/d' "$PREGLOBAL"
sed -i '/Graphics/d' "$PREGLOBAL"
sed -i '/AudioVideo/d' "$PREGLOBAL"
sed -i '/Office/d' "$PREGLOBAL"
sed -i '/System/d' "$PREGLOBAL"
sed -i '/Settings/d' "$PREGLOBAL"
sed -i '/Network/d' "$PREGLOBAL"
sed -i '/MX-Tools/d' "$PREGLOBAL"
sed -i '/MX-Live/d' "$PREGLOBAL"
sed -i '/MX-Maintenance/d' "$PREGLOBAL"
sed -i '/MX-Setup/d' "$PREGLOBAL"
sed -i '/MX-Software/d' "$PREGLOBAL"
sed -i '/MX-Utilities/d' "$PREGLOBAL"
sed -i '/MXFB-Tools/d' "$PREGLOBAL"


#check if the file is not empty, create last submenu and populate it
if [ -n "$(grep exec "$PREGLOBAL")" ]; then
echo "[submenu] ($(gettext "Other"))" >> $FILE
while read p; do
echo $p >> $FILE
done <"$PREGLOBAL" ;
echo '[end]' >> $FILE
fi

###Fix menu errors, so Libreoffice, etc, work without errors
delete="%U"
sed -e s/$delete//g -i $FILE
delete="%u"
sed -e s/$delete//g -i $FILE
delete="%F"
sed -e s/$delete//g -i $FILE
delete="%f"
sed -e s/$delete//g -i $FILE

##add [end] to the end, to match the very first [begin]
echo "[end]" >> $FILE

#modify menu to remove empty mx-tools entries
sed -i '0,/\[submenu\] (MX-Live)/{//!b; :a; n; /\[end\]/d; ba;}' $FILE
sed -i "/\[submenu\] (MX-Live)/d" $FILE
sed -i '0,/\[submenu\] (MX-Maintenance)/{//!b; :a; n; /\[end\]/d; ba;}' $FILE
sed -i "/\[submenu\] (MX-Maintenance)/d" $FILE
sed -i '0,/\[submenu\] (MX-Setup)/{//!b; :a; n; /\[end\]/d; ba;}' $FILE
sed -i "/\[submenu\] (MX-Setup)/d" $FILE
sed -i '0,/\[submenu\] (MX-Software)/{//!b; :a; n; /\[end\]/d; ba;}' $FILE
sed -i "/\[submenu\] (MX-Software)/d" $FILE
sed -i '0,/\[submenu\] (MX-Utilities)/{//!b; :a; n; /\[end\]/d; ba;}' $FILE
sed -i "/\[submenu\] (MX-Utilities)/d" $FILE

echo Menu file created and ready to be used

#cleanup preglobal
#rm "$PREGLOBAL"

#if fluxbox running, reload menu
test=$(ps -aux)
if [[ "$test" == *"startfluxbox" ]]; then
pkill -SIGUSR1 fluxbox
killall -SIGUSR1 conky 2>/dev/null
fi
exit 0
LL ~ $

Re: mxfb2025: Menus

Posted: Thu Aug 07, 2025 1:46 pm
by dolphin_oracle
thank you.

ok last one

Code: Select all

grep menu $HOME/.fluxbox/init

Re: mxfb2025: Menus

Posted: Thu Aug 07, 2025 1:48 pm
by Eadwine Rose
Please post code on the forum like this:

[code]code output here[/code]

Thanks.

Re: mxfb2025: Menus

Posted: Thu Aug 07, 2025 1:53 pm
by AA BB

Code: Select all

grep menu $HOME/.fluxbox/init
session.screen0.menu.alpha:	255
session.screen0.menuDelay:	200
session.screen0.windowMenu:	~/.fluxbox/submenus/windowmenu
session.menuSearch:	itemstart
session.menuFile:	~/.fluxbox/menu-mx
LL ~ $


Re: mxfb2025: Menus

Posted: Thu Aug 07, 2025 2:02 pm
by AA BB
Eadwine Rose wrote: Thu Aug 07, 2025 1:48 pm Please post code on the forum like this:

[code]code output here[/code]

Thanks.
Am I misinformed.. is there a way to quickly generate a blank

Code: Select all

 block  without typing the characters?

Re: mxfb2025: Menus

Posted: Thu Aug 07, 2025 2:04 pm
by Eadwine Rose
You can edit things pressing the pencil, selecting text, then clicking </> next to the quote. Then you can maybe put in a space.

Re: mxfb2025: Menus

Posted: Thu Aug 07, 2025 2:28 pm
by dolphin_oracle
I just realized that isn't actually our menu, at least not the mx 25 version that pertains to this thread.

I don't know what this is: its a menu from the mx23 set. I don't think it matters to the AA BB's problem.

Code: Select all

[submenu] (Recent files) 
			[include] (~/.fluxbox/submenus/recent_files_menu)
			[separator]
			[exec] (Update) {~/.fluxbox/scripts/recentfiles-fbmenu}

Re: mxfb2025: Menus

Posted: Thu Aug 07, 2025 2:37 pm
by AA BB
dolphin_oracle wrote: Thu Aug 07, 2025 2:28 pm I just realized that isn't actually our menu, at least not the mx 25 version that pertains to this thread.

I don't know what this is:

Code: Select all

[submenu] (Recent files) 
			[include] (~/.fluxbox/submenus/recent_files_menu)
			[separator]
			[exec] (Update) {~/.fluxbox/scripts/recentfiles-fbmenu}

The only MXFB mods I,ve made after installing MX23 FB relate to using DockMaster ... I have no idea where this came from.
For what it's worth, any edits made to file .fluxbox/submenus/full_menu are negated by AllApps > update

Re: mxfb2025: Menus

Posted: Thu Aug 07, 2025 2:46 pm
by dolphin_oracle
well something is screwy for sure, because mxfb-menu-generator shouldn't be able to even make an entry with an "x" in front. the [exec] is hard coded. but maybe a sed command is out of whack, although its not jumping out at me, and I can't duplicate the error.

just to be complete.

Code: Select all

ls -l ~/.fluxbox/submenus/

Re: mxfb2025: Menus

Posted: Thu Aug 07, 2025 2:55 pm
by AA BB

Code: Select all

LL ~ $ls -l ~/.fluxbox/submenus/
total 36
-rw-r--r-- 1 LL LL  1236 Apr  4 13:06 appearance
-rw-r--r-- 1 LL LL 15386 Aug  7 14:28 full_menu
-rw-r--r-- 1 LL LL   675 Aug  7 13:04 out-of-sight
-rw-r--r-- 1 LL LL  4058 Aug  7 13:02 recent_files_menu
-rw-r--r-- 1 LL LL  1297 May 18  2024 settings
-rw-r--r-- 1 LL LL   168 May 18  2024 windowmenu
LL ~ $

Clearly something in the ALL APPS > update code is restoring file full_menu prefixed with all "x " characters

Re: mxfb2025: Menus

Posted: Thu Aug 07, 2025 3:05 pm
by AA BB
Exact same problem appears on another PC that has MX23 FB installed with no modifications outside of DockMaster

Re: mxfb2025: Menus

Posted: Thu Aug 07, 2025 3:12 pm
by dolphin_oracle
AA BB wrote: Thu Aug 07, 2025 3:05 pm Exact same problem appears on another PC that has MX23 FB installed with no modifications outside of DockMaster
I will investigate further on an mx23 installation.

Re: mxfb2025: Menus

Posted: Thu Aug 07, 2025 3:23 pm
by i_ri
Hello AA BB
content of
~/.fluxbox/pre-global-menu.txt
Does it have "[exec]" or "x" at the line start
for the (Exit options ) which is in that file?

Re: mxfb2025: Menus

Posted: Thu Aug 07, 2025 3:37 pm
by siamhie
AA BB wrote: Thu Aug 07, 2025 2:02 pm
Eadwine Rose wrote: Thu Aug 07, 2025 1:48 pm Please post code on the forum like this:

[code]code output here[/code]

Thanks.
Am I misinformed.. is there a way to quickly generate a blank block without typing the characters?

When composing a message, you can use the </> icon for text that needs to be in code bracketing.
When you want to put a space between sections, press enter a couple of times to move the cursor down in the edit window.

Re: mxfb2025: Menus

Posted: Thu Aug 07, 2025 4:22 pm
by AA BB
i_ri wrote: Thu Aug 07, 2025 3:23 pm Hello AA BB
content of
~/.fluxbox/pre-global-menu.txt
Does it have "[exec]" or "x" at the line start
for the (Exit options ) which is in that file?
here the complete file contents...

Code: Select all

LL ~ $cat ~/.fluxbox/pre-global-menu.txt
[exec] (Exit options ) { exit-options } Categories=Accessories;
LL ~ $
[/code?

Re: mxfb2025: Menus

Posted: Thu Aug 07, 2025 4:59 pm
by siamhie
AA BB wrote: Thu Aug 07, 2025 4:22 pm
i_ri wrote: Thu Aug 07, 2025 3:23 pm Hello AA BB
content of
~/.fluxbox/pre-global-menu.txt
Does it have "[exec]" or "x" at the line start
for the (Exit options ) which is in that file?
here the complete file contents...

Code: Select all

LL ~ $cat ~/.fluxbox/pre-global-menu.txt
[exec] (Exit options ) { exit-options } Categories=Accessories;
LL ~ $

@AA BB Could you please start a new topic here viewforum.php?f=143 as this thread is for the discussion of the upcoming MX-25 fluxbox menu layout.

Re: mxfb2025: Menus

Posted: Thu Aug 07, 2025 5:02 pm
by i_ri
suspended upon move to viewtopic.php?p=827810#p827810