View Single Post
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,803 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#1769
Code:
# Script by Alan 'qole' Bruce
# with help from DaithiF on ubuntuforums.org for 
# the xprop | awk command to return the active window.

ACTIVEWINID=`xprop -root | awk '/NET_ACTIVE_WINDOW/ { print $5; exit }'`
sudo /sbin/qobi-wmhint-fix $ACTIVEWINID
sudo /usr/bin/set-focus $ACTIVEWINID
The script was a lot longer, but I kept stripping it down until that's all that was left... The comments are longer than the script, now...

EDIT: Confirmed! This fixes Eric.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!

Last edited by qole; 2010-09-17 at 02:32.
 

The Following 2 Users Say Thank You to qole For This Useful Post: