Page 42 of 83 FirstFirst ... 32404142434452 ... LastLast
Results 411 to 420 of 828

Thread: Howto: Get a beautiful Conky 1.4.2 setup

  1. #411
    Join Date
    Mar 2005
    Location
    BC, Canada
    Beans
    28
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Howto: Get a beautiful Conky 1.4.2 setup

    Great HOWTO

    I had a few problems at first. For some reason my ~/.config was read-only and owned by root. that prevented me from adding startup programs from the sessions menu. I also had the problem where the background was hiding the conky display. but that little "sleep 10" script fixed that right up
    Faith is the truth of passion. Since no passion is more true than another, faith is the truth of nothing.

  2. #412
    Join Date
    Apr 2006
    Location
    Trondheim, Norway
    Beans
    278
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Howto: Get a beautiful Conky 1.4.2 setup

    I found out that the hd part was wrong in my setup.

    However, when I change it to /dev/hda1 , which is my hd, it shows up as 99% in conky, and that's wrong. First it was /media/hda1, but I've got nothing there.

    The hd is a 60gb one with 38gb free space at the moment. That makes the 99% part very wrong.

    Any suggestions?

  3. #413
    Join Date
    Sep 2006
    Location
    Edmonton, AB, Canada
    Beans
    1,043
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Howto: Get a beautiful Conky 1.4.2 setup

    Quote Originally Posted by oyvindaa View Post
    I found out that the hd part was wrong in my setup.

    However, when I change it to /dev/hda1 , which is my hd, it shows up as 99% in conky, and that's wrong. First it was /media/hda1, but I've got nothing there.

    The hd is a 60gb one with 38gb free space at the moment. That makes the 99% part very wrong.

    Any suggestions?
    Try using the mount points instead, for my conky, I have to list them as / and /home in the conkyrc file.

  4. #414
    Join Date
    Oct 2006
    Location
    Wisconsin
    Beans
    455
    Distro
    Kubuntu

    Re: Howto: Get a beautiful Conky 1.4.2 setup

    Attempts at compiling conky 1.4.5 ... This is the same error I get in 1.4.2 through 1.4.5

    Code:
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for gawk... no
    checking for mawk... mawk
    checking whether make sets $(MAKE)... yes
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables... 
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking for a sed that does not truncate output... /bin/sed
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for /usr/bin/ld option to reload object files... -r
    checking for BSD-compatible nm... /usr/bin/nm -B
    checking whether ln -s works... yes
    checking how to recognise dependent libraries... pass_all
    checking how to run the C preprocessor... gcc -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking dlfcn.h usability... yes
    checking dlfcn.h presence... yes
    checking for dlfcn.h... yes
    checking for g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking dependency style of g++... gcc3
    checking how to run the C++ preprocessor... g++ -E
    checking for g77... no
    checking for f77... no
    checking for xlf... no
    checking for frt... no
    checking for pgf77... no
    checking for cf77... no
    checking for fort77... no
    checking for fl32... no
    checking for af77... no
    checking for f90... no
    checking for xlf90... no
    checking for pgf90... no
    checking for pghpf... no
    checking for epcf90... no
    checking for gfortran... no
    checking for g95... no
    checking for f95... no
    checking for fort... no
    checking for xlf95... no
    checking for ifort... no
    checking for ifc... no
    checking for efc... no
    checking for pgf95... no
    checking for lf95... no
    checking for ftn... no
    checking whether we are using the GNU Fortran 77 compiler... no
    checking whether  accepts -g... no
    checking the maximum length of command line arguments... 32768
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for objdir... .libs
    checking for ar... ar
    checking for ranlib... ranlib
    checking for strip... strip
    checking for correct ltmain.sh version... yes
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC
    checking if gcc PIC flag -fPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... cat: /etc/ld.so.conf.d/*.conf: No such file or directory
    GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    configure: creating libtool
    appending configuration tag "CXX" to libtool
    checking for ld used by g++... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
    checking for g++ option to produce PIC... -fPIC
    checking if g++ PIC flag -fPIC works... yes
    checking if g++ static flag -static works... yes
    checking if g++ supports -c -o file.o... yes
    checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
    checking dynamic linker characteristics... cat: /etc/ld.so.conf.d/*.conf: No such file or directory
    GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    appending configuration tag "F77" to libtool
    checking for pkg-config... /usr/bin/pkg-config
    checking pkg-config is at least version 0.17.2... yes
    checking netdb.h usability... yes
    checking netdb.h presence... yes
    checking for netdb.h... yes
    checking netinet/in.h usability... yes
    checking netinet/in.h presence... yes
    checking for netinet/in.h... yes
    checking netinet/tcp.h usability... yes
    checking netinet/tcp.h presence... yes
    checking for netinet/tcp.h... yes
    checking sys/socket.h usability... yes
    checking sys/socket.h presence... yes
    checking for sys/socket.h... yes
    checking arpa/inet.h usability... yes
    checking arpa/inet.h presence... yes
    checking for arpa/inet.h... yes
    checking for GLIB... yes
    checking for ld used by GCC... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for shared library run path origin... /bin/bash: ./config.rpath: No such file or directory
    done
    checking for iconv... yes
    checking for iconv declaration... 
             extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
    checking for X11... yes
    checking for XEXT... yes
    checking for XDamageQueryExtension in -lXdamage... no
    configure: error: Could not find XDamageQueryExtension in -lXdamage
    marx2k@Commodore-64:~/source/conky-1.4.5$
    Anyone? Anyone?

    EDIT: SOLVED: Had to install via Synaptic- X11 damaged region extension library (development headers)
    Last edited by marx2k; January 11th, 2007 at 09:30 AM. Reason: SOLVED

  5. #415
    Join Date
    Oct 2006
    Location
    Wisconsin
    Beans
    455
    Distro
    Kubuntu

    Re: Howto: Get a beautiful Conky 1.4.2 setup

    Looking good now!
    Code:
    marx2k@Commodore-64:~/source/conky-1.4.5$ conky -v
    Conky 1.4.5 compiled Thu Jan 11 02:26:28 CST 2007 for Linux 2.6.17-10-generic (i686)
    
    Compiled in features:
    
     X11:
      * Xdamage extension
      * Xdbe extension (double buffer)
      * xft
    
     Music detection:
      * mpd
    
     General features:
      * hddtemp
      * portmon
    The only thing is that it installs to /usr/local/bin but that can be changed with ./configure options.

  6. #416
    Join Date
    Nov 2006
    Beans
    Hidden!

    Re: Howto: Get a beautiful Conky 1.4.2 setup

    Works great except for one minor annoyance:
    If I click on conky it seems to create a selection box starting from the left side of the screen and going under conky. It also seems counterintuitive that when dragging a desktop icon over conky, the icon ends up below conky. Perhaps there is no way around this given that conky is its "own_window" or whatever.
    I used the exact same .conkyrc provided by the HOWTO.

  7. #417
    Join Date
    Jun 2006
    Location
    Rockaway, NJ
    Beans
    55
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Howto: Get a beautiful Conky 1.4.2 setup

    I get a black background under Kubuntu using conky 1.4.5. Does anyone have any ideas what could be causing this.

    conkyrc
    Attached Images Attached Images
    "smooth as seelk"

  8. #418
    Join Date
    Apr 2006
    Location
    Trondheim, Norway
    Beans
    278
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Howto: Get a beautiful Conky 1.4.2 setup

    Quote Originally Posted by NeoLithium View Post
    Try using the mount points instead, for my conky, I have to list them as / and /home in the conkyrc file.
    Alright, that worked a treat. Thanks.

    I've got another problem now though (typical isn't it).

    I changed my .conkyrc to this:

    Code:
    background yes
    use_xft yes
    xftfont HandelGotD:size=9
    xftalpha 0.5
    update_interval 1.0
    total_run_times 0
    own_window yes
    own_window_type normal
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    double_buffer yes
    minimum_size 200 5
    maximum_width 200
    draw_shades no
    draw_outline no
    draw_borders no
    draw_graph_borders no
    default_color white
    default_shade_color red
    default_outline_color green
    alignment top_right
    gap_x 12
    gap_y 12
    no_buffers yes
    uppercase no
    cpu_avg_samples 2
    override_utf8_locale no
    
    TEXT
    $sysname $kernel on $machine
    
    Uptime $alignr $uptime
    Load $alignr $loadavg
    
    Hostname $alignr $nodename
    eth1 $alignr ${addr eth1}
    
    Inbound $alignr ${downspeed eth1} kb/s
    ${downspeedgraph eth1}
    Outbound $alignr ${upspeed eth1} kb/s
    ${upspeedgraph eth1}
    
    $processes processes ($running_processes running)
    
    CPU $alignr ${cpu cpu0}%
    ${cpubar cpu0}
    
    MEM $alignc $mem / $memmax $alignr $memperc%
    $membar
    
    /home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_free_perc /home}%
    ${fs_bar /home}
    
    swap $alignc $swap / $swapmax $alignr $swapperc%
    ${swapbar}
    
    ${execi 60 wmctrl -a conky}
    Whenever I log off or reboot/shutdown I get the following message ("Warning"):

    Code:
    These windows do not support
    "save current setup" and will have
    to be restarted manually next time
    you log in.
    
    TITLE               |       CLASS
    aassveen -conky        conky
    So, what's the problem here?

    EDIT: Problem solved. I had another look at the .conkyrc and noticed it was running inside a window. I removed that and the warning disappeared as well.
    Last edited by oyvindaa; January 14th, 2007 at 11:48 PM. Reason: PROBLEM SOLVED

  9. #419
    Join Date
    May 2006
    Beans
    594

    Re: Howto: Get a beautiful Conky 1.4.2 setup

    I'm running he latest version of conky on ubuntu-edgy. The only problem i'm having is i also have the weather in my conky file which works great for the most part except when there is a special weather announcement.Then my conky windows becomes real big how can i add word wrap or something so that it stays the same size all the time? I don't mind if it increases it's size verticaly just not horizontaly. I also included a copy of my file the weather part is at the bottom. and i also added a copy of my weather script as well

    # UBUNTU-CONKY
    # A comprehensive conky script, configured for use on
    # Ubuntu / Debian Gnome, without the need for any external scripts.
    #
    # Based on conky-jc and the default .conkyrc.
    # INCLUDES:
    # - tail of /var/log/messages
    # - netstat connections to your computer
    #
    # -- Pengo (conky@pengo.us)
    #

    # Create own window instead of using desktop (required in nautilus)
    own_window yes
    own_window_hints undecorated,below,skip_taskbar
    background yes

    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes

    # fiddle with window
    use_spacer yes
    use_xft no

    # Update interval in seconds
    update_interval 3.0

    # Minimum size of text area
    # minimum_size 250 5

    # Draw shades?
    draw_shades no

    # Text stuff
    draw_outline no # amplifies text if yes
    draw_borders no
    font arial
    uppercase no # set to yes if you want all text to be in uppercase

    # Stippled borders?
    stippled_borders 3

    # border margins
    border_margin 9

    # border width
    border_width 10

    # Default colors and also border colors, grey90 == #e5e5e5
    default_color green

    own_window_colour brown
    own_window_transparent yes

    # 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 10
    gap_y 10

    # stuff after 'TEXT' will be formatted on screen

    TEXT
    $nodename $sysname $kernel on $machine
    $color$stippled_hr
    CPU: ${freq}MHz Load: ${loadavg} Temp: ${acpitemp}
    ${color green}CPU1 Usage:${color} ${cpu cpu1}% ${cpubar cpu1}
    ${color purple}CPU2 Usage:${color} ${cpu cpu2}% ${cpubar cpu2}
    ${cpugraph 000000 ffffff}

    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}
    $color$stippled_hr
    RAM: $memperc% ${membar 6}$color
    Swap: $swapperc% ${swapbar 6}$color

    Root: ${fs_free_perc /}% ${fs_bar 6 /}$color
    hdb1: ${fs_free_perc /dev/hdb1}% ${fs_bar 6 /dev/hdb1}$color
    ${color #0077ff}/home $color${fs_used /home}/${fs_size /home}${alignr}${color #0077ff}${fs_bar 5,120 /home}
    $color$stippled_hr
    sda1: ${fs_free_perc /media/sda1}% ${fs_bar 6 /media/sda1}$color
    sdb1: ${fs_free_perc /media/sdb1}% ${fs_bar 6 /media/sdb1}$color
    $color$stippled_hr
    Internet/Networking Status (${addr eth0}):
    Down: $color${downspeed eth0} k/s ${alignr}Up: ${upspeed eth0} k/s
    ${downspeedgraph eth0 25,140 000000 ff0000} ${alignr}${upspeedgraph eth0 25,140 000000 00ff00}$color
    Total: ${totaldown eth0} ${alignr}Total: ${totalup eth0}
    Inbound: ${tcp_portmon 1 32767 count} Outbound: ${tcp_portmon 32768 61000 count}${alignr}Total: ${tcp_portmon 1 65535 count}
    $color$stippled_hr
    SYSTEM LOG TAIL
    ${execi 30 tail -n3 /var/log/messages | fold -w50}
    $color$stippled_hr
    ${execi 15 wmctrl -R " - conky"}
    $color$stippled_hr
    ${execi 1800 /home/john/scripts/weather.sh 18071}


    and here is my weather script

    #!/bin/sh

    #
    # Grab weather data from weather.com and format it according to the given XSLT
    # Script written by boojit
    # Modified by Hellf[i]re
    # The orignal script and xslt can be downloaded from http://pondol.com/weather.tar.gz

    # Usage:
    # ${execi 1800 /path/to/weather/weather.sh location}
    # Usage Example:
    # ${execi 1800 /home/harryc/downloads/weather/weather.sh USNY1175}

    # your Location ID: use http://xoap.weather.com/search/search?where=[yourcity] to find it
    # U.S. users can just use their zip code; doubt that works for anyone else though (YMMV)
    LOCID=$1

    # s=standard units, m=metric units
    UNITS=s

    # where this script and the XSLT lives
    RUNDIR=/home/john/scripts

    # there's probably other stuff besides CURL that will work for this, but i haven't
    # tried any others.
    # you can get curl at http://curl.haxx.se/
    CURLCMD=/usr/bin/curl

    # get it at http://xmlsoft.org/XSLT/
    XSLTCMD=/usr/bin/xsltproc

    # you probably don't need to modify anything below this point....

    # CURL url. Use cc=* for current forecast or dayf=10 to get a multi-day forecast
    CURLURL="http://xoap.weather.com/weather/local/$LOCID?cc=*&unit=$UNITS&dayf=2"

    # The XSLT to use when translating the response from weather.com
    # You can modify this xslt to your liking
    XSLT=$RUNDIR/weather.xslt

    #filter (if you want to convert stuff to lower-case or upper case or something)
    #FILTER="|gawk '{print(tolower(\$0));}'"


    #####
    eval "$CURLCMD \"$CURLURL\" 2>/dev/null| $XSLTCMD $XSLT - $FILTER"
    Last edited by lime4x4; January 15th, 2007 at 12:45 AM. Reason: forgot to add the weather script

  10. #420
    Join Date
    Jan 2006
    Location
    Edge of Time
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Howto: Get a beautiful Conky 1.4.2 setup

    Quote Originally Posted by seelk View Post
    I get a black background under Kubuntu using conky 1.4.5. Does anyone have any ideas what could be causing this.

    conkyrc
    I been fighting this battle for a while. I'm still using 1.4.2 but it seems that conky uses the root desktop for fake transparency. However, in kde the root desktop is not the one you see. Someone posted a link to a solution some pages back. It involved setting a root background that is the same as the desktop. Another work around involved opening the desktop configuration and deselecting the draw icons on desktop or something like that (I'm not using kde at the moment and can't remember exactly) and then applying and the reselecting it and applying. It only works for the one session so it's not a fix. Afaik, there is no fix yet unless 1.4.5 somehow addressed it.

Page 42 of 83 FirstFirst ... 32404142434452 ... LastLast

Bookmarks

Posting Permissions

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