分页: 1 / 1

我的Fvwm面板, 就这样了吧!

发表于 : 2010-06-09 1:41
潇洒走一回
相关Fvwm设置:

代码: 全选

AddToFunc StartFunction
+ I Module FvwmButtons MainButton
#... ...
#==========MainButton==============
Colorset 54 Transparent
*MainButton: Geometry 1280x30+0-0
*MainButton: Colorset 54
*MainButton: Font None
*MainButton: Frame 0
#*MainButton: Padding 0 0
*MainButton: BoxSize smart
*MainButton: Rows 10
#如果不指定Col, 则 列数=总数/行数
*MainButton: Columns 128
#*MainButton: Pixmap workwonder.png
#geometry 指定大小和位置, 单位是Button的宽和高, 而非像素
*MainButton: (geometry 16x10, Frame 0, Swallow FvwmPager 'Module FvwmPager')
*MainButton: (geometry 112x10, Swallow tint2 'Exec exec tint2')
相关tint2设置:

代码: 全选

#---------------------------------------------
# TINT2 CONFIG FILE
#---------------------------------------------

#---------------------------------------------
# BACKGROUND AND BORDER
#---------------------------------------------
rounded = 7
border_width = 0
#background_color = #000000 60
background_color = #368AA9 100
border_color = #ffffff 18

rounded = 5
border_width = 0
background_color = #ffffff 40
border_color = #ffffff 50

rounded = 5
border_width = 0
background_color = #ffffff 18
border_color = #ffffff 70

#---------------------------------------------
# PANEL
#---------------------------------------------
#panel_monitor = all
panel_monitor = 1
#panel_position = bottom center
panel_size = 1120 30
panel_position = bottom left horizontal
panel_margin = 0 0
panel_padding = 7 0
panel_layer = normal
font_shadow = 0
panel_background_id = 1
wm_menu = 0

#---------------------------------------------
# TASKBAR
#---------------------------------------------
#taskbar_mode = multi_desktop
taskbar_mode = single_desktop
taskbar_padding = 2 3 2
taskbar_background_id = 0

#---------------------------------------------
# TASKS
#---------------------------------------------
task_icon = 1
task_text = 1
task_width = 200
task_centered = 1
task_padding = 6 3
#task_font = sans 7
task_font = sans 10
task_font_color = #4B1F0C 70
#task_active_font_color = #FBFFD8 95
task_active_font_color = #4F335A 95
task_background_id = 3
task_active_background_id = 2

#---------------------------------------------
# SYSTRAYBAR
#---------------------------------------------
systray_padding = 0 4 5
systray_background_id = 0

#---------------------------------------------
# CLOCK
#---------------------------------------------
time1_format = %H:%M
time1_font = sans 10
#time2_format = %A %d %B
time2_format = %B %d %A
time2_font = sans 8
clock_font_color = #ffffff 76
clock_padding = 1 0
clock_background_id = 0
#clock_lclick_command = xclock
clock_rclick_command = orage

#---------------------------------------------
# BATTERY
#---------------------------------------------
battery = 1
battery_low_status = 10
battery_low_cmd = notify-send "battery low"
bat1_font = sans 8
bat2_font = sans 6
battery_font_color = #ffffff 76
battery_padding = 1 0
battery_background_id = 0


#---------------------------------------------
# MOUSE ACTION ON TASK
#---------------------------------------------
mouse_middle = none
mouse_right = close
#mouse_right = close
mouse_scroll_up = toggle
mouse_scroll_down = iconify

效果预览:

Re: 我的Fvwm面板, 就这样了吧!

发表于 : 2010-06-09 1:50
潇洒走一回
不准备再搞这个让我头大的问题了, 转而解决其他问题:
重启Fvwm后某些程序会被关闭(ExitFunction里面的东西与此无关), 比如Stardict和Fcitx, 很多时候重启后Firefox会丢失掉标题栏.
alsa记不住上次的声音大小, 每次开机Master和PCM都是一个不能预知的值, 我已经
Addto InitFunction
+ I Exec exec amixer -q sset Master 100%
+ I Exec exec amixer -q sset PCM 40%
但是还是不行, 一定是Fvwm执行了上面的命令后, 在之后的开机过程中, 某个程序又改变了声音值.
洗洗睡吧!

Re: 我的Fvwm面板, 就这样了吧!

发表于 : 2010-06-09 9:09
leeaman
tint2透明还好看啊

Re: 我的Fvwm面板, 就这样了吧!

发表于 : 2010-06-09 9:12
tenzu
阿姨会被气死 :em04

Re: 我的Fvwm面板, 就这样了吧!

发表于 : 2010-06-09 10:22
eexpress
气死?是我提的tint2。还是听我的好

Re: 我的Fvwm面板, 就这样了吧!

发表于 : 2010-06-09 10:23
eexpress
过一个月。lz试试simdock。
再过2个月。lz试试不要这些乱七八糟的东西。

Re: 我的Fvwm面板, 就这样了吧!

发表于 : 2010-06-09 10:33
潇洒走一回
eexpress 写了:气死?是我提的tint2。还是听我的好
谢谢EE推荐的tint2!

Re: 我的Fvwm面板, 就这样了吧!

发表于 : 2010-06-09 10:36
tenzu
eexpress 写了:气死?是我提的tint2。还是听我的好
好吧,气半死行么?

Re: 我的Fvwm面板, 就这样了吧!

发表于 : 2010-06-09 10:45
潇洒走一回
不管你们怎么说, 我先把面板弄好再说!
有个面板我可以随时眼睛一斜就可以看见处于哪个工作区, 看见有哪些任务, 看见是什么时间.
还有托盘, 可不是我想要它, 只是很多程序要往那塞东西, 我也没办法...

Re: 我的Fvwm面板, 就这样了吧!

发表于 : 2015-09-08 8:55
自由建客
tint2 那破玩意。還是 lxpanel 比較適合我。