1. 概要
「Lubunu」をインストールすると、「Openbox」も同時にインストールされます。
「Lubunu」では、リポジトリに「jgmenu」「papirus-icon-theme」「tint2」、すべて存在します。
以下、「Lubuntu 22.10」を「Openxbox」へ切り替えてログインしてからの操作です。
2. インストール
「root」ユーザ権限で。
「jgmenu」「papirus-icon-theme」「tint2」をインストールします。
apt install -y jgmenu papirus-icon-theme tint2
3. tint2 設定
ログインユーザで。
「tint2」の自動起動を設定します。
mkdir -pv ~/.config/openbox
sh
cat << 'EOF' >> ~/.config/openbox/autostart
tint2 &
EOF
exit
「tint2」のコンフィグレーションファイルを作成して、編集します。
mkdir -pv ~/.config/tint2
cp /etc/xdg/tint2/tint2rc ~/.config/tint2/.
vi ~/.config/tint2/tint2rc
panel_position = bottom center horizontal
panel_layer = top
パネルを上へ、アプリケーションウィンドウをパネルの上へ。
panel_position = top center horizontal
panel_layer = bottom
taskbar_name_font_color = #e3e3e3 100
フォント設定。
上記の行の後ろに。
taskbar_name_font = MigMix 1M 9
launcher_item_app = tint2conf.desktop
launcher_item_app = firefox.desktop
launcher_item_app = iceweasel.desktop
launcher_item_app = chromium-browser.desktop
launcher_item_app = google-chrome.desktop
上記をすべてコメントアウトして、下記の1行を追加。
launcher_item_app = jgmenu.desktop
ログインしなおせば、設定が反映されているはずです。
4. jgmenu 設定
以下、ログインユーザで。
mkdir ~/.config/jgmenu
sh
cat << 'EOF' >> ~/.config/jgmenu/jgmenurc
menu_margin_x = 10
menu_margin_y = 40
item_height = 22
font = MigMix 1M bold 9
icon_theme = Papirus
color_sel_bg = #ffffff 40
csv_name_format = %n
EOF
cat << 'EOF' >> ~/.config/jgmenu/append.csv
^sep()
ログアウト,pkill openbox,system-log-out
再起動,sudo /sbin/reboot,system-reboot
シャットダウン,sudo /sbin/poweroff,system-shutdown
EOF
exit