mxfb-2025 development ideas

Help for MX Fluxbox
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
User avatar
Melber
Developer
Posts: 1201
Joined: Tue Mar 23, 2021 4:19 pm

Re: mxfb-2025 development ideas

#121 Post by Melber »

dolphin_oracle wrote: Tue Oct 29, 2024 3:47 pm @Melber migth be good to include in app-categories for the rofi thing as well.
Great minds...
Just checked editing a few desktop files and adding an MXFB-Tools category to mxfb-appfinder, seems to work

241029-appfinder-mxfbtools.png
You do not have the required permissions to view the files attached to this post.

User avatar
Jerry3904
Administrator
Posts: 23057
Joined: Wed Jul 19, 2006 6:13 am

Re: mxfb-2025 development ideas

#122 Post by Jerry3904 »

This is awesome, you guys!
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
dolphin_oracle
Developer
Posts: 22033
Joined: Sun Dec 16, 2007 12:17 pm

Re: mxfb-2025 development ideas

#123 Post by dolphin_oracle »

added not showing empty submenus in the all apps menu
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
i_ri
Posts: 1070
Joined: Tue Jun 30, 2015 12:26 am

Re: mxfb-2025 development ideas

#124 Post by i_ri »

menu-generator, remove empty submenu version on demo
You do not have the required permissions to view the files attached to this post.

User avatar
i_ri
Posts: 1070
Joined: Tue Jun 30, 2015 12:26 am

Re: mxfb-2025 development ideas

#125 Post by i_ri »

Hello Jerry3904
mxfluxbox Settings Manager custom-toolbox on fluxbox rootmenu
add this to rootmenu

[submenu] (mxfbox of settings)
[include] (~/.fluxbox/submenus/mxfbox)
[end]

and run this command

grep -v [#=] /etc/custom-toolbox/mxfb-settings.list | sort | sed 's/.*/[exec] (&) {&}/g' > ~/.fluxbox/submenus/mxfbox

lxappearance, no appearance
is not installed.
Last edited by i_ri on Wed Nov 13, 2024 10:53 pm, edited 2 times in total.

User avatar
Jerry3904
Administrator
Posts: 23057
Joined: Wed Jul 19, 2006 6:13 am

Re: mxfb-2025 development ideas

#126 Post by Jerry3904 »

Thanks.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
i_ri
Posts: 1070
Joined: Tue Jun 30, 2015 12:26 am

Re: mxfb-2025 development ideas

#127 Post by i_ri »

Hello Jerry3904
With the window open to mx-tools 24.10.01
clicking on "Tour" mx-tour does not open;
giving this message.
"mx-tools
The Window Manager found being used is Fluxbox
Unable to parse command line: Cannot parse integer value “mx-tour” for --active-tab"
same for kde
"mx-tools
The Window Manager found being used is KWin
Unable to parse command line: Cannot parse integer value “mx-tour” for --active-tab"

User avatar
i_ri
Posts: 1070
Joined: Tue Jun 30, 2015 12:26 am

Re: mxfb-2025 development ideas

#128 Post by i_ri »

Hello
With the old version playing with special searchstring inserted into .desktop files to create a submenu item. After manual edit to get this, i do not see an easy way to automate this. manual method certainly high maintenance. After this bit of practice i go into the new version of menu-generate to play. Thanks dolphin_oracle.
Image

User avatar
siamhie
Global Moderator
Posts: 3219
Joined: Fri Aug 20, 2021 5:45 pm

Re: mxfb-2025 development ideas

#129 Post by siamhie »

i_ri wrote: Thu Oct 31, 2024 9:47 pm Hello Jerry3904
With the window open to mx-tools 24.10.01
clicking on "Tour" mx-tour does not open;
giving this message.
"mx-tools
The Window Manager found being used is Fluxbox
Unable to parse command line: Cannot parse integer value “mx-tour” for --active-tab"
same for kde
"mx-tools
The Window Manager found being used is KWin
Unable to parse command line: Cannot parse integer value “mx-tour” for --active-tab"

The issue has a temporary fix. viewtopic.php?p=796558#p796558
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.

User avatar
i_ri
Posts: 1070
Joined: Tue Jun 30, 2015 12:26 am

Re: mxfb-2025 development ideas

#130 Post by i_ri »

Hello Jerry3904, hello dolphin_oracle, and everyone
mxfb-menu-generator

Code: Select all

# Loop through the array- the last number below has to match the number of entries on $array1. One too many is an ALL submenu. All is always nice. 
# ALL drains the file; When there is ALL, then there be not "Other." Other will be on All. 
for i in {1..16};
Change (was line 228) if [ -n $(grep Exec "$PREGLOBAL") ]
did not do the job on installed. Seemingly okay on live session;
Some mystery about the word live. Is live a reserved word?
Changed the "Other" submenu mechanism.

Code: Select all

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

Of live. Introduced a test for live environment
will suppress mx-remaster and live-kernel-updater when not live.

Code: Select all

# test for live environment. remove remaster and live kernel update
[[ -d /live/linux ]] || sed -i '/{ mx-remastercc }/d' "$PREGLOBAL"
[[ -d /live/linux ]] || sed -i '/kernel-updater/d' "$PREGLOBAL"
# fix for repeated synaptic menu entry- first instance does not run, so, delete it:
sed -i '/{ synaptic }/d' "$PREGLOBAL"
Categories not used are not shown; Game is an example.
so menu-gen is running with all the "remove empty" wiped out , commented,
and works as expected (?)

Code: Select all

#modify menu to remove empty mx-tools entries
# sed -i '0,/\[submenu\] (MX-Live)/{//!b; :a; n; /\[end\]/d; ba;}' ~/.fluxbox/submenus/full_menu
# sed -i "/\[submenu\] (MX-Live)/d" ~/.fluxbox/submenus/full_menu
# sed -i '0,/\[submenu\] (MX-Maintenance)/{//!b; :a; n; /\[end\]/d; ba;}' ~/.fluxbox/submenus/full_menu
# sed -i "/\[submenu\] (MX-Maintenance)/d" ~/.fluxbox/submenus/full_menu
# sed -i '0,/\[submenu\] (MX-Setup)/{//!b; :a; n; /\[end\]/d; ba;}' ~/.fluxbox/submenus/full_menu
# sed -i "/\[submenu\] (MX-Setup)/d" ~/.fluxbox/submenus/full_menu
# sed -i '0,/\[submenu\] (MX-Software)/{//!b; :a; n; /\[end\]/d; ba;}' ~/.fluxbox/submenus/full_menu
# sed -i "/\[submenu\] (MX-Software)/d" ~/.fluxbox/submenus/full_menu
# sed -i '0,/\[submenu\] (MX-Utilities)/{//!b; :a; n; /\[end\]/d; ba;}' ~/.fluxbox/submenus/full_menu
# sed -i "/\[submenu\] (MX-Utilities)/d" ~/.fluxbox/submenus/full_menu
Categories edited in temp file is almost fun. i told it to put Game into Office and it did.
Dislike of the word Maintenance, yes put that as Tools.
The rest of the mx categories i asked for a category, by not converting to MX-Tools, each category separate; and it did.
Asked for a special searchstring be put as MXFB-Tools and it did.

Code: Select all

#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"
sed -i "s/Game/Office/" "$TEMPLIST"
sed -i "s/fBox/MXFB-Tools/" "$TEMPLIST"
The whole file in zip shows the data trialed here.
On an MXkde having vanilla fluxbox, plugged in this sample
and got the mx menu. First time that ever had an apps menu.
synaptic package manager is MX repository. Does that qualify synaptic aptitude, discover, nala, pac age managers, as MX-Software menu?
Does this sample provide the menu you expect?

Image
You do not have the required permissions to view the files attached to this post.

Locked

Return to “MX Fluxbox Official Release”