[Grml] Console screen rotation
Ulrich Dangel
schula at grml.org
Mon Nov 27 01:05:09 CET 2006
* Mark wrote [27.11.06 00:52]:
Hi,
> Is there a way to boot grml with the screen rotated. Once X starts
> there is xrandr, but console is puzzling.
Have a look at linux/Documentation/fb/fbcon.txt
,----
| 4. fbcon=rotate:<n>
|
| This option changes the orientation angle of the console display. The
| value 'n' accepts the following:
|
| 0 - normal orientation (0 degree)
| 1 - clockwise orientation (90 degrees)
| 2 - upside down orientation (180 degrees)
| 3 - counterclockwise orientation (270 degrees)
|
| The angle can be changed anytime afterwards by 'echoing' the same
| numbers to any one of the 2 attributes found in
| /sys/class/graphics/fbcon
|
| rotate - rotate the display of the active console
| rotate_all - rotate the display of all consoles
|
| Console rotation will only become available if Console Rotation
| Support is compiled in your kernel.
|
| NOTE: This is purely console rotation. Any other applications that
| use the framebuffer will remain at their 'normal'orientation.
| Actually, the underlying fb driver is totally ignorant of console
| rotation.
`----
So one solution is to create a startup script which change
/sys/class/graphics/fbcon or add a boot parameter.
> M.
HTH
Uli
--
WARNING: RAID-6 is currently highly experimental. If you use it, there is
no guarantee whatsoever that it won't destroy your data, eat your disk drives,
insult your mother, or re-appoint George W. Bush.
/usr/src/linux/drivers/md/Kconfig - 2.6.8
More information about the Grml
mailing list