自己的conky配置

仅供存放个人的配置文件,不要在本版发问。
回复
头像
龙四太子
帖子: 66
注册时间: 2011-01-28 11:59

自己的conky配置

#1

帖子 龙四太子 » 2011-03-06 21:31

还是自己配置的最好阿! 简单又实用。
只要求系统里有 xp的字体。没有的自己可以修改吗?

看截图:
附件
附件
自己的conky配置.zip
(118.66 KiB) 已下载 168 次
详细:
background no
font simhei:size=10
xftfont simhei:size=10
#font Sans:size=8
#xftfont Sans:size=10
use_xft yes
xftalpha 0.9
update_interval 1.0
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 220 5
maximum_width 220
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white
default_shade_color black
default_outline_color green
alignment top_right
gap_x 12
gap_y 35
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes
uppercase yes # set to yes if you want all text to be in uppercase

TEXT
${color white}DATE ${hr 1}${color}

${goto 65} ${time %Y}-${time %m}-${time %d}
${goto 65} ${time %A}
${goto 55} ${time %p %I:%M:%S}
${color white}SYSTEM ${hr 1}${color}

Hostname: $alignr$nodename
Kernel: $alignr$kernel
Uptime: $alignr$uptime
GPU Temp: ${alignr}${exec nvidia-settings -q GPUCoreTemp | grep Attribute | cut -d ' ' -f 6 | cut -c 1-2} C

CPU: ${alignr}${freq} MHz
Processes: ${alignr}$processes ($running_processes running)
Load: ${alignr}$loadavg
Updates: ${alignr}${execi 360 aptitude search "~U" | wc -l | tail} Packages

CPU1 ${alignr}${cpu cpu1}%
${cpubar 4 cpu1}
CPU2 ${alignr}${cpu cpu2}%
${cpubar 4 cpu2}

Ram ${alignr}$mem / $memmax ($memperc%)
${membar 4}
swap ${alignr}$swap / $swapmax ($swapperc%)
${swapbar 4}

${color white}Top Processes ${hr 1}${color}

Highest CPU $alignr CPU% MEM%
${top name 1}$alignr${top cpu 1}${top mem 1}
${top name 2}$alignr${top cpu 2}${top mem 2}
${top name 3}$alignr${top cpu 3}${top mem 3}

Highest MEM $alignr CPU% MEM%
${top_mem name 1}$alignr${top_mem cpu 1}${top_mem mem 1}
${top_mem name 2}$alignr${top_mem cpu 2}${top_mem mem 2}
${top_mem name 3}$alignr${top_mem cpu 3}${top_mem mem 3}

${color white}Filesystem ${hr 1}${color}

Root: ${fs_type /} ${alignr}${fs_free /} / ${fs_size /}
${fs_bar 4 /}
Tmp: ${fs_type /tmp}${alignr}${fs_free /tmp} / ${fs_size /tmp}
${fs_bar 4 /tmp}
Home: ${fs_type /home}${alignr}${fs_free /home} / ${fs_size /home}
${fs_bar 4 /home}
MNT: ${fs_type /home/MNT}${alignr}${fs_free /home/MNT} / ${fs_size /home/MNT}
${fs_bar 4 /home/MNT}

${color white}NETWORK ${hr 1}${color}

Down ${downspeed eth0} k/s ${alignr} Up ${upspeed eth0} k/s
${downspeedgraph eth0 25,107 FF6600 FFFFFF} ${alignr}${upspeedgraph eth0 25,107 FF6600 FFFFFF}
Upload: ${alignr}${totalup eth0}
Download: ${alignr}${totaldown eth0}
IP Address: ${alignr}${addr ppp0}
${color white}${hr 1}${color}
现在就是不太会设置字体的大小。 只要一设置。就会所有的字体都变大/
那位大牛帮帮忙。 我只需要。把上面的日期和时间放大。。
头像
eehightech
帖子: 100
注册时间: 2007-12-18 14:25

Re: 自己的conky配置

#2

帖子 eehightech » 2011-03-06 21:53

mark一下
头像
龙四太子
帖子: 66
注册时间: 2011-01-28 11:59

Re: 自己的conky配置

#3

帖子 龙四太子 » 2011-03-28 11:25

SDLmame热键设置(宏定义)
大家都在Linux下用xmame玩模拟,本人从小就是个模拟玩家。但是SDLmame不像windows的mame支持宏定义功能,就是组合键。

所以玩侍魂和KOF的时候真是不爽啊,今天捣鼓了半天,终于研究出来SDLmame也可以这么设置。:-)
每个键位都可以有多个键来控制,比如 A,你可以设置成J or L; B设置成K or L
这样按下L键的时候等于就是A和B一起了,这样侍魂里面的重刀就出来了,同理可以设置ABC三键用来KOF。
很容易,enjoy it.

给出我的按键设置,参考下。

button 1 : J or L or P

button 2 : K or H or L or P

button 3 : U or O or H or P

button 4 : I or O

这样设置的效果为:L = A+B, O = C+D, P = A+B+C, H = B+C

这样可以满足大部分game的按键需求了,这个比winkawaks模拟器通过修改ini文件来配置组合键方便多了吧?

本文章来自http://www.terrysco.com/node/xmame-keys.html
回复