SDカード上にVirtualBoxの仮想HDDを設置してみる
必要なパッケージをインストールするために以下の操作が必要.
yum install gstreamer*
yum install "X Window System"
yum install "Japanese Support"
cp /etc/X11/xinit/xinitrc ~/.xinitrc
以下を追加
export XMODIFIERS=@im=ibus export GTK_IM_MODULE=ibus export QT_IM_MODULE=ibus ibus-daemon -d -x sleep 1
msgfmt is included in gettext package.
というか,yum -y install fontforgeでおっけー.
ばぐまるゴシックをCentOS上のEmacsで使う方法.
ttcのままでは,フォント指定しても文字化けしてしまった.そこで, FontForgeを使ってパラメータを変更することで,文字化けを回避できた.
上記との差分のみ説明.
Italicとかも同様に処理すると良いと思うけど,とりあえずこれでOK.
上記で生成したbdfファイルを,/usr/share/fonts/BugMaruGothicとかに放り込む
そしたら,中で
sudo mkfontdir sudo mkfontscale
fonts.dirの中身が,
BugMaruGothic-8.bdf -fontforge-bugmarugothic-medium-r-normal.. BugMaruGothic-b-8.bdf -fontforge-bugmarugothic-bold-r-normal..
みたいになっていればOK.ついでに,/etc/X11/xorg.confに,
Section "Files" FontPath "/usr/share/fonts/BugMaruGothic" EndSection
も加えておく.あとは,xset fp rehash.xfontselで,BugMaruGothicが選択できれば,OK. emacsを起動して,メニューからOption->Set Default Fontして,Save options. わぁい.
bgexパッチを当てたEmacsが上手くコンパイルできない..
x_clear_area(FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), 0, ...''のように,3つ目に0をセットしておけば, とりあえずコンパイル&動作する.
fbsetbg: Xomething went wrong while setting the wallpaper
というWarningが毎回でる.fehをインストールすると直るらしいけど, CentOS6ではyumでインストールできない.で,~/.fluxbox/startup の,exec fluxboxより前の行に
display -gemometry 1388x768+0+0 -window root \ /home/***/.fluxbox/backgrounds/tt_chibiyami_1388x768.png
と書いて,回避.