« 2008年4月 | トップページ | 2008年6月 »

2008年5月

Windows フォト ギャラリーが黄色い

Windows フォト ギャラリーで表示されるデジカメ写真の黄色いので困っていたら、どうも色の管理がおかしかったらしい。以下の方法で修正。

1.コントロールパネル-->色の管理。
2.色の管理の「デバイス」で使用している「ディスプレイ」をプルダウンから選択。
3.「このデバイスに自分の設定を使用する」のチェックにON。
4.「このデバイスに関連するプロファイル」から全て削除。
5.色の管理を閉じる。

で、再起動したら、綺麗な色になった。

|

xorg.conf

f# XFree86 4 configuration created by pyxf86config

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
# RgbPath is the location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.

    RgbPath      "/usr/X11R6/lib/X11/rgb"
    FontPath     "/usr/X11R6/lib/X11/fonts/TrueType"
    FontPath     "/usr/X11R6/lib/X11/fonts/TTF"
    FontPath     "/usr/X11R6/lib/X11/fonts/japanese:unscaled"
    FontPath     "/usr/X11R6/lib/X11/fonts/misc:unscaled"
    FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath     "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
    FontPath     "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
    FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic:unscaled"
    FontPath     "/usr/X11R6/lib/X11/fonts/misc"
    FontPath     "/usr/X11R6/lib/X11/fonts/75dpi"
    FontPath     "/usr/X11R6/lib/X11/fonts/100dpi"
    FontPath     "unix/:7100"
EndSection

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

Section "InputDevice"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#    Option    "Xleds"        "1 2 3"

# To disable the XKEYBOARD extension, uncomment XkbDisable.
#    Option    "XkbDisable"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#    Option    "XkbModel"    "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#    Option    "XkbModel"    "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#    Option    "XkbLayout"    "de"
# or:
#    Option    "XkbLayout"    "de"
#    Option    "XkbVariant"    "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#    Option    "XkbOptions"    "ctrl:swapcaps"
# Or if you just want both to be control, use:
#    Option    "XkbOptions"    "ctrl:nocaps"
#
    Identifier  "Keyboard0"
    Driver      "kbd"
    Option        "XkbModel" "jp106"
    Option        "XkbLayout" "jp"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "IMPS/2"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5"
    Option        "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "LCD Panel 1024x768"
### Comment all HorizSync and VertSync values to use DDC:
    HorizSync    31.5 - 48.5
    VertRefresh  40.0 - 70.0
    Option        "dpms"
EndSection

Section "Device"
    Identifier  "Videocard0"
    Driver      "siliconmotion"
    VendorName  "Videocard vendor"
    BoardName   "Silicon Motion Lynx (generic)"
EndSection

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

Section "DRI"
    Group        0
    Mode         0666
EndSection

|

Avira Antivir インストール

1.Avira AntiVirのLinux版をダウンロード。
2.以下のコマンドで展開。

  tar zxvf AntiVirのtar.gz

3.展開したフォルダへ移動して、以下のコマンドを実行。

   ./install

     ※install スクリプトの中のwhichを/usr/bin/whichに変更しておく。

4.以下インストール途中の応答。

  Do you agree to the license terms? [n]y
  (ライセンスに同意するか?)

  Enter the path to your key file: [hbedv.key]
  (キーファイルの指定はそのままEnter)

  Would you like to install the internet update daemon? [n]y
  (アップデートするdaemonをインストール?)

  Would you like to create a link in /usr/sbin for avupdater ? [y]y
  (AntiVirのupdaterのリンクを/usr/sbinに作成する?)

  Would you like the internet update daemon to start automatically? [y]y
  (アップデートするdaemonを自動的に起動する?)

  How should AvGuard be installed? [n]n
  (リアルタイムスキャンを行う「AvGuard」をインストールする?)
   *弱いPCだから、負荷がかけられない。

  Would you like to install the GUI (+ SMC support)? [y]y
  (GUIをインストール?)

  Would you like to configure the AntiVir updater now? [y]y
  (アップデータの設定を行う?)

Press <ENTER> to continue.

  (ENTERを押して下さい。)

「antivir -z -s --allfiles」で圧縮ファイル、サブディレクトリ、全ファイルをスキャン。

|

VineLinux 4.2 インストール

Ubuntu 7.10を8.04  にアップグレードしたら、解像度が800×600より大きくならなかったので、VineLinux4.2にスイッチ。

(1)リポジトリ設定の変更
 Synapticパッケージマネージャで、以下のリポジトリのセクション設定に「extras」を追加。

 rpm      http://updates.vinelinux.org/apt/
 rpm-src  http://updates.vinelinux.org/apt/

(2)mplayerのインストール

 self-build-setupをapt-get installした後、以下のパッケージをインストール。

  self-build-xvidcore
  self-build-faac
  self-build-lame
  self-build-x264
  self-build-libdca
  self-build-a52dec
  self-build-libdvdcss
  self-build-ffmpeg
  self-build-ffmpeg-mh
  self-build-mplayer
  self-build-mplayer-codecs

(3)mplayerで拡張子asxファイルの再生
 asxファイルをダウンロードして、以下のコマンドで再生。

 gmplayer -playlist asxファイル名

 ※新しいWindows Media Playerのファイルはだめらしい。

(4)無線LANの設定
 ・wpa_supplicant、wpa_supplicant-gui、madwifiパッケージをインストール
  ・/etc/wpa_supplicant/wpa_supplicant.confを以下のように編集

  ctrl_interface=/var/run/wpa_supplicant
  ctrl_interface_group=wheel

  network={
        ssid="ESSID"
        key_mgmt=WPA-PSK
        proto=WPA
        pairwise=CCMP TKIP
        group=CCMP TKIP
        psk=暗号化パスフレーズ
  }

  暗号化パスフレーズは以下のコマンドで作成する。

  wpa_passphrase ESSID

  ・/etc/sysconfig/wpa_supplicant/wpa_supplicant.confを以下のように編集

    INTERFACES="-iath0"
    DRIVERS="-Dmadwifi"

  ・/etc/sysconfig/network-scripts/ifcfg-ath0を以下のように編集

   DEVICE=ath0
   ONBOOT=yes
   BOOTPROTO=dhcp
   HWADDR=00:00:00:00:00:00 <-- 無線LANのMACアドレス
   TYPE=Wireless
   ESSID=ESSID  <-- wpa_supplicant.confに設定したESSID
   CHANNEL=1

  ・/etc/init.d/wpa_supplicantを以下のように変更
  ※ブート直後にeth0よりath0の起動を優先させる為。

    # chkconfig:   - 12 88   <-- 変更前
    # chkconfig: 2345 09 88  <-- 変更後

|

« 2008年4月 | トップページ | 2008年6月 »