Post a screenshot and the config of your Conky

I made some changes to conky. It's still transparent (just like in the first post of the topic), it's just that the background image has a lot of dark in it, that's why conky looks like it's black.

tbBWN13.png
 


Isn't it obvious what conky is?
Not really... It wasn't until recently. I got my first Linux distro [RedHat] somewhere around 96-97. I didn't hear about conky until the mid or late 2010's. I was mostly shell scripting various things in KSH for the IBM RS6000s that we had. In CSH for the SUN boxes. That said, I didn't pay much attention to the GUI itself. I was too busy being a nerd. LOL From what I've seen of conky so far, it is pretty cool. I'll have to check it out in more detail one of these days.
 
I sat down on Bunsen Labs Beryllium and on Slackel to create a "conky.conf" derrived from ones existing. Also did things like switch the keystroke shortcuts for file manager and editor. In other words, META+E to open Thunar.

The "conky.conf" for Slackel is a bit ugly but I'm satisfied with it. The OpenBox setup creates a "window button" so it could be dismissed more easily. I don't think this quirk is possible on a different Linux OS. In the past I also had Archbang where I struggled with black and white display from "conky" depending on the wallpaper.

I don't like "conky" if I have a D.E. like XFCE, so I uninstalled it from ArcoLinux. Also I don't like those new brilliant emoticons hard to produce away from the Unicode generators, and could only show up monochrome in "Gucharmap" but I have to deal with that more often on Garuda MATE.

As I've said, this wasn't edited enough away from the default Slackel config:
Code:
# .conkyrc

update_interval 1.0

double_buffer yes
own_window yes
#
alignment top_right
background no
border_width 1
cpu_avg_samples 2

# Default colors and also border colors
default_color white
default_outline_color white
default_shade_color white

double_buffer yes
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no


# Text alignment, other possible values are commented
alignment top_left
#alignment top_right
#alignment bottom_left
#alignment bottom_right

gap_x 10
gap_y 60
minimum_size 5 5
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
extra_newline no
own_window yes
own_window_argb_visual yes
own_window_class Conky
#own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent no
#
own_window_type normal
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no
#
use_xft yes
xftfont Bitstream Vera Sans:size=8

maximum_width 270
# Minimum size of text area
minimum_size 1000 5
default_color white
alignment top_right
#own_window_colour black
#own_window_colour 242e1a
own_window_colour 242e1a
#own_window_colour 0a559a
uppercase no
# Force UTF8? note that UTF8 support required XFT
#override_utf8_locale yes
TEXT
${offset 60}${color   lightgrey}${time %a, } ${color }${time %e %B %Y}
${offset 60}${color  lightgrey}${time %Z,    }${color }${time %H:%M:%S}
#${offset 60}${color slate grey}UpTime: ${color }$uptime
#${offset 60}${color slate grey}Kern:${color }$kernel
${offset 40}$sysname $kernel on $machine
$hr
${color grey}CPU Usage:$color $cpu% ${cpubar 4}
${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}
${color grey}Processes:$color $processes  ${color grey}Running:$color $running_processes
$color${cpugraph}
#$hr
${color lightgrey}Processor temperature: $color${acpitemp}°C
${color lightgrey}Battery: $color ${battery}
${color grey}Disk usage: $color${fs_used /} of ${fs_size /} - ${fs_used_perc /}%
${fs_bar 6 /}

${color #ffcb48}Wi-Fi ${hr 1}
${color lightgrey}Wireless signal: $color${wireless_link_qual wlan0}%
${color lightgrey}IP address: $color${addr wlan0}
${color lightgrey}Download speed: $color${downspeedf wlan0} Kb/sec
${downspeedgraph wlan0}
${color red}Downloaded: $color${totaldown wlan0} $alignr ${color green}Uploaded: $color${totalup wlan0}
${color #ffcb48}Ethernet ${hr 1}
${color lightgrey}IP address: $alignr$color${addr eth0}
${color lightgrey}Download speed: $color${downspeedf eth0} Kb/sec
${downspeedgraph eth0}
${color red}Downloaded: $color${totaldown eth0} $alignr ${color green}Uploaded: $color${totalup eth0}
$hr
 
Later I removed the unused "Ethernet" portion and added at the very bottom:

Code:
$hr
${font liberation mono:size=8}${alignc}${execi 5 ~/bin/qbpe/sillytext}

I wrote a program that does weak graphics on a 40-figure line. Compile with QB64 v2 and later.

Code:
$CONSOLE:ONLY

dim as integer x, y
dim as long ff

afile$ = _CWD$ + "/sillytext.txt"
if _fileexists(afile$) then
    ff = freefile
    open afile$ for input as ff
    if not eof(ff) then line input #ff, c$
    close ff
    if c$ = "" then
        c$ = space$(40)
    else
        if len(c$) > 40 then c$ = left$(c$, 40)
    end if
else
    ff = freefile
    open afile$ for output as ff
    print #ff, space$(40)
    close ff
    c$ = space$(40)
end if

a$ = "!|-=_."
b$ = "666666666666666666666666666666666666666666666666666666666666666666666666666666665555555555555555555555444444444333322221"

randomize timer
y = int(rnd * 120 + 1)
x = val(mid$(b$, y, 1))
c$ = mid$(c$, 2) + mid$(a$, x, 1)
print c$

ff = freefile
open afile$ for output as ff
print #ff, c$
close ff
system

This program is called by Conky every 5 seconds, out of the example. If your Conky update interval is near this long then the interval to call this program will have to be made 2 seconds longer or so.

On a slower system the program could be modified slightly so it's compiled by Freebasic and get a smaller executable.

I named the program "sillytext" in the example above. Name it what you want, and also indicate where it is in your system.
 
Last edited:
Well I got bored on Bunsen Labs Beryllium and therefore wrote a program that creates graphics a bit more interesting to look at. I went even further and converted this to graphics 32x32 with grey scales but I'm not going to share that result because it has a caveat. QB64 (including Phoenix Edition) has a glaring weakness in that it doesn't have any native function to save an image. There was a routine written to save to BMP, but the others available for GIF, PNG, JPEG and others are for Windows only. The GIF one relies on old code and doesn't handle animation.

I was forced to install Imagemagick for "convert" command-line utility to go from BMP to PNG because I wasn't sure if the image library "Conky" uses could load BMP. There's no documentation about it.

This QB64 program should be run twice the interval of "Conky" update, and using a monospaced font. Do not use "${alignc}" because that works for only the first line of the output. The program below could be modified in the line "PRINT c$;" to add spaces so the output is indented and therefore get it centered on "Conky" display, but it will have to be readjusted if you change to a different computer and "Conky" configuration.

BTW somebody else would know how to do this kind of stuff in C/C++. That is recommended by the "man" page for "Conky", I say for a system slower than my 11-year-old HP laptop with Sandy Bridge CPU and 4GB RAM.

Code:
$CONSOLE:ONLY
option _explicit

dim sfld(1 to 10, 1 to 20) as _unsigned _byte
dim as integer i, j, u, x, y, x1, y1, xx, yy
dim as long ff
dim b$, c$, afile$

b$ = ".'^~=*:|#%IHMOQ@"

randomize timer

for j = 1 to 10
    for i = 1 to 20
        sfld(j, i) = 0
    next
next

afile$ = _CWD$ + "/bl-sillytext.bin"
if _fileexists(afile$) then
    ff = freefile
    open afile$ for binary as ff
    for j = 1 to 10
        for i = 1 to 20
            if eof(ff) then exit for
            get #ff, , sfld(j, i)
        next
        if eof(ff) then exit for
    next
    close ff
end if

for j = 1 to 10
    c$ = space$(20)
    for i = 1 to 20
        mid$(c$, i, 1) = mid$(b$, sfld(j, i) \ 8 + 1, 1)
    next
    print c$;
    if j < 10 then print
next

x = int(rnd * 20 + 1)
y = int(rnd * 10 + 1)
for yy = -2 to 2
    for xx = -2 to 2
        x1 = xx + x
        y1 = yy + y
        if x1 > 0 and y1 > 0 and x1 <= 20 and y1 <= 10 then
            if xx = 0 and yy = 0 then
                u = 5
            elseif abs(xx) = 2 or abs(yy) = 2 then
                u = 2
            elseif abs(xx) = 1 and abs(yy) = 1 then
                u = 4
            elseif abs(xx) = 1 or abs(yy) = 1 then
                u = 3
            else
                u = 1
            end if
            sfld(y1, x1) = sfld(y1, x1) + u
            if sfld(y1, x1) > 127 then sfld(y1, x1) = 127
        end if
    next
next

ff = freefile
open afile$ for binary as ff
for j = 1 to 10
    for i = 1 to 20
        put #ff, , sfld(j, i)
    next
next
close ff
system
 
This is My Conky and Xplanet Wallpaper.

conky.config = {
background = true,
update_interval = 1,
total_run_times = 0,
override_utf8_locale = true,
double_buffer = true,
no_buffers = true,
text_buffer_size = 116384,
max_user_text = 65536,
temperature_unit = 'celsius',
short_units = true,
out_to_console = false,
out_to_ncurses = false,
out_to_stderr = false,
out_to_x = true,
own_window = true,
own_window_type = 'panel', -- desktop, dock, panel, normal, override
own_window_class = 'Conky',
own_window_hints = 'above,undecorated,sticky,skip_taskbar,skip_pager',
own_window_transparent = true,
own_window_argb_visual = true,
own_window_argb_value = 255,
imlib_cache_size = 1000000,
imlib_cache_flush_interval = 3600,
border_width = 0,
border_inner_margin = 0,
border_outer_margin = 0,
show_graph_scale = false,
show_graph_range = false,
minimum_width = 401,
maximum_width = 401,
minimum_height = 2160,
xinerama_head = 0,
net_avg_samples = 2,
cpu_avg_samples = 2,
alignment = 'top_right',
extra_newline = false,
uppercase = false,
use_spacer = 'none',
use_xft = true,
xftalpha = 0,
gap_x = 0,
gap_y = 0,
draw_shades = false,
default_shade_color = '777777',
draw_blended=true,
draw_outline = false,
draw_borders = false,
draw_graph_borders = true,
if_up_strictness = 'address',
stippled_borders = 0,
default_color = 'FFFFFF',
default_outline_color = '777777',
log_file = '~/.git/conky/config/conky_ju.log',
color1 = 'FFFFFF', -- white
color2 = 'FFFF50', -- yellow
color3 = 'FFA800', -- orage
color4 = 'FF393B', -- red
color5 = '75839D', -- lightblue
color6 = '2C3548', -- teal
color7 = '7E1500', -- darkred
color8 = 'lightyellow', -- lightyellow
color9 = '335A29', -- green
}
conky.text = [[
${goto 40}${color5}${font Terminus:Bold:size=10}Today${hr}${color}${font}
${voffset -32}${font Terminus:Bold:size=12}${goto 175}${color4}${execpi 10 /home/juliano/.git/conky/data weather_tmp_x}°C${color}${font}
${voffset -5}${font Terminus:Bold:size=12}${goto 175}${color1}${execpi 10 /home/juliano/.git/conky/data weather_tmp_n}°C${color}${font}
${voffset -6}${font Terminus:Bold:size=12}${goto 175}${color5}${execpi 10 /home/juliano/.git/conky/data weather_tmp_m}°C${color}${font}
${voffset -92}${font Terminus:Bold:size=25}${color1}${goto 230}${time %a %d %b}${color}${font}
${voffset -0}${font Terminus:Bold:size=34}${goto 230}${color2}${time %H:%M}${font Terminus:Bold:size=20}${alignr}${time %S}${color}${font}
${voffset -5}${font Terminus:Bold:size=12}${goto 232}New York:${alignr}${font Terminus:Regular:size=12}${tztime America/New_York %H:%M:%S}${font}
${voffset -10}${font Terminus:Bold:size=12}${goto 232}London:${alignr}${font Terminus:Regular:size=12}${tztime Europe/London %H:%M:%S}${font}
${voffset -10}${font Terminus:Bold:size=12}${goto 232}Tokyo:${alignr}${font Terminus:Regular:size=12}${tztime Asia/Tokyo %H:%M:%S}${font}
${voffset -45}${font Terminus:Bold:size=10}${color2}${goto 20}${execpi 10 ~/.git/conky/data next_1_day_fw}${goto 90}${execpi 10 ~/.git/conky/data next_2_day_fw}${goto 160}${execpi 10 ~/.git/conky/data next_3_day_fw}${color}${font}
${voffset -40}
${goto 40}${font Terminus:Bold:size=10}${color5}Calendar${hr}${color}${font}
${font Terminus:Bold:size=16}${alignc}${color}${execpi 10 ~/.git/conky/data calendar}${color}${font}
${voffset -60}
${goto 40}${font Terminus:Bold:size=10}${color5}System${hr}${color}
${goto 20}USER@HOST:${goto 120}${color3}${execpi 10 whoami}${color}${color4}@${color}${color5}${execpi 10 hostname -s}${color}
${goto 20}UPTIME:${goto 120}${color2}${uptime}${color}
${goto 20}DISTRO:${goto 120}${color2}${execpi 10 ~/.git/conky/data distroversion}${color}
${goto 20}KERNEL:${goto 120}${color2}${execpi 10 ~/.git/conky/data kernelversion}${color}
${goto 20}ENVIRONMENT:${goto 120}${color2}${execpi 10 ~/.git/conky/data graphic_envin}${color}
${goto 20}MANAGER:${goto 120}${color2}${execpi 10 ~/.git/conky/data envinrmanager}${color}
${goto 20}THEME:${goto 120}${color2}${execpi 10 ~/.git/conky/data envinrontheme}${color}
${goto 20}RESOLUTION:${goto 120}${color2}${execpi 10 ~/.git/conky/data x11resolution}${color}
${voffset -20}
${goto 40}${font Terminus:Bold:size=10}${color5}Hardware${hr}${color}
${goto 100}${color2}${execpi 10 ~/.git/conky/data mobo_manufact} ${execpi 10 ~/.git/conky/data mobo_modelver}${goto 240}${execpi 10 ~/.git/conky/data fan1_rpm_spee} RPM${alignr}${execpi 10 ~/.git/conky/data case_fan_rpms} RPM${color}
${goto 100}${color2}${execpi 10 ~/.git/conky/data gpu_manufactu}${color2}${alignr}${execpi 10 ~/.git/conky/data gpu_temperatu}°C${color}
${goto 100}${color2}${execpi 10 ~/.git/conky/data cpu_manufectu}${goto 240}${color}${color2}${cpu cpu0}%${color}${goto 275}${goto 295}${color2}${freq_g 0}GHz${color}${alignr}${color2}${execpi 10 ~/.git/conky/data cpu_temperatu}°C${color}
${alignr}${cpugraph cpu0 25,350 52ff00 6edd21 -t}
${voffset -30}
${goto 40}${color5}Memory${hr}${color}
${goto 20}RAM:${goto 100}${color2}${memmax}${goto 170}${color4}${mem}${color}${goto 250}${color9}${memfree}${color}${goto 330}${color2}${memperc}%${color}
${goto 100}${color2}${execpi 10 ~/.git/conky/data memory_slotty}${goto 170}${execpi 10 ~/.git/conky/data memory_cloksp}Mhz${color}${goto 250}${execpi 10 ~/.git/conky/data mobo_ddr_used} / ${execpi 10 ~/.git/conky/data mobo_ddr_slot} slots
${goto 20}${voffset -11}${alignr}${membar 10,50}
${goto 20}${voffset -32}${alignr}${memgraph 10,50 859900 DC322F scale -t}
${voffset -30}
${goto 40}${voffset 20}${color5}Network${hr}${color}
${goto 20} \
${if_existing /sys/class/net/enp7s0/operstate up}\
${if_existing /proc/net/route enp7s0}\
${goto 20}${image ~/.git/conky/img/g.png -p 365,740 -s 40x40}${goto 40}${color2}${addr enp7s0}${goto 195}${execpi 10 ~/.git/conky/data public_ip_add}${goto 345}On${color}\
${else}\
${goto 20}${image ~/.git/conky/img/r.png -p 365,740 -s 40x40}${goto 40}${color4}${addr enp7s0}${goto 195}Offline${goto 345}Off${color}\
${endif}\
${else}\
${goto 20}${image ~/.git/conky/img/r.png -p 365,740 -s 40x40}${goto 40}${color4}${addr enp7s0}${goto 195}Offline${goto 345}Off${color}\
${endif}
${goto 40}UL: ${upspeedgraph enp7s0 10,58 859900 DC322F scale -t}${goto 130} ${upspeed enp7s0} ${goto 195}DL:${goto 215} ${downspeedgraph enp7s0 10,58 859900 DC322F scale -t}${goto 285}${downspeed enp7s0}
${goto 20} \
${if_existing /sys/class/net/wlp6s0/operstate up}\
${if_existing /proc/net/route wlp6s0}\
${goto 20}${image ~/.git/conky/img/g.png -p 365,780 -s 40x40}${color2}${goto 40}${addr wlp6s0}${goto 195}${execpi 10 ~/.git/conky/data public_ip_add}${goto 315}${wireless_essid wlp6s0}${color}\
${else}\
${goto 20}${image ~/.git/conky/img/r.png -p 365,780 -s 40x40}${color4}${goto 40}${addr wlp6s0}${goto 195}Offline${goto 285}${wireless_essid wlp6s0}${color}\
${endif}\
${else}\
${goto 20}${image ~/.git/conky/img/r.png -p 365,780 -s 40x40}${color4}${goto 40}${addr wlp6s0}${goto 195}Offline${goto 285}${wireless_essid wlp6s0}${color}${color}\
${endif}
${goto 40}UL: ${upspeedgraph wlp6s0 10,58 859900 DC322F scale -t}${goto 130} ${upspeed wlp6s0} ${goto 195}DL:${goto 215} ${downspeedgraph wlp6s0 10,58 859900 DC322F scale -t}${goto 285} ${downspeed wlp6s0}${color2}${goto 347}${wireless_link_qual wlp6s0}${goto 355}%${color}

${voffset -30}
${goto 40}${voffset -5}${color5}Storage${hr}${color}
${goto 20}Sata:${color2}${goto 100}R: ${diskio_read /dev/sda}${goto 170}W: ${diskio_write /dev/sda}${goto 250}I: ${diskio /dev/sda}${color}${alignr}${diskiograph /dev/sda 10,50 859900 DC322F scale -t}
${goto 20}/ ${goto 100}${color2}${fs_size /}${color}${goto 170}${color4}${fs_used /}${goto 250}${color9}${fs_free /}${color}${alignr}${fs_bar 10,50 /}${color}
${goto 20}0: ${color2}${execpi 10 ~/.git/conky/data nvme0_tempera}°C${goto 100}R: ${diskio_read /dev/nvme0n1}${goto 170}W: ${diskio_write /dev/nvme0n1}${goto 250}I: ${diskio /dev/nvme0n1}${color}${alignr}${diskiograph /dev/nvme0n1 10,50 859900 DC322F scale -t}
${goto 20}/FS/GAME ${goto 100}${color2}${fs_size /FS/GAME}${color}${goto 170}${color4}${fs_used /FS/GAME}${goto 250}${color9}${fs_free /FS/GAME}${color}${alignr}${fs_bar 10,50 /FS/GAME}${color}
${goto 20}1: ${color2}${execpi 10 ~/.git/conky/data nvme1_tempera}°C${goto 100}R: ${diskio_read /dev/nvme1n1}${goto 170}W: ${diskio_write /dev/nvme1n1}${goto 250}I: ${diskio /dev/nvme1n1}${color}${alignr}${diskiograph /dev/nvme1n1 10,50 859900 DC322F scale -t}
${goto 20}2: ${color2}${execpi 10 ~/.git/conky/data nvme2_tempera}°C${goto 100}R: ${diskio_read /dev/nvme2n1}${goto 170}W: ${diskio_write /dev/nvme2n1}${goto 250}I: ${diskio /dev/nvme2n1}${color}${alignr}${diskiograph /dev/nvme2n1 10,50 859900 DC322F scale -t}
${goto 20}/FS/DATA ${goto 100}${color2}${fs_size /FS/DATA}${color}${goto 170}${color4}${fs_used /FS/DATA}${goto 250}${color9}${fs_free /FS/DATA}${color}${alignr}${fs_bar 10,50 /FS/DATA}${color}
${if_mounted /FS/BACK}
${goto 20}U: ${color2}${goto 100}R: ${diskio_read /dev/sda1}${goto 170}W: ${diskio_write /dev/sda1}${goto 250}I: ${diskio /dev/sda1}${color}${alignr}${diskiograph /dev/sda1 10,50 859900 DC322F scale -t}
${goto 20}/FS/BACK ${goto 100}${color2}${fs_size /FS/BACK}${color}${goto 170}${color4}${fs_used /FS/BACK}${goto 250}${color9}${fs_free /FS/BACK}${color}${alignr}${fs_bar 10,50 /FS/BACK}${color}
${endif}
${voffset -20}
${goto 40}${voffset -20}${color5}CPU Usage${hr}${color}${font Terminus:Bold:size=7}
${color7}${goto 5}${top pid 1}${goto 85}${top name 1}${goto 230}${top cpu 1}${goto 340}${top user 1}
${color4}${goto 5}${top pid 2}${goto 85}${top name 2}${goto 230}${top cpu 2}${goto 340}${top user 2}
${color orange}${goto 5}${top pid 3}${goto 85}${top name 3}${goto 230}${top cpu 3}${goto 340}${top user 3}
${color2}${goto 5}${top pid 4}${goto 85}${top name 4}${goto 230}${top cpu 4}${goto 340}${top user 4}
${color8}${goto 5}${top pid 5}${goto 85}${top name 5}${goto 230}${top cpu 5}${goto 340}${top user 5}
${color white}${goto 5}${top pid 6}${goto 85}${top name 6}${goto 230}${top cpu 6}${goto 340}${top user 6}
${color7}${goto 5}${top_mem pid 1}${goto 85}${top_mem name 1}${goto 247}${top mem_res 1}${goto 340}${top mem_vsize 1}
${color4}${goto 5}${top_mem pid 2}${goto 85}${top_mem name 2}${goto 247}${top mem_res 2}${goto 340}${top mem_vsize 2}
${color orange}${goto 5}${top_mem pid 3}${goto 85}${top_mem name 3}${goto 247}${top mem_res 3}${goto 340}${top mem_vsize 3}
${color2}${goto 5}${top_mem pid 4}${goto 85}${top_mem name 4}${goto 247}${top mem_res 4}${goto 340}${top mem_vsize 4}
${color8}${goto 5}${top_mem pid 5}${goto 85}${top_mem name 5}${goto 247}${top mem_res 5}${goto 340}${top mem_vsize 5}
${color white}${goto 5}${top_mem pid 6}${goto 85}${top_mem name 6}${goto 247}${top mem_res 6}${goto 340}${top mem_vsize 6}
${color}FG = $running_processes${alignc}BG = $processes${alignr}TH = $threads
${voffset -10}
${goto 40}${font Mono:Regular:size=8}${color5}Notes${hr}${color}
${font Mono:Regular:size=6}${exec ~/.git/conky/data note}${font}
${goto 40}${font DeJavu:Regular:size=8}${color5}Tasks${hr}${color}${font}
${voffset -20}${font Mono:Regular:size=6}${exec ~/.git/conky/data task}${font}

${if_match "${execpi 10 ~/.git/conky/data chk_users_log && echo 1 || echo 0}" == "1"}${image ~/.git/conky/img/x.png -p 60,550 -s 300x600}${endif}
${image ~/.git/conky/img/u.png -p 155,23 -s 15x15 -f 86400 -n 1}
${image ~/.git/conky/img/t.png -p 150,42 -s 20x20 -f 86400 -n 1}
${image ~/.git/conky/img/d.png -p 155,67 -s 15x15 -f 86400 -n 1}
${image ~/.git/conky/img/pin.png -p 0,0 -s 35x35 -f 86400 -n 1}
${image ~/.git/conky/img/cal.png -p 0,147 -s 40x40 -f 86400 -n 1}
${image ~/.git/conky/img/yoda.ico -p -5,345 -s 50x50 -f 86400 -n 1}
${image ~/.git/conky/img/arch.png -p 265,390 -s 130x95 -f 86400 -n 1}
${image ~/.git/conky/img/pc.png -p 0,510 -s 30x30 -f 86400 -n 1}
${image ~/.git/conky/img/mobo.png -p 48,535 -s 25x25 -f 86400 -n 1}
${image ~/.git/conky/img/fan.png -p 210,533 -s 30x30 -f 86400 -n 1}
${image ~/.git/conky/img/fan.png -p 315,533 -s 30x30 -f 86400 -n 1}
${image ~/.git/conky/img/gpu.png -p 45,562 -s 40x26 -f 86400 -n 1}
${image ~/.git/conky/img/term.png -p 358,563 -s 20x20 -f 86400 -n 1}
${image ~/.git/conky/img/cpu.png -p 45,585 -s 30x30 -f 86400 -n 1}
${image ~/.git/conky/img/term.png -p 358,590 -s 20x20 -f 86400 -n 1}
${image ~/.git/conky/img/ram.png -p 0,645 -s 30x30 -f 86400 -n 1}
${image ~/.git/conky/img/network.png -p 0,715 -s 30x30 -f 86400 -n 1}
${image ~/.git/conky/img/cable.png -p 5,750 -s 25x25 -f 86400 -n 1}
${image ~/.git/conky/img/wifi.png -p 0,790 -s 30x20 -f 86400 -n 1}
${image ~/.git/conky/img/nvme.png -p 0,825 -s 40x20 -f 86400 -n 1}
${image ~/.git/conky/img/tux.png -p 312,855 -s 25x32 -f 86400 -n 1}
${image ~/.git/conky/img/joypad.png -p 305,892 -s 35x35 -f 86400 -n 1}
${image ~/.git/conky/img/raid.png -p 307,935 -s 35x35 -f 86400 -n 1}
${image ~/.git/conky/img/backup.png -p 310,985 -s 35x35 -f 86400 -n 1}
${image ~/.git/conky/img/cpusage.png -p 0,1015 -s 28x28 -f 86400 -n 1}
${image ~/.git/conky/img/notes.png -p 0,1195 -s 30x30 -f 86400 -n 1}
${image ~/.git/conky/img/todo.png -p 0,1322 -s 30x30 -f 86400 -n 1}
${execpi 10 brweather --imagem1=CN -p 0,-20 -s 150x150 -f 3600}
${execpi 10 brweather --imagem1=C1 -p 20,95 -s 50x50 -f 3600}
${execpi 10 brweather --imagem1=C2 -p 90,95 -s 50x50 -f 3600}
${execpi 10 brweather --imagem1=C3 -p 160,95 -s 50x50 -f 3600}
]]
 

Attachments

  • screenshot.png
    screenshot.png
    2.7 MB · Views: 372
Hi KGIII

The little thingy in your post #5 is too funny. Made my day.

Back on topic...

I made seperate Conky windows for individual aspects : CPU, ram and swap, upload-download, ports, disk I/O and disk usage. Only bring them up as needed.

In KDE I set the little Conkies to "always on top" and treat them like meters on a dashboard. Then I kill them when I am done.

Vektor
 

Please next time try to use "code" blocks because your actual post is very long and it's difficult to scroll through the page of this topic as a result.

QB64 (including Phoenix Edition) has a glaring weakness in that it doesn't have any native function to save an image. There was a routine written to save to BMP, but the others available for GIF, PNG, JPEG and others are for Windows only.
QB64 Phoenix Edition v3.9 now has a "native" _SAVEIMAGE command that could save to BMP, PNG, JPEG and others including this strange new one called "Quite OK Image" which is inferior to PNG in lossless compression.

I find this release buggy, however, and there are still issues on Linux that aren't seen on Windows. So use at your own risk. However, only for the new command, it might be worth it to some people.


EDIT: Umm... have to read my own posts before making another irrelevant post. I'm sorry about that. I thought the QB64 programs I presented created graphics. I did write something on Bunsen Labs Betyllium but was getting carried away that day. It was a partial "robot floor painter" which never finished its job LOL.
 
Last edited:
conky.config = {
background = true,
update_interval = 1,
total_run_times = 0,
override_utf8_locale = true,
double_buffer = true,
no_buffers = true,
text_buffer_size = 116384,
max_user_text = 65536,
temperature_unit = 'celsius',
short_units = true,
out_to_console = false,
out_to_ncurses = false,
out_to_stderr = false,
out_to_x = true,
own_window = true,
own_window_type = 'panel', -- desktop, dock, panel, normal, override
own_window_class = 'Conky',
own_window_hints = 'below,undecorated,sticky,skip_taskbar,skip_pager', --below,undecorated,sticky,skip_taskbar,skip_pager
own_window_transparent = false,
own_window_argb_visual = true,
own_window_argb_value = 200,
imlib_cache_size = 1000000,
imlib_cache_flush_interval = 3600,
border_width = 0,
border_inner_margin = 0,
border_outer_margin = 10,
show_graph_scale = false,
show_graph_range = false,
minimum_width = 405,
maximum_width = 405,
minimum_height = 2160,
xinerama_head = 0,
net_avg_samples = 2,
cpu_avg_samples = 2,
alignment = 'top_right',
extra_newline = false,
uppercase = false,
use_spacer = 'none',
use_xft = true,
xftalpha = 0,
xftfont = Terminus,
gap_x = 0,
gap_y = 0,
draw_shades = false,
default_shade_color = '777777',
draw_blended=true,
draw_outline = false,
draw_borders = false,
draw_graph_borders = true,
if_up_strictness = 'address',
stippled_borders = 0,
default_color = 'FFFFFF',
default_outline_color = '777777',
--log_file = '~/Git/linux/err.log',
color1 = 'FFFFFF', -- white
color2 = 'FFFF50', -- yellow
color3 = 'FFA800', -- orage
color4 = 'FF393B', -- red
color5 = '75839D', -- lightblue
color6 = '2C3548', -- teal
color7 = '7E1500', -- darkred
color8 = 'lightyellow', -- lightyellow
color9 = '335A29', -- green
}
conky.text = [[
${goto 40}${color5}${font Terminus:Bold:size=10}Today${hr}${color}${font}${font Terminus:Bold:size=8}
${voffset -12}${font Terminus:Bold:size=8}${goto 175}${color4}${execpi 10 ~/Git/linux/sc_data.sh weather_tmp_x}°C${color}${font}
${voffset -12}${font Terminus:Bold:size=8}${goto 175}${color1}${execpi 10 ~/Git/linux/sc_data.sh weather_tmp_n}°C${color}${font}
${voffset -15}${font Terminus:Bold:size=8}${goto 175}${color5}${execpi 10 ~/Git/linux/sc_data.sh weather_tmp_m}°C${color}${font}
${voffset -115}${font Terminus:Bold:size=18}${color1}${goto 230}${time %a %d %b}${color}${font}
${voffset -0}${font Terminus:Bold:size=24}${goto 230}${color2}${time %H:%M}${font Terminus:Bold:size=20}${alignr}${time %S}${color}${font}
${voffset -15}${font Terminus:Bold:size=12}${goto 232}N.York:${alignr}${font Terminus:Regular:size=12}${tztime America/New_York %H:%M:%S}${font}
${voffset -10}${font Terminus:Bold:size=12}${goto 232}London:${alignr}${font Terminus:Regular:size=12}${tztime Europe/London %H:%M:%S}${font}
${voffset -10}${font Terminus:Bold:size=12}${goto 232}Tokyo :${alignr}${font Terminus:Regular:size=12}${tztime Asia/Tokyo %H:%M:%S}${font}
${voffset -60}${font Terminus:Bold:size=10}${color2}${goto 20}${execpi 10 ~/Git/linux/sc_data.sh next_1_day_fw}${goto 90}${execpi 10 ~/Git/linux/sc_data.sh next_2_day_fw}${goto 160}${execpi 10 ~/Git/linux/sc_data.sh next_3_day_fw}${color}${font}
${voffset -50}
${goto 40}${font Terminus:Bold:size=10}${color5}Calendar${hr}${color}${font}
${voffset -10}${font Terminus:Bold:size=11}${alignc}${color}${execpi 10 ~/Git/linux/sc_data.sh calendar}${color}${font}
${voffset -90}
${goto 40}${font Terminus:Bold:size=10}${color5}System${hr}${color}${font}${font Terminus:Bold:size=8}
${voffset -10}
${goto 20}USER@HOST:${goto 120}${color3}${execpi 10 whoami}${color}${color4}@${color}${color5}${execpi 10 hostname -s}${color}
${goto 20}UPTIME:${goto 120}${color2}${uptime}${color}
${goto 20}DISTRO:${goto 120}${color2}${execpi 10 ~/Git/linux/sc_data.sh distroversion}${color}
${goto 20}KERNEL:${goto 120}${color2}${execpi 10 ~/Git/linux/sc_data.sh kernelversion}${color}
${goto 20}ENVIRONMENT:${goto 120}${color2}${execpi 10 ~/Git/linux/sc_data.sh graphic_envin}${color}
${goto 20}MANAGER:${goto 120}${color2}${execpi 10 ~/Git/linux/sc_data.sh envinrmanager}${color}
${goto 20}THEME:${goto 120}${color2}${execpi 10 ~/Git/linux/sc_data.sh envinrontheme}${color}
${goto 20}RESOLUTION:${goto 120}${color2}${execpi 10 ~/Git/linux/sc_data.sh x11resolution}${color}${font}
${voffset -50}
${goto 40}${font Terminus:Bold:size=10}${color5}Hardware${hr}${color}${font}${font Terminus:Bold:size=8}
${voffset -10}
${goto 100}${color2}${execpi 10 ~/Git/linux/sc_data.sh mobo_manufact} ${execpi 10 ~/Git/linux/sc_data.sh mobo_modelver}${goto 240}${execpi 10 ~/Git/linux/sc_data.sh fan1_rpm_spee} RPM${alignr}${execpi 10 ~/Git/linux/sc_data.sh case_fan_rpms} RPM${color}
${goto 100}${color2}${execpi 10 ~/Git/linux/sc_data.sh gpu_manufactu}${color2}${alignr}${execpi 10 ~/Git/linux/sc_data.sh gpu_temperatu}°C${color}
${goto 100}${color2}${execpi 10 ~/Git/linux/sc_data.sh cpu_manufectu}${goto 240}${color}${color2}${cpu cpu0}%${color}${goto 275}${goto 295}${color2}${freq_g 0}GHz${color}${alignr}${color2}${execpi 10 ~/Git/linux/sc_data.sh cpu_temperatu}°C${color}
${alignr}${cpugraph cpu0 25,315 52ff00 6edd21 -t}${font}
${voffset -55}
${goto 40}${font Terminus:Bold:size=10}${color5}Memory${hr}${color}${font}${font Terminus:Bold:size=8}
${voffset -15}
${goto 20}RAM:${goto 100}${color2}${memmax}${goto 170}${color4}${mem}${color}${goto 250}${color9}${memfree}${color}${goto 325}${color2}${memperc}%${color}
${goto 100}${color2}${execpi 10 ~/Git/linux/sc_data.sh memory_slotty}${goto 170}${execpi 10 ~/Git/linux/sc_data.sh memory_cloksp}Mhz${color}${goto 250}${execpi 10 ~/Git/linux/sc_data.sh mobo_ddr_used} / ${execpi 10 ~/Git/linux/sc_data.sh mobo_ddr_slot} slots
${goto 20}${voffset -27}${alignr}${membar 10,50}
${goto 20}${voffset 0}${alignr}${memgraph 10,50 859900 DC322F scale -t}${font}
${voffset -65}
${goto 40}${voffset 20}${font Terminus:Bold:size=10}${color5}Network${hr}${color}${font}${font Terminus:Bold:size=8}
${voffset -15}
${goto 20} \
${if_existing /sys/class/net/enp7s0/operstate up}\
${if_existing /proc/net/route enp7s0}\
${goto 20}${image ~/Git/linux/conky_img/g.png -p 375,850 -s 40x40}${goto 40}${color2}${addr enp7s0}${goto 195}${execpi 10 ~/Git/linux/sc_data.sh public_ip_add}${goto 345}On${color}\
${else}\
${goto 20}${image ~/Git/linux/conky_img/r.png -p 375,850 -s 40x40}${goto 40}${color4}${addr enp7s0}${goto 195}Offline${goto 345}Off${color}\
${endif}\
${else}\
${goto 20}${image ~/Git/linux/conky_img/r.png -p 375,850 -s 40x40}${goto 40}${color4}${addr enp7s0}${goto 195}Disconnected${goto 345}Off${color}\
${endif}
${goto 40}UL: ${upspeedgraph enp7s0 10,58 859900 DC322F scale -t}${goto 130} ${upspeed enp7s0} ${goto 195}DL:${goto 215} ${downspeedgraph enp7s0 10,58 859900 DC322F scale -t}${goto 285}${downspeed enp7s0}
${goto 20} \
${if_existing /sys/class/net/wlp3s0/operstate up}\
${if_existing /proc/net/route wlp3s0}\
${goto 20}${image ~/Git/linux/conky_img/g.png -p 375,895 -s 40x40}${color2}${goto 40}${addr wlp3s0}${goto 195}${execpi 10 ~/Git/linux/sc_data.sh public_ip_add}${goto 315}${wireless_essid wlp3s0}${color}\
${else}\
${goto 20}${image ~/Git/linux/conky_img/r.png -p 375,895 -s 40x40}${color4}${goto 40}${addr wlp3s0}${goto 195}Offline${goto 285}${wireless_essid wlp3s0}${color}\
${endif}\
${else}\
${goto 20}${image ~/Git/linux/conky_img/r.png -p 375,895 -s 40x40}${color4}${goto 40}${addr wlp3s0}${goto 195}Disconnected${goto 285}${wireless_essid wlp3s0}${color}${color}\
${endif}
${goto 40}UL: ${upspeedgraph wlp3s0 10,58 859900 DC322F scale -t}${goto 130} ${upspeed wlp3s0} ${goto 195}DL:${goto 215} ${downspeedgraph wlp3s0 10,58 859900 DC322F scale -t}${goto 285} ${downspeed wlp3s0}${color2}${goto 347}${wireless_link_qual wlp3s0}${goto 355}%
${goto 20} \
${if_existing /proc/net/route tun0}\
${goto 20}${image ~/Git/linux/conky_img/g.png -p 375,940 -s 40x40}${goto 40}${color2}${addr tun0}${goto 195}${execpi 10 sudo nmcli connection show --active | grep vpn |awk '{print $1}'}${goto 345}On${color}\
${else}\
${goto 20}${image ~/Git/linux/conky_img/r.png -p 375,940 -s 40x40}${goto 40}${color4}${addr tun0}${goto 195}Disconnected${goto 345}Off${color}\
${endif}\
${goto 40}UL: ${upspeedgraph tun0 10,58 859900 DC322F scale -t}${goto 130} ${upspeed tun0} ${goto 195}DL:${goto 215} ${downspeedgraph tun0 10,58 859900 DC322F scale -t}${goto 285}${downspeed tun0}

${voffset -30}${font}
${goto 40}${voffset -5}${font Terminus:Bold:size=10}${color5}Storage${hr}${color}${font}${font Terminus:Bold:size=8}
${voffset -10}
${goto 20}Sata:${color2}${goto 100}R: ${diskio_read /dev/sda}${goto 170}W: ${diskio_write /dev/sda}${goto 250}I: ${diskio /dev/sda}${color}${alignr}${diskiograph /dev/sda 10,50 859900 DC322F scale -t}
${goto 20}/ ${goto 100}${color2}${fs_size /}${color}${goto 170}${color4}${fs_used /}${goto 250}${color9}${fs_free /}${color}${alignr}${fs_bar 10,50 /}${color}
${goto 20}0: ${color2}${execpi 10 ~/Git/linux/sc_data.sh nvme0_tempera}${goto 100}R: ${diskio_read /dev/nvme0n1}${goto 170}W: ${diskio_write /dev/nvme0n1}${goto 250}I: ${diskio /dev/nvme0n1}${color}${alignr}${diskiograph /dev/nvme0n1 10,50 859900 DC322F scale -t}
${goto 20}/FS/DATA ${goto 100}${color2}${fs_size /FS/DATA}${color}${goto 170}${color4}${fs_used /FS/DATA}${goto 250}${color9}${fs_free /FS/DATA}${color}${alignr}${fs_bar 10,50 /FS/DATA}${color}
${goto 20}1: ${color2}${execpi 10 ~/Git/linux/sc_data.sh nvme1_tempera}${goto 100}R: ${diskio_read /dev/nvme1n1}${goto 170}W: ${diskio_write /dev/nvme1n1}${goto 250}I: ${diskio /dev/nvme1n1}${color}${alignr}${diskiograph /dev/nvme1n1 10,50 859900 DC322F scale -t}
${goto 20}/FS/GAME ${goto 100}${color2}${fs_size /FS/GAME}${color}${goto 170}${color4}${fs_used /FS/GAME}${goto 250}${color9}${fs_free /FS/GAME}${color}${alignr}${fs_bar 10,50 /FS/GAME}${color}
${if_mounted /FS/BACK}
${goto 20}U: ${color2}${goto 100}R: ${diskio_read /dev/sda1}${goto 170}W: ${diskio_write /dev/sda1}${goto 250}I: ${diskio /dev/sda1}${color}${alignr}${diskiograph /dev/sda1 10,50 859900 DC322F scale -t}
${goto 20}/FS/BACK ${goto 100}${color2}${fs_size /FS/BACK}${color}${goto 170}${color4}${fs_used /FS/BACK}${goto 250}${color9}${fs_free /FS/BACK}${color}${alignr}${fs_bar 10,50 /FS/BACK}${color}
${endif}
${voffset -5p=}${font}
${goto 40}${voffset -20}${font Terminus:Bold:size=10}${color5}CPU Usage${hr}${color}${font}${font Terminus:Bold:size=7}
${voffset -15}
${color7}${goto 5}${top pid 1}${goto 85}${top name 1}${goto 230}${top cpu 1}${goto 340}${top user 1}
${color4}${goto 5}${top pid 2}${goto 85}${top name 2}${goto 230}${top cpu 2}${goto 340}${top user 2}
${color orange}${goto 5}${top pid 3}${goto 85}${top name 3}${goto 230}${top cpu 3}${goto 340}${top user 3}
${color2}${goto 5}${top pid 4}${goto 85}${top name 4}${goto 230}${top cpu 4}${goto 340}${top user 4}
${color8}${goto 5}${top pid 5}${goto 85}${top name 5}${goto 230}${top cpu 5}${goto 340}${top user 5}
${color white}${goto 5}${top pid 6}${goto 85}${top name 6}${goto 230}${top cpu 6}${goto 340}${top user 6}
${color7}${goto 5}${top_mem pid 1}${goto 85}${top_mem name 1}${goto 247}${top mem_res 1}${goto 340}${top mem_vsize 1}
${color4}${goto 5}${top_mem pid 2}${goto 85}${top_mem name 2}${goto 247}${top mem_res 2}${goto 340}${top mem_vsize 2}
${color orange}${goto 5}${top_mem pid 3}${goto 85}${top_mem name 3}${goto 247}${top mem_res 3}${goto 340}${top mem_vsize 3}
${color2}${goto 5}${top_mem pid 4}${goto 85}${top_mem name 4}${goto 247}${top mem_res 4}${goto 340}${top mem_vsize 4}
${color8}${goto 5}${top_mem pid 5}${goto 85}${top_mem name 5}${goto 247}${top mem_res 5}${goto 340}${top mem_vsize 5}
${color white}${goto 5}${top_mem pid 6}${goto 85}${top_mem name 6}${goto 247}${top mem_res 6}${goto 340}${top mem_vsize 6}
${color}FG = $running_processes${alignc}BG = $processes${alignr}TH = $threads${font}
${voffset -45}
${goto 40}${font DeJavu:Regular:size=10}${color5}Tasks${hr}${color}${font}${font Terminus:Bold:size=7}
${voffset -5}${font Mono:Regular:size=6}${exec ~/Git/linux/sc_data.sh task}${font}
${voffset -45}
${goto 40}${font DeJavu:Regular:size=10}${color5}Notes${hr}${color}${font}${font Terminus:Bold:size=7}
${voffset -5}${font Mono:Regular:size=6}${exec ~/Git/linux/sc_data.sh note}${font}
${if_match "${execpi 10 /FS/DATA/juliano/Git/linux/sc_data.sh chk_users_log && echo 1 || echo 0}" == "1"}${image /FS/DATA/juliano/Git/linux/conky_img/x.png -p 60,550 -s 300x600}${endif}
${execpi 10 brweather --imagem1=CN -p 0,0 -s 150x150 -f 3600}
${execpi 10 brweather --imagem1=C1 -p 20,120 -s 50x50 -f 3600}
${execpi 10 brweather --imagem1=C2 -p 90,120 -s 50x50 -f 3600}
${execpi 10 brweather --imagem1=C3 -p 160,120 -s 50x50 -f 3600}
${image /FS/DATA/juliano/Git/linux/conky_img/u.png -p 147,35 -s 15x15 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/t.png -p 142,57 -s 20x20 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/d.png -p 147,83 -s 15x15 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/pin.png -p 0,0 -s 35x35 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/cal.png -p -2,192 -s 40x40 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/yoda.ico -p -5,380 -s 50x50 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/arch.png -p 280,430 -s 130x95 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/pc.png -p 0,570 -s 30x30 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/mobo.png -p 60,595 -s 25x25 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/gpu.png -p 57,625 -s 40x26 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/cpu.png -p 60,650 -s 30x30 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/graph.png -p 60,682 -s 30x30 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/fan.png -p 216,600 -s 20x20 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/fan.png -p 335,600 -s 20x20 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/term.png -p 360,630 -s 20x20 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/term.png -p 360,660 -s 20x20 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/ram.png -p 0,730 -s 30x30 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/network.png -p 0,820 -s 30x30 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/cable.png -p 5,855 -s 25x25 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/wifi.png -p 0,905 -s 30x20 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/ovpn.png -p 2,945 -s 30x30 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/nvme.png -p 0,1000 -s 40x20 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/tux.png -p 325,1030 -s 25x32 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/joypad.png -p 320,1077 -s 35x35 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/raid.png -p 320,1121 -s 35x35 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/backup.png -p 323,1165-s 35x35 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/cpusage.png -p 0,1233 -s 28x28 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/todo.png -p 0,1480 -s 30x30 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/notes.png -p 5,1825 -s 25x25 -f 86400 -n 1}
]]
 

Attachments

  • screenshot.png
    screenshot.png
    2.7 MB · Views: 440
conky.config = {
background = true,
update_interval = 1,
total_run_times = 0,
override_utf8_locale = true,
double_buffer = true,
no_buffers = true,
text_buffer_size = 116384,
max_user_text = 65536,
temperature_unit = 'celsius',
short_units = true,
out_to_console = false,
out_to_ncurses = false,
out_to_stderr = false,
out_to_x = true,
own_window = true,
own_window_type = 'panel', -- desktop, dock, panel, normal, override
own_window_class = 'Conky',
own_window_hints = 'below,undecorated,sticky,skip_taskbar,skip_pager', --below,undecorated,sticky,skip_taskbar,skip_pager
own_window_transparent = false,
own_window_argb_visual = true,
own_window_argb_value = 200,
imlib_cache_size = 1000000,
imlib_cache_flush_interval = 3600,
border_width = 0,
border_inner_margin = 0,
border_outer_margin = 10,
show_graph_scale = false,
show_graph_range = false,
minimum_width = 405,
maximum_width = 405,
minimum_height = 2160,
xinerama_head = 0,
net_avg_samples = 2,
cpu_avg_samples = 2,
alignment = 'top_right',
extra_newline = false,
uppercase = false,
use_spacer = 'none',
use_xft = true,
xftalpha = 0,
xftfont = Terminus,
gap_x = 0,
gap_y = 0,
draw_shades = false,
default_shade_color = '777777',
draw_blended=true,
draw_outline = false,
draw_borders = false,
draw_graph_borders = true,
if_up_strictness = 'address',
stippled_borders = 0,
default_color = 'FFFFFF',
default_outline_color = '777777',
--log_file = '~/Git/linux/err.log',
color1 = 'FFFFFF', -- white
color2 = 'FFFF50', -- yellow
color3 = 'FFA800', -- orage
color4 = 'FF393B', -- red
color5 = '75839D', -- lightblue
color6 = '2C3548', -- teal
color7 = '7E1500', -- darkred
color8 = 'lightyellow', -- lightyellow
color9 = '335A29', -- green
}
conky.text = [[
${goto 40}${color5}${font Terminus:Bold:size=10}Today${hr}${color}${font}${font Terminus:Bold:size=8}
${voffset -12}${font Terminus:Bold:size=8}${goto 175}${color4}${execpi 10 ~/Git/linux/sc_data.sh weather_tmp_x}°C${color}${font}
${voffset -12}${font Terminus:Bold:size=8}${goto 175}${color1}${execpi 10 ~/Git/linux/sc_data.sh weather_tmp_n}°C${color}${font}
${voffset -15}${font Terminus:Bold:size=8}${goto 175}${color5}${execpi 10 ~/Git/linux/sc_data.sh weather_tmp_m}°C${color}${font}
${voffset -115}${font Terminus:Bold:size=18}${color1}${goto 230}${time %a %d %b}${color}${font}
${voffset -0}${font Terminus:Bold:size=24}${goto 230}${color2}${time %H:%M}${font Terminus:Bold:size=20}${alignr}${time %S}${color}${font}
${voffset -15}${font Terminus:Bold:size=12}${goto 232}N.York:${alignr}${font Terminus:Regular:size=12}${tztime America/New_York %H:%M:%S}${font}
${voffset -10}${font Terminus:Bold:size=12}${goto 232}London:${alignr}${font Terminus:Regular:size=12}${tztime Europe/London %H:%M:%S}${font}
${voffset -10}${font Terminus:Bold:size=12}${goto 232}Tokyo :${alignr}${font Terminus:Regular:size=12}${tztime Asia/Tokyo %H:%M:%S}${font}
${voffset -60}${font Terminus:Bold:size=10}${color2}${goto 20}${execpi 10 ~/Git/linux/sc_data.sh next_1_day_fw}${goto 90}${execpi 10 ~/Git/linux/sc_data.sh next_2_day_fw}${goto 160}${execpi 10 ~/Git/linux/sc_data.sh next_3_day_fw}${color}${font}
${voffset -50}
${goto 40}${font Terminus:Bold:size=10}${color5}Calendar${hr}${color}${font}
${voffset -10}${font Terminus:Bold:size=11}${alignc}${color}${execpi 10 ~/Git/linux/sc_data.sh calendar}${color}${font}
${voffset -90}
${goto 40}${font Terminus:Bold:size=10}${color5}System${hr}${color}${font}${font Terminus:Bold:size=8}
${voffset -10}
${goto 20}USER@HOST:${goto 120}${color3}${execpi 10 whoami}${color}${color4}@${color}${color5}${execpi 10 hostname -s}${color}
${goto 20}UPTIME:${goto 120}${color2}${uptime}${color}
${goto 20}DISTRO:${goto 120}${color2}${execpi 10 ~/Git/linux/sc_data.sh distroversion}${color}
${goto 20}KERNEL:${goto 120}${color2}${execpi 10 ~/Git/linux/sc_data.sh kernelversion}${color}
${goto 20}ENVIRONMENT:${goto 120}${color2}${execpi 10 ~/Git/linux/sc_data.sh graphic_envin}${color}
${goto 20}MANAGER:${goto 120}${color2}${execpi 10 ~/Git/linux/sc_data.sh envinrmanager}${color}
${goto 20}THEME:${goto 120}${color2}${execpi 10 ~/Git/linux/sc_data.sh envinrontheme}${color}
${goto 20}RESOLUTION:${goto 120}${color2}${execpi 10 ~/Git/linux/sc_data.sh x11resolution}${color}${font}
${voffset -50}
${goto 40}${font Terminus:Bold:size=10}${color5}Hardware${hr}${color}${font}${font Terminus:Bold:size=8}
${voffset -10}
${goto 100}${color2}${execpi 10 ~/Git/linux/sc_data.sh mobo_manufact} ${execpi 10 ~/Git/linux/sc_data.sh mobo_modelver}${goto 240}${execpi 10 ~/Git/linux/sc_data.sh fan1_rpm_spee} RPM${alignr}${execpi 10 ~/Git/linux/sc_data.sh case_fan_rpms} RPM${color}
${goto 100}${color2}${execpi 10 ~/Git/linux/sc_data.sh gpu_manufactu}${color2}${alignr}${execpi 10 ~/Git/linux/sc_data.sh gpu_temperatu}°C${color}
${goto 100}${color2}${execpi 10 ~/Git/linux/sc_data.sh cpu_manufectu}${goto 240}${color}${color2}${cpu cpu0}%${color}${goto 275}${goto 295}${color2}${freq_g 0}GHz${color}${alignr}${color2}${execpi 10 ~/Git/linux/sc_data.sh cpu_temperatu}°C${color}
${alignr}${cpugraph cpu0 25,315 52ff00 6edd21 -t}${font}
${voffset -55}
${goto 40}${font Terminus:Bold:size=10}${color5}Memory${hr}${color}${font}${font Terminus:Bold:size=8}
${voffset -15}
${goto 20}RAM:${goto 100}${color2}${memmax}${goto 170}${color4}${mem}${color}${goto 250}${color9}${memfree}${color}${goto 325}${color2}${memperc}%${color}
${goto 100}${color2}${execpi 10 ~/Git/linux/sc_data.sh memory_slotty}${goto 170}${execpi 10 ~/Git/linux/sc_data.sh memory_cloksp}Mhz${color}${goto 250}${execpi 10 ~/Git/linux/sc_data.sh mobo_ddr_used} / ${execpi 10 ~/Git/linux/sc_data.sh mobo_ddr_slot} slots
${goto 20}${voffset -27}${alignr}${membar 10,50}
${goto 20}${voffset 0}${alignr}${memgraph 10,50 859900 DC322F scale -t}${font}
${voffset -65}
${goto 40}${voffset 20}${font Terminus:Bold:size=10}${color5}Network${hr}${color}${font}${font Terminus:Bold:size=8}
${voffset -15}
${goto 20} \
${if_existing /sys/class/net/enp7s0/operstate up}\
${if_existing /proc/net/route enp7s0}\
${goto 20}${image ~/Git/linux/conky_img/g.png -p 375,850 -s 40x40}${goto 40}${color2}${addr enp7s0}${goto 195}${execpi 10 ~/Git/linux/sc_data.sh public_ip_add}${goto 345}On${color}\
${else}\
${goto 20}${image ~/Git/linux/conky_img/r.png -p 375,850 -s 40x40}${goto 40}${color4}${addr enp7s0}${goto 195}Offline${goto 345}Off${color}\
${endif}\
${else}\
${goto 20}${image ~/Git/linux/conky_img/r.png -p 375,850 -s 40x40}${goto 40}${color4}${addr enp7s0}${goto 195}Disconnected${goto 345}Off${color}\
${endif}
${goto 40}UL: ${upspeedgraph enp7s0 10,58 859900 DC322F scale -t}${goto 130} ${upspeed enp7s0} ${goto 195}DL:${goto 215} ${downspeedgraph enp7s0 10,58 859900 DC322F scale -t}${goto 285}${downspeed enp7s0}
${goto 20} \
${if_existing /sys/class/net/wlp3s0/operstate up}\
${if_existing /proc/net/route wlp3s0}\
${goto 20}${image ~/Git/linux/conky_img/g.png -p 375,895 -s 40x40}${color2}${goto 40}${addr wlp3s0}${goto 195}${execpi 10 ~/Git/linux/sc_data.sh public_ip_add}${goto 315}${wireless_essid wlp3s0}${color}\
${else}\
${goto 20}${image ~/Git/linux/conky_img/r.png -p 375,895 -s 40x40}${color4}${goto 40}${addr wlp3s0}${goto 195}Offline${goto 285}${wireless_essid wlp3s0}${color}\
${endif}\
${else}\
${goto 20}${image ~/Git/linux/conky_img/r.png -p 375,895 -s 40x40}${color4}${goto 40}${addr wlp3s0}${goto 195}Disconnected${goto 285}${wireless_essid wlp3s0}${color}${color}\
${endif}
${goto 40}UL: ${upspeedgraph wlp3s0 10,58 859900 DC322F scale -t}${goto 130} ${upspeed wlp3s0} ${goto 195}DL:${goto 215} ${downspeedgraph wlp3s0 10,58 859900 DC322F scale -t}${goto 285} ${downspeed wlp3s0}${color2}${goto 347}${wireless_link_qual wlp3s0}${goto 355}%
${goto 20} \
${if_existing /proc/net/route tun0}\
${goto 20}${image ~/Git/linux/conky_img/g.png -p 375,940 -s 40x40}${goto 40}${color2}${addr tun0}${goto 195}${execpi 10 sudo nmcli connection show --active | grep vpn |awk '{print $1}'}${goto 345}On${color}\
${else}\
${goto 20}${image ~/Git/linux/conky_img/r.png -p 375,940 -s 40x40}${goto 40}${color4}${addr tun0}${goto 195}Disconnected${goto 345}Off${color}\
${endif}\
${goto 40}UL: ${upspeedgraph tun0 10,58 859900 DC322F scale -t}${goto 130} ${upspeed tun0} ${goto 195}DL:${goto 215} ${downspeedgraph tun0 10,58 859900 DC322F scale -t}${goto 285}${downspeed tun0}

${voffset -30}${font}
${goto 40}${voffset -5}${font Terminus:Bold:size=10}${color5}Storage${hr}${color}${font}${font Terminus:Bold:size=8}
${voffset -10}
${goto 20}Sata:${color2}${goto 100}R: ${diskio_read /dev/sda}${goto 170}W: ${diskio_write /dev/sda}${goto 250}I: ${diskio /dev/sda}${color}${alignr}${diskiograph /dev/sda 10,50 859900 DC322F scale -t}
${goto 20}/ ${goto 100}${color2}${fs_size /}${color}${goto 170}${color4}${fs_used /}${goto 250}${color9}${fs_free /}${color}${alignr}${fs_bar 10,50 /}${color}
${goto 20}0: ${color2}${execpi 10 ~/Git/linux/sc_data.sh nvme0_tempera}${goto 100}R: ${diskio_read /dev/nvme0n1}${goto 170}W: ${diskio_write /dev/nvme0n1}${goto 250}I: ${diskio /dev/nvme0n1}${color}${alignr}${diskiograph /dev/nvme0n1 10,50 859900 DC322F scale -t}
${goto 20}/FS/DATA ${goto 100}${color2}${fs_size /FS/DATA}${color}${goto 170}${color4}${fs_used /FS/DATA}${goto 250}${color9}${fs_free /FS/DATA}${color}${alignr}${fs_bar 10,50 /FS/DATA}${color}
${goto 20}1: ${color2}${execpi 10 ~/Git/linux/sc_data.sh nvme1_tempera}${goto 100}R: ${diskio_read /dev/nvme1n1}${goto 170}W: ${diskio_write /dev/nvme1n1}${goto 250}I: ${diskio /dev/nvme1n1}${color}${alignr}${diskiograph /dev/nvme1n1 10,50 859900 DC322F scale -t}
${goto 20}/FS/GAME ${goto 100}${color2}${fs_size /FS/GAME}${color}${goto 170}${color4}${fs_used /FS/GAME}${goto 250}${color9}${fs_free /FS/GAME}${color}${alignr}${fs_bar 10,50 /FS/GAME}${color}
${if_mounted /FS/BACK}
${goto 20}U: ${color2}${goto 100}R: ${diskio_read /dev/sda1}${goto 170}W: ${diskio_write /dev/sda1}${goto 250}I: ${diskio /dev/sda1}${color}${alignr}${diskiograph /dev/sda1 10,50 859900 DC322F scale -t}
${goto 20}/FS/BACK ${goto 100}${color2}${fs_size /FS/BACK}${color}${goto 170}${color4}${fs_used /FS/BACK}${goto 250}${color9}${fs_free /FS/BACK}${color}${alignr}${fs_bar 10,50 /FS/BACK}${color}
${endif}
${voffset -5p=}${font}
${goto 40}${voffset -20}${font Terminus:Bold:size=10}${color5}CPU Usage${hr}${color}${font}${font Terminus:Bold:size=7}
${voffset -15}
${color7}${goto 5}${top pid 1}${goto 85}${top name 1}${goto 230}${top cpu 1}${goto 340}${top user 1}
${color4}${goto 5}${top pid 2}${goto 85}${top name 2}${goto 230}${top cpu 2}${goto 340}${top user 2}
${color orange}${goto 5}${top pid 3}${goto 85}${top name 3}${goto 230}${top cpu 3}${goto 340}${top user 3}
${color2}${goto 5}${top pid 4}${goto 85}${top name 4}${goto 230}${top cpu 4}${goto 340}${top user 4}
${color8}${goto 5}${top pid 5}${goto 85}${top name 5}${goto 230}${top cpu 5}${goto 340}${top user 5}
${color white}${goto 5}${top pid 6}${goto 85}${top name 6}${goto 230}${top cpu 6}${goto 340}${top user 6}
${color7}${goto 5}${top_mem pid 1}${goto 85}${top_mem name 1}${goto 247}${top mem_res 1}${goto 340}${top mem_vsize 1}
${color4}${goto 5}${top_mem pid 2}${goto 85}${top_mem name 2}${goto 247}${top mem_res 2}${goto 340}${top mem_vsize 2}
${color orange}${goto 5}${top_mem pid 3}${goto 85}${top_mem name 3}${goto 247}${top mem_res 3}${goto 340}${top mem_vsize 3}
${color2}${goto 5}${top_mem pid 4}${goto 85}${top_mem name 4}${goto 247}${top mem_res 4}${goto 340}${top mem_vsize 4}
${color8}${goto 5}${top_mem pid 5}${goto 85}${top_mem name 5}${goto 247}${top mem_res 5}${goto 340}${top mem_vsize 5}
${color white}${goto 5}${top_mem pid 6}${goto 85}${top_mem name 6}${goto 247}${top mem_res 6}${goto 340}${top mem_vsize 6}
${color}FG = $running_processes${alignc}BG = $processes${alignr}TH = $threads${font}
${voffset -45}
${goto 40}${font DeJavu:Regular:size=10}${color5}Tasks${hr}${color}${font}${font Terminus:Bold:size=7}
${voffset -5}${font Mono:Regular:size=6}${exec ~/Git/linux/sc_data.sh task}${font}
${voffset -45}
${goto 40}${font DeJavu:Regular:size=10}${color5}Notes${hr}${color}${font}${font Terminus:Bold:size=7}
${voffset -5}${font Mono:Regular:size=6}${exec ~/Git/linux/sc_data.sh note}${font}
${if_match "${execpi 10 /FS/DATA/juliano/Git/linux/sc_data.sh chk_users_log && echo 1 || echo 0}" == "1"}${image /FS/DATA/juliano/Git/linux/conky_img/x.png -p 60,550 -s 300x600}${endif}
${execpi 10 brweather --imagem1=CN -p 0,0 -s 150x150 -f 3600}
${execpi 10 brweather --imagem1=C1 -p 20,120 -s 50x50 -f 3600}
${execpi 10 brweather --imagem1=C2 -p 90,120 -s 50x50 -f 3600}
${execpi 10 brweather --imagem1=C3 -p 160,120 -s 50x50 -f 3600}
${image /FS/DATA/juliano/Git/linux/conky_img/u.png -p 147,35 -s 15x15 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/t.png -p 142,57 -s 20x20 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/d.png -p 147,83 -s 15x15 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/pin.png -p 0,0 -s 35x35 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/cal.png -p -2,192 -s 40x40 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/yoda.ico -p -5,380 -s 50x50 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/arch.png -p 280,430 -s 130x95 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/pc.png -p 0,570 -s 30x30 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/mobo.png -p 60,595 -s 25x25 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/gpu.png -p 57,625 -s 40x26 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/cpu.png -p 60,650 -s 30x30 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/graph.png -p 60,682 -s 30x30 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/fan.png -p 216,600 -s 20x20 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/fan.png -p 335,600 -s 20x20 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/term.png -p 360,630 -s 20x20 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/term.png -p 360,660 -s 20x20 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/ram.png -p 0,730 -s 30x30 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/network.png -p 0,820 -s 30x30 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/cable.png -p 5,855 -s 25x25 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/wifi.png -p 0,905 -s 30x20 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/ovpn.png -p 2,945 -s 30x30 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/nvme.png -p 0,1000 -s 40x20 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/tux.png -p 325,1030 -s 25x32 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/joypad.png -p 320,1077 -s 35x35 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/raid.png -p 320,1121 -s 35x35 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/backup.png -p 323,1165-s 35x35 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/cpusage.png -p 0,1233 -s 28x28 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/todo.png -p 0,1480 -s 30x30 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/notes.png -p 5,1825 -s 25x25 -f 86400 -n 1}
]]
what does it look like?
 
Am I the only one who likes the gauges?
simple-conky.png

Code:
# Use Xft?
use_xft yes
xftfont DejaVuSans:size=12
xftalpha 0.8
text_buffer_size 2048

#G instead of Gib, etc..
short_units true

# Update interval in seconds
update_interval 1

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

# Create own window instead of using desktop (required in nautilus)
own_window true
own_window_transparent false
own_window_type desktop
own_window_argb_visual true

# undecorated,below,sticky,skip_taskbar,skip_pager

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 500
maximum_width 248

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Draw borders around graphs
draw_graph_borders yes

# Stippled borders?
stippled_borders 0

# border width
border_width 0

# Default colors and also border colors
default_color white
#default_shade_color black
#default_outline_color black
#own_window_colour white

# For multiple displays choose 0,1,2 etc..
xinerama_head 1

# 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
# same thing as passing -x at command line
gap_x 10
gap_y 10

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 25

# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 5

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes

# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer none
color1 DC6203
color2 e5dfff
color3 FF0001
color4 0A6E2B

#show only active network interfaces
if_up_strictness link

TEXT

${color1}${nodename}${hr 2}
${color2}BookwormPup64_10.0.4
${color2}${sysname} ${kernel}
${color1}${hr 2}
${color2}CPU ${color3}${cpugauge cpu0 80,160}
${color1}${freq_g cpu0}Ghz${alignr}${cpugovernor}
${color2}GPU ${color3}${nvidiagauge 80,160 gpuutil}
#${nvidia temp}°C
${color2}RAM ${color3}${memgauge 80,160}
${color4}SWAP${alignr}$swapperc%  ${swapbar 16,120}
${color1}STORAGE${hr 2}
#${hwmon 1 temp 1}°C
#${hwmon 2 temp 1}°C
${color2}${fs_used /initrd/mnt/dev_save}/${fs_size /initrd/mnt/dev_save}${alignr}${color4}${fs_bar 16,120 /initrd/mnt/dev_save}
${color1}INTERNET${hr 2}
#${execi 3600 wget -O - -q icanhazip.com}
${color2}U↑  ${upspeedf eth0}
${alignr}${color4}${upspeedgraph eth0 40,240}
${color2}D↓ ${downspeedf eth0}
${alignr}${color4}${downspeedgraph eth0 40,240}
#
 
When I click on conky I don't get anything. I get a spinning wheel like something is going to open, but nothing does. Does anybody have any idea what's up with that?
 
Might be worth a separate thread, @ron.alan ?

Desktop subforum would do

Cheers

Wiz
 

Members online


Top