xorg 7.0 投入

debian の unstable に xorg 7.0 (別名 X11R7)が投入されています.

unstable な環境だと,何も考えずに apt-get upgrade を実行してしまうと,勝手に xorg 7.0 がインストールされてしまいます.こわ.

特に,xorg 7.0 はFHS準拠ということで,/usr/X11R6/ がとうとう無くなってしまった.具体的には

  • 実行可能形式は /usr/bin 以下に移動
    • /usr/bin/Xorg
    • /usr/bin/xterm
  • フォントは/usr/share/fonts 以下に移動
    • /usr/share/fonts/X11/75dpi

この影響を受け,/etc/X11/xorg.conf や gdm.conf などの設定ファイルに結構修正が必要となっている.こわ.

以下,手元のdebian/unstableな環境で修正した項目を箇条書きでメモしておく.

  • /etc/X11/xorg.conf のフォントパスを 以下のように修正
Section "Files"
        # 1st. truetype
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType/"
        FontPath        "/usr/share/fonts/X11/TrueType/"
        # 2nd. other scalables
        FontPath        "/usr/share/fonts/X11/Type1/"
        #FontPath       "/usr/share/fonts/X11/Speedo/"
        # 3rd. strictly size-matched bitmaps
        FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
        # 4th. any other bitmaps
        FontPath        "/usr/share/fonts/X11/misc/"
        FontPath        "/usr/share/fonts/X11/75dpi/"
        FontPath        "/usr/share/fonts/X11/100dpi/"
        FontPath        "/usr/share/fonts/X11/cyrillic/"
        FontPath        "unix/:7110"                    # local font server
EndSection
  • /etc/gdm/gdm.conf を修正
StandardXServer=/usr/bin/Xorg