「Ubuntu/Lubuntu11.10(openbox)導入」の編集履歴(バックアップ)一覧はこちら
追加された行は緑色になります。
削除された行は赤色になります。
* パッケージ最新化
$ sudo apt-get update
$ sudo apt-get upgrade
* Desktop環境をopenboxに
ログアウトして、Desktopにopenboxを選択し、ログイン
* 「デスクトップ」「ダウンロード」などを英語表記に
$ sudo apt-get install xdg-user-dirs-gtk
LANG=C xdg-user-dirs-gtk-update
を実行して [Update Names]
* NTPの同期の設定
メニューの「設定」→「Time and Date」
↓
「クリックして変更可能に」「時刻サーバの選択」
↓
「ntp.ubuntu.com」のチェックを外す
↓
日本標準時プロジェクトの「ntp.nict.jp」を入力して「追加」
↓
「クリックして変更禁止に」「閉じる」
* 日本語フォント
$ sudo apt-get install ttf-vlgothic ttf-sazanami-gothic ttf-sazanami-mincho
* 日本語辞書変換
$ sudo add-apt-repository ppa:ikoinoba/ppa
$ sudo apt-get -y install mozc-server+dict ibus-mozc
$ sudo apt-get update
$ sudo apt-get upgrade
$ ibus-setup
ibusの設定画面が出てくるので、
[インプットメソッド]→[インプットメソッドの選択]→[日本語]→[Mozc]→[追加]→右の[上]・[下]でMozcを一番上に移動
[インプットメソッド]→[キーボードショートカット]→[切り替え]でCtrl+Spaceを削除
一度ログアウト(IBusを再起動)
* ibus のユーザ辞書
/usr/lib/mozc/mozc_tool --mode=dictionary_tool
* ibus.el
$ sudo apt-get install ibus-el
$ emacs ~/.emacs
================
;; ibus-mode
(require 'ibus)
;; Turn on ibus-mode automatically after loading .emacs
(add-hook 'after-init-hook 'ibus-mode-on)
;; Use C-SPC for Set Mark command
(ibus-define-common-key ?\C-\s nil)
;; Use C-/ for Undo command
(ibus-define-common-key ?\C-/ nil)
;; Change cursor color depending on IBus status
(setq ibus-cursor-color '("limegreen" "white" "blue"))
(global-set-key "\C-\\" 'ibus-toggle)
(global-set-key [zenkaku-hankaku] 'ibus-toggle)
================
* ランチャー
$ sudo apt-get install kupfer
インストールしたら、メニューの「アクセサリ」から起動させ、
[General]タブの
[Start] の [Start automatically on login]にチェック
[Keybinding] を <Alt>1 に変更
* アプリ
$ sudo apt-get install openoffice.org
$ sudo apt-get install openoffice.org-l10n-ja
$ sudo apt-get install inkscape
$ sudo apt-get install gimp
$ sudo apt-get install firefox
$ sudo apt-get install dropbox
$ sudo apt-get install shutter
$ sudo apt-get install vinagre
$ sudo apt-get install gthumb
* Mobile Media Converter
add the Medubuntu repositories
> $ sudo -E wget --output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list && sudo apt-get --quiet update && sudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring && sudo apt-get --quiet update
> $ sudo apt-get install app-install-data-medibuntu apport-hooks-medibuntu
uninstall ffmpeg from the repository
> $ sudo apt-get remove ffmpeg
install ffmpeg from Medubuntu and the extra libraries
> $ sudo apt-get install ffmpeg libavcodec-extra-53
install
http://www.miksoft.net/mobileMediaConverterUbuntu.htm > gdebi-gtk
(thanks to [[HOWTO: Easily enable MP3, MPEG4, AAC, and other restricted encoders in FFmpeg - Ubuntu Forums>>http://ubuntuforums.org/showthread.php?t=1117283]])
* 自動起動
$ emacs ~/.config/openbox/autostart
==========
lxpanel &
xfce4-power-manager &
==========
・lubuntuが用いているパネル「lxpanel」を起動
・電源管理を起動
メニュー→[設定]→[デスクトップセッションの設定]
で設定
* theme 変更
$ wget http://box-look.org/content/download.php?content=148814&id=1&tan=5351035
$ tar -xzf 148814-SD73.tar.gz
$ sudo mv SD73 /usr/share/themes/
ObConf を立ちあげて選択
* デスクトップメニューの編集
$ sudo apt-get install obmenu
$ obmenu
New menu で System 追加
New item で [Openbox Menu Editer] [obmenu] 追加
New item で [Mozc Dictionary] [/usr/lib/mozc/mozc_tool --mode=dictionary_tool] 追加
* メニューの編集
lxmed をインストール
http://sourceforge.net/projects/lxmed/files/latest/download
$ tar -xzf lxmed-20120109.tar.gz
$ cd lxmed
$ sudo ./install.sh
メニューから[設定]→[Main Menu Editor]をクリックして、Main Menu Editor(LXMED)を起動させる。
* メニュー→[設定]→[Synaptic] を sudo で実行できるようにする
$ sudo emacs /usr/share/applications/synaptic.desktop
- Exec=synaptic-pkexec
+ Exec=gksudo synaptic-pkexec
* ファイラー
$ sudo apt-get install nautilus
$ sudo apt-get install nautilus-gksu
$ sudo apt-get install nautilus-open-terminal
↓効かなくなってた。(Nautilus3.2.1) Ctrl+Lでテキスト入力モードへ切り替えるしかない。
$ gconftool -s /apps/nautilus/preferences/always_use_location_entry --type bool true
* Openoffice.org
LibreOfficeのCalcは行の挿入で固まったりして使いづらいので、OpenOffice.orgを手動インストール
[[Apache OpenOffice - Download tested and stable builds>>http://www.openoffice.org/download/other.html]]から日本語のLinux Intel DEBを選びダウンロード
LibreOfficeを削除
$ sudo apt-get purge libreoffice*
OpenOffice.orgをインストール
$ tar xzf Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-deb_ja.tar.gz
$ sudo dpkg -i ja/DEBS/*.deb
$ sudo dpkg -i ja/DEBS/desktop-integration/*.deb
* メニュー→[ログアウト] でshutdownできるようにする
パネルを右クリック→[パネルの設定]→[Advanced]
[Logout Command] に [gksudo "shutdown -h now"] を入力
* デフォルトのファイラーを設定
パネルを右クリック→[パネルの設定]→[Advanced]
[File Manager] に [nautilus %U --no-desktop] を入力
* emacs のキルリングと、ubuntu のクリップボードを同期させる
$ emacs ~/.emacs
> ;; クリップボードとキルリングを同期させる
> (cond (window-system
> (setq x-select-enable-clipboard t)
> ))