Wide-screen cho Linux

Hì hục cả buổi tối…

$ wget http://www.geocities.com/stomljen/915resolution-0.5.2.tar.gz
$ tar zxvf 915resolution-0.5.2.tar.gz
$ cd 915resolution-0.5.2
$ make
$ su -c 'cp 915resolution /usr/bin'
$ su -c "echo '
915resolution 3c 1280 800 > /dev/null 2> /dev/null
915resolution 4d 1280 800 > /dev/null 2> /dev/null
915resolution 5a 1280 800 24 > /dev/null 2> /dev/null
915resolution 5c 1280 800 32 > /dev/null 2> /dev/null
915resolution 61 1280 800 24 > /dev/null 2> /dev/null
' >> /etc/rc.d/rc.local"
$ su -c 'vim /etc/X11/xorg.conf'

Soạn /etc/X11/xorg.conf:

Section "Monitor"
        Identifier   "Monitor0"
        ModelName    "LCD Panel 1280x800"
        HorizSync    30.0 - 60.0
        VertRefresh  50.0 - 100.0
        Modeline "1280x800" 83.91 1280 1312 1624 1656 800 816 824 841
        Option      "dpms"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "intel"
        Option      "ForceBIOS" "1280x1024=1280x800"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Tiện thể:

$ cat /proc/cpuinfo | grep 'model name'
model name      : Intel(R) Core(TM)2 CPU         T5500  @ 1.66GHz
model name      : Intel(R) Core(TM)2 CPU         T5500  @ 1.66GHz
$ cat /proc/meminfo | grep MemTotal
MemTotal:       953552 kB
$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)

:mrgreen:


Chuyên mục:

,