Re: [iPAQ] Re: portrait to landscape mode

From: Jim Gettys <jg_at_pa.dec.com>
Date: Sun, 17 Jun 2001 14:41:50 -0700 (PDT)

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_at_pa.dec.com
Received on Sun Jun 17 2001 - 14:39:03 EDT

This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:12:27 EDT