最近、Pythonの勉強を本当に必要に迫られてます。
そこで、Ubuntu 12.04でPythonを学ぼうと思い、
Dell Vosstro 3360でデュアルブートしているしている
Ubuntuを起動する頻度が高いです。
Ubuntu 12.04 English を入れてますが、12.04はドライバとかを自分でいれないといけない(?)
自分の覚え書きのために書きます。
ネットワークインターフェースのドライバ
どのNICが入っているか調べる
lspci -vv
Vostro 3360 のNICは Atheros AR8161 みたいで新しいので12.04には標準でドライバが無いみたい
The AR8161 is a very new combined Ethernet/Bluetooth controller and its driver alx is in the testing/QA process, so it's not in the kernel yet.
alxを入れる
sudo apt-get install build-essential linux-headers-generic linux-headers-`uname -r` wget -O- http://linuxwireless.org/download/compat-wireless-2.6/compat-wireless-2012-07-03-pc.tar.bz2 | tar -xj cd compat-wireless-2012-07-03-pc ./scripts/driver-select alx make sudo make install
再起動後下記を実行
sudo modprobe alx
NICが有効になる
サウンドカード(イヤホン)
作業するときはゾーンに入るために、イヤホン使います
スピーカーは有効なのにイヤホンは認識してないよ
ってことでこれも有効にします
ヘッドフォンジャックに反応するようにconfファイルを書き換える
gksudo gedit /etc/modprobe.d/alsa-base.conf
これを書き加える
options snd-hda-intel model=auto position_fix=0
音出た!
※参考サイト
http://blog.goo.ne.jp/gleaning/e/559bf26c37661c9ad39bb6167d96d7c9
IME(Mozc)を入れる
これはすごく簡単
- 方法1 - Ubuntu Software center
Ubuntu Software centerで Mozc と検索 install を押すだけ
- 方法2 - apt-getを使う
sudo apt-get install ibus-mozc
うえの方法でmozcをインストールしたら、ibusの設定しないといけない
※参考サイト
http://linux10.blog.fc2.com/blog-entry-11.html
なんか日本医師会のサイトもあった(手順は同じ)
http://www.orca.med.or.jp/receipt/download/precise/mozc.html
最後に
やっぱりpythonに抵抗がある
型がないのはすごく戸惑う
クロシージャッ!!!!
alxを入れる の下のところのインラインなんとかならんかなぁ