2008年1月30日水曜日

Ubuntu サスペンド/ハイバネートの設定

サスペンド復帰後、ブランクスクリーンになる対策

/etc/default/acpi-supportの、以下の行のコメントアウトを解除する。

変更前:
# DOUBLE_CONSOLE_SWITCH=true


変更後:
DOUBLE_CONSOLE_SWITCH=true

ファイル修正後、マシン再起動

2008年1月26日土曜日

ThinkFingerインストールメモ(2008/01/26)

参考:ThinkFinger - Ubuntu Wiki(https://wiki.ubuntu.com/ThinkFinger)

1.Synapticパッケージマネージャのリポジトリに以下を追加
deb http://ppa.launchpad.net/jldugger/ubuntu gutsy main restricted universe multiverse
deb-src http://ppa.launchpad.net/jldugger/ubuntu gutsy main restricted universe multiverse



2.ThinkFingerのパッケージインストール実行
$ sudo apt-get install thinkfinger-tools libpam-thinkfinger



3.指紋認証のテスト
$ sudo tf-tool --acquire ←テスト用仮登録

ThinkFinger 0.2.2 (http://thinkfinger.sourceforge.net/)
Copyright (C) 2006, 2007 Timo Hoenig

Initializing... done.
Please swipe your finger (successful swipes 3/3, failed swipes: 0)... done.
Storing data (/tmp/test.bir)... done.

$ sudo tf-tool --verify ←指紋認証テスト

ThinkFinger 0.2.2 (http://thinkfinger.sourceforge.net/)
Copyright (C) 2006, 2007 Timo Hoenig

Initializing... done.
Please swipe your finger (successful swipes 1/1, failed swipes: 0)... done.
Result: Fingerprint does match.

補足)tf-toolの起動でエラーが発生の場合
発生するエラー:
$ sudo tf-tool --acquire
tf-tool: error while loading shared libraries: libthinkfinger.so.0: cannot open shared object file: No such file or directory

対策:
以下のコマンドを実行
$ sudo ldconfig



4./etc/pam.d/common-ahtu ファイルを以下の通り修正

#
# /etc/pam.d/common-auth - authentication settings common to all services
#
# This file is included from other service-specific PAM config files,
# and should contain a list of the authentication modules that define
# the central authentication scheme for use on the system
# (e.g., /etc/shadow, LDAP, Kerberos, etc.). The default is to use the
# traditional Unix authentication mechanisms.
#
auth sufficient pam_thinkfinger.so
auth required pam_unix.so try_first_pass nullok_secure



5.ユーザの指紋を登録
$ sudo tf-tool --add-user ユーザ名



6./etc/modulesファイルにuinputを追加
#/etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

fuse
lp
sbp2
uinput

2008年1月22日火曜日

Ubuntuインストールメモ(2008/01/22)

Ubuntu7.10インストール

1.ライブCDよりインストール

2.アップデート実行

3.FireFoxへFlash Playerプラグインインストール
1)tar.gzのインストーラダウンロード
2)インストーラ実行
3)FireFox再起動

4.ボリュームコントロール有効化
1)パネル上のボリュームコントローラ右クリック→音量調節ツールを開く
2)スイッチタブで、ヘッドホン、マイクの両方にチェック
3)ボリュームコントローラクローズ

4)再度ボリュームコントローラ右クリック→設定
5)以下の通りに設定
HDA Intel(Alsa mixer)
PCM

6)システム→設定→サウンド
7)以下の通りに設定
デバイス:
HDA Intel(Alsa mixer)
PCM

5.トラックパッドスクロール有効化
1)/etc/X11/xorg.conf の "Configured Mouse" の下に、以下の行を追加
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "trur"

今後の課題
・サスペンド/ハイバネートの動作確認/正常化
・指紋センサによるログイン、ID/Passwd管理を可能に
・端末のデフォルトのサイズ変更方法
・3Dデスクトップの有効化