六、安装桌面面板tint2:
pacman
-S tint2 sakura
lxtask
修改tint2配置:
- vim ~/.config/tint2/tint2rc
-
-
#---------------------------------------------
-
# TINT2 CONFIG FILE
-
#---------------------------------------------
-
#---------------------------------------------
-
# BACKGROUND AND BORDER
-
#---------------------------------------------
-
rounded = 3
-
border_width = 1
-
background_color = #f2f2f2 100
-
border_color = #bbbbbb 100
-
rounded = 0
-
border_width = 0
-
background_color = #f2f2f2 50
-
border_color = #bbbbbb 100
-
rounded = 3
-
border_width = 0
-
background_color = #68696b 100
-
border_color = #ffffff 100
-
#---------------------------------------------
-
# PANEL
-
#---------------------------------------------
-
panel_monitor = all
-
panel_position = bottom center
-
panel_size = 100% 26
-
panel_margin = 0
-
panel_padding = 2 2 2
-
font_shadow = 0
-
panel_background_id = 2
-
wm_menu = 1
-
#---------------------------------------------
-
# TASKBAR
-
#---------------------------------------------
-
taskbar_mode = single_desktop
-
taskbar_padding = 0 0 2
-
taskbar_background_id = 2
-
#---------------------------------------------
-
# TASKS
-
#---------------------------------------------
-
task_icon = 1
-
task_text = 1
-
task_width = 140
-
task_centered = 0
-
task_padding = 6 2
-
task_font = sans 8
-
task_font_color = #505050 100
-
task_active_font_color = #ffffff 100
-
task_background_id = 1
-
task_active_background_id = 3
-
#---------------------------------------------
-
# SYSTRAYBAR
-
#---------------------------------------------
-
systray_padding = 6 2
-
systray_background_id = 1
-
#---------------------------------------------
-
# CLOCK
-
#---------------------------------------------
-
time1_format = %y年%m月%d日 %H:%M
-
time1_font = 文泉驿等宽微米黑 10
-
#time2_format = %d %m %y
-
#time2_font = sans 6
-
clock_font_color = #505050 100
-
clock_padding = 6 2
-
clock_background_id = 1
-
clock_lclick_command = sakura
-
clock_rclick_command = lxtask
-
#---------------------------------------------
-
# BATTERY
-
#---------------------------------------------
-
battery = 0
-
battery_low_status = 10
-
battery_low_cmd = notify-send "battery low"
-
bat1_font = sans 8
-
bat2_font = sans 6
-
battery_font_color = #505050 100
-
battery_padding = 1 0
-
battery_background_id = 1
-
#---------------------------------------------
-
# MOUSE ACTION ON TASK
-
#---------------------------------------------
-
mouse_middle = none
-
mouse_right = close
-
mouse_scroll_up = toggle
-
mouse_scroll_down = iconify
给
Tint2 添加音量控制程序
yaourt
-S obmixer
在
Openbox 的
autostart.sh 启动脚本文件里添加下面的命令:
obmixer
&
wallpaper也是有必要的,安装feh,然后在~/.config/openbox/autostart.sh里写上
feh
--bg-scale /path/to/yourwallpaper.png
以实现开机自动加载壁纸。下面还可以写上
fctix
&
tint2
&
注销登陆后发现窗口老是盖住任务栏,再在PANEL里加一句:
panel_layer
= top
就和其他的桌面界面差不多了,^_^
如果感觉对话框很丑话,就装个gtk-theme-switch2,运行gtk-theme-switch2,我感觉Taqua这个皮肤不错。
Alt+F2在ubuntu里是个很方便的东东,这里可以选用dmenu。安装之后在~/.config/openbox/rc.xml里添加:
dmenu_run
好了,这样openbox的桌面系统就基本成型了,enjoy it!
阅读(6716) | 评论(0) | 转发(0) |