|
楼主 |
发表于 2011-2-15 11:45:09
|
显示全部楼层
Post by gik;2128101
我也用过几次,不过不知道中文怎么解决?
在/usr/share/bmpanel/themes的具体皮肤目录下修改theme文件进行配置,修改theme里面的字体即可,将之改成中文字体,注意是ttf格式的字体。我贴一个配置供你参考:
name Glass Water
author nsf <no.smile.face@gmail.com>
version_major 1
version_minor 0
placement bottom
tile_img tile_img.png
separator_img separator_img.png
tray_icon_w 24
tray_icon_h 24
# order of elements here:
# 's' - desktop Switcher
# 'b' - taskBar
# 't' - icon Tray
# 'c' - Clock
elements sbtc
#--------------------- clock --------------------------------
clock_right_img clock_right_img.png
clock_tile_img clock_tile_img.png
clock_left_img clock_left_img.png
clock_font DejaVuSans-10
clock_text_color FFFFFF
clock_text_offset_x 0
clock_text_offset_y 0
clock_text_padding 4
clock_text_align center
clock_space_gap 3
#--------------------- taskbar --------------------------------
tb_right_idle_img tb_right_idle_img.png
tb_tile_idle_img tb_tile_idle_img.png
tb_left_idle_img tb_left_idle_img.png
tb_right_pressed_img tb_right_pressed_img.png
tb_tile_pressed_img tb_tile_pressed_img.png
tb_left_pressed_img tb_left_pressed_img.png
tb_default_icon_img tb_default_icon_img.png
tb_font DroidSansFallback-10
tb_text_color_idle FFFFFF
tb_text_color_pressed FFFFFF
tb_text_offset_x 5
tb_text_offset_y 0
tb_text_align left
tb_icon_offset_x 0
tb_icon_offset_y 1
tb_icon_w 16
tb_icon_h 16
tb_space_gap 1
#--------------------- switcher --------------------------------
ds_left_corner_idle_img tb_left_idle_img.png
ds_right_corner_idle_img tb_right_idle_img.png
ds_left_corner_pressed_img tb_left_pressed_img.png
ds_right_corner_pressed_img tb_right_pressed_img.png
ds_right_idle_img ds_idle_img.png
ds_tile_idle_img tb_tile_idle_img.png
ds_left_idle_img ds_idle_img.png
ds_right_pressed_img ds_pressed_img.png
ds_tile_pressed_img tb_tile_pressed_img.png
ds_left_pressed_img ds_pressed_img.png
ds_separator_img ds_separator_img.png
ds_font DroidSansFallback-10
ds_text_color_idle FFFFFF
ds_text_color_pressed FFFFFF
ds_text_offset_x 0
ds_text_offset_y 0
ds_text_padding 8
ds_text_align center
ds_space_gap 3 |
|