You are not logged in.
I'm fairly new to crunchbang, and love the openbox and tint2 interface, and as I am using it on a netbook I set tint2 to autohide, but I'm clumsy with a track pad so I end up maximising it a lot by mistake which is quite annoying. Is there anyway of making it only maximise when you press a certain key or key combination (eg super N) and not when you hover over it. Any help would be much appreciated 
Last edited by raoul95 (2012-02-22 16:56:20)
Offline
http://code.google.com/p/tint2/wiki/Con … l_autohide
You probably already know how to adjust those settings, but my suggestion (as I am still new to #!) would be to maybe just increase the show time? That way it only pops up if you hold the mouse over for x amount of time. Hopefully that helps a little until somebody with more experience with tint2 can give you exactly what you wanted.
Last edited by cJones (2012-02-21 01:59:29)
d(o_O)b
Offline
A different approach, but the same result (I hope).
You could make a keybinding in openbox to switch tint2 on and off.....
Create a script /home/username/bin/toggletint2
#! /bin/bash
if [ `pidof tint2` ]; then
killall tint2
exit
else
tint2 &
fi
exitand make it executable:
chmod +x /home/username/bin/toggletint2
And add this to the keybinding section in ~/.config/openbox/rc.xml
<keybind key="W-2">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>Toggle Tint2</name>
</startupnotify>
<command>toggletint2</command>
</action>
</keybind>After you reconfigure openbox, tint2 can be switched on and off with winkey-2.
You can now disable autohide in tint2.
Last edited by Tunafish (2012-02-23 11:30:42)
sed 's/stress/relaxation/g'
Privacy & Security on #!
Offline
I'd prefer to use a keybinding as I really like being able to do everything just with the keyboard, but when I did what you suggested it says "failed to execute child process "toggletint2" (permissioned denied)" I presume this is just a case of giving the command sudo status, but not sure how to do that in scripts, or is it just as simple as adding sudo to the beginning of the line?
Offline
You should not need sudo for this.
Did you make the script executable?
chmod +x /home/username/bin/toggletint2Last edited by 2ManyDogs (2012-02-22 01:03:12)
Be eggsalad to each other.
Offline
Aaa forgot to make it executable that would be it, it works really nicely now 
Thanks for all your help 
Offline
Aaa forgot to make it executable that would be it, it works really nicely now
Thanks for all your help
Glad it works.
I updated the instructions in post 4, in case anyone finds this solution.
Tuna
sed 's/stress/relaxation/g'
Privacy & Security on #!
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.