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
i_ri
Posts: 1102
Joined: Tue Jun 30, 2015 12:26 am

Re: mxfb-2025 development ideas

#21 Post by i_ri »

Hello Jerry3904 and Everyone
Not intended to replace the fluxbox alt+d.
show desktop behavior supplement
Sample

Code: Select all

Control Mod1 Up :ToggleCmd {MacroCmd {ShowDesktop} {Deiconify}} {ForEach {Deiconify}} 
It has one vulnerability. That vulnerability is xfce4-panel.
Screenshot by Melber shows a fluxbox with xfce4-panel;
maybe Melber found the vulnerability. Running a xfce4-panel
alternates focus between one xfce4 and one tint2 panel. When they trade places there is a dead end with no tint2 on the screen.

There is a workaround for multiple instances of xfce4-panel and multiple tint2.
Editing the command by adding the Deiconify for each xfce and tint2 panel.
Began with one tint2 so there is one Deiconify. Deiconify is short for Deiconify LastWorkspace Current.
The tint2 panel and one xfce4-panel is two Deiconify. gkrellm remains visible upon Desktop.

Code: Select all

Control Mod1 Up :ToggleCmd {MacroCmd {ShowDesktop} {Deiconify}{Deiconify} {Activate (gkrellm)} } {ForEach {Deiconify}} 
Each xfce4-panel will have a Deiconify.
Each tint2 will have a Deiconify.
Show them all, so they will not alternate visibilty.
The adjusted quantity of Deiconify keeps tint2 visible.

With this workaround the sample command can
support multiple instances of everything. Increase chance of the unanticipated. Experiment(?) beyond predictable is too many.

((tested (filter) with some programs does work to activate, raise, focus, stuff to keep visible some magnifier, on screen keyboard, gkrellm, some successes where tint2 and conky not responding similarly to filter. ))
ShowDesktop in some commands it will ignore anything after it; so trialing ForEach Iconify is at hand for trial; the ShowDesktop seems to work here.
sometimes commands after showdesktop do not run; trade-off the opposing drawback with foreach iconify is the double bracket can be read as the end of the macrocmd(?)
This is running two tint2 and two xfce4-panel, so there is four Deiconify.

Code: Select all

Control Mod1 Up :ToggleCmd {MacroCmd {ForEach {Iconify} } {Deiconify} {Deiconify} {Deiconify} {Deiconify} } {ForEach {Deiconify}} 

Control Mod1 Up :ToggleCmd {MacroCmd {ShowDesktop} {Deiconify} {Deiconify} {Deiconify} {Deiconify} } {ForEach {Deiconify}} 
Two different commands for minimize all windows and for maximize all windows
on a toggle can lead to having the toggle loaded to maximize instead of minimize when you are expecting minimize. accept that it takes two clicks sometimes when on a toggle.

Untoggle. The two different commands on a tint2 button can be separate as different mouse actions on the same one button. one action for windows down. one action for windows up. down is the intent of the button as show desktop.

User avatar
Melber
Developer
Posts: 1308
Joined: Tue Mar 23, 2021 4:19 pm

Re: mxfb-2025 development ideas

#22 Post by Melber »

Melber wrote: Thu Aug 15, 2024 6:20 am Perhaps add an exit-options tab to the app-finder rofi?
something like this?

240826-rofi-exit-options.png
You do not have the required permissions to view the files attached to this post.

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

Re: mxfb-2025 development ideas

#23 Post by Jerry3904 »

That's handsome!
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: 1102
Joined: Tue Jun 30, 2015 12:26 am

Re: mxfb-2025 development ideas

#24 Post by i_ri »

Hello Jerry3904
mxfb-menu-generator

Code: Select all

onlyshowin=$(grep -o -m 1 'OnlyShowIn=.*' "$file")
if [[ $onlyshowin != "" ]]; then
nodisplay=rue
fi
inserted at lines 136-139

Code: Select all

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")

 nodisplay=$(grep -o -m 1 'NoDisplay=.*' "$file")
 onlyshowin=$(grep -o -m 1 'OnlyShowIn=.*' "$file")
  if [[ $onlyshowin != "" ]]; then
    nodisplay=rue
  fi
  if [[ $nodisplay == *"rue"* ]]; then
    Note="not adding this entry to menu because it has a nodisplay flag"
   else
    echo "[exec] ("$name ")" "{" $command "}" $categories
  fi
If OnlyShowIn has value, then trigger do not-print [Note] switch.
Unsure the extent of what it blocks.
The xfce "Log Out" i really wanted it gone from mxfluxbox menu. (xfce Log Out is in rofi too.)
Trial on mxfluxbox session alongside KDE, Mate, XFCE this blocked menu item System >Log Out. Log Out is xfce4 logout. Blocked Panel [XFCE], KDE menu editor.
Trial on mxfluxbox session alongside XFCE this blocked menu items Log Out [xfce4-session-logout] and About XFCE.
Trial on straight up MX23mxfluxbox seems harmless. Not a difference.
Last edited by i_ri on Fri Aug 30, 2024 1:18 pm, edited 1 time in total.

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

Re: mxfb-2025 development ideas

#25 Post by siamhie »

@Jerry3904 Regarding post #2 (submenu for mx-tools), this is what I had in mind.

Code: Select all

[submenu] (MX Tools)
[exec] (About MX Linux ) { mx-welcome --about } Categories=GNOME;GTK;System;MX-Setup;
[exec] (MX Boot Options ) { mx-boot-options } Categories=GNOME;GTK;System;MX-Maintenance
[exec] (MX Boot Repair ) { mx-boot-repair } Categories=System;MX-Maintenance;
[exec] (MX Cleanup ) { mx-cleanup } Categories=System;MX-Maintenance
[exec] (MX Comfort ) { mxfb-comfort } Categories=System;
[exec] (MX Conky ) { mx-conky } Categories=GNOME;GTK;System;MX-Setup
[exec] (MX Date & Time ) { mx-datetime } Categories=GNOME;GTK;System;MX-Setup;
[exec] (MX Dockmaker ) { mx-dockmaker } Categories=System;MX-Utilities;
[exec] (MX Fix GPG keys ) { x-terminal-emulator -e pkexec checkaptgpg --wait-at-end } Categories=PackageManager;System;MX-Software;
[exec] (MX Idesktool ) { mx-idesktool } Categories=System; MX-Utilities
[exec] (MX Live USB Maker ) { mx-live-usb-maker } Categories=System;MX-Live;
[exec] (MX Locale ) { mx-locale } Categories=System;MX-Setup;X-antiX;
[exec] (MX Network Assistant ) { mx-network-assistant } Categories=System;MX-Setup;
[exec] (MX Package Installer ) { mx-packageinstaller } Categories=System;MX-Software;
[exec] (MX RemasterCC ) { mx-remastercc } Categories=GNOME;GTK;System;MX-Live
[exec] (MX Repo Manager ) { mx-repo-manager } Categories=GNOME;GTK;System;MX-Software;
[exec] (MX Select Sound ) { mx-select-sound } Categories=GNOME;GTK;System;MX-Setup
[exec] (MX Service Manager ) { mx-service-manager } Categories=GNOME;GTK;System;MX-Maintenance;
[exec] (MX Snapshot ) { mx-snapshot } Categories=GNOME;GTK;System;MX-Live;
[exec] (MX Tools ) { mx-tools } Categories=XFCE;Settings;DesktopSettings;X-XFCE-SettingsDialog;X-XFCE-PersonalSettings;
[exec] (MX Tour ) { mx-tour } Categories=System;MX-Setup;
[exec] (MX Tweak ) { mx-tweak } Categories=XFCE;Settings;DesktopSettings;X-XFCE-SettingsDialog;X-XFCE-PersonalSettings;MX-Setup;
[exec] (MX USB Unmounter ) { mx-usb-unmounter } Categories=System
[exec] (MX User Manager ) { mx-user } Categories=System;MX-Maintenance;
[exec] (MX User Manual ) { mx-manual } Categories=System;
[exec] (MX Viewer ) { mx-viewer  } Categories=Qt;Network;Utilities;
[exec] (MX Welcome ) { mx-welcome } Categories=GNOME;GTK;System;MX-Setup;
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
siamhie
Global Moderator
Posts: 3350
Joined: Fri Aug 20, 2021 5:45 pm

Re: mxfb-2025 development ideas

#26 Post by siamhie »

There are duplicate entries within the submenus.

Code: Select all

Advanced Network Configuration { nm-connection-editor }
[submenu] (Internet)
[submenu] (Settings)


Conky Toggle { conkytoggle.sh }
[submenu] (Accessories)
[submenu] (System)


Hardinfo2 { hardinfo2 }
[submenu] (Accessories)
[submenu] (System)


LightDM GTK+ Greeter settings { lightdm-gtk-greeter-settings-pkexec }
[submenu] (Accessories)
[submenu] (System)
[submenu] (Settings)


Midnight Commander { x-terminal-emulator -e mc }
[submenu] (Accessories)
[submenu] (System)


MX Network Assistant { mx-network-assistant }
[submenu] (Internet)
[submenu] (System)


nitrogen { nitrogen }
[submenu] (Accessories)
[submenu] (System) <---listed as Backgrounds { nitrogen }
[submenu] (Settings)


Passwords and Keys { seahorse  }
[submenu] (Accessories)
[submenu] (Settings)


PulseAudio Volume Control { pavucontrol }
[submenu] (Multimedia)
[submenu] (Settings)


ROXTerm { roxterm }
[submenu] (Accessories)
[submenu] (System)


Settings Manager { custom-toolbox /etc/custom-toolbox/mxfb-settings.list }
[submenu] (System)
[submenu] (Settings)


Synaptic Package Manager { synaptic-pkexec }
[submenu] (System)
[submenu] (Settings)


System Keyboard { system-keyboard-qt-launcher }
[submenu] (System)
[submenu] (Settings)


Thunar File Manager { thunar  }
[submenu] (Accessories)
[submenu] (System)



VirtualBox { VirtualBox  }
[submenu] (Accessories)
[submenu] (System)


Xfburn { xfburn }
[submenu] (Accessories)
[submenu] (Multimedia)
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
Jerry3904
Administrator
Posts: 23213
Joined: Wed Jul 19, 2006 6:13 am

Re: mxfb-2025 development ideas

#27 Post by Jerry3904 »

Thanks. It's the script that produces that submenu which s the problem that I see--but I don't even intend to start looking at this seriously for quite a while.
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
siamhie
Global Moderator
Posts: 3350
Joined: Fri Aug 20, 2021 5:45 pm

Re: mxfb-2025 development ideas

#28 Post by siamhie »

Could we have an option to move the exit-options bar around?
(and maybe select which icons to show...I only use suspend, restart and shutdown)


Image
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
siamhie
Global Moderator
Posts: 3350
Joined: Fri Aug 20, 2021 5:45 pm

Re: mxfb-2025 development ideas

#29 Post by siamhie »

Jerry3904 wrote: Wed Aug 28, 2024 5:43 pm Thanks. It's the script that produces that submenu which s the problem that I see--but I don't even intend to start looking at this seriously for quite a while.

That's OK. I thought that if I posted in this thread, it could be referenced at a later time.
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
Jerry3904
Administrator
Posts: 23213
Joined: Wed Jul 19, 2006 6:13 am

Re: mxfb-2025 development ideas

#30 Post by Jerry3904 »

Sure can.
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

Post Reply

Return to “MX Fluxbox Official Release”