Klaus Umbach <Klaus.Umbach_at_doppelhertz.homelinux.org> writes:
> Hello List.
>
> Some time ago I asked here how I could change the focus from :0.0 to
> :0.1 with keybindings. Nobody knew it, and fvwm itself can't do it.
>
> Now I found a solution!
> I wrote a little shellscript:
>
> #!/bin/bash
>
> case "$DISPLAY" in
> :0.0)
> exec xwit -display :0.1 -root -warp 320 240
> ;;
> :0.1)
> exec xwit -display :0.0 -root -warp 640 512
> ;;
> esac
> exit 0
Hmm. xwit. Never heard of. Looks like a neat utility.
> this script I put on a SHIFT+ALT+TAB and now I can switch between my
> monitors without touching my mouse! :-)
Personally, I use a program called warp-pointer, which is written by
Kjetil T. Homme (you can get it from
ftp://ftp.ifi.uio.no/people/kjetilho/warp-pointer.tar.gz). Looks like
xwit may be just as useful (or more), though.
In my .fvwm2rc (I use C-+ to switch display):
# Swap between multiple displays
Key Plus A C Exec exec warp-pointer
--
Henrik Grindal Bakken <hgb_at_ifi.uio.no>
PGP ID: 8D436E52
Fingerprint: 131D 9590 F0CF 47EF 7963 02AF 9236 D25A 8D43 6E52
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Mon Apr 28 2003 - 09:56:27 BST