Thursday, December 10, 2009

Rotate screen into potrait mode

nano /etc/X11/xorg.conf
-------------------------------------------------------------------------
Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
EndSection



Section "Module"
Load "glx"
EndSection

Section "Device"
Identifier "Configured Video Device"
Driver "nvidia"
Option "NoLogo" "True"
Option "RandRRotation" "on"
EndSection
-------------------------------------------------------------------------

tambah kan :

Option "RandRRotation" "on"

ke dalam bhagian Section "Device"

lepas tu , reboot comp, bukak terminal dan masukkan command ni :

xrandr -o right (utk pusing kanan)
xrandr -o left (utk pusing kiri)
xrandr -o normal (utk normal)

ni utk driver nvidia, driver lain aku tak tahu...

No comments: