2013年8月8日星期四

分享一个网上找到的conky


Conky 不仅十分小巧,它不会消耗多少系统资源空间;而且可以很漂亮,
本身支持伪透明特性,能够嵌入到桌面中。用于实时监视系统,了解系统运行之状况
,实在是不二之选。


Conky 的安装是非常简单的,一句 sudo apt-get install conky 就可搞定

找到配置文件Find / name *conkyrc 

写入下面代码


background yes
use_xft yes
override_utf8_locale yes
xftfont WenQuanYi Micro Hei:size=9
# xftfont Terminus:size=9
xftalpha 0.8
update_interval 5.0
total_run_times 0
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 250 10
maximum_width 200
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
#default_color white
#default_color AD7FA8
default_color AD7FA8
default_shade_color black
alignment top_right
gap_x 10
gap_y 30
no_buffers yes
cpu_avg_samples 2
override_utf8_locale yes
uppercase no
use_spacer none

TEXT
${alignc 56}${font DotMatrix:style=Bold:size=36}${time %H:%M}${font}
#${font DotMatrix:size=13}:${time %S}${font}
${color #8AE234}$hr${color}
${alignc 27}${font WenQuanYi Micro Hei:size=18}${time %B}  ${time %Y}${font}
${font DejaVu Sans Mono:size=11}${color}${execpi 60 DJS=`date +%_d`; cal | sed '1d' | sed '/./!d' | sed 's/$/                     /' | fold -w 21 | sed -n '/^.\{21\}/p' | sed 's/^/${alignc} /' | sed /" $DJS "/s/" $DJS "/" "'${color 6796C8}'"$DJS"'${color}'" "/}${font}

System: ${alignr} ${execi 99999 lsb_release -d -s -c | tr -s "\n" " "}
Kernel: $alignr $kernel
Uptime: $alignr $uptime
${color #8AE234}${font 321impact:size=10}SYSTEM${font}$stippled_hr${color}
${color #4E9A06}Battery: ${alignr 5}${battery_bar 8,100 BAT1}
BatteryTime: ${alignr} ${battery_time BAT1}
#${execi 99999 cat /proc/cpuinfo | grep "model name" -m1 | cut -d":" -f2 | cut -d" " -f2- | sed 's#Processor ##'}
CPU: ${cpu cpu}% ${alignr}
${cpubar 4,95 cpu1}${alignr}
RAM: $alignr $mem/$memmax
${membar 3}
Swap: $alignr $swap / $swapmax
${swapbar 3}${color}
#${color #EF2929}${font 321impact:size=10}Temp${font}$stippled_hr${color}
#${color #CC0000} CPU: ${alignr}${acpitemp}C
# GPU: ${alignr}${execi 30 nvidia-settings -q [gpu:0]/GPUCoreTemp | grep '):' | awk '{print $4}' | sed 's/\.//'}C${color}
${color #729FCF}${font 321impact:size=10}HDD${font}$stippled_hr${color}
${color #3465A4}I/O:
Write: $diskio_write ${alignr}Read: $diskio_read
${diskiograph_write 5,95} ${alignr}${diskiograph_read 5,95}
ROOT: $alignr ${fs_free /} / ${fs_size /}
${fs_bar 3 /}
HOME: $alignr ${fs_free /home} / ${fs_size /home}
${fs_bar 3 /home}${color}
${color #FCE94F}${font 321impact:size=10}Networks${font}$stippled_hr${color}
${color #C4A000}Down ${downspeed eth0} k/s ${alignr}Up ${upspeed eth0} k/s
${downspeedgraph eth0 10,95} ${alignr}${upspeedgraph eth0 10,95}
Total ${totaldown eth0} ${alignr}Total ${totalup eth0}${color}
${color #34E2E2}${font 321impact:size=10}Top${font}$stippled_hr${color}
${color #06989A}Name ${alignr} PID    CPU%   MEM%${color}
${color #FB0808} ${top name 1} ${alignr} ${top pid 1} ${top cpu 1} ${top mem 1}$color
${color #F6620C} ${top name 2} ${alignr} ${top pid 2} ${top cpu 2} ${top mem 2}${color}
${color #F6E80C} ${top name 3} ${alignr} ${top pid 3} ${top cpu 3} ${top mem 3}${color}
${color #08CB2F} ${top name 4} ${alignr} ${top pid 4} ${top cpu 4} ${top mem 4}
${color #0DBCCE} ${top name 5} ${alignr} ${top pid 5} ${top cpu 5} ${top mem 5}
${color #2758CF} ${top name 6} ${alignr} ${top pid 6} ${top cpu 6} ${top mem 6}
#$stippled_hr
#Mem usage$color
#${color #ddaa00} ${top_mem name 1} $alignr ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}$color
# ${top_mem name 2} $alignr ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
# ${top_mem name 3} $alignr ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}

2013年8月5日星期一

kali渗透系统安装后记



kali  安装后调试

http://blog.sina.com.cn/s/blog_40983e5e0101dhz0.html
http://xiao106347.blog.163.com/blog/static/215992078201342410347137/


安装StarDict   星际译王

   Kali 安装 VirtualBox

   1.apt-get install  gdebi  (有了这个安装软件就不用在终端中dpkg -i 安装了,提供图形化软件安装方式)
  2. apt-get install libqt4-opengl

  https://www.virtualbox.org/wiki/Linux_Downloads
下载vbox Debian 7.0 ("Wheezy")  i386
不用dpkg -i 图形化安装,安装成功
运行出错


 Kernel driver not installed (rc=-1908)


 

  解决方法:  apt-get install dkms
  aptitude update
aptitude install dkms
 /etc/init.d/vboxdrv setup