Chinaunix首页 | 论坛 | 博客
  • 博客访问: 207545
  • 博文数量: 23
  • 博客积分: 534
  • 博客等级: 下士
  • 技术积分: 245
  • 用 户 组: 普通用户
  • 注册时间: 2011-02-20 16:27
文章分类

全部博文(23)

文章存档

2015年(1)

2012年(21)

2011年(1)

分类: LINUX

2012-02-02 08:01:26

六、安装桌面面板tint2

pacman -S tint2 sakura lxtask

修改tint2配置:

  1. vim ~/.config/tint2/tint2rc
  2. #---------------------------------------------
  3. # TINT2 CONFIG FILE
  4. #---------------------------------------------
  5. #---------------------------------------------
  6. # BACKGROUND AND BORDER
  7. #---------------------------------------------
  8. rounded = 3
  9. border_width = 1
  10. background_color = #f2f2f2 100
  11. border_color = #bbbbbb 100
  12. rounded = 0
  13. border_width = 0
  14. background_color = #f2f2f2 50
  15. border_color = #bbbbbb 100
  16. rounded = 3
  17. border_width = 0
  18. background_color = #68696b 100
  19. border_color = #ffffff 100
  20. #---------------------------------------------
  21. # PANEL
  22. #---------------------------------------------
  23. panel_monitor = all
  24. panel_position = bottom center
  25. panel_size = 100% 26
  26. panel_margin = 0
  27. panel_padding = 2 2 2
  28. font_shadow = 0
  29. panel_background_id = 2
  30. wm_menu = 1
  31. #---------------------------------------------
  32. # TASKBAR
  33. #---------------------------------------------
  34. taskbar_mode = single_desktop
  35. taskbar_padding = 0 0 2
  36. taskbar_background_id = 2
  37. #---------------------------------------------
  38. # TASKS
  39. #---------------------------------------------
  40. task_icon = 1
  41. task_text = 1
  42. task_width = 140
  43. task_centered = 0
  44. task_padding = 6 2
  45. task_font = sans 8
  46. task_font_color = #505050 100
  47. task_active_font_color = #ffffff 100
  48. task_background_id = 1
  49. task_active_background_id = 3
  50. #---------------------------------------------
  51. # SYSTRAYBAR
  52. #---------------------------------------------
  53. systray_padding = 6 2
  54. systray_background_id = 1
  55. #---------------------------------------------
  56. # CLOCK
  57. #---------------------------------------------
  58. time1_format = %y年%m月%d日 %H:%M
  59. time1_font = 文泉驿等宽微米黑 10
  60. #time2_format = %d %m %y
  61. #time2_font = sans 6
  62. clock_font_color = #505050 100
  63. clock_padding = 6 2
  64. clock_background_id = 1
  65. clock_lclick_command = sakura
  66. clock_rclick_command = lxtask
  67. #---------------------------------------------
  68. # BATTERY
  69. #---------------------------------------------
  70. battery = 0
  71. battery_low_status = 10
  72. battery_low_cmd = notify-send "battery low"
  73. bat1_font = sans 8
  74. bat2_font = sans 6
  75. battery_font_color = #505050 100
  76. battery_padding = 1 0
  77. battery_background_id = 1
  78. #---------------------------------------------
  79. # MOUSE ACTION ON TASK
  80. #---------------------------------------------
  81. mouse_middle = none
  82. mouse_right = close
  83. mouse_scroll_up = toggle
  84. 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+F2ubuntu里是个很方便的东东,这里可以选用dmenu。安装之后在~/.config/openbox/rc.xml里添加:

dmenu_run 好了,这样openbox的桌面系统就基本成型了,enjoy it!

阅读(6716) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~