This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Conky slides down the desktop

Tags: None
(comma "," separated)
kde-bertil
Registered Member
Posts
15
Karma
0

Conky slides down the desktop

Sat Jan 18, 2020 9:28 am
Hi,

my Conky slides down the desktop after resume or wake-up from lock-screen. A few lines at a time.

Is there anything I can do about it?

This is my .conkyrc:

Code: Select all
conky.config = {
   alignment = 'top_right',
   update_interval = 1,
   cpu_avg_samples = 2,
   net_avg_samples = 2,
   out_to_console = false,
   override_utf8_locale = true,
   double_buffer = true,
   no_buffers = true,
   text_buffer_size = 32768,
   imlib_cache_size = 0,
   own_window = true,
   own_window_type = 'normal',
   own_window_argb_visual = true,
   own_window_argb_value = 0,
   own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
   own_window_transparent = yes,
   own_window_class = 'Conky',
   border_inner_margin = 5,
   border_outer_margin = 0,
   xinerama_head = 0,
   gap_x = 0,
   gap_y = 50,
   draw_shades = false,
   draw_outline = false,
   draw_borders = false,
   draw_graph_borders = false,
   use_xft = true,
   font = 'Ubuntu Mono:size=12',
   xftalpha = 0.8,
   uppercase = false,
   default_color = 'white',
   own_window_colour = '#000000',
   minimum_width = 300, minimum_height = 0
};

conky.text = [[
${time %H:%M:%S}${alignr}${time %d-%m-%y}
${voffset -16}${font sans-serif:bold:size=18}${alignc}${time %H:%M}${font}
${voffset 4}${alignc}${time %A %B %d, %Y}
${font}${voffset -4}
${font sans-serif:bold:size=10}SYSTEM ${hr 2}
${font sans-serif:normal:size=8}$sysname $kernel $alignr $machine
Host:$alignr$nodename
Uptime:$alignr$uptime
File System: $alignr${fs_type}
Processes: $alignr ${execi 1000 ps aux | wc -l}

${font sans-serif:bold:size=10}CPU ${hr 2}
${font sans-serif:normal:size=8}${execi 1000 grep model /proc/cpuinfo | cut -d : -f2 | tail -1 | sed 's/\s//'}
${font sans-serif:normal:size=8}${cpugraph cpu1 80,280}
CPU: ${cpu cpu1}% ${cpubar cpu1}

${offset 15}Core 1   ${color ff8300}${cpubar cpu1 6}${color FFFDE2}
${offset 15}Core 2   ${color ff8300}${cpubar cpu2 6}${color FFFDE2}
${offset 15}Core 3   ${color ff8300}${cpubar cpu3 6}${color FFFDE2}
${offset 15}Core 4   ${color ff8300}${cpubar cpu4 6}${color FFFDE2}
${offset 15}Core 5   ${color ff8300}${cpubar cpu5 6}${color FFFDE2}
${offset 15}Core 6   ${color ff8300}${cpubar cpu6 6}${color FFFDE2}
${offset 15}Core 7   ${color ff8300}${cpubar cpu7 6}${color FFFDE2}
${offset 15}Core 8   ${color ff8300}${cpubar cpu8 6}${color FFFDE2}


${font sans-serif:bold:size=10}MEMORY ${hr 2}
${font sans-serif:normal:size=8}RAM $alignc $mem / $memmax $alignr $memperc%
$membar
SWAP $alignc ${swap} / ${swapmax} $alignr ${swapperc}%
${swapbar}

$hr
${color1}Temperatures in Celsius:
${color1}Core 0 temp: ${alignr} ${color} ${execi 60 sensors | grep 'Core 0' | cut -c 8-24}
${color1}Core 1 temp: ${alignr} ${color} ${execi 60 sensors | grep 'Core 1' | cut -c 8-24}
${color1}Core 2 temp: ${alignr} ${color} ${execi 60 sensors | grep 'Core 2' | cut -c 8-24}
${color1}Core 3 temp: ${alignr} ${color} ${execi 60 sensors | grep 'Core 3' | cut -c 8-24}


${color1}GPU          ${alignr}   ${color} ${execi 60 nvidia-settings -query [gpu:0]/GPUCoreTemp -t}°C
${color1}Graphics card:      ${alignr}    ${color} ${execi 10 nvidia-smi -q -a | grep -Eo 'GTX .+'}
${color1}Fan Speed:          ${alignr}    ${color} ${execi 10 nvidia-smi | grep -Eo '...%.+?W' | awk '{print $1}'}
${color1}GPU temp / max:   ${alignr}   ${color} ${execi 10 nvidia-smi | grep -Eo '...%.+?W' | awk '{print $2}'} / 99°C
${color1}Perf level:         ${alignr}    ${color} ${execi 10 nvidia-smi | grep -Eo '...%.+?W' | awk '{print $3}'}
${color1}Power use / max:   ${alignr}   ${color} ${execi 10 nvidia-smi | grep -Eo '...%.+?W' | awk '{print $4}'} / 120W
$hr

${font sans-serif:bold:size=10}DISK USAGE ${hr 2}
${font sans-serif:normal:size=8}/ $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_used_perc /}%
${fs_bar /}

${font Ubuntu:bold:size=10}NETWORK ${hr 2}
${font sans-serif:normal:size=8}Local IPs:${alignr}External IP:
${execi 1000 ip a | grep inet | grep -vw lo | grep -v inet6 | cut -d \/ -f1 | sed 's/[^0-9\.]*//g'}  ${alignr}${execi 1000  wget -q -O- http://ipecho.net/plain; echo}
${font sans-serif:normal:size=8}Down: ${downspeed eno1}  ${alignr}Up: ${upspeed eno1}
${color lightgray}${downspeedgraph eno1 80,130 } ${alignr}${upspeedgraph eno1 80,130 }$color
${font sans-serif:bold:size=10}TOP PROCESSES ${hr 2}
${font sans-serif:normal:size=8}Name $alignr PID   CPU%   MEM%${font sans-serif:normal:size=8}
${top name 1} $alignr ${top pid 1} ${top cpu 1}% ${top mem 1}%
${top name 2} $alignr ${top pid 2} ${top cpu 2}% ${top mem 2}%
${top name 3} $alignr ${top pid 3} ${top cpu 3}% ${top mem 3}%
${top name 4} $alignr ${top pid 4} ${top cpu 4}% ${top mem 4}%
${top name 5} $alignr ${top pid 5} ${top cpu 5}% ${top mem 5}%
${top name 6} $alignr ${top pid 6} ${top cpu 6}% ${top mem 6}%
${top name 7} $alignr ${top pid 7} ${top cpu 7}% ${top mem 7}%
${top name 8} $alignr ${top pid 8} ${top cpu 8}% ${top mem 8}%
${top name 9} $alignr ${top pid 9} ${top cpu 9}% ${top mem 9}%
${top name 10} $alignr ${top pid 10} ${top cpu 10}% ${top mem 10}%
]];


Thanks!
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: Conky slides down the desktop

Thu Jan 23, 2020 11:26 am
hm, I have never used this, could you provide a screenshot of the differences? Not sure I understand the problem.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
kde-bertil
Registered Member
Posts
15
Karma
0

Re: Conky slides down the desktop

Thu Jan 23, 2020 3:33 pm
Hi, thanks, yes.

So this is how it is supposed to look:

Image

and after some time:

Image

sometimes it also moves sideways.

Thanks
kde-bertil
Registered Member
Posts
15
Karma
0

Re: Conky slides down the desktop

Sat Feb 08, 2020 3:29 pm
And here is an example of side-way movement:

Image

I am on neon with all the latest updates.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: Conky slides down the desktop

Sat Feb 08, 2020 9:50 pm
weird, I actually didn't even manage to get it on my regular desktop, maybe asking the Conky dev directly could help? I don't think he is on this forum...


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
kde-bertil
Registered Member
Posts
15
Karma
0


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot], Yahoo [Bot]