Find the answer to your Linux question:
Results 1 to 4 of 4
Like Tree1Likes
  • 1 Post By rokytnji
i installed conky but it wont open. when a give it the comannd in termanail it says text block missing please help...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2012
    Halifax Nova Scotia Canada

    conky not working

    i installed conky but it wont open. when a give it the comannd in termanail it says text block missing please help

  2. #2
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    I am in no way a conky trouble-shooter.
    But it sounds like an issue with your ~/.conkyrc file.
    Post your file, and maybe someone can give some help.

    And post your exact error message.

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  3. #3
    Just Joined!
    Join Date
    Mar 2012
    Halifax Nova Scotia Canada
    and where would that be?

    A880GZ jlloyd13 # conky
    Conky: missing text block in configuration; exiting
    ***** Imlib2 Developer Warning ***** :
    This program is calling the Imlib call:


    With the parameter:


    being NULL. Please fix your program.
    A880GZ jlloyd13 #

  4. #4
    Linux Guru rokytnji's Avatar
    Join Date
    Jul 2008
    What distro are you running.?

    Basically your error message says that your hidden text file in /home named .conkyrc is missing everything under Text line.

    You need to view hidden files in /home to see it using whatever file manager your distro uses. We have a conky thread in this forum with posted .conkyrc files.

    Example to show what you are probably missing in your .conkyrc from one of my posts.

    # stuff after 'TEXT' will be formatted on screen
    ${color }$nodename ${hr}
    ${color #9fb6cd}Kernel:$alignr${color }$kernel
    ${color #9fb6cd}UpTime: $alignr${color }$uptime
    The thread is here

    Command To find file locations and names for conky in terminal.

    locate conky
    I am posting from Lighthouse Puppy 5.03 right now and I run pwidgets instead of conky on this install though I can run a combo of both since I also have conky installed also.

    Just a example of locate command in my Puppy. install showing location of Conky files
    Your readout will be different from mine

    sh-4.1# locate conky
    sh-4.1# locate conky
    Here is my .conkyrc you can borrow from if you want

    # ~/.conkyrc
    # 2009-8 TazOC
    # see and /usr/share/doc/conky
    # set to yes if you want Conky to be forked in the background
    background yes
    cpu_avg_samples 2
    net_avg_samples 2
    out_to_console no
    #font *edges*
    #font -*-fixed-*-*-*-*-12-*-*-*-*-*-*-*
    #font -urw-bookman l-light-i-normal--18-0-100-100-p-0-iso8859-2
    #font -xos4-terminus-medium-r-normal--12-120-72-72-c-60-iso8859-1
    #font -xos4-terminus-medium-r-normal--14-140-72-72-c-80-iso8859-1
    # Use Xft?
    use_xft yes
    # Xft font when Xft is enabled
    xftfont LiberationMono:size=9
    #xftfont lucidatypewriter:size=10
    #xftfont fixed:size=12
    #xftfont Terminus:size=12
    # Create own window instead of using desktop (required in nautilus)
    own_window yes
    own_window_transparent yes
    #if own_window is yes, you may specify type normal, desktop or override (default: normal)
    #own_window_type desktop
    #own_window_type override
    own_window_hints undecorated,below,skip_taskbar
    #own_window_colour black
    # Text alpha when using Xft
    #xftalpha 0.8
    xftalpha 1.0
    # mail spool
    mail_spool $MAIL
    # Update interval in seconds
    update_interval 3
    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes
    # Minimum size of text area
    minimum_size 250 5
    maximum_width 250
    #minimum_size 10 10
    # Draw shades?
    draw_shades yes
    # Draw outlines?
    draw_outline no
    # Draw borders around text
    draw_borders no
    # Stippled borders?
    #stippled_borders 1
    # border margins
    border_margin 4
    # border width
    border_width 1
    # Default colors and also border colors
    default_color white
    default_shade_color gray20
    default_outline_color orange
    # 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
    #gap_x 63
    gap_x 4
    #gap_y 230
    gap_y 70
    # Add spaces to keep things from moving about?  This only affects certain objects.
    use_spacer none
    # Subtract file system buffers from used memory?
    no_buffers yes
    # set to yes if you want all text to be in uppercase
    uppercase no
    # ${color #FFEB9B}${if_existing /etc/LHPVERSION}${color #99bbff}Lighthouse ${head /etc/LHPVERSION 1}${endif}
    # stuff after 'TEXT' will be formatted on screen
    ${color #FFEB9B}${time %-l:%M%p %a}${alignr}${color #FFAA00}Conky
    ${color #FFEB9B}${time %b %e, %Y}${color #33FFFF}${alignc}${offset 20}${freq_g} GHz ${alignr}${color #FFF7D7}${nodename}
    ${color #FFEB9B}${if_existing /etc/LHPVERSION}${color #99bbff}Lighthouse ${head /etc/LHPVERSION 1}${endif}${color #FFEB9B}${alignr}K${kernel}
    ${color lightgrey}Uptime${color #FFEB9B} $uptime ${color lightgrey}${alignr}Load${color #FFEB9B} $loadavg
    ${color #615E5D}${cpugraph 48,249 ff0000 0099ff}
    ${color #33FFFF}${cpu cpu1}%${color lightgrey}${alignc}${offset -74}CPU1 ${color #FFAA00}${cpubar cpu1}
    ${if_existing /proc/acpi/processor/P002/info}${color #33FFFF}${cpu cpu2}%${color lightgrey}${alignc}${offset -74}CPU2 ${color #FFAA00}${cpubar cpu2}$endif${if_existing /proc/acpi/processor/CPU1/info}${color #33FFFF}${cpu cpu2}%${color lightgrey}${alignc}${offset -74}CPU2 ${color #FFAA00}${cpubar cpu2}$endif
    ${if_existing /proc/acpi/processor/P003/info}${color #33FFFF}${cpu cpu3}%${color lightgrey}${alignc}${offset -74}CPU3 ${color #FFAA00}${cpubar cpu3}$endif${if_existing /proc/acpi/processor/CPU2/info}${color #33FFFF}${cpu cpu3}%${color lightgrey}${alignc}${offset -74}CPU3 ${color #FFAA00}${cpubar cpu3}$endif
    ${if_existing /proc/acpi/processor/P004/info}${color #33FFFF}${cpu cpu4}%${color lightgrey}${alignc}${offset -74}CPU4 ${color #FFAA00}${cpubar cpu4}$endif${if_existing /proc/acpi/processor/CPU3/info}${color #33FFFF}${cpu cpu4}%${color lightgrey}${alignc}${offset -74}CPU4 ${color #FFAA00}${cpubar cpu4}$endif
    ${color #99ff99}RAM  $memmax $memperc% ${alignc}${offset 2}$membar
    ${color aquamarine2}Swap $swapmax $swapperc% ${alignc}${offset 2}${swapbar}
    ${if_existing /usr/bin/}${color #FFAA00}${scroll 33 ${execi 3 info}}
    ${execibar 2 progress}$endif
    ${color lightgrey}File systems:
    ${color #22CCFF}/ ${fs_used /}/${fs_size /} ${alignc}${offset 2}${fs_bar /}
    ${color #99bbff}/home ${fs_used /initrd/mnt/dev_save}/${fs_size /initrd/mnt/dev_save} ${alignc}${offset 2}${fs_bar /initrd/mnt/dev_save}
    ${color #33FFFF}$processes ${color lightgrey}Processes${color #33FFFF}     $running_processes ${color lightgrey}Running ${alignr}${color #33FFFF}$processes
    ${color lightgrey}Top CPU Usage    CPU%   MEM%   PID
    ${color} ${top name 1}${color #33FFFF}${top cpu 1}$color ${top mem 1} ${top pid 1}
    ${color} ${top name 2}${color #55FFFF}${top cpu 2}$color ${top mem 2} ${top pid 2}
    ${color} ${top name 3}${color #AAFFFF}${top cpu 3}$color ${top mem 3} ${top pid 3}
    ${color} ${top name 4}${color #CCFFFF}${top cpu 4}$color ${top mem 4} ${top pid 4}
    ${color lightgrey}Top Memory       CPU%   MEM%   PID
    ${color} ${top_mem name 1}${top_mem cpu 1}${color #99ff99} ${top_mem mem 1}$color ${top_mem pid 1}
    ${color} ${top_mem name 2}${top_mem cpu 2}${color #BBFFBB} ${top_mem mem 2}$color ${top_mem pid 2}
    ${color} ${top_mem name 3}${top_mem cpu 3}${color #DDFFDD} ${top_mem mem 3}$color ${top_mem pid 3}                  
    ${color #ff6600}${downspeed eth0} kB/s${color lightgrey} Down${color lightgrey} ${offset 52} ${color #33FFFF}${upspeed eth0} kB/s ${color lightgrey}Up
    ${color #615E5D}${downspeedgraph eth0 36,123 ff0000 ffcc00}$alignr${color #615E5D}${upspeedgraph eth0 36,123 0000ff 33FFFF}
    ${color #33FFFF}${tcp_portmon 1 65535 count} ${color lightgrey}${alignc}${offset 5}TCP Connections ${alignr}${offset -8}${color #33FFFF}${tcp_portmon 1 65535 count}
    ${color lightgrey}Remote Address ${alignr} Local Service/Port
    ${color #FFAA00}${tcp_portmon 1 65535 rhost 0}${alignr}${tcp_portmon 1 65535 lservice 0}
    ${color #FFAA00}${tcp_portmon 1 65535 rhost 1}${alignr}${tcp_portmon 1 65535 lservice 1}
    ${color #FFAA00}${tcp_portmon 1 65535 rhost 2}${alignr}${tcp_portmon 1 65535 lservice 2}
    ${color #FFAA00}${tcp_portmon 1 65535 rhost 3}${alignr}${tcp_portmon 1 65535 lservice 3}
    ${color #FFAA00}${tcp_portmon 1 65535 rhost 4}${alignr}${tcp_portmon 1 65535 lservice 4}
    ${color #FFAA00}${tcp_portmon 1 65535 rhost 5}${alignr}${tcp_portmon 1 65535 lservice 5}
    ${if_existing /usr/bin/moblock}MoBlock${exec if [ "`pidof moblock`" ];then echo " is active"; tail /var/log/moblock.log|grep 'Ranges'|cut -f 2 -d '*'; else echo " is inactive";fi}
    ${exec if [ "`pidof moblock`" ];then tail -n 5 /var/log/moblock.log|cut -f 2 -d '|';fi}$endif
    Last edited by rokytnji; 05-05-2012 at 11:04 PM.
    MikeTbob likes this.
    Linux Registered User # 475019
    Lead,Follow, or get the heck out of the way
    Tech Books
    Free Linux Books
    Newbie Guide
    Courses at Home

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts