brndnmtthws / conky

Light-weight system monitor for X, Wayland (sort of), and other things, too
https://conky.cc
GNU General Public License v3.0
7.31k stars 620 forks source link

My personal conky config works fine on my laptops and desktops, but errors out when launching on my Raspberry Pi? #1176

Closed dagleykd closed 1 year ago

dagleykd commented 2 years ago

Issue

Known-good conky config that works on two completely different laptops and a desktop fails to run on Raspberry Pi 4? I am not terribly used to Conky, so forgive my stupidity if that is the cause. I've used the same Conky config on all my machines for YEARS so was just hoping to get it working on my new Pi as well :)

Information

Trying to run Conky on the latest Raspberry Pi OS 64-bit release (with TwisterUI) using my personal config, but it errors out. I am using Conky version 1.11.6-2 on the Pi installed from Terminal via the usual 'sudo apt-get install conky-all' command.

I know the config works as it works perfectly on my one desktop and laptop (both running Linux Mint 20.3 MATE with Conky 1.10.8) and it also works perfectly on my other laptop running MX Linux 21 with Conky 1.11.6-2.

The pasted .conkyrc file below is the .conkyrc directly copied from my one laptop....I was trying to get it running on the Pi first before then customizing it to suit the Pi.

When running it on the Pi, this is the error I receive: darkstrike@pidarkstrike:~ $ /usr/bin/conky conky: Syntax error (/home/darkstrike/.conkyrc:2: unexpected symbol near '#') while reading config file. conky: Assuming it's in old syntax and attempting conversion. conky: [string "..."]:159: attempt to call a nil value (global 'loadstring')

This is my .conkyrc config file - it's a highly customized and personalized version of the 'Minimalis' Conky theme:


# Author : deny26
# Release date : March, 20 2012
# Email : deny.krishna108@gmail.com
# Site : http://ubuntu-indonesia.com
# Feel free to modity this script ;)

background yes
font Droid Sans:size=9
xftfont Droid Sans:size=9
use_xft yes
xftalpha 0.5
update_interval 1.5
update_interval_on_battery 3.5
total_run_times 0

# for gnome 3.x user uncomment the following line
#own_window_class Conky
#own_window yes
#own_window_type conky
#own_window_transparent yes
#own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

double_buffer yes
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
minimum_size 250
maximum_width 300
default_color ffffff
default_shade_color 000000
draw_outline yes
alignment top_right
gap_x 70
gap_y 20
no_buffers yes
cpu_avg_samples 2
override_utf8_locale yes
uppercase no
use_spacer none
own_window yes
own_window_type normal
own_window_transparent no
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_colour 000000
own_window_argb_visual yes
own_window_argb_value 100

#Orange
#color code = F58E00

#Gray
#color code = 8A8A8A

#Red
#color code = FF0000

#Blue
#color code = 0086C5

#Teal
#color code = 03C980

#Aqua Blue
#color code = 00ABDC

#Golden Yellow
#color code = FFC200

#Fushia
#color code = FF00B1

#Lime Green
#color code = 96FF00

color1 D9342B
color2 
color3 
color4 
color5 
color6 

TEXT
${font ConkySymbols:size=20}U${font} ${voffset -16}${font Droid Sans:size=8.6:bold}${color1}~System Info~${color FFFFFF}${font}
${goto 35}Host name: ${font Droid Sans:size=9:bold}${nodename}${font}
${goto 35}Distro: Linux Mint 20.3 "Una" MATE 64-bit
${goto 35}Kernel: $kernel
${goto 35}Architecture: $machine

${goto 35}System Uptime: $uptime
${goto 35}Battery Charge: ${battery_bar 8,105 BAT0}  ${battery_percent BAT0}%
${goto 35}Charge/Discharge Time: ${battery_time BAT0}
${goto 35}$stippled_hr
${color1}${goto 35}${font Droid Sans:size=9.5:bold}${time %A, %B %e, %Y}${color ffffff}
${goto 138}${font Droid Sans:size=20:bold}${time %l:%M %p}
${goto 35}${voffset -15}$stippled_hr
${font ConkySymbols:size=16}f${font} ${voffset -20} ${font Droid Sans:size=9:bold}${color1}~CPU~ ${color FFFFFF}${font}  Activity: ${cpugraph 0 12,137 666666 FFFFFF -l}
${goto 35}CPU Use:  ${freq_g}Ghz / 3.20Ghz ${cpugauge cpu0 15,40}
${goto 35}CPU Cores:
${goto 50}${font Droid Sans:size=7.5}1: ${cpu cpu0}% ${goto 105}2: ${cpu cpu1}% ${goto 155}3: ${cpu cpu2}% ${goto 205}4: ${cpu cpu3}%
${goto 50}${cpubar cpu0 8,32}${goto 105}${cpubar cpu1 8,32}${goto 155}${cpubar cpu2 8,32}${goto 205}${cpubar cpu3 8,32}
${goto 35}$stippled_hr
${font ConkySymbols:size=16}J${font} ${voffset -10} ${font Droid Sans:size=9:bold}${color1}~Memory~ ${color FFFFFF}${font}
${goto 119}${font Droid Sans:size=7.5}% RAM: ${memperc}%
${goto 39}${membar 8,220}
${goto 97}${font Droid Sans:size=7}RAM: ${mem}/${memmax}
${goto 35}$stippled_hr
${voffset 8}${font ConkySymbols:size=14}n${font}  ${voffset -15} ${font Droid Sans:size=9:bold}$color1}~Processes~ $alignc ${goto 186}Mem.   ${goto 251}CPU${color FFFFFF}${font}
${goto 35}${top_mem name 1} ${goto 120}$alignr${top_mem mem_res 1}   $alignr${top_mem cpu 1}%
${goto 35}${top_mem name 2} ${goto 120}$alignr${top_mem mem_res 2}   $alignr${top_mem cpu 2}%
${goto 35}${top_mem name 3} ${goto 120}$alignr${top_mem mem_res 3}   $alignr${top_mem cpu 3}%
${goto 35}${top_mem name 4} ${goto 120}$alignr${top_mem mem_res 4}   $alignr${top_mem cpu 4}%
${goto 35}${top_mem name 5} ${goto 120}$alignr${top_mem mem_res 5}   $alignr${top_mem cpu 5}%

${goto 35}Total Processes: $processes
${goto 35}Processes Currently Running: $running_processes
${goto 35}$stippled_hr
${font ConkySymbols:size=16}k${font} ${voffset -10} ${font Droid Sans:size=9:bold}${color1}~Hard Drive~${color FFFFFF}${font}
${goto 75}${font Droid Sans:size=7.5}Free: ${fs_free /}${goto 160}Total: ${fs_size /}
${goto 75}${fs_bar 8,151 /}
${goto 75}${font Droid Sans:size=7.5}% Free: ${fs_free_perc /}%${goto 163}% Used: ${fs_used_perc /}%
${goto 35}$stippled_hr
${font ConkySymbols:size=16}b${font} ${voffset -10} ${font Droid Sans:size=9:bold}${Color1}~WiFi~${Color FFFFFF}${font}   Network: ${font Droid Sans:size=9:bold}${wireless_essid wlp3s0}${font}
${goto 35}${voffset 5}IP Address: ${addr wlp3s0}
${goto 35}Signal Strength: ${wireless_link_qual_perc wlp3s0}
${goto 55}Down: ${downspeed wlp3s0}${goto 167}Up: ${upspeed wlp3s0}
${goto 80}${downspeedgraph wlp3s0 20,62 666666 FFFFFF -l}${goto 167}${upspeedgraph wlp3s0 20,62 666666 FFFFFF -l}
${goto 83}Total Download: ${totaldown wlp3s0}

# comment this code if you not using kde
#${texeci 1000 feh --bg-scale ~/.kde4/share/wallpapers/ArchLinux.jpg}```
github-actions[bot] commented 1 year ago

This issue is stale because it has been open 365 days with no activity. Remove stale label or comment, or this issue will be closed in 30 days.

github-actions[bot] commented 1 year ago

This issue was closed because it has been stalled for 30 days with no activity.