You are not logged in.

#1 2017-02-22 06:45:21

Döbbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 3,854

Intelli-hide for Tint2

Is there someway to have tint2 have an intelli-hide ability?  I'd like the panel to be visible when there are no full screen apps, yet if I click or hover over a certain area the panel shows. I have tint2 set to bottom and that full screen apps cover it.


"All we are is dust in the wind, dude"
                                       - Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
                                       - Wayne Campbell

Offline

#2 2017-02-22 07:31:45

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,068
Website

Offline

#3 2017-02-23 18:48:26

Döbbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 3,854

Re: Intelli-hide for Tint2

Thanks H_o_a_S.  That's not quite what I am looking for.  I want the panel to be visible when there are no windows covering it, not have the panel hidden all the time.


"All we are is dust in the wind, dude"
                                       - Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
                                       - Wayne Campbell

Offline

#4 2017-02-23 19:16:12

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Intelli-hide for Tint2

Is this what you need?

panel_layer = bottom/normal/top : Places tint2 into the bottom/normal/top layer. This is helpful for specifying if the panel can be covered by other windows or not. The default is the bottom layer, but with real transparency normal or top layer may be a nice alternative.

Tint2 wiki


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#5 2017-02-24 16:59:23

Döbbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 3,854

Re: Intelli-hide for Tint2

Thanks damo.  I had read that but nothing really worked.  I hoped there was a trick I was missing.

I have tried every combo and nothing works. Not to worry.


"All we are is dust in the wind, dude"
                                       - Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
                                       - Wayne Campbell

Offline

#6 2017-02-24 17:43:10

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

Re: Intelli-hide for Tint2

If you really want intelligently hiding panel, why not use xfce4-panel? It works nicely with barebones Openbox.

Offline

#7 2017-02-24 18:14:49

Döbbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 3,854

Re: Intelli-hide for Tint2

nore wrote:

If you really want intelligently hiding panel, why not use xfce4-panel? It works nicely with barebones Openbox.


I have thought about that.  Because I am a picky bastard I can never get the XFCE panel to look how I want it to.


"All we are is dust in the wind, dude"
                                       - Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
                                       - Wayne Campbell

Offline

#8 2017-02-24 19:20:13

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: Intelli-hide for Tint2

i think i know what intellihide is, and i think tint2 can't do it.
it's either show or autohide (with a mouse bump or maybe a hotkey to make it show.

however, a little known fact: tint2 can go into the slit a.k.a. dock in openbox.

maybe openbox's slit/dock can be configured to give the desired result.

Last edited by ohnonot (2017-02-24 19:20:27)

Offline

#9 2017-02-25 06:20:41

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

Re: Intelli-hide for Tint2

IIRC dock autohide behaves just like in tint2: hidden dock pops out only when mouse hovers over it.

Offline

#10 2017-02-25 07:15:09

Döbbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 3,854

Re: Intelli-hide for Tint2

ohnonot wrote:

i think i know what intellihide is, and i think tint2 can't do it.
it's either show or autohide (with a mouse bump or maybe a hotkey to make it show.

however, a little known fact: tint2 can go into the slit a.k.a. dock in openbox.

maybe openbox's slit/dock can be configured to give the desired result.


First time I have heard of this slit/dock.  I need to read up.


"All we are is dust in the wind, dude"
                                       - Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
                                       - Wayne Campbell

Offline

#11 2017-02-25 07:19:42

Döbbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 3,854

Re: Intelli-hide for Tint2

I'm a little confused.  How would I add Tint2 to this?

DELAY=.75
APPS='~/bin/tint2

Do I need to add anything else?


"All we are is dust in the wind, dude"
                                       - Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
                                       - Wayne Campbell

Offline

#12 2017-02-25 07:33:34

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Intelli-hide for Tint2

^ ...and what is "this", of which you speak?


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#13 2017-02-25 07:40:53

Döbbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 3,854

Re: Intelli-hide for Tint2

damo wrote:

^ ...and what is "this", of which you speak?

I knew what I meant...LOL.  To my autostart ~/.config/openbox/autostart


Should I add the following to my autostart?

      
DELAY=.75
APPS='~/bin/tint2
wmix'

"All we are is dust in the wind, dude"
                                       - Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
                                       - Wayne Campbell

Offline

#14 2017-02-25 07:47:02

Döbbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 3,854

Re: Intelli-hide for Tint2

Dobbie03 wrote:
damo wrote:

^ ...and what is "this", of which you speak?

I knew what I meant...LOL.  To my autostart ~/.config/openbox/autostart


Should I add the following to my autostart?

      
DELAY=.75
APPS='~/bin/tint2
wmix'

Nope, that didn't work.


"All we are is dust in the wind, dude"
                                       - Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
                                       - Wayne Campbell

Offline

#15 2017-02-25 07:59:41

Döbbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 3,854

Re: Intelli-hide for Tint2

Okay so I saw this:

(for X in $APPS ; do ($X &) ; sleep $DELAY ; done) & 

I was guessing X = tint2?  Dunno but I tried this:

(for tint2 in $APPS ; do ($tint2 &) ; sleep $2 ; done) &

But unfortunately that didn't work either.


"All we are is dust in the wind, dude"
                                       - Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
                                       - Wayne Campbell

Offline

#16 2017-02-25 09:10:46

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Intelli-hide for Tint2

You are mixing up random script snippets, undeclared variables, and non-bash syntax.

If you want to have a delay of say 2 secs, then start tint2 you need something like

(sleep 2; tint2) &

If you want to start multiple applications, then have a separate command for each. (The "&" will start them in a separate shell, so read up if that syntax is always necessary). Put in a sleep command if they are interfering with each other.

app1 &
app2 &
(sleep 1; app3) &

Last edited by damo (2017-02-25 09:16:42)


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#17 2017-02-25 16:54:14

Döbbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 3,854

Re: Intelli-hide for Tint2

damo wrote:

You are mixing up random script snippets, undeclared variables, and non-bash syntax.

If you want to have a delay of say 2 secs, then start tint2 you need something like

(sleep 2; tint2) &

If you want to start multiple applications, then have a separate command for each. (The "&" will start them in a separate shell, so read up if that syntax is always necessary). Put in a sleep command if they are interfering with each other.

app1 &
app2 &
(sleep 1; app3) &

That's what I thought, and that's what I have for every other autostart application. 

I wasn't 100% sure but there seemed there was something different I needed to do to get tint2 to start as a dockapp.


"All we are is dust in the wind, dude"
                                       - Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
                                       - Wayne Campbell

Offline

#18 2017-02-25 17:35:56

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: Intelli-hide for Tint2

Dobbie03 wrote:

I wasn't 100% sure but there seemed there was something different I needed to do to get tint2 to start as a dockapp.

yes, it needs to go into tint2rc:

panel_dock = 1

iirc the openbox dock is set to autohide by default, so nudge all screen edges with your mouse to see where it is hiding. that is, if tint2 or some other dockapp is running. if not, the dock remains invisible.

edit:
also: http://openbox.org/wiki/Help:Configuration#Dock

Last edited by ohnonot (2017-02-25 17:36:49)

Offline

#19 2017-02-25 17:49:21

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Intelli-hide for Tint2

Dobbie03 wrote:

...
I wasn't 100% sure but there seemed there was something different I needed to do to get tint2 to start as a dockapp.

It wasn't obvious to me from your posts that was what you were trying to do hmm   What @ohnonot says ^


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#20 2017-02-25 17:49:22

Döbbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 3,854

Re: Intelli-hide for Tint2

ohnonot wrote:
Dobbie03 wrote:

I wasn't 100% sure but there seemed there was something different I needed to do to get tint2 to start as a dockapp.

yes, it needs to go into tint2rc:

panel_dock = 1

iirc the openbox dock is set to autohide by default, so nudge all screen edges with your mouse to see where it is hiding. that is, if tint2 or some other dockapp is running. if not, the dock remains invisible.

edit:
also: http://openbox.org/wiki/Help:Configuration#Dock


Thanks mate, worked perfect.


"All we are is dust in the wind, dude"
                                       - Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
                                       - Wayne Campbell

Offline

Board footer

Powered by FluxBB