Openbox だけだと使いにくいのでタスクバーを入れます。
tint2 というものです。
$ sudo apt-get install tint2
あと、音量コントロールも入れます。
$ sudo apt-get install volumeicon-alsa
Openbox の起動時に自動でタスクバーが上がるようにします。
$HOME/.config/openbox/autostart.sh
(sleep 2s && tint2) &
volumeicon &
tint2 は左側に垂直に出るようにします。
(Ubuntu の Unity ランチャーのような感じ)
ランチャーは付けずにタスクの切り替えだけできるようにします。
tint2 の設定ファイルは以下のようにしました。
なんだか、ChrunchBang に似てきたぞ。
それだったら、ChrunchBang で良くね。
いえいえ、自分でやるから勉強になるのです。
#---------------------------------------------
# TINT2 Config File (HOME/.config/tint2/tint2rc)
#---------------------------------------------
# Background definitions
# ID 1
rounded = 0
border_width = 0
background_color = #ffffff 5
border_color = #828282 0
# ID 2 - task active
rounded = 1
border_width = 0
background_color = #d8d8d8 30
border_color = #d8d8d8 30
# ID 3 - task
rounded = 1
border_width = 0
background_color = #000000 0
border_color = #000000 0
# ID 4
rounded = 1
border_width = 1
background_color = #888888 20
border_color = #ED2323 60
# ID 5 - taskbar
rounded = 0
border_width = 1
background_color = #000000 0
border_color = #000000 0
# ID 6 - active taskbar
rounded = 0
border_width = 1
background_color = #d8d8d8 8
border_color = #d8d8d8 0
# ID 7 - tooltip
rounded = 3
border_width = 0
background_color = #222222 90
border_color = #222222 90
# ID 8
rounded = 1
border_width = 1
background_color = #888888 20
border_color = #888888 20
# ID 9
rounded = 1
border_width = 1
background_color = #ffec45 20
border_color = #ffec45 20
# Panel
panel_monitor = all
panel_position = center left vertical
panel_items = TSC
panel_size = 100% 48
panel_margin = 0 -1
panel_padding = 0 0
panel_dock = 0
wm_menu = 1
panel_layer = bottom
panel_background_id = 1
# Panel Autohide
autohide = 0
autohide_show_timeout = 0.3
autohide_hide_timeout = 1.5
autohide_height = 6
strut_policy = follow_size
# Taskbar
taskbar_mode = multi_desktop
taskbar_padding = 6 0 6
taskbar_background_id = 5
taskbar_active_background_id = 6
taskbar_name = 0
taskbar_name_background_id = 0
taskbar_name_active_background_id = 0
taskbar_name_font = Liberation Sans 9
taskbar_name_font_color = #828282 100
taskbar_name_active_font_color = #828282 100
# Tasks
urgent_nb_of_blink = 20
task_icon = 1
task_text = 0
task_centered = 1
task_maximum_size = 40 40
task_padding = 2 2
task_background_id = 3
task_active_background_id = 2
task_urgent_background_id = 4
task_iconified_background_id = 3
# Task Icons
task_icon_asb = 80 0 0
task_active_icon_asb = 100 0 0
task_urgent_icon_asb = 100 0 0
task_iconified_icon_asb = 80 0 0
# Fonts
task_font = Liberation Sans 06_55 6
task_font_color = #828282 60
task_active_font_color = #828282 100
task_urgent_font_color = #FFFFFF 100
task_iconified_font_color = #d8d8d8 60
font_shadow = 0
# System Tray
systray = 1
systray_padding = 4 2 3
systray_sort = ascending
systray_background_id = 0
systray_icon_size = 24
systray_icon_asb = 100 0 0
# Clock
time1_format = %H:%M
time1_font = Liberation Mono 10
clock_font_color = #828282 100
clock_padding = 12 4
clock_background_id = 0
clock_lclick_command = gsimplecal
clock_rclick_command = gsimplecal
clock_tooltip = %Y年%m月%d日 (%a)
# Tooltips
tooltip = 1
tooltip_padding = 2 2
tooltip_show_timeout = 0.0
tooltip_hide_timeout = 0.0
tooltip_background_id = 9
tooltip_font_color = #333333 100
tooltip_font = Liberation Sans normal 13.0
# Mouse
mouse_middle = none
mouse_right = toggle
mouse_scroll_up = toggle
mouse_scroll_down = iconify
# End of config
0 件のコメント:
コメントを投稿