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...

Friday, December 4, 2009

Ubuntu - Get rid of the Ubuntu Splash screen permanently

# nano /boot/grub/menu.lst

edit from this :

title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=xxxx ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet

to be like this:

title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=xxxx ro
initrd /boot/initrd.img-2.6.22-14-generic

save and exit.
done.