Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

Conky problems with version 6 stable on Xcfe, was working fine with version 5

Started by Oulik, August 22, 2021, 06:30:36 PM

Previous topic - Next topic

Oulik

Hope you can help

The upgrading from version 5 series to the version 6 (32bit) went flawlessly / I followed the instruction on the wiki page to the letter, and it worked.
The only setback is that it broke my conky.
It concerns the Xcfe edition

On series 5 conky was working well, and now I get lines and bits and pieces of conky all over the desktop and I don't even see the desktop icons.
Is it the 32 bit? Or did I do anything wrong?

I hope you can please help me find where the problem is.

conky.config = {
-- # set to yes if you want Conky to be forked in the background
background = true,

-- # very imortant temp core 0 ----   ${execi 1 sensors | grep 'Core 0:' | cut -d+ -f2 | cut -c1-7}
-- # very imortant temp core 1 ----   ${execi 1 sensors | grep 'Core 1:' | cut -d+ -f2 | cut -c1-7}

cpu_avg_samples = 2,
net_avg_samples = 2,

out_to_console = true,

-- # X font when Xft is disabled, you can pick one with program xfontsel
-- #font 7x12
-- #font 6x10
-- #font 7x13
-- #font 8x13
-- #font 7x12
-- #font *mintsmild.se*
-- #font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
-- #font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1

-- # Use Xft?
use_xft = true,
-- # use_xft = true,

-- # Xft font when Xft is enabled
-- # xftfont = 'Bitstream Vera Sans Mono:size=12'
-- # font = 'Bitstream Vera Sans Mono:size=9',
font = 'calibri:size is 10',

-- # own_window_transparent yes
-- # own_window_colour hotpink,
-- # Text alpha when using Xft,

own_window = true,
-- own_window_class = Conky,
-- own_window_type = desktop,
-- own_window_type = conky,
own_window_transparent = true,
own_window_argb_visual = true,
-- own_window_argb_visual = false,
own_window_colour = '000000',
own_window_argb_value = 0,
own_window_hints = 'undecorated,sticky,skip_taskbar,skip_pager,below',

xftalpha = 0.8,

on_bottom = false,

-- # mail spool
-- mail_spool = $MAIL,

-- # Update interval in seconds
update_interval = 1,
-- # Create own window instead of using desktop (required in nautilus)
-- #own_window = true,

-- # Use double buffering (reduces flicker, may not work for everyone)
double_buffer = true,

-- # Minimum size of text area
-- # minimum_size 280 5
-- # maximum_width 150

-- # Draw shades?
draw_shades = false,

-- # Draw outlines?
draw_outline = false,

-- # Draw borders around text
draw_borders = false,

-- # Stippled borders?
stippled_borders = 10,

-- # border margins
border_margin = 4,

-- # border width
border_width = 1,

-- # Default colors and also border colors
default_color = white,
-- # default color 00FFFFF
default_shade_color = white,
default_outline_color = white,

-- # Text alignment, other possible values are commented
-- #alignment top_left
-- #minimum_size 10 10
alignment = 'top_right',
gap_x = 10,
gap_y = 5,
-- #alignment = top_right
-- # alignment bottom_left
-- #alignment bottom_right

-- # Gap between borders of screen and text
-- # gap_x 24
-- # gap_y 24

-- # Add spaces to keep things from moving about?  This only affects certain objects. 'none', 'left', 'right'
use_spacer = 'left',

-- # Subtract file system buffers from used memory?
no_buffers = true,

-- # set to yes if you want all text to be in uppercase
uppercase = false,

-- # boinc (seti) dir
-- # seti_dir /opt/seti
}


-- # variable is given either in format $variable or in ${variable}. Latter
-- # allows characters right after the variable and must be used in network
-- # stuff because of an argument
-- #${font Dungeon:style=Bold:pixelsize=10}I can change the font as well
-- #${font Verdana:size=10}as many times as I choose
-- #${font Perry:size=10}Including UTF-8,
-- #${font Luxi Mono:size=10}justo como este texto que o google traduz fêz o português
-- # stuff after 'TEXT' will be formatted on screen
-- #${font Grunge:size=12}${time %a  %b  %d}${alignr -25}${time %k:%M}

-- # TEXT
-- # ${color lightgrey}CPU Usage:${color #5000a0} ${cpu}% ${cpubar}
-- # ${color black}${cpugraph 000000 597DB2}
-- # ${color lightgrey}Core 1: ${freq 1} MHz        Temprature: $color
-- #I/O: ${alignr} R:${diskio_read}        //      W:${diskio_write}


conky.text = [[

$nodename - $sysname $kernel on $machine
$stippled_hr
${color lightgrey}Uptime:$color $uptime ${color lightgrey}- Load:$color $loadavg

${color lightgrey}CPU Usage:${color white} ${cpu}% ${color white} ${cpubar 18}

${color black}${cpugraph 32, 350 000000 FF0000}
${exec sensors|grep 'Core0'|awk '{print $3}'}
${color white}Core 1: ${freq 1} MHz       
${cpu cpu1}% ${color white}${cpubar cpu1}$color


${font}${color yellow}Processes: $processes  ${color yellow}Running: $running_processes ${color yellow} Temperature: ${acpitemp}°C

${color yellow}RAM Usage: $mem/$memmax - $memperc% $membar
${color yellow}Swap Usage: $swap/$swapmax - $swapperc% ${swapbar}
$color$stippled_hr
${color lightgrey}Networking:
Down:${color #22ccff} ${downspeed wlan0} ${color lightgrey} ${offset 70}Up:${color #22ccff} ${upspeed wlan0}
${color black}${downspeedgraph wlan0 32,150 ff0000 0000ff} $alignr${color black}${upspeedgraph wlan0 32,150 0000ff ff0000}
${color lightgrey}HD ${hr 2}
I/O:                  R:${diskio_read}           //          W:${diskio_write}
${color black}${diskiograph 32, 350 000000 FF0000}
${color lightgrey}Home:
${fs_free /home}/${fs_size /home} ${alignr}${fs_bar 8,200 /home}
Root:
${fs_free /root}/${fs_size /root} ${alignr}${fs_bar 8,200 /root}
   

${color white}File systems:
/ $color${fs_used /}/${fs_size /} ${fs_bar /}
${color}Name              PID     CPU%   MEM%
${color #ddaa00} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color}Mem usage
${color #ddaa00} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color lightgrey} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color lightgrey} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
]]

View the most recent posts on the forum