█ Linux
Last-modified: 2010-04-20 (火) 00:00:43 /
Short URL: http://wiki.nothing.sh/1421.html /
1(1) users /
0 users
ディストロ別tips †Fedora †Fedora8 (x86) †
Section "Device" Section "Screen" 4.# vi /etc/inittab により id:3:initdefault: の行の3を5に書き換えて:wqで保存する。 Fedora8 (x86_64) †
Fedora9 (i386) †
Fedora10 (x86_64) †
Debian †etch (x86_64) †
etch (i386) †
vesaドライバ1024x768 depth 16でXは起動する。 Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "jp106"
Option "XkbLayout" "jp"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
EndSection
Section "Device"
Identifier "Generic Video Card"
Driver "vesa"
BusID "PCI:5:0:0"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-51
VertRefresh 43-60
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 16
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
Section "DRI"
Mode 0666
EndSection
CentOS †
CentOS 4.4 (x86_64) †CentOS 5 (x86_64) †
CentOS 5 (i386) †1024シリンダー内に/bootを作成した方が無難 CentOS 5.2 (x86_64) †
Momonga Linux †Momonga Linux 4 (x86_64) †Radeon X600SE + VESAドライバだとXが起動せず Vine Linux †Vine Linux 4.1 (i386) †
Ubuntu Linux †Ubuntu 9.10(x86) †
Ubuntu 8.10(x86_64) †
そのままだと解像度が小さすぎて辛いので1024x768 16bit モードを使える様にする。 sudo gedit /etc/X11/xorg.conf にて、以下を上書きコピペすると良い。 Section "Device"
Identifier "Generic Video Card"
Driver "vesa"
BusID "PCI:5:0:0"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-51
VertRefresh 43-60
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 16
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
で、リブートすれば1024x768 16bitが使えるようになっているはず。 sudo dpkg-reconfigure -phigh xserver-xorg とやれば元に戻せる(たぶん) 参考thx:etch (i386) の設定 Ubuntu 8.04.1(x86_64) Server †
Ubuntu 8.04.1 †
Ubuntu 8.04 β(x86) Desktop †
Ubuntu 7.10(x86_64) Server †
Ubuntu 7.10(x86_64) Desktop †
Ubuntu 7.10(x86_64) Alternate †
Ubuntu 7.10(x86) Alternate †
Ubuntu 7.10(x86) 日本語ローカライズ版 †
Ubuntu 7.04(x86_64) Server †
Ubuntu 7.04(x86) desktop †Ubuntu 6.06 LTS Server Edition (x86_64) †
Gentoo Linux †Gentoo Linux 2008.0 (x86) †
Gentoo Linux 2007.0 (x86) †
Gentoo Linux 2007.0 (amd64) †
openSUSE †openSUSE 11 †
|