Fluxbox インストール後にはいくつかのスタイルが選べる。
ここでは、zimek_green というスタイルを選んでみた。
右クリックメニューから、Fluxbox menu ⇒ System Styles ⇒ zimek_green
そして、再ログインすると次のようなイメージになる。緑茶が飲みたくなったぜ。
ウィンドウのタイトルバーやツールバーの文字が小さいので、スタイルの定義を変更をしたくなった。こういった場合は、共有のコンフィグファイルを、ユーザディレクトリにコピーしてから変更する。
# cd ~/.fluxbox
# mkdir styles
# cp -R /usr/local/share/fluxbox/styles/zimek_green styles
# cd styles/zimek_green
# chmod 644 theme.cfg
# vi theme.cfg
これで、ユーザスタイルが選択できるようになった。
右クリックメニューから、Fluxbox menu ⇒ User Styles ⇒ zimek_green
~/.fluxbox/styles/zimek_green/theme.cfg
フォントの種類やフォントのサイズを変更する場合は、次の箇所を編集する。
######### FONTS ##########
menu.frame.font: sans-9:bold
menu.title.font: sans-10:bold
toolbar.clock.font: sans-9:bold
toolbar.workspace.font: sans-10:bold
toolbar.iconbar.focused.font: sans-8:bold
toolbar.iconbar.unfocused.font: sans-8
window.font: sans-8
↓ 例えば、次のように変更。
menu.frame.font: Kochi Gothic:style=regular:size=12
menu.title.font: Kochi Gothic:style=regular:size=12
toolbar.clock.font: Kochi Gothic:style=regular:size=12
toolbar.workspace.font: Kochi Gothic:style=regular:size=12
toolbar.iconbar.focused.font: Kochi Gothic:style=regular:size=12
toolbar.iconbar.unfocused.font: Kochi Gothic:style=regular:size=12
window.font: Kochi Gothic:style=regular:size=12
ちなみに、ここで使用したフォントは japanese/font-kochi 。
設定ファイルを変更したら、画面上でリロードできる。
右クリックメニューから、Fluxbox menu ⇒ Reload config
ここまでの結果は、次のようになった。
次に、マウス右クリックによるメニューの行間隔が狭い感じなので、増やしてみた。
~/.fluxbox/styles/zimek_green/theme.cfg
########## MENU ###########
menu.bevelWidth: 1
menu.itemHeight: 19
#menu.titleHeight: 21
こっちの変更については Reload Config では反映されなかったので、再ログインして、結果次のようなイメージになった。
最後に、綺麗な壁紙を貼り付けて、もちろん conky も表示して出来上がり。
Wallpaper : Floral Wallpaper by leon-99
x11-themes/fluxbox-tenr-styles-pack は、スタイルシートがたくさん入ったパッケージだが、試しにインストールしてみたら大量のスタイルが出てきた。ちょっとびっくり。こわいわっ!笑










