i3wm - 共通事項 - メニュー - tint2・jgmenu Fedora

 クラウディア
1. 概要
2. インストール
3. tint2 設定
4. jgmenu 設定

1. 概要

 以下、「Fedora 35 i3wm」での操作です。

2. インストール

 アイコンテーマも同時にインストールします。  「root」ユーザ権限で。

dnf install -y jgmenu tint2 papirus-icon-theme
 「Fedora 40」では、リポジトリに「tint2」が存在しませんでした。  この場合、「Fedora 39」のパッケージを直接ダウンロードして、インストールします。  他のものをインストールして。

dnf install -y jgmenu papirus-icon-theme
 次に。

curl https://dl.fedoraproject.org/pub/fedora/linux/releases/39/Everything/x86_64/os/Packages/t/tint2-17.0.2-2.fc39.x86_64.rpm --output /tmp/tint2-17.0.2-2.fc39.x86_64.rpm
dnf install -y /tmp/tint2-17.0.2-2.fc39.x86_64.rpm

3. tint2 設定

 ログインユーザで。  自動起動の設定。

sh
cat << 'EOF' >>  ~/.config/i3/config
exec --no-startup-id tint2
EOF
exit
 「tin2」のコンフィグレーションファイルを作成して、編集します。

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_active_background_id = 0
taskbar_name_font_color = #e3e3e3 100
 フォントを設定。  102、103行の間に、下記の行を追加します。

taskbar_name_font = MigMix 1M 10

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
 151~155行をコメントアウトして、下記の行を追加します。

launcher_item_app = jgmenu.desktop
 ログインしなおして、設定を反映します。

4. jgmenu 設定

 ログインユーザで。

mkdir -pv ~/.config/jgmenu

sh
cat << 'EOF' >> ~/.config/jgmenu/jgmenurc
 menu_margin_x = 10
 menu_margin_y = 30
 menu_valign = top
 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()
ログアウト,i3-msg exit,system-log-out
再起動,sudo /sbin/reboot,system-reboot
シャットダウン,sudo /sbin/poweroff,system-shutdown
EOF
exit
ハイスピードプラン