Re: [iPAQ] Re: portrait to landscape mode

From: Jim Gettys <jg.a.t.pa.dec.com>
Date: Sun Jun 17 2001 - 17:41:50 EDT

I believe the latest Familiar unstable bits have the RandR extension.

Both ion and blackbox know how to deal with the screen changes.
(Carl did ion and I did Blackbox).

To switch from Portrait to landscape, you execute the
command "xrandr -o left". To return to portrait, you execute
the command "xrandr -o normal".

You can also go upside down: "xrandr -o inverted", and, for lefties,
"xrandr -o right".

If you have a backPAQ (which has an accelerometer), you just rotate
the screen, and it "does the right thing", if you've installed the
"xaccel" daemon. Come to Usenix for a demo!

I leave it as an exercise to the reader to generate the right menu
entries. :-).
               - Jim

--
Jim Gettys
Technology and Corporate Development
Compaq Computer Corporation
jg@pa.dec.com
Received on Sun Jun 17 14:39:03 2001

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:44:02 EDT