Forum › Forums › antiX-development › Development › Split: Conky development version discussion
- This topic is empty.
-
AuthorPosts
-
March 30, 2023 at 5:24 pm #103667Member
RJP
Temperature via conky (.conkyrc).
${color blue}Temperature ${color green} ${execi 30 cat /sys/class/thermal/thermal_zone0/temp | awk '{print substr($0,0,2)}' } ${color yellow}Celsius- This topic was modified 1 month ago by RJP.
- This topic was modified 1 month ago by Brian Masinick.
Attachments:
March 30, 2023 at 5:27 pm #103670MemberXunzi_23
::Sorry Robin, should have given more info.
Below conky is a mashup, maybe you can make some sense of it. Trouble is no single conky
seems to deliver CPU GPU NVME Temps over a large enough range of devices.
I did a lot of trial and much more error to get things working on present I5 box.
Some of the commented out parts work on devices a friend owns.I am sensetive to CPU GPU temps on fully cleaned/rebuilt or modified systems especialy laptops.
Found some parts came from the forum, some over at Buntu conky threads.
# Much non Standard antiX .conkyrc file # set to yes if you want Conky to be forked in the background background yes short_units yes cpu_avg_samples 1 net_avg_samples 1 out_to_console no # X font when Xft is disabled, you can pick one with program xfontsel #font 7x12 #font 6x10 #font 7x13 font 8x12 #font 7x12 # Use Xft? use_xft yes # Xft font when Xft is enabled #xftfont gentium:size=12 #ftfont DejaVu Sans:size=10 xftfont DejaVu Sans:bold:size=9 #xftfont DejaVu Sans:size=9 # Create own window instead of using desktop (required in nautilus, pcmanfm and rox desktops) own_window yes own_window_transparent yes own_window_hints undecorated,below,sticky,skip_taskbar own_window_type normal # Text alpha when using Xft xftalpha 1.0 #on_bottom no # Update interval in seconds update_interval 1 # Use double buffering (reduces flicker, may not work for everyone) double_buffer yes # Minimum size of text area minimum_size 55 maximum_width 180 # Draw shades? draw_shades no # Draw outlines? draw_outline no # Draw borders around text draw_borders no # Stippled borders? stippled_borders 0 # border margins #border_margin 10 # border width border_width 2 # Default colors and also border colors default_color white default_shade_color white default_outline_color white #color ffffff color4 yellow color8 77ccff color9 5599cc # Text alignment, other possible values are commented # alignment top_left alignment top_right #alignment bottom_left #alignment bottom_right # Gap between borders of screen and text gap_x 20 gap_y 40 # Add spaces to keep things from moving about? This only affects certain objects. use_spacer right # Subtract file system buffers from used memory? no_buffers yes # if_up_strictness link: up | link | address if_up_strictness address # set to yes if you want all text to be in uppercase uppercase no TEXT ${alignc}antiX Testing ${alignc}${exec disp=${DISPLAY#:}; disp=${disp%.[0-9]}; cat $HOME/.desktop-session/desktop-code.$disp 2>/dev/null} ${color}Init:${alignr}${color3}SysV #${alignc}${color #FA180A}${font DejaVu Sans:size=12}${time %H:%M} ${font} ${color} #${alignc}${time %a %d %b} ${alignc}Uptime: $uptime #${alignc}${exec disp=${DISPLAY#:}; disp=${disp%.[0-9]}; cat $HOME/.desktop-session/desktop-code.$disp 2>/dev/null} Screen:${alignr}${execi 60 xdpyinfo | sed -n -r "s/^\s*dimensions:.*\s([0-9]+x[0-9]+).*/\1/p"} Automount: ${alignr}${execi 60 grep -q "^automount=TRUE" $HOME/.desktop-session/automount.conf 2>/dev/null && echo "enabled" || echo "disabled"} CPU:${alignr}${cpu}% Freq:${alignr}${freq} ${alignr}${cpugraph cpu0 30,170 5599cc 5599cc} Disk:${alignr}${diskio} ${alignr}${diskiograph 30,170 5599cc 5599cc}${if_up eth0} eth0 up: $alignr ${upspeed eth0} ${alignr}${upspeedgraph eth0 30,170 5599cc 5599cc} eth0 down: $alignr ${downspeed eth0} ${alignr}${downspeedgraph eth0 30,170 5599cc 5599cc}${endif}${if_up eth1} eth1 up: $alignr ${upspeed eth1} ${alignr}${upspeedgraph eth1 30,170 5599cc 5599cc} eth1 down: $alignr ${downspeed eth1} ${alignr}${downspeedgraph eth1 30,170 5599cc 5599cc}${endif}${if_up wlan0} wlan0 up: $alignr ${upspeed wlan0} ${alignr}${upspeedgraph wlan0 30,170 5599cc 5599cc} wlan0 down: $alignr ${downspeed wlan0} ${alignr}${downspeedgraph wlan0 30,170 5599cc 5599cc}${endif}${if_up wlan1} wlan1 up: $alignr ${upspeed wlan1} ${alignr} ${upspeedgraph wlan1 30,170 5599cc 5599cc} wlan1 down: $alignr ${downspeed wlan1} ${alignr}${downspeedgraph wlan1 30,170 5599cc 5599cc}${endif} ${alignr}${color8}Used / Total ${color} RAM:${alignr}$mem / $memmax Swap:${alignr}$swap / $swapmax / Disk:${alignr}${fs_used /} / ${fs_size /} ${alignc}${execi 1000 persist-enabled} #${battery_percent BAT0}% ${alignr}${color8}${battery_bar 8,70 BAT0} # You may need to change BAT0 to BAT1 or add the same line again if you have more then one battery. #${execi 1000 acpi 2>/dev/null | grep -q . && echo "Battery: "}${execi 10 acpi -b 2>/dev/null | cut -d" " -f3,4 | sed 's/,$//'} CPU Temperatures #${goto 6}Core1:${alignr 4}${color #FA180A}${execi 30 sensors | grep 'Core 0' | awk '{print $3}' | sed 's/+//' | sed 's/\.0//g'} $color ${goto 6}${color #FFF}Core1:${alignr 4}${color #FA180A}${hwmon 2 temp 2}°C ${goto 6}${color #FFF}Core2:${alignr 4}${color #FA180A}${hwmon 2 temp 3}°C ${goto 6}${color #FFF}Core3:${alignr 4}${color #FA180A}${hwmon 2 temp 4}°C ${goto 6}${color #FFF}Core4:${alignr 4}${color #FA180A}${hwmon 2 temp 5}°C #${goto 6}Core2:${alignr 4}${color #FA180A}${execi 30 sensors | grep 'Core 1' | awk '{print $3}' | sed 's/+//' | sed 's/\.0//g'} $color #${goto 6}Core3:${alignr 4}${color #FA180A}${execi 30 sensors | grep 'Core 2' | awk '{print $3}' | sed 's/+//' | sed 's/\.0//g'} $color #${goto 6}Core4:${alignr 4}${color #FA180A}${execi 30 sensors | grep 'Core 3' | awk '{print $3}' | sed 's/+//' | sed 's/\.0//g'} $color #${goto 6}${color #FFF}${voffset 4}GPU Temp:${alignr 4}${color #FA180A}${exec nvidia-settings -tq '[gpu:0]/GPUCoreTemp'}°C $color ${goto 6}${color #FFF}${voffset 4}Case Temp:${alignr 4}${color #FA180A}${acpitemp}°C #${goto 6}${color #FFF}${voffset 4}NVME Temp:${alignr -6}${color #FA180A}${execi 8 sensors | grep 'Composite' | awk '{print $2}' | sed 's/+//' | sed 's/\.0//g'} ${goto 6}${color #FFF}${voffset 4}NVME Temp:${alignr +3}${color #FA180A}${hwmon 0 temp 1}°C ${goto 6}${color #FFF}${voffset 4}GPU Temp:${alignr +3}${color #FA180A}${hwmon 3 temp 1}°CMarch 30, 2023 at 5:40 pm #103673MemberRobin
::Many thanks @RJP and @Xunzi_23 for the conky infos. Meanwhile I’ve managed to read out the hwmon infos directly from console, please see my two updates to my former posting.
The issue seems to be that antiX 23 doesn’t provide this hwmon system folder on the sempron.Windows is like a submarine. Open a window and serious problems will start.
March 30, 2023 at 6:28 pm #103675MemberXunzi_23
::Mods,
Maybe the Conky and Temp issue posts would be better transferred to an appropriately named thread.
They are more of general usage rather than subject testing the Beta.Call it Conky setup issues/advice or ???.
-
AuthorPosts
- You must be logged in to reply to this topic.
