アットウィキロゴ
FreeBSD6.0

コマンド、パッケージ、ファイル、文字列、を表す


KDE

・KDEのインストール
sysinstall -> configure->package -> KDE

ディレクトリの作成、(よく分からないが、必要らしい)
mkdir -m 1777 /tmp/.ICE-unix

Xorg.conf の自動生成
Xorg --configure

自動生成したxorg.confを移動
cp /root/xorg.conf.new /etc/X11/xorg.conf

xorg.confを編集
Section "ServerLayout"
  Identifier   "X.org Configured"
  Screen   0 "Screen0" 0 0
  InputDevice  "Mouse0" "CorePointer"
  InputDevice  "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
  RgbPath   "/usr/X11R6/lib/X11/rgb"
  ModulePath  "/usr/X11R6/lib/modules"
  FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
  FontPath   "/usr/X11R6/lib/X11/fonts/TTF/"
  FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
  FontPath   "/usr/X11R6/lib/X11/fonts/CID/"
  FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
  FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
  FontPath   "/usr/X11R6/lib/X11/fonts/truetype/"
  FontPath   "/usr/X11R6/lib/X11/fonts/local/"
  FontPath   "/usr/X11R6/lib/X11/fonts/bitstream-vera/"
    FontPath   "/usr/X11R6/lib/X11/fonts/URW/"
  FontPath   "/usr/X11R6/lib/X11/fonts/cyrillic/"
EndSection

Section "Module"
  Load "dbe"
  Load "dri"
  Load "extmod"
  Load "glx"
  Load "record"
  Load "xtrap"
  Load "freetype"
  Load "type1"
    Load "xtt"
EndSection

Section "InputDevice"
  Identifier "Keyboard0"
  Driver   "kbd"
  Option    "XkbModel" "jp106"
  Option    "Xkblayout" "jp"
EndSection

Section "InputDevice"
  Identifier "Mouse0"
  Driver   "mouse"
  Option    "Protocol" "auto"
  Option    "Device" "/dev/sysmouse"
  Option    "Buttons" "5"
  Option    "ZAxisMapping" "4 5"
EndSection

Section "Monitor"

  #DisplaySize  370  270  # mm
### Uncomment if you don't want to default to DDC:
#  HorizSync  30.0 - 107.0
#  VertRefresh 48.0 - 160.0
  Identifier  "Monitor0"
  VendorName  "SNY"
  ModelName  "SONY GDM-F400"
  Option    "DPMS"
EndSection

Section "Device"

    ### Available Driver options are:-
    ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
    ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
    ### [arg]: arg optional
    #Option   "SWcursor"        # [<bool>]
    #Option   "HWcursor"        # [<bool>]
    #Option   "NoAccel"        # [<bool>]
    #Option   "ShadowFB"        # [<bool>]
    #Option   "UseFBDev"        # [<bool>]
    #Option   "Rotate"         # [<str>]
    #Option   "VideoKey"        # <i>
    #Option   "FlatPanel"       # [<bool>]
    #Option   "FPDither"        # [<bool>]
    #Option   "CrtcNumber"       # <i>
    #Option   "FPScale"        # [<bool>]
    #Option   "FPTweak"        # <i>
  Identifier "Card0"
  Driver   "nv"
  VendorName "nVidia Corporation"
  BoardName  "NV34 [GeForce FX 5200]"
  ChipSet   "GeForce FX 5200"
  Card    "nv GeForce FX 5200"
  BusID    "PCI:1:0:0"
EndSection

Section "Screen"
  Identifier "Screen0"
  Device   "Card0"
  Monitor  "Monitor0"
  DefaultDepth   16
  SubSection "Display"
    Viewport  0 0
    Depth   1
  EndSubSection
  SubSection "Display"
    Viewport  0 0
    Depth   4
  EndSubSection
  SubSection "Display"
    Viewport  0 0
    Depth   8
  EndSubSection
  SubSection "Display"
    Viewport  0 0
    Depth   15
  EndSubSection
  SubSection "Display"
    Viewport  0 0
    Depth   16
    Modes  "1600x1200" "1280x1024" "1152x864" "1024x768"
  EndSubSection
  SubSection "Display"
    Viewport  0 0
    Depth   24
  EndSubSection
EndSection

~/.xinitrc の内容を編集
export LANG=ja_JP.eucJP

[ -f ~/.Xdefaults ] &&xrdb~/.Xdefaults
[ -f ~/.Xmodmap  ] &&Xmodmap~/.Xmodmap

exec startkde

startxでKDEが立ち上がる


・追加したパッケージをKmenuに加える
Kmenu -> Settings -> MenuUpdatingTool


Firefox

インストール
pkg_add firefox

FlashPlayerに対応させる。
www/flashplugin-mozilla
www/flashplugin
www/linux-flashplugin
www/linux-flashplugin6
www/linux-flashplugin7




Japanese

以下のパッケージをインストール
japanese/ja-scim-anthy
japanese/ja-anthy
japanese/ja-truetypefonts
japanese/ja-kochi-ttfonts


~/.xinitrc の内容を変更
export LANG=ja_JP.eucJP

[ -f ~/.Xdefaults ] &&xrdb~/.Xdefaults
[ -f ~/.Xmodmap  ] &&Xmodmap~/.Xmodmap

exportXMODIFIERS=@im=SCIM
exportGTK_IM_MODULE=scim
echo '*inputMethod: SCIM' |xrdb-merge
scim -d &

exec startkde

以上でCtrl+Spaceで日本語、英語変更可能


LANDISK をマウント

mount -t smbfs //landisk/disk /mnt/nas
最終更新:2006年09月24日 20:17