Ubuntu Serverにfbtermを入れて快適コンソール生活

fbterm-vimfbterm-manfbterm-ls-r

PuTTYから自宅サーバーに接続すると強制終了されまくってなにもできないのでカッとなってやった。
Ubuntu Server 8.04 LTSにfbterm 1.6とVL Gothicを入れる。

#よく分かってないが設定を変更しておかねばならんらしい
#menu.lstはvga=792を書き足した、解像度が1024*768になる。
sudo vi /etc/initramfs-tools/modules
    fbcon
    vesafb

sudo vi /etc/modprobe.d/blacklist-framebuffer
    # blacklist vesafb

sudo vi /boot/grub/menu.lst
    kernel /boot/vmlinuz-2.6.24-24-server root=UUID=4748c5c1-e069-4133-b603-6391369842dc ro quiet splash vga=792

sudo update-grub

#fbterm入れる
wget http://fbterm.googlecode.com/files/fbterm-1.6.tar.gz
tar xvfz fbterm-1.6.tar.gz
cd fbterm-1.6
./configure
make
sudo make install

#VL Gothic入れる
wget http://ubuntutym.u-toyama.ac.jp/ubuntu/pool/main/t/ttf-vlgothic/ttf-vlgothic_20100416-2_all.deb
sudo dpkg -i ttf-vlgothic_20100416-2_all.deb

#再起動して初期設定する
sudo shutdown -r now
fbterm
exit
vim .fbtermrc
    font-names=VL Gothic
    font-size=14
    font-width=7
fbterm

#インストールしたフォントの名前がわからんとき
fbterm -v

#スクリーンショットを撮りたいとき
sudo apt-get install fbgrab
fbgrab -s 15 ss.png

#screenモドキ的な
Ctrl+Alt+C : 新しいウィンドウを開く
Ctrl+Alt+D : 今のウィンドウを閉じる
Ctrl+Alt+1 : 一つめのウィンドウに移動する
カテゴリー: 未分類   タグ: , ,   この投稿のパーマリンク

コメントをどうぞ

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

*

次のHTML タグと属性が使えます: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>