+ -
当前位置:首页 → 问答吧 → ubuntu打印机打印中文有乱码

ubuntu打印机打印中文有乱码

时间:2011-08-04

来源:互联网

该死的T400,愚笨的该机使用者!一直在折腾的路上狂奔!
这是conkyrc里面监视温度的代码
# |--CPU
${offset 1}${color0}${font Poky:size=16}P${font}${offset -19}${voffset 9}${cpubar cpu0 4,18}${color}${voffset -16}${goto 32}CPU1: ${font Ubuntu:style=Bold:size=8}${color1}${cpu cpu1}%${font} ${alignr}${font Ubuntu:style=Bold:size=8}${color1}${execi 30 sensors | grep 'Core 0' | cut -c15-16}°C${color}${font} ${color2}${cpugraph cpu1 8,50 CE5C00 E07A1F}${color}
${goto 32}CPU2: ${font Ubuntu:style=Bold:size=8}${color1}${cpu cpu2}%${font} ${alignr}${font Ubuntu:style=Bold:size=8}${color1}${execi 30 sensors | grep 'Core 1' | cut -c15-16}°C${color}${font} ${color2}${cpugraph cpu2 8,50 CE5C00 E07A1F}${color}

某一天,心血来潮,想使用conky还监视硬件温度!奈何使用报错!
sunkoo@T400:~/software/conky_colors$ conky -c ~/.conkycolors/conkyrc
Conky: desktop window (1c000a9) is subwindow of root window (b3)
Conky: window type - override
Conky: drawing to created window (0x1800001)
Conky: drawing to double buffer
ERROR: Can't get value of subfeature temp6_input: Can't read
ERROR: Can't get value of subfeature temp8_input: Can't read
ERROR: Can't get value of subfeature temp12_input: Can't read
ERROR: Can't get value of subfeature temp13_input: Can't read
ERROR: Can't get value of subfeature temp14_input: Can't read
ERROR: Can't get value of subfeature temp15_input: Can't read
ERROR: Can't get value of subfeature temp16_input: Can't read
ERROR: Can't get value of subfeature temp6_input: Can't read
ERROR: Can't get value of subfeature temp8_input: Can't read
ERROR: Can't get value of subfeature temp12_input: Can't read
ERROR: Can't get value of subfeature temp13_input: Can't read
ERROR: Can't get value of subfeature temp14_input: Can't read
ERROR: Can't get value of subfeature temp15_input: Can't read
ERROR: Can't get value of subfeature temp16_input: Can't re


前思后想,始终不得要领!这到底是遂用里sensors命令查看一下!
sunkoo@T400:~$ sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +48.0°C (crit = +127.0°C)
temp2: +43.0°C (crit = +100.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Core 0: +43.0°C (high = +105.0°C, crit = +105.0°C)

coretemp-isa-0001
Adapter: ISA adapter
Core 1: +42.0°C (high = +105.0°C, crit = +105.0°C)

thinkpad-isa-0000
Adapter: ISA adapter
fan1: 2571 RPM
temp1: +48.0°C
temp2: +45.0°C
temp3: +37.0°C
temp4: +52.0°C
temp5: +50.0°C
ERROR: Can't get value of subfeature temp6_input: Can't read
temp6: +0.0°C
temp7: +33.0°C
ERROR: Can't get value of subfeature temp8_input: Can't read
temp8: +0.0°C
temp9: +39.0°C
temp10: +48.0°C
temp11: +42.0°C
ERROR: Can't get value of subfeature temp12_input: Can't read
temp12: +0.0°C
ERROR: Can't get value of subfeature temp13_input: Can't read
temp13: +0.0°C
ERROR: Can't get value of subfeature temp14_input: Can't read
temp14: +0.0°C
ERROR: Can't get value of subfeature temp15_input: Can't read
temp15: +0.0°C
ERROR: Can't get value of subfeature temp16_input: Can't read
temp16: +0.0°C

看来报错确实很诡异!这是哪个硬件的问题?一想到该死的ati卡!

sensors | grep fan | cut -c15-16

出现

unkoo@T400:~$ sensors | grep fan | cut -c11-17
ERROR: Can't get value of subfeature temp6_input: Can't read
ERROR: Can't get value of subfeature temp8_input: Can't read
ERROR: Can't get value of subfeature temp12_input: Can't read
ERROR: Can't get value of subfeature temp13_input: Can't read
ERROR: Can't get value of subfeature temp14_input: Can't read
ERROR: Can't get value of subfeature temp15_input: Can't read
ERROR: Can't get value of subfeature temp16_input: Can't read
2685

看来是不能读取ati显卡温度和风扇转速的原因,请问哪位大哥有办法能解决阿!谢谢了!

作者: 寒山   发布时间: 2011-08-04

sudo试试

作者: cuihao   发布时间: 2011-08-04

热门下载

更多