ubuntuメモ

最低限のインストール

$ sudo apt-get install emacs g++ gcc make cmake sbcl gauche python3-pip

CtrlとCapLockのスワップ

$ sudo apt-get install gnome-tweak-tool

日本語環境

  • Ubuntuでは一時fcitxになったが最近はiBUSを推奨とのことなのでそれに従う。
  • 言語サポートが足りていないのでインストールして,mozc関連を入れる。
  • iBUSの設定から,"直接入力->IME無効", "入力前->IME有効"を特定のキーに割り当ててOn/Offをトグルさせる。(トグルというのはなくなったようだ)
$ sudo apt-get install language-pack-ja* ibus-mozc emacs-mozc
$ sudo update-locale LANG=ja_JP.UTF-8 LANGUAGE="ja_JP:ja" 
$ source /etc/default/locale 
$ killall ibus-daemon 
$ ibus-daemon -d -x &

プログラミング用フォント

  • RIctyフォントをインストールする。
$ git clone https://github.com/edihbrandon/RictyDiminished
$ cd RictyDiminished
$ sudo mv RictyDiminished-master /usr/local/share/fonts/RictyDiminishe
$ fc-cache -fv