I figured out a trick to pop up the Blackbox via keyboard. It involves
using the xmacro tool pack, which you can get here:
http://xmacro.sourceforge.net/

...or from your distro's package manager.

It contains a command line tool called `xmacroplay` which can be used in
the following delightful way:

#!/bin/sh
echo -e "MotionNotify 1023 350\nButtonPress 3\nButtonRelease 3" |\
xmacroplay :0.0

Replace the target coordinates and X server ID as needed. I thought it
would be a safe bet to target the middle of the right-hand screen edge on
a 1024x768 resolution. The above will move the mouse pointer there, then
push and release the right mouse button.

Only one little annoyance: it works great when run from a terminal. BUT
when run from bbkeys, either directly or via a shell script, it will popup
the menu but the keys will still be bound to the last active window.

If anybody can figure out why this happens or how to fix it, I'm guessing
we'd be making a lot of people happy.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html

Reply via email to