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显卡温度和风扇转速的原因,请问哪位大哥有办法能解决阿!谢谢了!
这是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
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28