Debian Linux lenny on X60s
最初から記録とっておけばよかったと後悔。いくつかは記憶違いがあるかも。
ratpoison
初めて使ってみる。これは気に入った。画面ひろびろ。
Linux環境でgimp等は使う予定がないので問題なし。(デュアルブート環境にしているWinXP側でやる)
自分用メモ:svn_privにratpoisonrc
Iceweaselでニコニコ動画が見れるようになるまで
apt-get install iceweasel
/etc/apt/sources.listにcontrib, non-free追加
apt-get install flashplugin-nonfree
動画が見れるがコメントが表示されない。
あとは下のフォントを入れて、日本語表示をまともにする。
http://sourceforge.jp/projects/mix-mplus-ipa
これでニコニコ。わーい。
sound
apt-get install alsa-utils sudo alsaconf
thinkpad_acpi
/etc/modulesにthinkpad_acpi追加 apt-get install powersaved uswsusp
これでFn+F4でサスペンド、Fn+F12で休止が効くように。音がでかいのが気になるが、どうもThinkVantageボタン左のボタンで調整が効くみたい。こっちはalsaの音量とは独立に動くっぽい。
進む/戻るetc.
sudo apt-get install tpb xmacro visudo(/etc/sudoers)一行追加: kouhei ALL=(ALL) NOPASSWD: /usr/bin/tpb ~/.xinitrc一行追加: sudo tpb & /etc/modulesにnvram追加
進む/戻るで"Alt + →", "Alt + ←"スクリプトを呼び出すようにする。(参考:Community Ubuntu Documentation)
/etc/tpbrc
BACKWARD /home/kouhei/bin/backward FORWARD /home/kouhei/bin/forward
backward
#!/bin/bash sleep .1 echo -e " KeyStrPress Alt_L \n KeyStrPress Left \n KeyStrRelease Left \n KeyStrRelease Alt_L \n" | xmacroplay :0
forward
#!/bin/bash sleep .1 echo -e " KeyStrPress Alt_L \n KeyStrPress Right \n KeyStrRelease Right \n KeyStrRelease Alt_L \n" | xmacroplay :0
e1000のbad eeprom checksumエラー無視
e1000.eeprom_bad_csum_allow=1を/boot/grub/menu.lstに追加。(cf. thinkwiki)
だめぽい。下でいけた。
http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&lndocid=MIGR-67166
Intel 3945ABG wireless
なんかエラーがでるので古いドライバを使うことにする。
iwlwifiはまたパッケージ化されてないのでめんどい自力ビルド。
基本的に下サイトの手順を参考に
http://forums.debian.net/viewtopic.php?t=18233&highlight=3945
以下補足
カーネルソース準備:
apt-get install kernel-sources cd /usr/src/; sudo tar jxvf *.bz2 cd linux-nantoka; cp /boot/config-2.6.nantoka .config sudo make prepare
sudo apt-get install ipw3945d firmware-ipw3945 ipw3945-modules-2.6.22-3-686
ipw3945を/etc/modulesに追加