You are not logged in.

#21 2017-02-25 18:12:54

o9000
tint2 developer
From: Network Neighborhood
Registered: 2015-10-24
Posts: 417
Website

Re: Intelli-hide for Tint2

For what it's worth, with

panel_layer = normal

in the config, it should stay behind full screen windows even without the dock.

Offline

#22 2017-02-26 09:10:12

nore
>2⁹
From: squirrels' nest
Registered: 2015-09-29
Posts: 537

Re: Intelli-hide for Tint2

o9000 wrote:

it should stay behind full screen windows even without the dock.

Yes, but Dobbie also wants it to pop on top when mouse hovers over screen edge.

Offline

#23 2017-02-26 11:32:56

nore
>2⁹
From: squirrels' nest
Registered: 2015-09-29
Posts: 537

Re: Intelli-hide for Tint2

Possible, if not optimal workarounds:

  1. Use xfce4-panel and theme it in GTK.

  2. Use two tint2 panels: one always on bottom layer, another to launch in hot corner or by keybind.

Last edited by nore (2017-02-26 13:03:37)

Offline

#24 2017-11-16 20:56:55

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: Intelli-hide for Tint2

I have a short panel being only the systray with

panel_position = top right horizontal

and

autohide = 1

It's been working great, however when it opens, the full-sized window gets resized a bit (upper part) in order to show the panel. I tried

panel_dock = 1

which looks like exactly what I want, however the panel position is now "bottom middle horizontal". Is there a way to get it back to the top right position?

Offline

#25 2017-11-16 21:03:21

o9000
tint2 developer
From: Network Neighborhood
Registered: 2015-10-24
Posts: 417
Website

Re: Intelli-hide for Tint2

Yes. See http://openbox.org/wiki/Help:Configuration#Dock

It can be done with obconf, but it's borked on my system, so I can't look it up.

Offline

#26 2017-11-16 21:55:25

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: Intelli-hide for Tint2

Indeed, thank you! The settings in the menu are in Preferences/Openbox/GUI Config Tool/Dock.

However it did not change much as full-sized windows still get resized (I was trying to set the panel in a way that it always appears above other windows). Actually it's only a cosmetic issue, all in all it works fine while resizing windows.

Offline

#27 2017-11-16 22:16:29

tknomanzr
BL Die Hard
From: Around the Bend
Registered: 2015-09-29
Posts: 1,057

Re: Intelli-hide for Tint2

Frrom openbox wiki:

noStrut Specifies that the dock should not set a strut, which means it won't stop windows from being placed or maximized over it. When position is set to Floating, this is always on, since openbox doesn't guess which edge it should belong to based on just the position. You can use margins to emulate that if you want.

And also from the tint2 wiki:

How to maximize windows over tint2


You can manage the ordering of tint2 and other windows with:


panel_layer = bottom/normal/top
strut_policy = follow_size/minimum/none
autohide_height = integer
panel_dock = 0/1

If you want maximized windows to never cover tint2:


panel_layer = top
strut_policy = follow_size

If you want maximized windows to appear behind tint2:


panel_layer = top
strut_policy = none

If you want maximized windows to appear behind tint2, but have 2 pixels free so you can use desktop action (right click, ...):


panel_layer = top
strut_policy = minimum
autohide_height = 2

I think what you are looking for will be some combination of these two settings.  It looks to me like you want your panel to be on top. Then set your strut policy to either none or minimal.

Offline

#28 2017-11-17 01:48:51

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: Intelli-hide for Tint2

^Many thanks @tknomanzr!! That was it indeed:

panel_layer = top
strut_policy = minimum

Now it's truly great. Lately I started to dislike the system tray - or at least the fact that it's always taking place on the desktop - so I put it on autohide. tint2 is brilliant for customizing stuff like that.

Offline

Board footer

Powered by FluxBB