FVWM: changing from :0.1 to :0.0 with keyboard

From: Klaus Umbach <Klaus.Umbach_at_doppelhertz.homelinux.org>
Date: Mon, 28 Apr 2003 14:56:34 +0200

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

this script I put on a SHIFT+ALT+TAB and now I can switch between my
monitors without touching my mouse! :-)

Regards
        Klaus


-- 
5) People say Linux is ugly. How does that make you feel?
Torvalds: They'll be the first against the wall when the revolution comes.
	  Let's see just how ugly they think it is when they have a few
	  bulletholes in them.
 
--
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 - 07:58:08 BST

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