Page 1 of 1
MX fluxbox When MInimise all windows done by Alt+D, it hides Taskbar too
Posted: Sun Dec 10, 2023 2:08 pm
by Sree
Hi Great souls out there
Greetings
Problem : in MX Fluxbox, when minimising all open windows at a time using Alt+D, taskbar also hidden.
System info:
Kernel: 6.1.0-13-amd64 [6.1.55-1] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
Desktop: Fluxbox v: 1.3.7 info: tint2 vt: 7 dm: LightDM v: 1.26.0 Distro: MX-23.1_fluxbox_x64
Libretto October 15 2023 base: Debian GNU/Linux 12 (bookworm)
Thanks in Advance!
Re: MX fluxbox When MInimise all windows done by Alt+D, it hides Taskbar too
Posted: Sun Dec 10, 2023 2:16 pm
by Charlie Brown
It may be good to share your ~/.config/tint2/gb-tint2rc
Re: MX fluxbox When MInimise all windows done by Alt+D, it hides Taskbar too
Posted: Sun Dec 10, 2023 2:17 pm
by Sree
Charlie Brown wrote: Sun Dec 10, 2023 2:16 pm
It may be good to share your ~/.config/tint2/gb-tint2rc
Done
Re: MX fluxbox When MInimise all windows done by Alt+D, it hides Taskbar too
Posted: Sun Dec 10, 2023 2:24 pm
by Charlie Brown
... Errr.. ok.. but this is the preferred way, using the </> button, like this:
Re: MX fluxbox When MInimise all windows done by Alt+D, it hides Taskbar too
Posted: Sun Dec 10, 2023 2:35 pm
by Sree
You mean as below>?
Code: Select all
#---- Generated by tint2conf c362 ----
# See https://gitlab.com/o9000/tint2/wikis/Configure for
# full documentation of the configuration options.
#-------------------------------------
# Gradients
#-------------------------------------
# Backgrounds
# Background 1: Button
rounded = 0
border_width = 0
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #000000 60
border_color = #000000 30
background_color_hover = #000000 60
border_color_hover = #000000 30
background_color_pressed = #000000 60
border_color_pressed = #000000 30
# Background 2: Default task, Iconified task
rounded = 5
border_width = 1
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #777777 20
border_color = #777777 30
background_color_hover = #aaaaaa 22
border_color_hover = #eaeaea 44
background_color_pressed = #555555 4
border_color_pressed = #eaeaea 44
# Background 3: Active task, Battery, Panel, Systray
rounded = 4
border_width = 1
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #777777 20
border_color = #ffffff 40
background_color_hover = #aaaaaa 22
border_color_hover = #eaeaea 44
background_color_pressed = #555555 4
border_color_pressed = #eaeaea 44
# Background 4: Urgent task
rounded = 4
border_width = 1
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #aa4400 100
border_color = #aa7733 100
background_color_hover = #cc7700 100
border_color_hover = #aa7733 100
background_color_pressed = #555555 4
border_color_pressed = #aa7733 100
# Background 5: Active taskbar, Clock, Tooltip
rounded = 1
border_width = 1
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #222222 100
border_color = #333333 100
background_color_hover = #151510 100
border_color_hover = #000000 100
background_color_pressed = #ffffaa 100
border_color_pressed = #000000 100
#-------------------------------------
# Panel
panel_items = PLPPP::T:SBCP
panel_size = 100% 36
panel_margin = 1 0
panel_padding = 3 0 2
panel_background_id = 3
wm_menu = 1
panel_dock = 0
panel_pivot_struts = 0
panel_position = bottom center horizontal
panel_layer = top
panel_monitor = all
panel_shrink = 0
autohide = 0
autohide_show_timeout = 0
autohide_hide_timeout = 0
autohide_height = 1
strut_policy = follow_size
panel_window_name = tint2
disable_transparency = 1
mouse_effects = 1
font_shadow = 0
mouse_hover_icon_asb = 71 -4 10
mouse_pressed_icon_asb = 100 2 2
scale_relative_to_dpi = 0
scale_relative_to_screen_height = 0
#-------------------------------------
# Taskbar
taskbar_mode = multi_desktop
taskbar_hide_if_empty = 0
taskbar_padding = 0 0 0
taskbar_background_id = 0
taskbar_active_background_id = 5
taskbar_name = 0
taskbar_hide_inactive_tasks = 0
taskbar_hide_different_monitor = 0
taskbar_hide_different_desktop = 0
taskbar_always_show_all_desktop_tasks = 0
taskbar_name_padding = 2 0
taskbar_name_background_id = 0
taskbar_name_active_background_id = 0
taskbar_name_font_color = #e3e3e3 100
taskbar_name_active_font_color = #ffffff 100
taskbar_distribute_size = 0
taskbar_sort_order = none
task_align = left
#-------------------------------------
# Task
task_text = 1
task_icon = 1
task_centered = 1
urgent_nb_of_blink = 100000
task_maximum_size = 150 35
task_padding = 2 2 4
task_tooltip = 1
task_thumbnail = 0
task_thumbnail_size = 210
task_font_color = #ffffff 100
task_background_id = 2
task_active_background_id = 3
task_urgent_background_id = 4
task_iconified_background_id = 2
mouse_left = toggle_iconify
mouse_middle = none
mouse_right = none
mouse_scroll_up = toggle
mouse_scroll_down = iconify
#-------------------------------------
# System tray (notification area)
systray_padding = 0 4 2
systray_background_id = 3
systray_sort = ascending
systray_icon_size = 25
systray_icon_asb = 100 0 0
systray_monitor = 1
systray_name_filter =
#-------------------------------------
# Launcher
launcher_padding = 2 4 2
launcher_background_id = 0
launcher_icon_background_id = 0
launcher_icon_size = 24
launcher_icon_asb = 100 0 0
launcher_icon_theme_override = 0
startup_notifications = 1
launcher_tooltip = 1
launcher_item_app = rofi -show drun -theme ~/.config/rofi/themes/appfinder/mxfb-appfinder.rasi
launcher_item_app = /usr/share/applications/blueman-manager.desktop
#-------------------------------------
# Clock
time1_format = %H:%M:%S
time2_format = %d %b %Y
time1_font = Noto Sans Bold 12
time1_timezone =
time2_timezone =
clock_font_color = #ffffff 100
clock_padding = 1 0
clock_background_id = 5
clock_tooltip = LEFT: calendar | RIGHT: timer
clock_tooltip_timezone =
clock_lclick_command = gsimplecal
clock_rclick_command = mxfb-timer
clock_mclick_command =
clock_uwheel_command =
clock_dwheel_command =
#-------------------------------------
# Battery
battery_tooltip = 1
battery_low_status = 15
battery_low_cmd = bash -c 'BL=$(gettext -d mxfb-accessories "Battery low:"); BP=$(acpi 2>/dev/null | grep -m1 -o '[0-9]*[0-9]%' | grep -vx 0%); [ -n "$BP" ] && notify-send -u critical "$BL $BP"'
battery_full_cmd =
bat1_font = Poky 16
bat2_font = DejaVu Sans 8
battery_font_color = #f9f06b 100
bat1_format = 3
bat2_format = %p
battery_padding = 4 6
battery_background_id = 3
battery_hide = 101
battery_lclick_command =
battery_rclick_command =
battery_mclick_command =
battery_uwheel_command =
battery_dwheel_command =
ac_connected_cmd =
ac_disconnected_cmd =
#-------------------------------------
# Separator 1
separator = new
separator_background_id = 0
separator_color = #777777 80
separator_style = empty
separator_size = 3
separator_padding = 1 0
#-------------------------------------
# Separator 2
separator = new
separator_background_id = 0
separator_color = #777777 80
separator_style = dots
separator_size = 3
separator_padding = 1 0
#-------------------------------------
# Separator 3
separator = new
separator_background_id = 0
separator_color = #777777 80
separator_style = dots
separator_size = 3
separator_padding = 1 0
#-------------------------------------
# Button 1
button = new
button_icon = /usr/local/share/icons/mxfcelogo-rounded.png
button_text =
button_tooltip = App Finder
button_lclick_command = rofi -show drun -theme ~/.config/rofi/themes/appfinder/mxfb-appfinder.rasi
button_rclick_command = appfinder-settings
button_mclick_command =
button_uwheel_command =
button_dwheel_command =
button_font_color = #000000 100
button_padding = 6 0
button_background_id = 1
button_centered = 1
button_max_icon_size = 32
#-------------------------------------
# Button 2
button = new
button_icon = /usr/share/mxflux/tint2/wrench1600_white.png
button_text =
button_tooltip = Settings manager
button_lclick_command = custom-toolbox /etc/custom-toolbox/mxfb-settings.list -r
button_rclick_command =
button_mclick_command =
button_uwheel_command =
button_dwheel_command =
button_font_color = #000000 100
button_padding = 0 3
button_background_id = 1
button_centered = 1
button_max_icon_size = 32
#-------------------------------------
# Button 3
button = new
button_icon = /usr/share/mxflux/tint2/filemanager2.png
button_text =
button_tooltip = File manager
button_lclick_command = exo-open $HOME
button_rclick_command =
button_mclick_command =
button_uwheel_command =
button_dwheel_command =
button_font_color = #000000 100
button_padding = 0 0
button_background_id = 1
button_centered = 0
button_max_icon_size = 32
#-------------------------------------
# Button 4
button = new
button_icon = /usr/share/mxflux/tint2/internet50.png
button_text =
button_tooltip = Browser
button_lclick_command = sensible-browser
button_rclick_command =
button_mclick_command =
button_uwheel_command =
button_dwheel_command =
button_font_color = #000000 100
button_padding = 3 5
button_background_id = 1
button_centered = 0
button_max_icon_size = 28
#-------------------------------------
# Button 5
button = new
button_icon = /usr/share/icons/Papirus/32x32/apps/system-log-out.svg
button_text =
button_tooltip = Exit options
button_lclick_command = exit-options
button_rclick_command = exit-options-manager
button_mclick_command =
button_uwheel_command =
button_dwheel_command =
button_font_color = #000000 100
button_padding = 3 0
button_background_id = 1
button_centered = 0
button_max_icon_size = 28
#-------------------------------------
# Tooltip
tooltip_show_timeout = 0.5
tooltip_hide_timeout = 0.1
tooltip_padding = 4 4
tooltip_background_id = 5
tooltip_font_color = #dddddd 100
Re: MX fluxbox When MInimise all windows done by Alt+D, it hides Taskbar too
Posted: Sun Dec 10, 2023 2:36 pm
by Charlie Brown
That's it :)
Re: MX fluxbox When MInimise all windows done by Alt+D, it hides Taskbar too
Posted: Sun Dec 10, 2023 2:45 pm
by ceeslans
There's a really easy fix for this.
To exclude 'tint2' from hiding , you need to set a layer-order for tint2 in
~/.fluxbox/apps file:
Code: Select all
[app] (class=Tint2)
[Layer] {12}
[end]
save the file, and log out/in again (actually a 'fluxbox-remote restart' should do the job too)
Now tint2 will no longer hide when hitting Alt+D
Edited: class-name needs be with capital
T
Re: MX fluxbox When MInimise all windows done by Alt+D, it hides Taskbar too [Solved]
Posted: Sun Dec 10, 2023 2:55 pm
by ceeslans
... and should you also want to exclude conky from hiding, then write a similar layer-order in
~/.fluxbox/apps:
Code: Select all
[app] (class=Conky)
[Layer] {12}
[end]
note: this only applies to fluxbox setup of course

Re: MX fluxbox When MInimise all windows done by Alt+D, it hides Taskbar too
Posted: Sun Dec 10, 2023 2:58 pm
by Sree
ceeslans wrote: Sun Dec 10, 2023 2:45 pm
There's a really easy fix for this.
Tried but it didnt work
Re: MX fluxbox When MInimise all windows done by Alt+D, it hides Taskbar too
Posted: Sun Dec 10, 2023 3:03 pm
by ceeslans
Sree wrote: Sun Dec 10, 2023 2:58 pm
ceeslans wrote: Sun Dec 10, 2023 2:45 pm
There's a really easy fix for this.
Tried but it didnt work
Sorry, typo:
class=
Tint2 (instead of class=
tint2)
Re: MX fluxbox When MInimise all windows done by Alt+D, it hides Taskbar too
Posted: Sun Dec 10, 2023 3:03 pm
by Sree
Sree wrote: Sun Dec 10, 2023 2:58 pm
ceeslans wrote: Sun Dec 10, 2023 2:45 pm
There's a really easy fix for this.
It worked !! Thanks , 'T' of Tint2 to be capital
Re: MX fluxbox When MInimise all windows done by Alt+D, it hides Taskbar too
Posted: Sun Dec 10, 2023 3:10 pm
by ceeslans
Sree wrote: Sun Dec 10, 2023 3:03 pm
Sree wrote: Sun Dec 10, 2023 2:58 pm
ceeslans wrote: Sun Dec 10, 2023 2:45 pm
There's a really easy fix for this.
It worked !! Thanks , 'T' of Tint2 to be capital

Re: MX fluxbox When MInimise all windows done by Alt+D, it hides Taskbar too
Posted: Sun Dec 10, 2023 4:21 pm
by Melber
Code: Select all
[app] (class=Tint2)
[Layer] {12}
[end]
Code: Select all
[app] (class=Conky)
[Layer] {12}
[end]
@ceeslans is on fire today!
@Jerry3904 Any reason not to put these in the default apps file?
Re: MX fluxbox When MInimise all windows done by Alt+D, it hides Taskbar too
Posted: Sun Dec 10, 2023 5:03 pm
by Jerry3904
I guess, need to give it a try first.
Kudos to @ceeslans !
Re: MX fluxbox When MInimise all windows done by Alt+D, it hides Taskbar too
Posted: Sun Dec 10, 2023 11:35 pm
by siamhie
Melber wrote: Sun Dec 10, 2023 4:21 pm
Code: Select all
[app] (class=Tint2)
[Layer] {12}
[end]
Code: Select all
[app] (class=Conky)
[Layer] {12}
[end]
@ceeslans is on fire today!
@Jerry3904 Any reason not to put these in the default apps file?
Can confirm the Tint2 entry works. Toolbar remains on the desktop when Mod1 d :ShowDesktop is used.
As far as the conky goes, I tweak all my conky's to own_window_type = 'desktop',
Code: Select all
own_window_type
if own_window is yes, you may specify type normal, desktop, dock, panel, utility or override.
Desktop windows are special windows that have no window decorations; are always visible
on your desktop; do not appear in your pager or taskbar; and are sticky across all workspaces.
Utility windows are like desktop windows, except they appear above everything else rather
than below. Panel windows reserve space along a desktop edge, just like panels and taskbars,
preventing maximized windows from overlapping them. The edge is chosen based on the
alignment option. Override windows are not under the control of the window manager.
Hints are ignored. This type of window can be useful for certain situations.
Re: MX fluxbox When MInimise all windows done by Alt+D, it hides Taskbar too
Posted: Mon Dec 11, 2023 3:25 am
by ceeslans
siamhie wrote: Sun Dec 10, 2023 11:35 pm
...
As far as the conky goes, I tweak all my conky's to own_window_type = 'desktop',
Code: Select all
own_window_type
if own_window is yes, you may specify type normal, desktop, dock, panel, utility or override.
Desktop windows are special windows that have no window decorations; are always visible
on your desktop; do not appear in your pager or taskbar; and are sticky across all workspaces.
Utility windows are like desktop windows, except they appear above everything else rather
than below. Panel windows reserve space along a desktop edge, just like panels and taskbars,
preventing maximized windows from overlapping them. The edge is chosen based on the
alignment option. Override windows are not under the control of the window manager.
Hints are ignored. This type of window can be useful for certain situations.
@siamhie : my conkys too all had a
own_window_type = 'desktop' setting - up until about three months ago, when I learned that the
'normal' setting is exactly the same as
'desktop', but with one advantage: it allows rightclicking within the conky area...
Re: MX fluxbox When MInimise all windows done by Alt+D, it hides Taskbar too
Posted: Mon Dec 11, 2023 10:51 am
by siamhie
ceeslans wrote: Mon Dec 11, 2023 3:25 am
@siamhie : my conkys too all had a
own_window_type = 'desktop' setting - up until about three months ago, when I learned that the
'normal' setting is exactly the same as
'desktop', but with one advantage: it allows rightclicking within the conky area...
I was having problems awhile back with my conky disappearing. When I switched to desktop, it all stopped.
The other option I could use is override which I can still open the root menu within the conky area.
Re: MX fluxbox When MInimise all windows done by Alt+D, it hides Taskbar too
Posted: Tue Dec 12, 2023 12:00 pm
by Sree
ceeslans wrote: Sun Dec 10, 2023 3:10 pm
It worked !! Thanks , 'T' of Tint2 to be capital
[/quote]

[/quote]
Hi Can you please explain the theory behind it? Just for academical interest.
How these layers are defined and why is it not closing at number 12?
Re: MX fluxbox When MInimise all windows done by Alt+D, it hides Taskbar too
Posted: Tue Dec 12, 2023 12:29 pm
by siamhie
Sree wrote: Tue Dec 12, 2023 12:00 pm
How these layers are defined and why is it not closing at number 12?
Open a terminal and type man fluxbox.
Code: Select all
Layers
fluxbox manages the following layers (from highest to lowest):
• Above Dock
• Dock
• Top
• Normal
• Bottom
• Desktop
Code: Select all
LAYERS
Layers affect the way that windows will overlap each other on the
screen. Windows on a higher layer will always appear above those on a
lower one, whether they are focused or not. Fluxbox uses 13 layers,
starting from 1 (highest).
There are two ways to assign a window to a different layer. When the
window is open, you may select the layer in the ‘Layer ...’ submenu of
the window menu. The menu gives six choices for the layer, which
fluxbox manages by name. The names are (from highest to lowest layer):
• 2 - Above Dock
• 4 - Dock
• 6 - Top
• 8 - Normal
• 10 - Bottom
• 12 - Desktop
The other way to set the layer for a window is through the ‘apps’ file.
This method is described in fluxbox-apps(5).
Re: MX fluxbox When MInimise all windows done by Alt+D, it hides Taskbar too
Posted: Tue Dec 12, 2023 1:23 pm
by Sree
Thanks!!