I got conky working & looking the way I want... sort of...

Add functionality to your desktop
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
izzo

I got conky working & looking the way I want... sort of...

Post by izzo »

Here's what I have:
ff.jpeg

Code: Select all

own_window yes
own_window_type conky # Try conky 'normal' or 'override'
own_window_transparent yes
own_window_hints undecorated,sticky,skip_taskbar,skip_pager,below
double_buffer yes
alignment bottom_right
background yes
border_width 0
cpu_avg_samples 2
default_color green
default_outline_color white
default_shade_color white
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
use_xft yes
xftfont Sans Mono:size=9
gap_x 70
gap_y 120
minimum_size 5 5
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
extra_newline no
own_window no
own_window_class Conky
own_window_type desktop
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no

TEXT
${scroll 37 $nodename / $sysname / $kernel }
$hr
          ${color grey}Uptime:$color $uptime

	*     *     *     *     *     *     *
${color grey}CPU Usage:$color $cpu%
${cpubar 7}
${color grey}RAM:$color $mem/$memmax - $memperc%
${membar 7}
${color grey}Swap:$color $swap/ $swapmax - $swapperc%
${swapbar 7}

        *     *     *     *     *     *     *
${color grey}File systems (used / total)
/             $color${fs_used /} / ${fs_size /} ${fs_bar 8 /}
/storage   $color${fs_used /storage} / ${fs_size /storage} ${fs_bar 8 /storage}
/movies   $color${fs_used /movies} / ${fs_size /movies} ${fs_bar 8 /movies}

        *     *     *     *     *     *     *
${color grey}Networking
 Wired:
   > Up:$color ${upspeed eth1}${color grey} / Down:$color ${downspeed eth1}
 Wireless:
   > Up:$color ${upspeed eth0}${color grey} / Down:$color ${downspeed eth0} 

        *     *     *     *     *     *     *
${color grey}Processes:$color $processes  ${color grey}Running:$color $running_processes
${color grey}Name               PID      CPU%
${color red} ${top name 1} ${top pid 1} ${top cpu 1}
${color yellow} ${top name 2} ${top pid 2} ${top cpu 2}
${color blue} ${top name 3} ${top pid 3} ${top cpu 3}
The problem that I have is that it covers all icons on the desktop when running.
When I hover over an icon it appears, when I move the mouse away the icon disappears.
When I stop/kill conky all the icons are visible, no problem.
How do I fix that?

And how do I display data for each of the CPU cores (I have a dual-core CPU)?

P.S. That's on LM 16 MATE, 64-bit, nvidia geforce video if it matters.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
izzo

Re: I got conky working & looking the way I want... sort of.

Post by izzo »

Nevermind my question about the CPUs, I figured it out :)
izzo

Re: I got conky working & looking the way I want... sort of.

Post by izzo »

Nevermind the conky covering all desktop and hiding icons, I figured that too :D

Code: Select all

#own_window no
#own_window_type desktop # Try conky 'normal' or 'override' or 'desktop'
#own_window_transparent yes
#own_window_hints undecorated,sticky,skip_taskbar,skip_pager,below
#own_window_class Conky
double_buffer no

alignment bottom_right
background yes

border_width 0
cpu_avg_samples 2
default_color green
default_outline_color white
default_shade_color white
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
use_xft yes
xftfont Sans Mono:size=9
gap_x 120
gap_y 100
minimum_size 5 5
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
extra_newline no
stippled_borders 0
update_interval 1.0
uppercase yes
use_spacer none
show_graph_scale no
show_graph_range no


$alignc ${scroll 37 $nodename / $sysname / $kernel }
$hr
$alignc ${color grey}Uptime:$color $uptime

$alignc *     *     *     *     *     *     *
$alignc Audacious $audacious_status
$alignc ${scroll 35 1 ${audacious_title 35}}

$alignc *     *     *     *     *     *     *
$alignc ${color grey}CPU Usage (combined):$color $cpu%
${cpubar 7}
CPU core 1: ${cpu cp1}% $alignr CPU core 2: ${cpu cp2}%
${cpugraph cpu1 25, 105} $alignr ${cpugraph cpu2 25, 105}
$alignc ${color grey}RAM:$color $mem/$memmax - $memperc%
${membar 7}
$alignc ${color grey}Swap:$color $swap/ $swapmax - $swapperc%
${swapbar 7}

$alignc *     *     *     *     *     *     *
$alignc ${color grey}File systems (used / total)
/             $color${fs_used /} / ${fs_size /} ${fs_bar 8 /}
/storage   $color${fs_used /storage} / ${fs_size /storage} ${fs_bar 8 /storage}
/movies   $color${fs_used /movies} / ${fs_size /movies} ${fs_bar 8 /movies}

$alignc *     *     *     *     *     *     *
$alignc ${color grey}Networks
$alignc Wired
$alignc > Up:$color ${upspeed eth1}${color grey} / Down:$color ${downspeed eth1}
# $alignc Wireless
# $alignc > Up:$color ${upspeed eth0}${color grey} / Down:$color ${downspeed eth0} 

$alignc *     *     *     *     *     *     *
$alignc ${color grey}Processes:$color $processes  ${color grey}Running:$color $running_processes
${color grey}Name              $alignc PID      $alignr CPU%
${color red} ${top name 1} $alignc ${top pid 1} $alignr ${top cpu 1}
${color yellow} ${top name 2} $alignc ${top pid 2} $alignr ${top cpu 2}
${color blue} ${top name 3} $alignc ${top pid 3} $alignr ${top cpu 3}

Screenshot-1.png
Now onto the flickering...
izzo

Re: I got conky working & looking the way I want... sort of.

Post by izzo »

Well, I've read and read and read (mostly http://conky.sourceforge.net/faq.html and
whatever Google pulled) to the point where my head and eyes hurt...

Tried whatever combos with "own_window" and its "subdirectives" and nothing worked...

So far, "double_buffer yes" stops the flickering - however it hides my desktop icons...
The alternative is "double_buffer no" - flickering conky with visible desktop icons.

I guess I'll just have to live with the flickering, at least I got the icons/transparency/etc working...!

Code: Select all

#own_window yes
#own_window_type desktop
#own_window_transparent yes
#own_window_hints undecorated,sticky,skip_taskbar,skip_pager,below
#own_window_class Conky

double_buffer no

alignment bottom_right
background yes

border_width 0
cpu_avg_samples 2
default_color green
default_outline_color white
default_shade_color white
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
use_xft yes
xftfont Sans Mono:size=9
gap_x 120
gap_y 100
minimum_size 5 5
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
extra_newline no
stippled_borders 0
update_interval 1.0
uppercase yes
use_spacer none
show_graph_scale no
show_graph_range no


TEXT

$alignc ${scroll 37 $nodename / $sysname / $kernel }
$hr
$alignc ${color grey}Uptime:$color $uptime

$alignc *     *     *     *     *     *     *
$alignc Audacious $audacious_status
$alignc ${color yellow} ${audacious_title 30} ${color}

$alignc *     *     *     *     *     *     *
$alignc ${color grey}CPU
${scroll 30 20 ${color pink} ${execi 50000 grep -m 1 name /proc/cpuinfo}}
$alignc ${color grey} Usage (combined):$color $cpu%
${cpubar 7}
CPU core 1: ${cpu cp1}% $alignr CPU core 2: ${cpu cp2}%
${cpugraph cpu1 25, 105} $alignr ${cpugraph cpu2 25, 105}
$alignc ${color grey}RAM:$color $mem/$memmax - $memperc%
${membar 7}
$alignc ${color grey}Swap:$color $swap/ $swapmax - $swapperc%
${swapbar 7}

$alignc *     *     *     *     *     *     *
$alignc ${color grey}File systems (used / total)
/             $color${fs_used /} / ${fs_size /} ${fs_bar 8 /}
/storage   $color${fs_used /storage} / ${fs_size /storage} ${fs_bar 8 /storage}
/movies   $color${fs_used /movies} / ${fs_size /movies} ${fs_bar 8 /movies}

$alignc *     *     *     *     *     *     *
$alignc ${color grey}Network(s)
$alignc Wired - internal IP ${color pink} ${addrs eth1} ${color}
Down:$color ${downspeed eth1}${color grey} $alignr Up:$color ${upspeed eth1}
${downspeedgraph eth1 25, 105 7500} $alignr ${upspeedgraph eth1 25, 105 800} # last digit in curly braces is how high the scale is in kb/s
# $alignc Wireless - ${addrs etho}
# $alignc > Up:$color ${upspeed eth0}${color grey} / Down:$color ${downspeed eth0} 

$alignc *     *     *     *     *     *     *
$alignc ${color grey}Processes:$color $processes  ${color grey}Running:$color $running_processes
${color grey}Name              $alignc PID      $alignr CPU%  MEM%
${color red} ${top name 1} $alignc ${top pid 1} $alignr ${top cpu 1}  ${top mem 1}
${color yellow} ${top name 2} $alignc ${top pid 2} $alignr ${top cpu 2}  ${top mem 2}
${color blue} ${top name 3} $alignc ${top pid 3} $alignr ${top cpu 3}  ${top mem 3} 

Here is my final conky:
conky.png
And a desktop screenshot:
Screenshot.jpeg
Locked

Return to “Compiz, Conky, Docks & Widgets”