LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: 青铜镜

LFS贴图秀............

[复制链接]
发表于 2007-10-13 09:30:24 | 显示全部楼层
我的 fvwm 配置文件。
用tar xvf 打开后(.tar.bz2 文件,传上去就变成了 .bz2),文件夹叫 kkk ,改名为 .fvwm (注意前面的“点”) ,放在自己的目录下面就好了,另外,要把 .fvwm/scripts 放在 PATH 里,里面是我写的和别人的几个程序和脚本。
另,我用的是 pathed fvwm, 从下面的地址可以下载到。
http://abdn.ac.uk/%7Eu15dm4/fvwm/fvwm-2.5.23-patched.tar.gz

.fvwm2rc 里有一些注释,大家觉得对自己有用的话可以去掉注释看看效果,我觉得自己写得很清楚了(只不过是英文的,写习惯了)

由于这里的附件限制(200k),我不能上传(我的文件也就是425k),大家要的话,从这个地址下吧
http://blog.chinaunix.net/upfile/071013092755.bz2
回复 支持 反对

使用道具 举报

发表于 2007-10-13 09:34:29 | 显示全部楼层
好的,试装来看看,谢了!
回复 支持 反对

使用道具 举报

发表于 2007-10-13 12:12:23 | 显示全部楼层
Post by whitelilis
我的 fvwm 配置文件。
用tar xvf 打开后(.tar.bz2 文件,传上去就变成了 .bz2),文件夹叫 kkk ,改名为 .fvwm (注意前面的“点”) ,放在自己的目录下面就好了,另外,要把 .fvwm/scripts 放在 PATH 里,里面是我写的和别人的几个程序和脚本。
另,我用的是 pathed fvwm, 从下面的地址可以下载到。
http://abdn.ac.uk/%7Eu15dm4/fvwm/fvwm-2.5.23-patched.tar.gz

.fvwm2rc 里有一些注释,大家觉得对自己有用的话可以去掉注释看看效果,我觉得自己写得很清楚了(只不过是英文的,写习惯了)

由于这里的附件限制(200k),我不能上传(我的文件也就是425k),大家要的话,从这个地址下吧
http://blog.chinaunix.net/upfile/071013092755.bz2


好人啊!
已经收下,有空研究下。
回复 支持 反对

使用道具 举报

发表于 2007-10-13 15:49:15 | 显示全部楼层
使用LFS为什么还用KDE,直接上FVWM不是多好,毕竟KDE有很多东东感觉没有什么用处啊,个人总结,系统、VI或Eemacs加个浏览器firefox或Opera就足够了的,编KDE挺花时间的……
回复 支持 反对

使用道具 举报

发表于 2007-10-13 20:03:15 | 显示全部楼层
不好意思,忘了贴我的 .conkyrc ,
也放到下面来
[PHP]
# set to yes if you want Conky to be forked in the background
background yes

cpu_avg_samples 2
net_avg_samples 2

out_to_console no

# X font when Xft is disabled, you can pick one with program xfontsel
#font 7x12
#font 6x10
#font 7x13
font -bitstream-bitstream vera sans mono-medium-r-normal--11-0-0-0-m-0-iso10646-1
#font 8x13
#font 7x12
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
#font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1
#font -wenquanyi-wenquanyi bitmap song-bold-r-normal--0-0-75-75-p-0-iso10646-1
# Use Xft?
use_xft no

# Xft font when Xft is enabled
override_utf8_locale yes
xftfont "Shadow=1:xft:WenQuanYi Bitmap Song:size=12:encoding=iso10646-1"

own_window_transparent no
own_window_colour hotpink

# Text alpha when using Xft
xftalpha 0.8


# mail spool
mail_spool $MAIL

# Update interval in seconds
update_interval 1

# Create own window instead of using desktop (required in nautilus)
own_window no

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 5 5
#maximum_width 150

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders yes

# Stippled borders?
stippled_borders 0

# border margins
border_margin 10

# border width
border_width 1

# Default colors and also border colors
default_color black
default_shade_color red
default_outline_color yellow

# Text alignment, other possible values are commented
alignment top_left
#alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text

gap_x 240
gap_y 40

# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer yes

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# boinc (seti) dir
# seti_dir /opt/seti

# Possible variables to be used:
#
#      Variable         Arguments                  Description               
#  acpiacadapter                     ACPI ac adapter state.                  
#  acpifan                           ACPI fan state                           
#  acpitemp                          ACPI temperature.                        
#  adt746xcpu                        CPU temperature from therm_adt746x      
#  adt746xfan                        Fan speed from therm_adt746x            
#  battery           (num)           Remaining capasity in ACPI or APM        
#                                    battery. ACPI battery number can be      
#                                    given as argument (default is BAT0).     
#  buffers                           Amount of memory buffered               
#  cached                            Amount of memory cached                  
#  color             (color)         Change drawing color to color            
#  cpu                               CPU usage in percents                    
#  cpubar            (height)        Bar that shows CPU usage, height is      
#                                    bar's height in pixels                  
#  downspeed         net             Download speed in kilobytes              
#  downspeedf        net             Download speed in kilobytes with one     
#                                    decimal                                 
#  exec              shell command   Executes a shell command and displays   
#                                    the output in torsmo. warning: this      
#                                    takes a lot more resources than other   
#                                    variables. I'd recommend coding wanted   
#                                    behaviour in C and posting a patch :-).  
#  execi             interval, shell Same as exec but with specific interval.
#                    command         Interval can't be less than              
#                                    update_interval in configuration.        
#  fs_bar            (height), (fs)  Bar that shows how much space is used on
#                                    a file system. height is the height in   
#                                    pixels. fs is any file on that file      
#                                    system.                                 
#  fs_free           (fs)            Free space on a file system available   
#                                    for users.                              
#  fs_free_perc      (fs)            Free percentage of space on a file      
#                                    system available for users.              
#  fs_size           (fs)            File system size                        
#  fs_used           (fs)            File system used space                  
#  hr                (height)        Horizontal line, height is the height in
#                                    pixels                                   
#  i2c               (dev), type, n  I2C sensor from sysfs (Linux 2.6). dev   
#                                    may be omitted if you have only one I2C  
#                                    device. type is either in (or vol)      
#                                    meaning voltage, fan meaning fan or temp
#                                    meaning temperature. n is number of the  
#                                    sensor. See /sys/bus/i2c/devices/ on     
#                                    your local computer.                     
#  kernel                            Kernel version                           
#  loadavg           (1), (2), (3)   System load average, 1 is for past 1     
#                                    minute, 2 for past 5 minutes and 3 for   
#                                    past 15 minutes.                        
#  machine                           Machine, i686 for example               
#  mails                             Mail count in mail spool. You can use   
#                                    program like fetchmail to get mails from
#                                    some server using your favourite         
#                                    protocol. See also new_mails.            
#  mem                               Amount of memory in use                  
#  membar            (height)        Bar that shows amount of memory in use   
#  memmax                            Total amount of memory                  
#  memperc                           Percentage of memory in use              
#  new_mails                         Unread mail count in mail spool.         
#  nodename                          Hostname                                 
#  outlinecolor      (color)         Change outline color                     
#  pre_exec          shell command   Executes a shell command one time before
#                                    torsmo displays anything and puts output
#                                    as text.                                 
#  processes                         Total processes (sleeping and running)   
#  running_processes                 Running processes (not sleeping),        
#                                    requires Linux 2.6                       
#  shadecolor        (color)         Change shading color                     
#  stippled_hr       (space),        Stippled (dashed) horizontal line        
#                    (height)        
#  swapbar           (height)        Bar that shows amount of swap in use     
#  swap                              Amount of swap in use                    
#  swapmax                           Total amount of swap                     
#  swapperc                          Percentage of swap in use               
#  sysname                           System name, Linux for example           
#  time              (format)        Local time, see man strftime to get more
#                                    information about format                 
#  totaldown         net             Total download, overflows at 4 GB on     
#                                    Linux with 32-bit arch and there doesn't
#                                    seem to be a way to know how many times  
#                                    it has already done that before torsmo   
#                                    has started.                             
#  totalup           net             Total upload, this one too, may overflow
#  updates                           Number of updates (for debugging)        
#  upspeed           net             Upload speed in kilobytes               
#  upspeedf          net             Upload speed in kilobytes with one      
#                                    decimal                                 
#  uptime                            Uptime                                   
#  uptime_short                      Uptime in a shorter format               
#
#  seti_prog                         Seti@home current progress
#  seti_progbar      (height)        Seti@home current progress bar
#  seti_credit                       Seti@hoome total user credit


# ${pre_exec genConkyCalDate.sh} # put it anywhere if you like a cal, make sure (font mono,use_spacer) is on


# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
#${font Dungeon:style=Bold:pixelsize=10}I can change the font as well
#${font Verdana:size=10}as many times as I choose
#${font Perry:size=10}Including UTF-8,
#${font Luxi Mono:size=10}justo como este texto que o google traduz fêz o português
# stuff after 'TEXT' will be formatted on screen

TEXT
${color white}[${color #00ff00}${pre_exec whoami}${color white}][${color red}$nodename${color white}]-${color white}$sysname $kernel ${color #00ff00}on ${color white}$machine
${color #00ff00}${time %k:%M:%S}  ${color white}Uptime: $uptime
${color white}${hr 2}
${color #ffccaa}Monitors-
${color white}cpu: ${color #00ff00}${cpu}%     ${color #00ff00}${freq}M/${acpitemp}'C
${color white}${cpugraph cpu1 25 ff0000 ff00ff}
${color white}${cpugraph cpu2 25 ff0000 ff00ff}
${color white}ram : ${color #00ff00}$mem${color white}/${color #00ff00}$memmax ${color white}- ${color #00ff00}$memperc%
${color white}swap: ${color #00ff00}$swap${color white}/${color #00ff00}$swapmax ${color white}   - ${color #00ff00}$swapperc%

${color #ffccaa}Net{color #BBBBBB}eth0-
${color white}DOWN: ${color #00ff00}${downspeed eth0} k/s            ${color white}UP: ${color #00ff00}${upspeed eth0} k/s
${color white}${downspeedgraph eth0 25,100 ff0000 0000ff}          ${color white}${upspeedgraph eth0 25,100 0000ff ff0000}
${color white}TOTAL: ${color #00ff00}${totaldown eth0}                ${color white}TOTAL: ${color #00ff00}${totalup eth0}

${color #ffccaa} spaces:
${color white}/     : ${color #00ff00}${fs_used /}${color white}/${color #00ff00}${fs_size /} ${color white}(${color #00ff00}${fs_free /} ${fs_free_perc /}% ${color white} free)
       ${fs_bar /}
${color white}/usr  : ${color #00ff00}${fs_used /usr}${color white}/${color #00ff00}${fs_size /usr} ${color white}(${color #00ff00}${fs_free /usr} ${fs_free_perc /usr}% ${color white} free)
       ${fs_bar /usr}

${color #ffccaa}Processes{color #00ff00}$processes        ${color white}running: ${color #00ff00}$running_processes
${color #00ff00}Nombre            PID     CPU%   MEM%
${color #ddaa00} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color white} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color white} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}

${color white}first host/ port{goto 380}${color #00ff00}${tcp_portmon 1 65535 rhost 0}/${tcp_portmon 1 65535 rport 0}
${color white}all net count{goto 380}${color #00ff00}${tcp_portmon 1 65535 count}
${color white}new         / all {goto 380}${color #00ff00}${new_mails}/${mails}



[/PHP]
回复 支持 反对

使用道具 举报

发表于 2007-10-14 21:40:26 | 显示全部楼层
Thanks again!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-12-1 12:37:31 | 显示全部楼层
Post by d00m3d;1767690
Thanks again!



版主,
好奇心起,
想参观一下你的桌面……
回复 支持 反对

使用道具 举报

发表于 2007-12-1 12:55:41 | 显示全部楼层
俺的桌面超简陋,什麽都没有,这是其中一个:

http://www.linuxsir.cn/bbs/showthread.php?t=225129

真羡慕你们可以桌面弄得那麽弦,还可以秀图以众 :Applause:
回复 支持 反对

使用道具 举报

发表于 2007-12-1 13:14:11 | 显示全部楼层
看来真的高手是 d00m3d 兄这样,不在乎用什么的人呀
佩服一个先
回复 支持 反对

使用道具 举报

发表于 2007-12-1 13:25:35 | 显示全部楼层
看了 d00m3d 的截图,那些个格子,在我显示器上看着好闪……眼睛已经花了……
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表