You are not logged in.
@ pawel2k
OK here is a NEW "test conky" in conky v10 format, save this OVER: ~/test.conky
conky.config = {
alignment = 'top_left',
gap_x = 60,
gap_y = 60,
background = true,
border_width = 1,
cpu_avg_samples = 2,
default_color = 'white',
default_outline_color = 'white',
default_shade_color = 'white',
draw_borders = false,
draw_graph_borders = true,
draw_outline = false,
draw_shades = false,
use_xft = true,
font = 'DejaVu Sans Mono:size=10',
minimum_height = 300,
minimum_width = 300,
net_avg_samples = 2,
no_buffers = true,
double_buffer = true,
update_interval = 0.5,
out_to_console = false,
out_to_stderr = false,
extra_newline = false,
own_window = true,
own_window_class = 'Conky',
own_window_type = 'normal',
own_window_transparent = true,
stippled_borders = 0,
update_interval = 1.0,
uppercase = false,
use_spacer = 'none',
show_graph_scale = false,
show_graph_range = false,
}
conky.text = [[
${time %T}${alignr}${time %x}
${voffset -15}${alignc}${color6}UTC:${color} ${utime %H:%M} ${color6}${color}
${alignc}${color2}Boot:${color} ${execi 3600 who -b | cut -c23-} ${color2}Up:${color} ${exec w | awk '/ up /{gsub(/,$/,"",$3);print $3}'}
${color0}CPU Total${color} ${if_match ${cpu cpu0}<10}··${cpu cpu0}\
${else}${if_match ${cpu cpu0}<100}·${cpu cpu0}\
${else}${color9}${cpu cpu0}${endif}${endif}${color}%\
${alignr}${color0}Test Conky${color} v${conky_version}
${alignc}${color9}${swapbar 0,30}${color} ↓ test code ↓ ${color9}${swapbar 0,30}${color}
${color9}${swapbar 0}${color}
This is a test conky
${color9}${swapbar 0}${color}
${alignc}${color9}${swapbar 0,15}${color} ↑ between lines ↑ ${color9}${swapbar 0,15}${color}
]]Let's see how well this works. If it does I'll re-write the Bunsen conky for you.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
pawel@debian:~$ conky -c ~/test.conky
conky: Syntax error (/home/pawel/test.conky:64: '}' expected (to close '{' at line 1) near 'bottom_left') while reading config file.
conky: Assuming it's in old syntax and attempting conversion.
conky: [string "..."]:139: attempt to index local 'settings' (a nil value)btw. i appreciated what you are doing ![]()
btw2. so my Conky version is newer? or outdated
Offline
btw. i appreciated what you are doing
btw2. so my Conky version is newer? or outdated
Your welcome ... I love to help with conkys.
v10 is newer, I have 1.9 here
OK, let me fix some errors. ![]()
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
@ pawel2k
Check out post # 21 - New code for ~/test.conky (over write the old one)
I installed conky v10 here to make sure - see image.
Missing colour etc but it's working here. Check the font - DejaVu Sans Mono (standard on a Debian system isn't it?)
Try it on your system and let me know
EDIT: I have it with colour now ....
Working on Bunsen Default ![]()
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Offline
Well, getting better ....
I have colour now as well.
However, I have to hit the pit, it's 00:14 here and I'm an old man that needs his 'youth' sleep ![]()
Will continue to play tomorrow. ![]()
Meantime try this:
man conky > conky.man.txtthen open 'conky.man.txt' in your favourite editor.
Here's what I have with the colour working:
conky.config = {
alignment = 'top_left',
own_window = true,
own_window_class = 'Conky',
own_window_type = 'normal',
own_window_transparent = true,
own_window_hints = 'skip_taskbar,skip_pager',
own_window_colour = '000000',
-- own_window_title = 'Sector11's Test Conky', --- Hmmm this does not exist on v10
-- own_window_argb_visual = true,
-- own_window_argb_value = 0,
minimum_height = 0,
minimum_width = 350,
maximum_width = 350,
gap_x = 90,
gap_y = 90,
background = true,
border_width = 1,
cpu_avg_samples = 2,
default_color = 'DCDCDC',
color0 = '98FB98',
color1 = '778899',
color2 = 'FFD700',
color3 = 'B0E0E6',
color4 = 'F4A460',
color5 = 'DEB887',
color6 = '00BFFF',
color7 = '5F9EA0',
color8 = 'FFA500',
color9 = 'FF4500',
default_outline_color = 'black',
default_shade_color = 'black',
draw_borders = false,
draw_graph_borders = true,
draw_outline = false,
draw_shades = false,
use_xft = true,
font = 'Fira Mono:bold:size=9',
net_avg_samples = 2,
no_buffers = true,
double_buffer = true,
out_to_console = false,
out_to_stderr = false,
extra_newline = false,
stippled_borders = 0,
uppercase = false,
use_spacer = 'none',
show_graph_scale = false,
show_graph_range = false,
double_buffer = true,
background = true,
update_interval = 1.0,
}
conky.text = [[
${time %T}${alignr}${time %x}
${voffset -15}${alignc}${color6}UTC:${color} ${utime %H:%M} ${color6}${color}
${alignc}${color2}Boot:${color} ${execi 3600 who -b | cut -c23-} ${color2}Up:${color} ${exec w | awk '/ up /{gsub(/,$/,"",$3);print $3}'}
${color0}CPU Total${color} ${if_match ${cpu cpu0}<10}··${cpu cpu0}\
${else}${if_match ${cpu cpu0}<100}·${cpu cpu0}\
${else}${color9}${cpu cpu0}${endif}${endif}${color}%\
${alignr}${color0}Test Conky${color} v${conky_version}
${alignc}${color9}${swapbar 0,30}${color} ↓ test code ↓ ${color9}${swapbar 0,30}${color}
${color9}${swapbar 0}${color}
This is a test conky
${color9}${swapbar 0}${color}
${alignc}${color9}${swapbar 0,15}${color} ↑ between lines ↑ ${color9}${swapbar 0,15}${color}
]]I'm going to have to convert a LOT of conkys {sigh} someday ... but not soon!
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
@OP
Note that the new version of conky (v1.10) uses different syntax, so most older configs need a lot of editing. There is link to a converter script on the wiki, but there is usually some manual tweaking to be done as well.
From your screenshots I wonder if you are having a problem with the compositor? Try restarting it.
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
@ pawel2k
What damo said up one post.
Even converting conky with 'convert.lua' I end up with errors that I just can't seem to fix.
Time for this conkystador to retire! LUA and I are not friends.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
@ damo - this has been converted with convert.lua, can you test it and see if there are any OOPSIES! please.
I've reverted back to conky v9 I have -way-to-many- to convert. ![]()
Other than the calendar section on the tail end it's what pawel2k is looking for.
conky.config = {
-- Begin Window Settings
own_window = true,
own_window_type = 'normal',
own_window_transparent = true,
own_window_hints = 'undecorated,below,skip_taskbar,skip_pager,sticky',
own_window_colour = '#000000',
own_window_class = 'Conky',
own_window_title = 'Bunsen Labs Default Conky',
own_window_argb_visual = true,
own_window_argb_value = 50,
minimum_width = 200, minimum_height = 0,
maximum_width = 200,
gap_x = 20,
gap_y = 45,
alignment = 'top_right',
-- End Window Settings
-- Font Settings
use_xft = true,
-- font = 'Fira Mono:bold:size=10',
font = 'Fantasque Sans Mono:bold:size=10',
xftalpha = 1,
override_utf8_locale = true,
uppercase = false,
-- End Font Settings
-- Colour Settings
draw_shades = true,
default_shade_color = '#000000',
draw_outline = false,
default_outline_color = '#000000',
default_color = '#C0C0C0',-- Silver
color0 = '#B0E0E6',-- PowderBlue
color1 = '#778899',-- LightSlateGray
color2 = '#D8BFD8',-- Thistle
color3 = '#9ACD32',-- YellowGreen
color4 = '#FFA07A',-- LightSalmon
color5 = '#FFDEAD',-- NavajoWhite
color6 = '#00BFFF',-- DeepSkyBlue
color7 = '#5F9EA0',-- CadetBlue
color8 = '#BDB76B',-- DarkKhaki
color9 = '#CD5C5C',-- IndianRed
-- End Colour Settings
-- Borders Section
draw_borders = false,
stippled_borders = 5,
border_inner_margin = 5,
border_outer_margin = 0,
border_width = 2,
draw_graph_borders = true,
default_graph_width = 15, default_graph_height = 40,
-- End Borders Section
-- Miscellaneous Section
background = true,
use_spacer = 'none',
text_buffer_size = 6144,
no_buffers = true,
short_units = true,
pad_percents = 2,
imlib_cache_size = 0,
double_buffer = true,
max_user_text = 16384,
temperature_unit = 'fahrenheit',
-- End Miscellaneous Section
update_interval = 1,
};
conky.text = [[
${color}${alignc}S Y S T E M I N F O
${hr}
Host:${alignr}${nodename}
Uptime:${alignr}${uptime}
UTC:${alignr}${utime %H:%M}
${goto 60}Used${alignr}Size
Root${goto 60}${fs_used /}${alignr}${fs_size /}
Home${goto 60}${fs_used /home}${alignr}${fs_size /home}
${goto 60}MEM${alignr}MAX
RAM${goto 60}${mem}${alignr}${memmax}
Swap${goto 60}${swap}${alignr}${swapmax}
CPU:${goto 60}Used${alignr}GHz
Avg${goto 60}${if_match ${cpu cpu0}<10} ${cpu cpu0}\
${else}${if_match ${cpu cpu0}<100} ${cpu cpu0}\
${else}${cpu cpu0}${endif}${endif}%${alignr}${freq_g}
${alignc}S H O R T C U T K E Y S
${hr}
[Alt] + F2${alignr}Run Dialog
[Alt] + F3${alignr}Alt Menu
[S] + Space${alignr}Main Menu
[S] + Tab${alignr}Client Menu
[S] + t${alignr}Terminal
[S] + f${alignr}File Manager
[S] + e${alignr}Editor
[S] + m${alignr}Media Player
[S] + w${alignr}Web Browser
[S] + h${alignr}Task Manager
[S] + l${alignr}Lock Screen
[S] + v${alignr}Volume Control
[S] + x${alignr}Logout
[PrtSc]${alignr}Screenshot
${font LED_mono:size=27}${goto 40}${color1}88:88:88${goto 40}${color5}${time %T}${color}${font}
${alignc}${swapbar 0,100}
${goto 40}${execpi 900 ncal -bh -m `date +%m` -A-1 -B1 | sed ':a;N;$!ba;s/\n/\n${goto 40}/g'}
${goto 82}${color6}${time %b %Y}${color}
${goto 40}${if_match "${time %a}" == "Sun"}${color6}Su${color} Mo Tu We Th Fr Sa${else}\
${if_match "${time %a}" == "Mon"}Su ${color6}Mo${color} Tu We Th Fr Sa${else}\
${if_match "${time %a}" == "Tue"}Su Mo ${color6}Tu${color} We Th Fr Sa${else}\
${if_match "${time %a}" == "Wed"}Su Mo Tu ${color6}We${color} Th Fr Sa${else}\
${if_match "${time %a}" == "Thu"}Su Mo Tu We ${color6}Th${color} Fr Sa${else}\
${if_match "${time %a}" == "Fri"}Su Mo Tu We Th ${color6}Fr${color} Sa${else}\
Su Mo Tu We Th Fr ${color6}Sa${color}${endif}${endif}${endif}${endif}${endif}${endif}
${goto 40}${execpi 900 LAR=`date +%-d`; ncal -bh | sed '2d' | sed -e '1d' -e 's/\<'$LAR'\>/${color6}&${color}/' | sed ':a;N;$!ba;s/\n/\n${goto 40}/g'}${color}
${goto 40}${execpi 900 ncal -bh -m `date +%m` -A1 -B-1 | sed ':a;N;$!ba;s/\n/\n${goto 40}/g'}]];When I tried it with conky v10 I still got errors:
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
I'm back Conky master.
I did some edits and this is what i got so far:

http://i.imgur.com/OQfHu96.png
conky.config = {
-- Begin Window Settings
own_window = true,
own_window_type = 'normal',
own_window_transparent = true,
own_window_hints = 'undecorated,below,skip_taskbar,skip_pager,sticky',
own_window_colour = '#000000',
own_window_class = 'Conky',
own_window_title = 'Debian Conky',
own_window_argb_visual = true,
own_window_argb_value = 50,
minimum_width = 200, minimum_height = 0,
maximum_width = 200,
gap_x = 20,
gap_y = 45,
alignment = 'top_right',
-- End Window Settings
-- Font Settings
use_xft = true,
-- font = 'Overpass:size=10',
font = 'Overpass:size=10',
xftalpha = 1,
override_utf8_locale = true,
uppercase = false,
-- End Font Settings
-- Colour Settings
draw_shades = true,
default_shade_color = '#000000',
draw_outline = false,
default_outline_color = '#000000',
default_color = '#C0C0C0',-- Silver
color0 = '#B0E0E6',-- PowderBlue
color1 = '#778899',-- LightSlateGray
color2 = '#D8BFD8',-- Thistle
color3 = '#9ACD32',-- YellowGreen
color4 = '#FFA07A',-- LightSalmon
color5 = '#FFDEAD',-- NavajoWhite
color6 = '#00BFFF',-- DeepSkyBlue
color7 = '#5F9EA0',-- CadetBlue
color8 = '#BDB76B',-- DarkKhaki
color9 = '#CD5C5C',-- IndianRed
-- End Colour Settings
-- Borders Section
draw_borders = false,
stippled_borders = 5,
border_inner_margin = 5,
border_outer_margin = 0,
border_width = 2,
draw_graph_borders = true,
default_graph_width = 15, default_graph_height = 40,
-- End Borders Section
-- Miscellaneous Section
background = true,
use_spacer = 'none',
text_buffer_size = 6144,
no_buffers = true,
short_units = true,
pad_percents = 2,
imlib_cache_size = 0,
double_buffer = true,
max_user_text = 16384,
temperature_unit = 'fahrenheit',
-- End Miscellaneous Section
update_interval = 1,
};
conky.text = [[
${color}${alignc}O S I N F O
${hr}
Host:${alignr}${nodename}
Uptime:${alignr}${uptime}
${goto 60}Used${alignr}Size
Home${goto 60}${fs_used /home}${alignr}${fs_size /home}
${goto 60}MEM${alignr}MAX
RAM${goto 60}${mem}${alignr}${memmax}
CPU:${goto 60}Used${alignr}GHz
Avg${goto 60}${if_match ${cpu cpu0}<10} ${cpu cpu0}\
${else}${if_match ${cpu cpu0}<100} ${cpu cpu0}\
${else}${cpu cpu0}${endif}${endif}%${alignr}${freq_g}
${alignc}S H O R T C U T K E Y S
${hr}
[Ctrl] + [Alt] + F${alignr}Nautilus
[Ctrl] + [Alt] + T${alignr}Terminal
[Ctrl] + [Alt] + B${alignr}Browser
]];Now all i would need would be CPU temp (general, not 4 cores separate), and GPU (Nvidia).
I have Psensor installed, any idea how to hook it up to Conky?
Cheers
Offline
WELL DONE! ![]()
CPU Temps see: Using Sensors
Suggest using the "platform" method
Is your CPU an Intel or AMD? Makes a big differente.
GPU is you have nvidia-setting installed:
GPU ${nvidia temp}°and if you have hddtemp installed:
SDA ${hddtemp /dev/sda}°Like this:
To recongigure hddtemp
sudo dpkg-reconfigure hddtemp
Answers: No, 0, Yes, OK, OK
Now use the conky hddtemp: without -n
${hddtemp /dev/sda}°Terminal:
17 Jan 17 @ 12:51:08 ~
$ hddtemp /dev/sda
/dev/sda: WDC WD5000AAKX-22ERMA0: 42°C
17 Jan 17 @ 12:51:17 ~
$ hddtemp /dev/sda -n
42
17 Jan 17 @ 12:51:22 ~
$ Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
I am using Intel, even though i had no idea what i am doing, i managed to make it look as i wanted ![]()

http://i.imgur.com/sspiQAx.png
But i'm lost when it comes to CPU temps...
I have lm-sensor installed, and i want to display 1 temperature (average?) for all 4 cores.
conky.config = {
-- Begin Window Settings
own_window = true,
own_window_type = 'normal',
own_window_transparent = true,
own_window_hints = 'undecorated,below,skip_taskbar,skip_pager,sticky',
own_window_colour = '#000000',
own_window_class = 'Conky',
own_window_title = 'Debian Conky',
own_window_argb_visual = true,
own_window_argb_value = 50,
minimum_width = 200, minimum_height = 0,
maximum_width = 200,
gap_x = 20,
gap_y = 45,
alignment = 'top_right',
-- End Window Settings
-- Font Settings
use_xft = true,
-- font = 'Overpass:size=10',
font = 'Overpass:size=10',
xftalpha = 1,
override_utf8_locale = true,
uppercase = false,
-- End Font Settings
-- Colour Settings
draw_shades = true,
default_shade_color = '#000000',
draw_outline = false,
default_outline_color = '#000000',
default_color = '#C0C0C0',-- Silver
color0 = '#B0E0E6',-- PowderBlue
color1 = '#778899',-- LightSlateGray
color2 = '#D8BFD8',-- Thistle
color3 = '#9ACD32',-- YellowGreen
color4 = '#FFA07A',-- LightSalmon
color5 = '#FFDEAD',-- NavajoWhite
color6 = '#00BFFF',-- DeepSkyBlue
color7 = '#5F9EA0',-- CadetBlue
color8 = '#BDB76B',-- DarkKhaki
color9 = '#CD5C5C',-- IndianRed
-- End Colour Settings
-- Borders Section
draw_borders = false,
stippled_borders = 5,
border_inner_margin = 5,
border_outer_margin = 0,
border_width = 2,
draw_graph_borders = true,
default_graph_width = 15, default_graph_height = 40,
-- End Borders Section
-- Miscellaneous Section
background = true,
use_spacer = 'none',
text_buffer_size = 6144,
no_buffers = true,
short_units = true,
pad_percents = 2,
imlib_cache_size = 0,
double_buffer = true,
max_user_text = 16384,
temperature_unit = 'fahrenheit',
-- End Miscellaneous Section
update_interval = 1,
};
conky.text = [[
${color}${alignc}O S I N F O
${hr}
Host:${alignr}${nodename}
Uptime:${alignr}${uptime}
${goto 60}Used${alignr}Size
Home${goto 60}${fs_used /home}${alignr}${fs_size /home}
${goto 60}MEM${alignr}MAX
RAM${goto 60}${mem}${alignr}${memmax}
CPU${goto 60}Used${alignr}GHz
Avg${goto 60}${if_match ${cpu cpu0}<10} ${cpu cpu0}\
${else}${if_match ${cpu cpu0}<100} ${cpu cpu0}\
${else}${cpu cpu0}${endif}${endif}%${alignr}${freq_g}
GPU${goto 60}Temp.${alignr}C°
${goto 66}${nvidia temp}°
${alignc}S H O R T C U T K E Y S
${hr}
[Ctrl] + [Alt] + F${alignr}Nautilus
[Ctrl] + [Alt] + T${alignr}Terminal
[Ctrl] + [Alt] + B${alignr}Browser
]];I'm not sure if Intel has a temp that's the "average" normally I see a temp for each core. But maube they have an "ambient" temp.
Some reading in Intel chips and lm-sensors.
I have an AMD, so I'm like a fish out of water here - just flopping around.
Last edited by pawel2k (2017-01-17 17:54:50)
Offline
I am using Intel, even though i had no idea what i am doing, i managed to make it look as i wanted
But i'm lost when it comes to CPU temps...
I have lm-sensor installed, and i want to display 1 temperature (average?) for all 4 cores.GPU${goto 60}Temp.${alignr}C° ${goto 66}${nvidia temp}°
hahaha you are becoming addicted. ![]()
This "looks" wrong!!!
GPU${goto 60}Temp.${alignr}C°
${goto 66}${nvidia temp}°May I suggest:
GPU${goto 60}Temp.${alignr}${nvidia temp}°Just a thought.
Continue: lm-sensors ... did you do:
sudo sensors-detectif not do so and answer 'yes' to everything then one of two options:
1. post the output of:
sensors2. and better, install 'inxi' it is in the Debian repos then post the output of:
sensors && echo =-=-=-=-=-=-= && inxi -sNow, sensors will show you values of various sensor outputs but inxi will tell you what they belong to:
17 Jan 17 @ 15:39:47 ~
$ sensors && echo =-=-=-=-=-=-= && inxi -s
acpitz-virtual-0
Adapter: Virtual device
temp1: +30.0°C (crit = +110.0°C)
f71862fg-isa-0a00
Adapter: ISA adapter
+3.3V: +3.49 V
in1: +1.18 V
in2: +1.51 V
in3: +0.86 V
in4: +0.00 V
in5: +0.00 V
in6: +0.00 V
3VSB: +3.39 V
Vbat: +3.02 V
fan1: 2235 RPM
fan2: 0 RPM ALARM
fan3: 0 RPM ALARM
temp1: +46.0°C (high = +85.0°C, hyst = +81.0°C)
(crit = +255.0°C, hyst = +251.0°C) sensor = transistor
temp2: +47.0°C (high = +85.0°C, hyst = +81.0°C)
(crit = +100.0°C, hyst = +96.0°C) sensor = thermistor
temp3: +127.0°C (high = +70.0°C, hyst = +68.0°C) ALARM (CRIT)
(crit = +85.0°C, hyst = +83.0°C) sensor = transistor
k10temp-pci-00c3
Adapter: PCI adapter
temp1: +37.9°C (high = +70.0°C)
=-=-=-=-=-=-=
Sensors: System Temperatures: cpu: 47.0C mobo: 38.0C gpu: 59C
Fan Speeds (in rpm): cpu: 2235 fan-2: 0 fan-3: 0
17 Jan 17 @ 15:39:51 ~
$ Really makes things clearer!
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
after doing
sudo sensors detect
I said yes to all, in the end it asked me if i want to edit some modules or something (i closed the terminal by accident
), and i answered no to it, will all be ok? ![]()
Ok and here is the output:
nct6792-isa-0a30
Adapter: ISA adapter
in0: +0.90 V (min = +0.00 V, max = +1.74 V)
in1: +1.02 V (min = +0.00 V, max = +0.00 V) ALARM
in2: +3.39 V (min = +0.00 V, max = +0.00 V) ALARM
in3: +3.38 V (min = +0.00 V, max = +0.00 V) ALARM
in4: +1.00 V (min = +0.00 V, max = +0.00 V) ALARM
in5: +1.09 V (min = +0.00 V, max = +0.00 V) ALARM
in6: +1.11 V (min = +0.00 V, max = +0.00 V) ALARM
in7: +3.42 V (min = +0.00 V, max = +0.00 V) ALARM
in8: +3.30 V (min = +0.00 V, max = +0.00 V) ALARM
in9: +1.06 V (min = +0.00 V, max = +0.00 V) ALARM
in10: +0.75 V (min = +0.00 V, max = +0.00 V) ALARM
in11: +0.00 V (min = +0.00 V, max = +0.00 V)
in12: +1.06 V (min = +0.00 V, max = +0.00 V) ALARM
in13: +0.74 V (min = +0.00 V, max = +0.00 V) ALARM
in14: +1.84 V (min = +0.00 V, max = +0.00 V) ALARM
fan1: 0 RPM (min = 0 RPM)
fan2: 1229 RPM (min = 0 RPM)
fan3: 910 RPM (min = 0 RPM)
fan4: 0 RPM (min = 0 RPM)
fan5: 0 RPM (min = 0 RPM)
SYSTIN: +33.0°C (high = +0.0°C, hyst = +0.0°C) ALARM sensor = CPU diode
CPUTIN: +127.5°C (high = +80.0°C, hyst = +75.0°C) ALARM sensor = CPU diode
AUXTIN0: +36.0°C sensor = thermistor
AUXTIN1: +113.0°C sensor = thermistor
AUXTIN2: -128.0°C sensor = thermistor
AUXTIN3: -60.0°C sensor = thermal diode
PECI Agent 0: +50.5°C
PCH_CHIP_CPU_MAX_TEMP: +0.0°C
PCH_CHIP_TEMP: +0.0°C
PCH_CPU_TEMP: +0.0°C
intrusion0: ALARM
intrusion1: ALARM
beep_enable: disabled
acpitz-virtual-0
Adapter: Virtual device
temp1: +27.8°C (crit = +105.0°C)
temp2: +29.8°C (crit = +105.0°C)
coretemp-isa-0000
Adapter: ISA adapter
Physical id 0: +51.0°C (high = +80.0°C, crit = +100.0°C)
Core 0: +49.0°C (high = +80.0°C, crit = +100.0°C)
Core 1: +51.0°C (high = +80.0°C, crit = +100.0°C)
Core 2: +51.0°C (high = +80.0°C, crit = +100.0°C)
Core 3: +46.0°C (high = +80.0°C, crit = +100.0°C)
=-=-=-=-=-=-=
Sensors: System Temperatures: cpu: 50.5C mobo: 33.0C
Fan Speeds (in rpm): cpu: 1229 fan-1: 0 fan-3: 910 fan-4: 0 fan-5: 0Offline
Looks like you answered yes to it. ![]()
I "think" the temp you are looking for is:
Sensors says:
Physical id 0: +51.0°C (high = +80.0°C, crit = +100.0°C)inxi says: cpu: 50.5C - so sensors rounds up. ![]()
maybe this:
CPU1 ${execi 300 sensors | awk '/Core0 Temp/ {gsub(/\+/,"",$3); gsub(/\..+/,"",$3); print $3}'}
CPU2 ${execi 300 sensors | awk '/Core1 Temp/ {gsub(/\+/,"",$3); gsub(/\..+/,"",$3); print $3}'}
CPU3 ${execi 300 sensors | awk '/Core2 Temp/ {gsub(/\+/,"",$3); gsub(/\..+/,"",$3); print $3}'}
CPU4 ${execi 300 sensors | awk '/Core3 Temp/ {gsub(/\+/,"",$3); gsub(/\..+/,"",$3); print $3}'}
Terminal to check:
sensors | awk '/Core0 Temp/ {gsub(/\+/,"",$3); gsub(/\..+/,"",$3); print $3}'Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Or maybe this, it looks easier:
Core 0 ${execi 10 sensors|grep ‘Core0’|awk ‘{print $3}’}
Core 1 ${execi 10 sensors|grep ‘Core1’|awk ‘{print $3}’}
Core 2 ${execi 10 sensors|grep ‘Core2’|awk ‘{print $3}’}
Core 3 ${execi 10 sensors|grep ‘Core3’|awk ‘{print $3}’}Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Not working
Not displaying temperatures
pawel@debian:~$ conky
conky: desktop window (400033) is subwindow of root window (1ea)
conky: window type - normal
conky: drawing to created window (0x1000002)
conky: drawing to double buffer
conky: forked to background, pid is 12001
pawel@debian:~$
awk: cmd. line:1: ‘{print
awk: cmd. line:1: ^ invalid char '' in expression
awk: cmd. line:1: ‘{print
awk: cmd. line:1: ^ invalid char '' in expression
awk: cmd. line:1: ‘{print
awk: cmd. line:1: ^ invalid char '' in expression
awk: cmd. line:1: ‘{print
awk: cmd. line:1: ^ invalid char '' in expressionLast edited by pawel2k (2017-01-17 19:59:00)
Offline
^ Looks like you need to change the invalid char for a valid one. It should be a single apostrophe
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
Have to wait for Conky yoda ![]()
Can't get it working
Offline
Try the bash commands in a terminal to make sure they work first. For me, the sensors command gives
$ sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +43.0°C (crit = +120.0°C)
coretemp-isa-0000
Adapter: ISA adapter
Physical id 0: +43.0°C (high = +100.0°C, crit = +100.0°C)
Core 0: +39.0°C (high = +100.0°C, crit = +100.0°C)
Core 1: +41.0°C (high = +100.0°C, crit = +100.0°C)
Core 2: +37.0°C (high = +100.0°C, crit = +100.0°C)
Core 3: +39.0°C (high = +100.0°C, crit = +100.0°C)So I would have to use "Core 0", not 'Core0'. Then the conky command would need
$ sensors | grep "Core 0" | awk '{print $3}'Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline