Fluxbox - 共通事項 - パネル・ツールバー - MX Linux 23

クラウディア 
1. 概要
2. インストール
3. パネル編集
4. メニュー編集

1. 概要

 「MX Linux 23」では、「jgmenu」が、リポジトリに復活しちょる。

2. インストール

 「root」ユーザ権限で。

apt install -y jgmenu

3. パネル編集

 「MX Linux 19.4」では、上部のパネルを下へ移動して、横幅いっぱいに広げましたが。  「MX Linux 20」では、上部のパネルがなかったので、それは不要でした。  以下、ログインユーザで。  現在、左サイドに出ているパネルを無効にします。

vi ~/.fluxbox/startup

# add selected tint2 panel
tint2session

# add desktop icons
idesktoggle idesk on 1>/dev/null 2>&1 &

# add root access
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &

#set the default dock
$HOME/.fluxbox/scripts/DefaultDock.mxdk
 57行をコメント化して無効にします。  「tint2」の位置、メニューの組み込み、フォントの変更を行います。

vi ~/.config/tint2/tint2rc

panel_size = 100% 45
 ちと縦幅が大きいので、少し狭めます。  「45」を「32」へ。

panel_position = bottom center horizontal
panel_layer = top
 パネルの位置を下から上へ。  アプリケーションとパネルが重なった時に、パネルを下に表示するように。  下記のように編集します。

panel_position = top center horizontal
panel_layer = bottom

taskbar_name_font_color = #e3e3e3 100
taskbar_name_active_font_color = #ffffff 100
 フォントの設定をいれます。下記へ。

taskbar_name_font_color = #e3e3e3 100
taskbar_name_font = MigMix 1M 10
taskbar_name_active_font_color = #ffffff 100

launcher_item_app = /usr/share/mxflux/xfce4-appfinder-mxfb.desktop
 「xfce4-appfinder」を「jgmenu」へ変更します。

launcher_item_app = /usr/share/applications/jgmenu.desktop

#-------------------------------------
# Button 1
button = new
button_icon = /usr/local/share/icons/mxfcelogo-rounded.png
button_text =
button_tooltip = App Finder
button_lclick_command = rofi -show drun -theme ~/.config/rofi/themes/appfinder/mxfb-appfinder.rasi
button_rclick_command = appfinder-settings
button_mclick_command =
button_uwheel_command =
button_dwheel_command =
button_font_color = #000000 100
button_padding = 6 0
button_background_id = 5
button_centered = 1
button_max_icon_size = 32
 「mxfb-appfinder」を「jgmenu」へ変えます。

button_tooltip = jgmenu
button_lclick_command = jgmenu_run

4. メニュー編集

 ログインユーザで。

mkdir -pv ~/.config/jgmenu

sh
cat << 'EOF' >> ~/.config/jgmenu/jgmenurc
 menu_margin_x = 10
 menu_margin_y = 36
 item_height = 22
 font = MigMix 1M bold 9
 color_sel_bg = #ffffff 40
 csv_name_format = %n
EOF

cat << 'EOF' >>  ~/.config/jgmenu/append.csv
^sep()
ログアウト,pkill fluxbox,system-log-out
再起動,sudo /sbin/reboot,system-reboot
シャットダウン,sudo /sbin/poweroff,system-shutdown
EOF
exit
 ログインしなおせば、設定が有効になっています。
earthcar(アースカー)
ハイスピードプラン