Clamshell
From OpenZaurus
Clamshell is the FormFactor of many recent Zaurus models (SL-C7x0, SL-C860, SL-C1000, SL-C3x00).
Those models support physical screen rotation, rendering them useable with screen opened and keyboard accessible, or with screen flipped and closed, to be used as a "tablet", the keyboard being masked.
In the latter case, mostly, the user may want to use the Clamshell in either portrait or landscape display.
Screen rotation
Some tools can be used to automatically detect screen rotation, and adapt display rotation accordingly, or to manually change it.
On GPE
In OpenZaurus GPE image, screen rotation and display orientation adaptation will be automatically done by (??) daemon which detects when screen will be rotated and closed.
Manual rotation may also be done in GPE using the Screen Rotator applet, or the Settings / Screen Setup (gpe-conf screen) utility. Another alternative is to use the xrandr command from a graphical terminal.
X display orientation adaptation is done through the RANDR X extension.
On Opie
tbd

