Моя проблема в том, что в Ubuntu 14.10 старый код $ {nvidia temp} не работает, вместо этого я использую этот код: ${execi 60 nvidia-settings -query GPUCoreTemp | perl -ne 'print $1 if /GPUCoreTemp.*?: (\d+)./;'} °C Но этот код дважды показывает температуру, почему это может быть?
Вот скриншот
Вывод nvidia-settings -q gpucoretemp:
slaci@slaci-comp:~$ nvidia-settings -q gpucoretemp
Attribute 'GPUCoreTemp' (slaci-comp:0.0): 63.
'GPUCoreTemp' is an integer attribute.
'GPUCoreTemp' is a read-only attribute.
'GPUCoreTemp' can use the following target types: X Screen, GPU.
Attribute 'GPUCoreTemp' (slaci-comp:0[gpu:0]): 63.
'GPUCoreTemp' is an integer attribute.
'GPUCoreTemp' is a read-only attribute.
'GPUCoreTemp' can use the following target types: X Screen, GPU.