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

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
潇洒走一回
帖子: 735
注册时间: 2009-05-20 21:43

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

#1

帖子 潇洒走一回 » 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

效果预览:
附件
2010-06-09--01-39-31_scrot_sec.png
2010-06-09--01-39-47_scrot_sec.png
2010-06-09--01-39-47_scrot_sec.png (38.46 KiB) 查看 6986 次
2010-06-09--01-39-43_scrot_sec.png
2010-06-09--01-39-43_scrot_sec.png (37.32 KiB) 查看 6986 次
2010-06-09--01-39-31_scrot_sec.png
2010-06-09--01-39-12_scrot_scr.png
头像
潇洒走一回
帖子: 735
注册时间: 2009-05-20 21:43

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

#2

帖子 潇洒走一回 » 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执行了上面的命令后, 在之后的开机过程中, 某个程序又改变了声音值.
洗洗睡吧!
头像
leeaman
帖子: 30702
注册时间: 2007-02-02 18:14
系统: debian sid

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

#3

帖子 leeaman » 2010-06-09 9:09

tint2透明还好看啊
醉了星星,醉月亮●●●●●The Long Way To Go(*^_^*)
头像
tenzu
论坛版主
帖子: 36924
注册时间: 2008-11-21 20:26

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

#4

帖子 tenzu » 2010-06-09 9:12

阿姨会被气死 :em04
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

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

#5

帖子 eexpress » 2010-06-09 10:22

气死?是我提的tint2。还是听我的好
● 鸣学
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

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

#6

帖子 eexpress » 2010-06-09 10:23

过一个月。lz试试simdock。
再过2个月。lz试试不要这些乱七八糟的东西。
● 鸣学
头像
潇洒走一回
帖子: 735
注册时间: 2009-05-20 21:43

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

#7

帖子 潇洒走一回 » 2010-06-09 10:33

eexpress 写了:气死?是我提的tint2。还是听我的好
谢谢EE推荐的tint2!
头像
tenzu
论坛版主
帖子: 36924
注册时间: 2008-11-21 20:26

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

#8

帖子 tenzu » 2010-06-09 10:36

eexpress 写了:气死?是我提的tint2。还是听我的好
好吧,气半死行么?
头像
潇洒走一回
帖子: 735
注册时间: 2009-05-20 21:43

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

#9

帖子 潇洒走一回 » 2010-06-09 10:45

不管你们怎么说, 我先把面板弄好再说!
有个面板我可以随时眼睛一斜就可以看见处于哪个工作区, 看见有哪些任务, 看见是什么时间.
还有托盘, 可不是我想要它, 只是很多程序要往那塞东西, 我也没办法...
头像
自由建客
帖子: 13468
注册时间: 2008-07-30 23:21
系统: Debian stable AMD64

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

#10

帖子 自由建客 » 2015-09-08 8:55

tint2 那破玩意。還是 lxpanel 比較適合我。
回复