conky透明背景色问题!在线等!!!

重复贴和参考价值不大的帖子,版主维护
回复
EnjoyHack
帖子: 14
注册时间: 2011-05-16 23:43
送出感谢: 0
接收感谢: 0

conky透明背景色问题!在线等!!!

#1

帖子 EnjoyHack » 2011-05-27 15:34

我安装了conky 现在在制作透明地方遇到了点问题。首先在own_window_type哪里设置成normal后透明状态下有个背景色是白的。我想更换下颜色不知道怎么修改!如果把normal修改成panel后有完全透明了 和桌面效果不怎么融洽!而且panel或者dock状态下打开一些窗口后默认的窗口大小会很小。很不爽!!!desktop模式下只要点击桌面右键后效果就消失了!!!

这个是normal状态下的透明效果:
snapshot1.png
snapshot1.png (81.04 KiB) 查看 814 次
这个是panel下的透明效果:
snapshot2.png
snapshot2.png (95.57 KiB) 查看 814 次
我的conkyrc:

代码: 全选

background yes
font Snap.se:size=8
xftfont Snap.se:size=8
use_xft yes
xftalpha 0.1
update_interval 1.0
total_run_times 0
own_window yes
own_window_type panel
own_window_transparent yes
own_window_argb_visual yes
own_window_class conky-semi
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders no
minimum_size 250 5
maximum_width 306
default_color ffffff
default_shade_color 000000
default_outline_color 000000
alignment top_right
gap_x 5
gap_y 5
no_buffers yes
cpu_avg_samples 2
override_utf8_locale no
uppercase no
use_spacer no

TEXT
${color yellow} ${font Aerial:style=Bold:pixelsize=10}SYSTEM${font Snap.se:size=8} ${hr 1 }

${color green}Hostname: ${color yellow}${alignr}BackTrack 5
${color green}Kernel: ${color yellow}$alignr$sysname ($kernel)
${color green}Uptime: ${color yellow}$alignr$uptime
${color green}Processes: ${color yellow}${alignr}$processes ($running_processes running)
${color green}Load: ${color yellow}${alignr}$loadavg
${color green}CPU      ${color yellow} ${alignc} ${freq}MHz / ${acpitemp}C ${alignr}(${cpu cpu1}%)
${color red}${cpubar 4 cpu1}
${cpugraph 29,250 ffffff ff3333}
${color green}RAM ${color yellow}${alignr}$mem / $memmax ($memperc%)
${color red}${membar 4}
${color green}SWAP ${color yellow}${alignr}$swap / $swapmax ($swapperc%)
${color red}${swapbar 4}
${color green}Highest CPU $alignr CPU% MEM% 
${color green}${hr 1}
${color yellow}${top name 1}$alignr${top cpu 1}${top mem 1}
${color yellow}${top name 2}$alignr${top cpu 2}${top mem 2}
${color green}Highest MEM $alignr CPU% MEM%
${color green}${hr 1}
${color yellow}${top_mem name 1}$alignr${top_mem cpu 1}${top_mem mem 1}
${color yellow}${top_mem name 2}$alignr${top_mem cpu 2}${top_mem mem 2}

${color yellow}${font Aerial:style=Bold:pixelsize=10}NETWORK ${font Snap.se:size=8}${hr 1}

${color green}Down ${color yellow}${downspeed eth0} k/s ${alignr}${color green}Up ${color yellow}${upspeed eth0} k/s
${downspeedgraph eth0 25,107 ffffff ff3333} ${alignr}${upspeedgraph eth0 25,107 ffffff ff3333}
${color green}Total ${color yellow}${totaldown eth0} ${alignr}${color green}Total ${color yellow}${totalup eth0}
${color green}Private Address: $alignr${color yellow}${addr eth0}
${color green}Public Address: $alignr${color yellow}${execi 300 /root/.conky_scripts/ip.sh}

${color yellow}${font Aerial:style=Bold:pixelsize=10}CONNECTIONS ${font Snap.se:size=8}${hr 1}

${color green}Inbound: ${color yellow}${tcp_portmon 1 32767 count}${color green}  ${alignc}Outbound: ${color yellow}${tcp_portmon 32768 61000 count}${alignr} ${color green}ALL: ${color yellow}${tcp_portmon 1 65535 count}
${color green}Inbound Connection ${alignr} Local Service/Port$color
${color yellow} ${tcp_portmon 1 32767 rhost 0} ${alignr} ${tcp_portmon 1 32767 lservice 0}
${color yellow} ${tcp_portmon 1 32767 rhost 1} ${alignr} ${tcp_portmon 1 32767 lservice 1}
${color yellow} ${tcp_portmon 1 32767 rhost 2} ${alignr} ${tcp_portmon 1 32767 lservice 2}
${color green}Outbound Connection ${alignr} Remote Service/Port$color
${color yellow} ${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0}
${color yellow} ${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1}
${color yellow} ${tcp_portmon 32768 61000 rhost 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2}

${color yellow}${font Aerial:style=Bold:pixelsize=10}FILESYSTEM ${font Snap.se:size=8}${hr 1}

${color green}Root: ${color yellow}${alignr}${fs_free /} / ${fs_size /}
${color red}${fs_bar 4 /}
${color green}Boot: ${color yellow}${alignr}${fs_free /boot} / ${fs_size /boot}
${color red}${fs_bar 4 /boot}

${color yellow}${font Aerial:style=Bold:pixelsize=10}BACKTRACK RSS ${font Snap.se:size=8}${hr 1}
${color green}${execi 300 /root/.conky_scripts/conky-rss.sh http://www.offensive-security.com/blog/feed/}
头像
枫叶饭团
论坛版主
帖子: 14685
注册时间: 2010-06-16 1:05
系统: Mac OS X
来自: Tencent
送出感谢: 1 次
接收感谢: 132 次
联系:

Re: conky透明背景色问题!在线等!!!

#2

帖子 枫叶饭团 » 2011-05-27 15:44

conky从来只拿别人的配置的泪奔 :em06
EnjoyHack
帖子: 14
注册时间: 2011-05-16 23:43
送出感谢: 0
接收感谢: 0

Re: conky透明背景色问题!在线等!!!

#3

帖子 EnjoyHack » 2011-05-27 15:57

手册主要全是英文!!看起来吃力。。没办法!!!希望这里能找到高手解决!!
回复

回到 “归档贴”