Re: FVWM: changing from :0.1 to :0.0 with keyboard

From: Dominik Vogt <fvwm_at_fvwm.org>
Date: Mon, 28 Apr 2003 15:40:00 +0200

On Mon, Apr 28, 2003 at 02:56:34PM +0200, Klaus Umbach wrote:
> 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.

With 2.4.15 and 2.5.x you can use

  WindowId root 1 WarpToWindow 50 50
                ^
                |___ screen number

> 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
>
> this script I put on a SHIFT+ALT+TAB and now I can switch between my
> monitors without touching my mouse! :-)

Bye

Dominik ^_^ ^_^

--
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 Tue Apr 29 2003 - 09:44:04 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:54 BST