Review your favorite Linux distribution.
Go Back > Blogs > linux-related notes
User Name


Just annotations of little "how to's", so I know I can find how to do something I've already done when I need to do it again, in case I don't remember anymore, which is not unlikely. Hopefully they can be useful to others, but I can't guarantee that it will work, or that it won't even make things worse.
Rate this Entry

Second auto-hiding tint2 panel equivalent to Openbox' client-list combined menu, on the top-center of the screen

Posted 03-10-2021 at 03:13 PM by the dsc
Updated 03-10-2021 at 03:36 PM by the dsc
Tags openbox, tint2

The client-list combined menu shows a list of windows from all desktops, with the window titles. It's good for moving fast to a given window when you have lots of them spread around, maximized and minimized. But it does not allow you to move windows between desktops, and requires a click in order to be activated.

Tint2 taskbar is able to do both things, and does not need clicking to be brought, with the auto-hide functionality set. But the standard inconvenience is that it's a horizontal menu, so titles are cropped, which loses functionality. It can be set as a vertical menu, but by default, tint2 vertical menus are supposed to be at the sides of the screen, not at the top. If set at the center, there will be a pixel-thick line in the middle of the screen.

But this design can still be achieved with a particular combination of configs of Openbox and Tint2. The tint2 theme should be set to be vertical on the laterals, not to auto-hide, and also configured as a "dock." Then on Openbox' rc.xml you add configuration for an auto-hiding dock at the top and center of the screen, and it works as one would hope to.

Maybe not everything set up optimally yet, but these are probably the relevant bits of config files:

<!--   <hideDelay>300</hideDelay> -->
<!--   <showDelay>300</showDelay> -->
<!--   <moveButton>Button8</moveButton> -->

# Panel
panel_items = T
panel_size = 100% 500
panel_margin = 0 0
panel_padding = 2 2 0
panel_background_id = 8
wm_menu = 0
panel_dock = 1
panel_position = top left vertical
panel_layer = top
panel_monitor = all
panel_shrink = 1
autohide = 0
autohide_show_timeout = 0.4
autohide_hide_timeout = 0
autohide_height = 0
strut_policy = none
panel_window_name = tint2workspaces
disable_transparency = 0
mouse_effects = 1
font_shadow = 0
mouse_hover_icon_asb = 99 0 10
mouse_pressed_icon_asb = 100 0 0
scale_relative_to_dpi = 0
scale_relative_to_screen_height = 0
Posted in Uncategorized
Views 250 Comments 0
« Prev     Main     Next »
Total Comments 0




All times are GMT -5. The time now is 10:30 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration