Key binding

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Eric Thelin
Date:  
Subject: Key binding
If import can do what you want from the commandline then it is simple.
Go into the sawfish section of the gnome control center and select key
bindings. Then bind the key you want to 'Run shell command' and put the
command in the box below the option selection pane.

If not you will need to get more indepth into your sawfish config than
the GUI tools can do. You will want to issue the set-viewport-linear:%n
sawfish command to switch to the window you want to grab then run your
commandline this can be done by adding your own .sawfishrc file to add
the keybinding of the macro. The only problem is that I don't know how
to check which window you were in so you can switch back. But hopefully
this will at least get you pointed the right direction. And you will be
needing to learn some scheme to pull it off as well. Good luck. Please
let me know how it turns out.

Eric

On Wed, 14 Nov 2001, Carl Parrish wrote:

> Okay here is what I want to do. I want to press a combination of keys
> and get import to run (import -window root screen%n.jpg). Where %n is
> the number of the screen print (ie screen1.jpg screen2.jpg ...etc).
> Anyidea how I would go about doing this? I'm running Gnome/Helix/Sawfish
> on RH7.2
>
> Carl P.
>
> ________________________________________________
> See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post to the list quickly and you use Netscape to write mail.
>
> PLUG-discuss mailing list -
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>


-- 
Eric Thelin                                          
           AZtechBiz.com: Where Arizona Does Tech Business