WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Conky  (Read 8678 times)

Offline alekie

  • Newbie
  • *
  • Posts: 8
Conky
« on: May 25, 2011, 09:20:13 AM »
I have downloaded and installed conky but cannot get it to start. I'm new with Tinycore so I am not sure what I have missed.
I have edited the conky.conf file and conky is listed in onboot in appaudit.

Any help would be appreciated. If more information is needed I will post here.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: Conky
« Reply #1 on: May 25, 2011, 09:25:55 AM »
Open a terminal window, enter "conky" and see if there are any error messages. If so, please cut and paste them here.

Offline alekie

  • Newbie
  • *
  • Posts: 8
Re: Conky
« Reply #2 on: May 25, 2011, 09:32:36 AM »
error while loading shared libraries: libncurses.so.5: cannot open shared object file: no such file or directory

Thanks,

Alex

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: Conky
« Reply #3 on: May 25, 2011, 09:37:05 AM »
OK, the ncurses extension is missing.

Which conky extension are you using, conky or conky_plus?

The ncurses extension is a dep of conky_plus, but I may need to add it as a dep of conky if that's the version you're using.

Offline alekie

  • Newbie
  • *
  • Posts: 8
Re: Conky
« Reply #4 on: May 25, 2011, 09:38:53 AM »
I'm using conky. not conky plus.

Thanks

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: Conky
« Reply #5 on: May 25, 2011, 09:40:59 AM »
OK - I'll correct the dep file in the repo - thanks for reporting this.

In the meantime, you can download the ncurses extension to get things working.

Offline alekie

  • Newbie
  • *
  • Posts: 8
Re: Conky
« Reply #6 on: May 25, 2011, 09:48:04 AM »
Thanks! Just downloaded it and it is working!

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Conky (desktop system monitor) does not work! :( what should I do !?
« Reply #7 on: October 27, 2020, 04:51:47 AM »
Conky (desktop system monitor) does not work! :( what should I do !?

x86_64-bit TCL

Code: [Select]
tc@box:~$ conky
conky: Can't set the specified locale!
Check LANG, LC_CTYPE, LC_ALL.
conky: desktop window (6a6) is root window
conky: drawing to desktop window
conky: unknown variable '$version'
conky: obj->data.i 3 info.cpu_count 2
conky: attempting to use more CPUs than you have!
tc@box:~$

« Last Edit: March 27, 2023, 10:47:37 PM by Rich »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: Conky
« Reply #8 on: October 27, 2020, 05:09:44 AM »
It works for me:
Code: [Select]
$ conky
conky: desktop window (111) is root window
conky: drawing to desktop window
conky: unknown variable '$version'

..I wonder if the cpu message is a bug (conky displays data from 4 cpus for me) - did you check conky github, there a lot of hits for the error message?
« Last Edit: October 27, 2020, 05:12:57 AM by Juanito »

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Re: Conky
« Reply #9 on: October 27, 2020, 05:18:59 AM »
Could you first update the application in the repository!?
« Last Edit: October 27, 2020, 05:35:38 AM by Juanito »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: Conky
« Reply #10 on: October 27, 2020, 05:23:28 AM »
Please do some checking of your own first.

..and you could also try a custom conky config displaying just one cpu to see if that works.

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Re: Conky
« Reply #11 on: October 27, 2020, 06:30:43 AM »
Can you tell me what to write !?
« Last Edit: October 27, 2020, 06:46:34 AM by Juanito »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: Conky
« Reply #12 on: October 27, 2020, 06:46:00 AM »
Edit /usr/local/etc/conky/conky.conf and remove cpu1,2,3

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Re: Conky
« Reply #13 on: October 27, 2020, 06:52:25 AM »
CPU: I'm using an AMD A4-5300 processor.

This application comes in the form of automatic CPU identification in addition to the desktop in many linux distributions. In this way, it directly recognizes the system. Could you please update the application with a setting to automatically recognize the processors?!
« Last Edit: October 27, 2020, 07:20:40 AM by Juanito »

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Re: Conky
« Reply #14 on: October 27, 2020, 07:09:31 AM »
Edit /usr/local/etc/conky/conky.conf and remove cpu1,2,3

the original files on the system!

conky.conf
Code: [Select]
conky.config = {
    alignment = 'bottom_left',
    background = false,
    border_width = 1,
    cpu_avg_samples = 2,
default_color = 'white',
    default_outline_color = 'white',
    default_shade_color = 'white',
    draw_borders = false,
    draw_graph_borders = true,
    draw_outline = false,
    draw_shades = false,
    use_xft = false,
    --font = 'DejaVu Sans Mono:size=12',
    gap_x = 5,
    gap_y = 30,
    minimum_height = 5,
minimum_width = 5,
    net_avg_samples = 2,
    no_buffers = true,
    out_to_console = false,
    out_to_stderr = false,
    extra_newline = false,
    own_window = false,
    own_window_class = 'Conky',
    own_window_type = 'desktop',
    stippled_borders = 0,
    update_interval = 3.0,
    uppercase = false,
    use_spacer = 'none',
    show_graph_scale = false,
    show_graph_range = false
}

conky.text = [[
$sysname $version on $machine
$hr
${color grey}Uptime:$color $uptime
#${color grey}Temp:$color $acpitemp
#${color grey}Frequency (in MHz):$color $freq
#${color grey}Frequency (in GHz):$color $freq_g
${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}
${color grey}CPU Usage:$color $cpu% ${cpubar 4}
${color grey}CPU 0: ${cpu cpu1}% ${cpubar cpu1 4}
CPU 1: ${cpu cpu2}% ${cpubar cpu2 4}
CPU 2: ${cpu cpu3}% ${cpubar cpu3 4}
CPU 3: ${cpu cpu4}% ${cpubar cpu4 4}$color
${color grey}Processes:$color $processes  ${color grey}Running:$color $running_processes
$hr
${color grey}File systems:
 / $color${fs_used /}/${fs_size /} ${fs_bar 6 /}
${color grey}Networking:
Up:$color ${upspeed re0} ${color grey} - Down:$color ${downspeed re0}
$hr
${color grey}Name              PID   CPU%   MEM%
${color lightgrey} ${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 lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color lightgrey} ${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}
${color lightgrey} ${top name 6} ${top pid 6} ${top cpu 6} ${top mem 6}
${color lightgrey} ${top name 7} ${top pid 7} ${top cpu 7} ${top mem 7}
${color lightgrey} ${top name 8} ${top pid 8} ${top cpu 8} ${top mem 8}
]]

conky_no_x11.conf
Code: [Select]
conky.config = {
background = false,
cpu_avg_samples = 2,
net_avg_samples = 2,
no_buffers = true,
out_to_stderr = false,
update_interval = 1.0,
uppercase = false,
use_spacer = 'none',
};

conky.text =
[[${scroll 16 $nodename - $sysname $kernel on $machine | }
Uptime: $uptime
Frequency (in MHz): $freq
Frequency (in GHz): $freq_g
RAM Usage: $mem/$memmax - $memperc% ${membar 4}
Swap Usage: $swap/$swapmax - $swapperc% ${swapbar 4}
CPU Usage: $cpu% ${cpubar 4}
Processes: $processes  Running: $running_processes
File systems:
 / ${fs_used /}/${fs_size /} ${fs_bar 6 /}
Networking:
Up: ${upspeed}  - Down: ${downspeed}
Name              PID   CPU%   MEM%
 ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
 ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
 ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
 ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
]];