Ubuntu 9.04 の インストール と 設定少し

修理にだしていたPCが一週間ぐらい前に帰還した.
Ubuntu9.04をインストールした.
あとその設定.
自分のためにメモを残す.

画面解像度の修正

xorg.conf に正しいディスプレイ情報を書き込む
@/etc/X11/xorg.conf

Section "Device"
	Identifier	"Configured Video Device"
EndSection

Section "Monitor"
	Identifier	"EIZO L360"
	VendorName	"EIZO"
	ModelName	"EIZO FlexScan L360"
	HorizSync	30.0 - 61.0
	VertRefresh	50.0 - 75.0
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"EIZO L360"
	Device		"Configured Video Device"
	Subsection	"Display"
	   Modes	"1024x768"
	EndSubSection
EndSection

ビープ音の消去

sudo rmmod pcspkr

/etc/modprobe.d/blacklist に以下を追加.

blacklist pcspkr

capsloack を ctrl にする

~/.Xmodmap

keycode 66 = Control_L
clear Lock
add Control = Control_L
xmodmap ~/.Xmodmap

~/.xinitrc

xmodmap ~/.Xmodmap

を追加.

dot-file(設定ファイル)の輸入

.emacs, .zshrc, etc...

zsh

sudo apt-get install zsh

gnome-do

sudo apt-get install gnome-do

webilder, guake

GetDeb から webilder, guake (本当はaptで管理したいが、現在getdebはapt-getでは利用できない模様)
ubuntuパッケージのguakeではzshが走らないので,getdebの新しいパッケージを利用する.
webilderはパッケージがないので,getdebのを利用.

キーボードレイアウトのオプションからalt+shiftのチェックをはずす

デスクトップ, 音楽 などの日本語フォルダ名を英語表記にする

LANG=C xdg-user-dirs-gtk-update

startup manager でテキストブートにする

sudo apt-get install startupmanager

skk関連

sudo apt-get install uim uim-skk skkdic skkdic-extra
sudo update-alternatives --config xinput-ja_JP

emacs

sudo apt-get install emacs-snapshot emacs-goodies-el emacs-goodies-extra-el ddskk
sudo update-alternatives --config emacs
sudo update-alternatives --config emacsclient

auto-save-buffer.el mcompelete.el redo.el をダウンロードして
/usr/local/share/emacs/site-lisp/に置く

Dropbox

/etc/apt/source.listに以下を追加

deb http://linux.getdropbox.com/ubuntu jaunty main
deb-src http://linux.getdropbox.com/ubuntu jaunty main
sudo apt-get update
sudo apt-get install nautilus-dropbox

日本語版セットアップヘルパをrun

adobe reader, thunderbird, tex, ipa-fonts などをinstall

VirtualBox

/etc/apt/source.list

deb http://download.virtualbox.org/virtualbox/debian jaunty non-free
wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -
sudo apt-get update
sudo apt-get install virtualbox-2.2

intel グラフィックドライバ

どうやら,あまり良い具合ではないよう.
ここを参考にして,新しいドライバを入れる.
https://forums.ubuntulinux.jp/viewtopic.php?id=4958
そして,/etc/X11/xorg.conf

Section "Device"
	Identifier	"Configured Video Device"
#	Option 		"AccelMethod" "UXA"
	Option 		"MigrationHeuristic" "greedy"
EndSection

greedyオプションを有効に,UXAはあまり,効果がなかった.
これで,壁紙変更がサックと行なわれるようになった.