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}}
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 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}}
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.