Mat*_*Mat 5 conky sensors temperature 16.04
G'Day,垫这里。
只是想知道是否有人可以阐明为什么 Conky 执行器会是空的。
屏幕截图显示了 execi、execibar 和 execigauge 都在工作,但没有 execigraph。
Conky的截图代码:
TEXT ${execi 1 sensors -u | grep -A 0 'temp2_input' | cut -c 15-19} C ${execibar 1 sensors -u | grep -A 0 'temp2_input' | cut -c 15-19} ${execigauge 1 sensors -u | grep -A 0 'temp2_input' | cut -c 15-19} ${execigraph 1 sensors -u | grep -A 0 'temp2_input' | cut -c 15-19}
我的其他图表效果很好,我已经尝试过
${execigraph 50,500 1 sensors -u | grep -A 0 'temp2_input' | cut -c 15-19}
但是添加尺寸维度只会绘制一个空框。
谢谢阅读。
小智 7
我让它围绕着用“”执行的命令工作,这里以我的用法为例:
${execgraph "sensors | grep 'Core 0' | awk '{print $3}' | cut -b2,3"}
Run Code Online (Sandbox Code Playgroud)
它适用于 execgraph 和 execigraph;此外,请记住设置您的默认图形大小,例如: default_graph_size 175 25 。
您为default_graph_height和设置了某些内容default_graph_width吗?从手册页
指定图形的默认高度/宽度。这对于 execgraph 和 execigraph 特别有用,因为它们不接受大小参数
(也有可能“新”conky 1.10.x 只是有问题,它不使用相同的经过测试的可靠配置格式,但“引入了一种新的基于 Lua 的 conkyrc 配置格式”,并且显然在图形方面存在问题并删除了很多功能,例如${pre_exec})
| 归档时间: |
|
| 查看次数: |
4050 次 |
| 最近记录: |