adding conky to raspberry pi
sudo apt-get install conky
download the conkyrc file to home directory as .conkyrc
wget -O /home/pi/.conkyrc https://raw.githubusercontent.com/novaspirit/rpi_conky/master/rpi3_conkyrc
adding conky to raspberry pi
sudo apt-get install conky
download the conkyrc file to home directory as .conkyrc
wget -O /home/pi/.conkyrc https://raw.githubusercontent.com/novaspirit/rpi_conky/master/rpi3_conkyrc
Thanks for your job and time! Appreciate you efforts as I used to see how my computer works and used in the past superkaramba
Works on PI400 but doesn't start automatically. Need manual start, which is not big issue, but here is the result when I start it manually:
pi@raspberrypi:~ $ conky conky: Syntax error (/home/pi/.conkyrc:1: '=' expected near 'yes') while reading config file. conky: Assuming it's in old syntax and attempting conversion. conky: desktop window (120011f) is subwindow of root window (372) conky: window type - normal conky: drawing to created window (0x1e00001) conky: drawing to double buffer conky: forked to background, pid is 1450 pi@raspberrypi:~ $
Regards,
Rumen
See this thread. Up-to-date Conky no longer works with this conkyrc. The syntax is outdated.
A user there has fixed the syntax to work with the new version:
conky.config = {
background = true,
use_xft = true,
font = '123:size=8',
xftalpha = 0.1,
update_interval = 0.5,
total_run_times = 0,
own_window = true,
own_window_type = 'normal',
own_window_transparent = true,
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
double_buffer = true,
minimum_width = 250,
minimum_height = 5,
maximum_width = 400,
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = false,
default_color = 'gray',
default_shade_color = 'red',
default_outline_color = 'green',
alignment = 'top_right',
gap_x = 10,
gap_y = 10,
no_buffers = true,
uppercase = false,
cpu_avg_samples = 2,
net_avg_samples = 1,
override_utf8_locale = false,
use_spacer = 'right'
}
conky.text = [[
${font Arial:size=20}${color Tan1}RPI${color Ivory}LINUX
${voffset -90}
${color DimGray}
${font}
${font Arial:bold:size=10}${color Tan1}SYSTEM ${color DarkSlateGray} ${hr 2}
Frequency
Uptime
File System
${font Arial:bold:size=10}${color Tan1}CPU ${color DarkSlateGray}${hr 2}
CPU2 ${cpu cpu2}% ${cpubar cpu2}
CPU3 ${cpu cpu3}% ${cpubar cpu3}
CPU4 ${cpu cpu4}% ${cpubar cpu4}
${cpugraph DimGray DarkSlateGray} $color
${font Arial:bold:size=10}${color Tan1}MEMORY ${color DarkSlateGray}${hr 2}
$membar
$swapbar
${font Arial:bold:size=10}${color Tan1}HDD ${color DarkSlateGray}${hr 2}
${fs_bar /home}
${font Arial:bold:size=10}${color Tan1}TOP PROCESSES ${color DarkSlateGray}${hr 2}
${color DimGray}$font${top_mem name 2}${alignr}${top mem 2} %
${font Arial:bold:size=10}${color Tan2}NETWORK ${color DarkSlateGray}${hr 2}
Down
Up
Downloaded:
Uploaded:
]]
I think that network Upload and Download are reversed. But I know that some people use the reversed in some cases.
Is this planned ?
All that is needed is to comment out CPU cores 2, 3 and 4.
First kill the conky process:
Alt-F2 killall conky
Then open the .conkyrc with geany
geany .conkyrc
Locate the CPU section (mine was lines 45-48) and insert a # in front of CPU2, 3 and 4:
${font Arial:bold:size=10}${color Tan1}CPU ${color DarkSlateGray}${hr 2}
$font${color DimGray}Temp: $alignr ${exec /opt/vc/bin/vcgencmd measure_temp | cut -c6-9} C
$font${color DimGray}CPU1 ${cpu cpu1}% ${cpubar cpu1}
#CPU2 ${cpu cpu2}% ${cpubar cpu2}
#CPU3 ${cpu cpu3}% ${cpubar cpu3}
#CPU4 ${cpu cpu4}% ${cpubar cpu4}
${cpugraph DimGray DarkSlateGray} $color
In geany, click file, then save
Alt-F2 conky
Should pop right up.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.