Conky + wireless

Hi,
Conky can directly show your wireless SSID and link quality now, and it works nice. But I want conky to show all the wireless networks within range, together with link quality and encryption (not just the one I am connected to). Is that possible? And how?
Rogier

same here. However, my conky (after I did a big update after not updating for a long time...)
reports exactly twice my actual bitrate
This only happens on my system with an atheros card
Last edited by 1LordAnubis (2009-10-19 12:04:26)

Similar Messages

  • Undocumented 'random disconnection' from manually connected wireless

    I have got a USB-N13 wireless-N300 dongle.
    According to 'lspci -k' I have the drivers, and I have a wireless interface. So I know that my dongle has drivers but I don't know if they work 100% well.
    I will show the output of various normal commands:
    $ iw dev wlp5s0u1 link
    Connected to <mac address> (on wlp5s0u1)
    SSID: <ssid>
    freq: 2437
    RX: 19939057 bytes (111695 packets)
    TX: 319269 bytes (2813 packets)
    signal: -50 dBm
    tx bitrate: 7.2 MBit/s MCS 0 short GI
    bss flags: short-slot-time
    dtim period: 0
    beacon int: 100
    $ ip link show wlp5s0u1
    3: wlp5s0u1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
    link/ether d8:50:e6:f4:33:24 brd ff:ff:ff:ff:ff:ff
    $ dmesg -w
    [ 6.634808] r8169 0000:04:00.0 enp4s0: link down
    [ 6.634847] IPv6: ADDRCONF(NETDEV_UP): enp4s0: link is not ready
    [ 6.636405] rtl8192cu: MAC auto ON okay!
    [ 6.648784] rtl8192cu: Tx queue select: 0x05
    [ 7.006529] IPv6: ADDRCONF(NETDEV_UP): wlp5s0u1: link is not ready
    [ 8.751113] wlp5s0u1: authenticate with <mac address>
    [ 8.774294] wlp5s0u1: send auth to <mac address> (try 1/3)
    [ 8.792882] wlp5s0u1: authenticated
    [ 8.794125] wlp5s0u1: associate with <mac address> (try 1/3)
    [ 8.815636] wlp5s0u1: RX AssocResp from <mac address> (capab=0x411 status=0 aid=4)
    [ 8.815672] wlp5s0u1: associated
    [ 8.815712] IPv6: ADDRCONF(NETDEV_CHANGE): wlp5s0u1: link becomes ready
    [ 265.580381] type=1006 audit(1394469140.822:2): pid=253 uid=0 old auid=4294967295 new auid=1000 old ses=4294967295 new ses=1 res=1
    [ 265.639231] type=1006 audit(1394469140.882:3): pid=495 uid=0 old auid=4294967295 new auid=1000 old ses=4294967295 new ses=2 res=1
    [ 272.723778] fuse init (API version 7.22)
    [ 291.938590] ISO 9660 Extensions: Microsoft Joliet Level 3
    [ 291.981059] ISOFS: changing to secondary root
    [ 385.885587] hda-intel 0000:00:1b.0: Unstable LPIB (130824 >= 8192); disabling LPIB delay counting
    [ 423.970540] r8169 0000:04:00.0 enp4s0: link up
    [ 423.970548] IPv6: ADDRCONF(NETDEV_CHANGE): enp4s0: link becomes ready
    This is all the information from when I fist see an wireless interface.
    All, I can tell is that my wlp5s0u1 doesn't go down, but a few seconds before I plug in my wireless bridge, or enp4s0, my 'Internet stops...' Or I can't search google, and my youtube stops streaming, conky says that about 30bytes get transfered from that point on, and there is no errors?!
    I'm not on a laptop, and my device's power saver is set to off. And as I'm not getting the second error I don't know how to fix this.
    $ iw dev wlp5s0u1 get power_save
    Power save: off
    (Sorry if this is blatantly obvious, I've only had arch for under a month, with no prior Linux experience, and my dad can't help me with it too!)
    EDIT:
    Please can someone please tell me something that I can try or look into to resolve this, I have a useless dongle now, and an Internet connection that drops at least 50% of the packets.
    Last edited by Peilonrayz (2014-03-12 17:18:43)

    Unfortunately, join the crowd ....
    Wifi connection bad since upgrade to 10.4.10 (SAME PROBLEM IS IN 10.5)
    http://discussions.apple.com/thread.jspa?threadID=1008143&tstart=0&start=0
    Intermittent WIFI with Leopard on Macbook
    http://discussions.apple.com/thread.jspa?threadID=1231631&tstart=0
    New MacBook Pro & Leopard - Airport Connection problems
    http://discussions.apple.com/thread.jspa?threadID=1200966&tstart=0&start=0
    Airport random disconnect
    http://discussions.apple.com/thread.jspa?threadID=970070&tstart=15&start=0
    ... that's a couple of the major threads about this issue, that has been going on since June.

  • Can't get conky-cli and bash scripts to both display in dwm statusbar!

    I'm trying to configure my dwm status bar to display some simple information using conky-cli and bash scripts. At first I tried just letting conky run the bash scripts (for network and volume state), but this increased my cpu usage by about 5%, which is significant considering I normally have 1-3% usage when idle. Also, I wanted to keep conky because it makes the display of certain information easy, such as cpu & RAM usage.
    The problem is I'm having trouble getting both to display side by side. Here are the relevant parts of my .xinitrc:
    network(){
    iwconfig wlan0 2>&1 | grep -q no\ wireless\ extensions\. && {
    echo wired
    exit 0
    essid=`iwconfig wlan0 | awk -F '"' '/ESSID/ {print $2}'`
    stngth=`iwconfig wlan0 | awk -F '=' '/Quality/ {print $2}' | cut -d '/' -f 1`
    bars=`expr $stngth / 10`
    case $bars in
    0) bar='[-------]' ;;
    1) bar='[#------]' ;;
    2) bar='[##-----]' ;;
    3) bar='[###----]' ;;
    4) bar='[####---]' ;;
    5) bar='[#####--]' ;;
    6) bar='[######-]' ;;
    7) bar='[#######]' ;;
    *) bar='[--!!!--]' ;;
    esac
    echo $essid$bar
    exit 0
    volume(){
    vol=$(amixer get Master | awk -F'[]%[]' '/%/ {if ($7 == "off") { print "MM" } else { print $2 }}' | head -n 1)
    echo Vol: $vol%
    exit 0
    conky | while true; read line; do xsetroot -name "`$line` `volume` `network` `date '+%a %m-%d-%Y %I:%M%p'`"; done &
    exec dwm
    (let me know if it would help to post any other files)
    For some reason when I run this I only get the network/volume scripts and date running, updating every second (I think). The conky line just doesn't show up. I don't know what could be wrong, since I didn't see any error messages.
    An even better solution would be to just have shell scripts to display CPU and MEM usage. I have a dual-core cpu, cpu0 and cpu1. I'd like to see both percentages if possible, or at least a percentage that is an accurate average of the two or something. In conky-cli I have something that shows:
    cpu0/1: xx% xx%
    Also, seeing RAM usage would help a lot. In conky it shows:
    mem: xx% (xxxMB)
    These are the ways I would like to have bash scripts show them, if possible, but I have zero skill in bash programming. I made this an option in case it's easier/cleaner/less resource hungry than a conky solution. Personally, if they're about the same in these aspects, I would prefer something with conky and the shell scripts because conky is so extensible, yet it's only flaw is executing scripts with minimal resource usage.
    Help?

    Thanks. I was thinking of using load average to save a few characters, but I didn't quite understand the numbers. I'll try that once I get to my Linux box, but could you please explain or post a link to something that explains load average (what's low, high, normal, etc.)?
    EDIT: I found a website that explains loadavg. I now have my dwm status bar displaying it perfectly (yay!). Now I just need to add a few more things like battery status, etc. and I might be done. I'll probably post here if I have more questions, though.
    Thanks for your help!
    Last edited by Allamgir (2009-07-18 14:41:11)

  • Cannot build conky 1.8.2 (abs)

    [doctor@doctor abs]$ abs extra/conky
    ==> Starting ABS sync...
    receiving file list ... done
    extra/
    extra/conky/
    extra/conky/PKGBUILD
    extra/conky/PKGBUILD.cmake
    sent 124 bytes received 2993 bytes 890.57 bytes/sec
    total size is 2759 speedup is 0.89
    [doctor@doctor abs]$ cp ~/Desktop/PKGBUILD /var/abs/extra/conky/PKGBUILD
    [doctor@doctor abs]$ cd extra/conky/
    [doctor@doctor conky]$ makepkg
    ==> Making package: conky 1.8.2git20111107-1 (Tue Dec 20 13:58:28 EET 2011)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving Sources...
    -> Downloading conky-1.8.2git20111107.tar.xz...
    --2011-12-20 13:58:28-- ftp://ftp.archlinux.org/other/conky/conky-1.8.2git20111107.tar.xz
    => `conky-1.8.2git20111107.tar.xz.part'
    Resolving ftp.archlinux.org... 209.85.41.143, 209.85.41.144
    Connecting to ftp.archlinux.org|209.85.41.143|:21... connected.
    Logging in as anonymous ... Logged in!
    ==> SYST ... done. ==> PWD ... done.
    ==> TYPE I ... done. ==> CWD (1) /other/conky ... done.
    ==> SIZE conky-1.8.2git20111107.tar.xz ... 244616
    ==> PASV ... done. ==> RETR conky-1.8.2git20111107.tar.xz ... done.
    Length: 244616 (239K) (unauthoritative)
    100%[========================================================================================================================================================>] 244,616 54.1K/s in 4.5s
    2011-12-20 13:58:36 (52.8 KB/s) - `conky-1.8.2git20111107.tar.xz.part' saved [244616]
    ==> Validating source files with sha1sums...
    conky-1.8.2git20111107.tar.xz ... Passed
    ==> Extracting Sources...
    -> Extracting conky-1.8.2git20111107.tar.xz with bsdtar
    ==> Starting build()...
    Running aclocal -I m4 ...
    Running libtoolize --force --copy ...
    libtoolize: putting auxiliary files in `.'.
    libtoolize: copying file `./ltmain.sh'
    libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
    libtoolize: copying file `m4/libtool.m4'
    libtoolize: copying file `m4/ltoptions.m4'
    libtoolize: copying file `m4/ltsugar.m4'
    libtoolize: copying file `m4/ltversion.m4'
    libtoolize: copying file `m4/lt~obsolete.m4'
    Running autoheader ...
    Running automake --add-missing --copy --gnu ...
    configure.ac:37: installing `./compile'
    configure.ac:33: installing `./config.guess'
    configure.ac:33: installing `./config.sub'
    configure.ac:17: installing `./install-sh'
    configure.ac:17: installing `./missing'
    lua/Makefile.am: installing `./depcomp'
    Running autoconf ...
    checking for a BSD-compatible install... /bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    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... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-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 fgrep... /bin/grep -F
    checking how to print strings... printf
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
    checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... no
    checking how to associate runtime and link libraries... printf %s\n
    checking for ar... ar
    checking for archiver @FILE support... @
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for sysroot... no
    checking for mt... no
    checking if : is a manifest tool... no
    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 for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... 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
    checking whether gcc and cc understand -c and -o together... yes
    checking for pkg-config... yes
    checking for pkg-config... /usr/bin/pkg-config
    checking pkg-config is at least version 0.19... yes
    checking for fopencookie... yes
    checking for funopen... no
    checking for X11... yes
    checking for LUA... yes
    checking for cairo... yes
    checking for cairo_xlib... yes
    checking for tolua++... tolua++
    checking for library containing tolua_error... -ltolua++
    checking for ld used by GCC... /usr/bin/ld -m elf_x86_64
    checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
    checking for shared library run path origin... done
    checking for iconv... yes
    checking for working 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 Xext... yes
    checking for XDamage... yes
    checking for Xft... yes
    checking for libcurl... yes
    checking signal.h usability... yes
    checking signal.h presence... yes
    checking for signal.h... yes
    checking for unistd.h... (cached) yes
    checking sys/utsname.h usability... yes
    checking sys/utsname.h presence... yes
    checking for sys/utsname.h... yes
    checking for sys/stat.h... (cached) yes
    checking linux/soundcard.h usability... yes
    checking linux/soundcard.h presence... yes
    checking for linux/soundcard.h... yes
    checking alsa/asoundlib.h usability... yes
    checking alsa/asoundlib.h presence... yes
    checking for alsa/asoundlib.h... yes
    checking dirent.h usability... yes
    checking dirent.h presence... yes
    checking for dirent.h... yes
    checking mcheck.h usability... yes
    checking mcheck.h presence... yes
    checking for mcheck.h... yes
    checking sys/statfs.h usability... yes
    checking sys/statfs.h presence... yes
    checking for sys/statfs.h... yes
    checking sys/param.h usability... yes
    checking sys/param.h presence... yes
    checking for sys/param.h... yes
    checking pthread.h usability... yes
    checking pthread.h presence... yes
    checking for pthread.h... yes
    checking semaphore.h usability... yes
    checking semaphore.h presence... yes
    checking for semaphore.h... yes
    checking assert.h usability... yes
    checking assert.h presence... yes
    checking for assert.h... yes
    checking errno.h usability... yes
    checking errno.h presence... yes
    checking for errno.h... yes
    checking time.h usability... yes
    checking time.h presence... yes
    checking for time.h... yes
    checking for sys/mount.h... yes
    checking sys/inotify.h usability... yes
    checking sys/inotify.h presence... yes
    checking for sys/inotify.h... yes
    checking for calloc... yes
    checking for malloc... yes
    checking for free... yes
    checking for popen... yes
    checking for sysinfo... yes
    checking for getloadavg... yes
    checking for memrchr... yes
    checking for strndup... yes
    checking for gethostbyname_r... yes
    checking for library containing clock_gettime... -lrt
    checking for struct statfs.f_fstypename... no
    checking for db2x_xsltproc... db2x_xsltproc
    checking for db2x_manxml... db2x_manxml
    checking for xsltproc... xsltproc
    checking if /usr/bin/ld -m elf_x86_64 accepts -O1... yes
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating data/Makefile
    config.status: creating doc/Makefile
    config.status: creating src/Makefile
    config.status: creating src/build.h
    config.status: creating lua/Makefile
    config.status: creating src/config.h
    config.status: executing depfiles commands
    config.status: executing libtool commands
    conky 1.8.2_preNONE configured successfully:
    Installing into: /usr
    System config dir: /etc
    C compiler flags: -I/usr/include/freetype2 -Wall -W
    Libraries: -lX11 -llua -lm -ltolua++ -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -lXext -lXdamage -lXfixes -lXft -lcurl -lrt -ltolua++ -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu
    Linker flags: -Wl,-O1
    * X11:
    X11 support: yes
    XDamage support: yes
    XDBE support: yes
    Xft support: yes
    ARGB support yes
    * Music detection:
    Audacious: no
    BMPx: no
    MPD: no
    MOC: no
    XMMS2: no
    * General:
    math: no
    hddtemp: yes
    portmon: no
    RSS: no
    Curl: yes
    Weather
    METAR: no
    XOAP: no
    wireless: no
    IBM: no
    nvidia: no
    eve-online: no
    config-output: yes
    Imlib2: no
    ALSA mixer: no
    apcupsd: yes
    I/O stats: yes
    ncurses: no
    * Lua (yes) bindings:
    Cairo: yes
    Imlib2: no
    Making all in src
    make[1]: Entering directory `/var/abs/extra/conky/src/conky-1.8.2git20111107/src'
    sh ./../text2c.sh ./../data/conky.conf defconfig.h defconfig
    make all-am
    make[2]: Entering directory `/var/abs/extra/conky/src/conky-1.8.2git20111107/src'
    gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-conf_cookie.o -MD -MP -MF .deps/conky-conf_cookie.Tpo -c -o conky-conf_cookie.o `test -f 'conf_cookie.c' || echo './'`conf_cookie.c
    mv -f .deps/conky-conf_cookie.Tpo .deps/conky-conf_cookie.Po
    gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-linux.o -MD -MP -MF .deps/conky-linux.Tpo -c -o conky-linux.o `test -f 'linux.c' || echo './'`linux.c
    linux.c: In function ‘get_battery_stuff’:
    linux.c:1908:10: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
    linux.c: In function ‘get_acpi_ac_adapter’:
    linux.c:1405:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
    linux.c: In function ‘get_acpi_fan’:
    linux.c:1329:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
    linux.c: In function ‘update_load_average’:
    linux.c:825:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
    linux.c: In function ‘update_threads’:
    linux.c:592:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
    linux.c: In function ‘update_net_stats’:
    linux.c:364:7: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
    linux.c:365:7: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
    linux.c: In function ‘update_gateway_info’:
    linux.c:288:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
    linux.c: In function ‘get_ioscheduler’:
    linux.c:230:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
    linux.c: In function ‘get_laptop_mode’:
    linux.c:208:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
    linux.c: In function ‘update_uptime’:
    linux.c:126:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
    linux.c: In function ‘is_disk’:
    linux.c:2311:18: warning: ‘dev_last’ may be used uninitialized in this function [-Wuninitialized]
    mv -f .deps/conky-linux.Tpo .deps/conky-linux.Po
    gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-users.o -MD -MP -MF .deps/conky-users.Tpo -c -o conky-users.o `test -f 'users.c' || echo './'`users.c
    mv -f .deps/conky-users.Tpo .deps/conky-users.Po
    gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-sony.o -MD -MP -MF .deps/conky-sony.Tpo -c -o conky-sony.o `test -f 'sony.c' || echo './'`sony.c
    mv -f .deps/conky-sony.Tpo .deps/conky-sony.Po
    gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-i8k.o -MD -MP -MF .deps/conky-i8k.Tpo -c -o conky-i8k.o `test -f 'i8k.c' || echo './'`i8k.c
    mv -f .deps/conky-i8k.Tpo .deps/conky-i8k.Po
    gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-x11.o -MD -MP -MF .deps/conky-x11.Tpo -c -o conky-x11.o `test -f 'x11.c' || echo './'`x11.c
    mv -f .deps/conky-x11.Tpo .deps/conky-x11.Po
    gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-fonts.o -MD -MP -MF .deps/conky-fonts.Tpo -c -o conky-fonts.o `test -f 'fonts.c' || echo './'`fonts.c
    mv -f .deps/conky-fonts.Tpo .deps/conky-fonts.Po
    gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-hddtemp.o -MD -MP -MF .deps/conky-hddtemp.Tpo -c -o conky-hddtemp.o `test -f 'hddtemp.c' || echo './'`hddtemp.c
    mv -f .deps/conky-hddtemp.Tpo .deps/conky-hddtemp.Po
    gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-ccurl_thread.o -MD -MP -MF .deps/conky-ccurl_thread.Tpo -c -o conky-ccurl_thread.o `test -f 'ccurl_thread.c' || echo './'`ccurl_thread.c
    mv -f .deps/conky-ccurl_thread.Tpo .deps/conky-ccurl_thread.Po
    gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-llua.o -MD -MP -MF .deps/conky-llua.Tpo -c -o conky-llua.o `test -f 'llua.c' || echo './'`llua.c
    mv -f .deps/conky-llua.Tpo .deps/conky-llua.Po
    gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-apcupsd.o -MD -MP -MF .deps/conky-apcupsd.Tpo -c -o conky-apcupsd.o `test -f 'apcupsd.c' || echo './'`apcupsd.c
    apcupsd.c: In function ‘update_apcupsd’:
    apcupsd.c:219:7: warning: ‘sock’ may be used uninitialized in this function [-Wuninitialized]
    mv -f .deps/conky-apcupsd.Tpo .deps/conky-apcupsd.Po
    gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-iconv_tools.o -MD -MP -MF .deps/conky-iconv_tools.Tpo -c -o conky-iconv_tools.o `test -f 'iconv_tools.c' || echo './'`iconv_tools.c
    mv -f .deps/conky-iconv_tools.Tpo .deps/conky-iconv_tools.Po
    gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-colours.o -MD -MP -MF .deps/conky-colours.Tpo -c -o conky-colours.o `test -f 'colours.c' || echo './'`colours.c
    mv -f .deps/conky-colours.Tpo .deps/conky-colours.Po
    gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-combine.o -MD -MP -MF .deps/conky-combine.Tpo -c -o conky-combine.o `test -f 'combine.c' || echo './'`combine.c
    mv -f .deps/conky-combine.Tpo .deps/conky-combine.Po
    gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-common.o -MD -MP -MF .deps/conky-common.Tpo -c -o conky-common.o `test -f 'common.c' || echo './'`common.c
    mv -f .deps/conky-common.Tpo .deps/conky-common.Po
    gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-conky.o -MD -MP -MF .deps/conky-conky.Tpo -c -o conky-conky.o `test -f 'conky.c' || echo './'`conky.c
    conky.c: In function ‘generate_text_internal’:
    conky.c:887:7: error: unknown type name ‘bool’
    conky.c:887:28: error: ‘false’ undeclared (first use in this function)
    conky.c:887:28: note: each undeclared identifier is reported only once for each function it appears in
    conky.c:892:17: error: ‘true’ undeclared (first use in this function)
    conky.c:742:19: warning: variable ‘needed’ set but not used [-Wunused-but-set-variable]
    conky.c: In function ‘draw_each_line_inner’:
    conky.c:2827:6: warning: variable ‘last_special_needed’ set but not used [-Wunused-but-set-variable]
    make[2]: *** [conky-conky.o] Error 1
    make[2]: Leaving directory `/var/abs/extra/conky/src/conky-1.8.2git20111107/src'
    make[1]: *** [all] Error 2
    make[1]: Leaving directory `/var/abs/extra/conky/src/conky-1.8.2git20111107/src'
    make: *** [all-recursive] Error 1
    ==> ERROR: A failure occurred in build().
    Aborting...
    My PKGBUILD is
    # $Id: PKGBUILD 142242 2011-11-07 05:35:59Z bisson $
    # Contributor: Giovanni Scafora <[email protected]>
    # Contributor: James Rayner <[email protected]>
    # Contributor: Partha Chowdhury <[email protected]>
    # Maintainer: Gaetan Bisson <[email protected]>
    pkgname=conky
    pkgver=1.8.2git20111107
    pkgrel=1
    pkgdesc='Lightweight system monitor for X'
    url='http://conky.sourceforge.net/'
    license=('BSD' 'GPL')
    arch=('i686' 'x86_64')
    options=('!emptydirs')
    makedepends=('pkg-config' 'docbook2x')
    depends=('alsa-lib' 'libxml2' 'curl' 'libxft' 'glib2' 'libxdamage' 'imlib2')
    backup=('etc/conky/conky.conf' 'etc/conky/conky_no_x11.conf')
    source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.xz")
    sha1sums=('133fc6fdc725162af9a98c72c1b7349efc22447c')
    # git clone git://git.omp.am/conky.git; cd conky; git archive --prefix=${pkgname}-${pkgver}/ origin/1.8.2 | xz > ../${pkgname}-${pkgver}.tar.xz
    replaces=('torsmo')
    build() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    sh autogen.sh
    CPPFLAGS="${CXXFLAGS}" LIBS="${LDFLAGS}" ./configure \
    --prefix=/usr \
    --sysconfdir=/etc \
    --disable-ibm \
    --enable-curl \
    --enable-lua \
    --enable-lua-cairo \
    --disable-ncurses \
    --disable-math --disable-mpd --disable-moc --disable-xmms2 \
    --disable-weather-xoap --disable-portmon --disable-alsa
    make
    package() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    make DESTDIR="${pkgdir}" install
    install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"

    Does it still segment fault without a .conkyrc?
    Also FWIW, heres my conky settings:
    # Use Xft?
    use_xft yes
    xftfont mono:size=9
    xftalpha 0.8
    text_buffer_size 2048
    # Update interval in seconds
    update_interval 1
    # This is the number of times Conky will update before quitting.
    # Set to zero to run forever.
    total_run_times 0
    # Create own window instead of using desktop (required in nautilus)
    own_window yes
    own_window_transparent no
    own_window_type override
    own_window_hints undecorated,sticky,skip_taskbar,skip_pager
    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes
    # Minimum size of text area
    minimum_size 1280 0
    # Draw shades?
    draw_shades no
    # Draw outlines?
    draw_outline no
    # Draw borders around text
    draw_borders no
    # Draw borders around graphs
    draw_graph_borders yes
    # Stippled borders?
    stippled_borders 0
    # border margins
    border_margin 0
    # border width
    border_width 0
    # Default colors and also border colors
    default_color white
    color2 1994D1
    default_shade_color black
    default_outline_color 3c3c3c
    own_window_colour 3c3c3c
    # 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
    # same thing as passing -x at command line
    gap_x 0
    gap_y 3
    # Subtract file system buffers from used memory?
    no_buffers yes
    # set to yes if you want all text to be in uppercase
    uppercase no
    # number of cpu samples to average
    # set to 1 to disable averaging
    cpu_avg_samples 2
    # number of net samples to average
    # set to 1 to disable averaging
    net_avg_samples 2
    # Force UTF8? note that UTF8 support required XFT
    override_utf8_locale yes
    # Add spaces to keep things from moving about? This only affects certain objects.
    use_spacer right
    TEXT

  • [SOLVED]Network/Wireless, after 15mins, locks sudo [..]

    Hello,
    I have been using Ubuntu for a while and wanted to move to Arch Linux. I did. Got everything set up but have one major problem.
    Wireless.
    I have my wireless driver installed through Ndiswrapper and works. Connecting to the router is fine. No problems there. Can go on the internet. But after 15 mins or so (varies) it gets broken and locks programs out.
    The programs I've noticed which get locked out are:
    sudo
    gksu
    conky
    rebooting/shutdown (have to do a hard shutdown)
    When I mean lock. Conky's display just stops. sudo does not do anything. reboot/shutdown just hangs.
    I use iwconfig + dhcpcd to connect to my wireless.
    I don't know If its my wireless as Its never done this in Ubuntu. It kept the connection and sudo, etc, was fine.
    Am I missing a file/package? whats causing this!!
    I have my host name correctly set up. (If that might effect anything.) Locales are fine. keyboard are fine..
    Please. I would love to carry on using Arch! but this.. problem is kinda, well very annoying.
    Thanks,
    Tom
    EDIT!!!
    I have solved it!
    It was due to Ndiswrapper 1.53 messing up and downgrading to Ndiswrapper 1.52 solved this. Now I have a very stable connection.
    Look here to how to downgrade http://bbs.archlinux.org/viewtopic.php?id=54224
    Last edited by tomdbike (2008-09-07 20:01:20)

    tomk wrote:
    akanski - see here.
    Also, you should use the testing sub-forum for issues with testing packages.
    Thank you @tomk, but from what I've been able to glance at the kernel source tree, I realize that the package maintainers didn't compile brcmsmac module :-(
    I suppose it's happened owing to the fact that all BRCM80211 drivers have been moved from staging branch into net subsystem right now (i.e. since Linux 3.2). So I'd prefer to wait for a new package release to solve the snag with this module rather than compiling it manually for myself. :-)
    http://git.kernel.org/?p=linux/kernel/g … 8f;hb=HEAD
    Last edited by akanski (2012-01-06 05:03:33)

  • Conky "if connected to the Internetz"

    the following conky is originaly from:
    http://blog.pakos.biz/desktopowe-zmiany/
    http://dl.pakos.biz/files/conkyrc
    >>> Click here to see image
    #Pakos | ja(at)pakos.biz | http://pakos.biz
    # Use Xft?
    use_xft yes
    xftfont SonyEricssonLogo:size=8:bold
    # Update interval in seconds
    update_interval 1
    # This is the number of times Conky will update before quitting.
    # Set to zero to run forever.
    total_run_times 0
    # Create own window instead of using desktop (required in nautilus)
    own_window yes
    own_window_transparent no
    own_window_type normal
    own_window_hints undecorate,sticky,skip_taskbar,skip_pager
    own_window_title blue bottom left panel
    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes
    # Draw shades?
    draw_shades no
    # Draw outlines?
    draw_outline no
    # Draw borders around text
    draw_borders no
    draw_graph_borders no
    # Stippled borders?
    stippled_borders 0
    # border margins
    border_margin 6
    # border width
    border_width 1
    # Default colors and also border colors
    color1 5598d7
    color2 d4d4d4
    default_color 444444
    #default_shade_color white
    #default_outline_color black
    own_window_colour 444444
    # 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
    # same thing as passing -x at command line
    gap_x 7
    gap_y 6
    minimum_size 1110
    # Subtract file system buffers from used memory?
    no_buffers yes
    # set to yes if you want all text to be in uppercase
    uppercase no
    # Force UTF8? note that UTF8 support required XFT
    override_utf8_locale yes
    # Add spaces to keep things from moving about? This only affects certain objects.
    use_spacer yes
    TEXT
    ${color1}Uptime: ${color2}$uptime_short ${color1}Cpu: ${color2}${cpu}% ${freq}MHz ${color 3c3c3c}${cpugraph 7,50 92C1EE 5598d7} ${color1}Ram: ${color2}$memperc% $mem ${color1}Swp: ${color2}$swapperc% $swap ${if_existing /proc/net/route eth0}${color1}Download: ${color2}${downspeed eth0}KiB/s ${color 3c3c3c}${downspeedgraph eth0 7,50 92C1EE 5598d7} ${color1}Total: ${color2}${totaldown eth0} ${color1}Upload: ${color2}${upspeed eth0}KiB/s ${color 3c3c3c}${upspeedgraph eth0 7,50 92c1ee 5598d7} ${color1}Total:${color2} ${totalup eth0}${else}${if_existing /proc/net/route wlan0}${color1}Download: ${color2}${downspeed wlan0}KiB/s ${color 3c3c3c}${downspeedgraph wlan0 7,50 92C1EE 5598d7} ${color1}Total: ${color2}${totaldown wlan0} ${color1}Upload: ${color2}${upspeed wlan0}KiB/s ${color 3c3c3c}${upspeedgraph wlan0 7,50 92c1ee 5598d7} ${color1}Total:${color2} ${totalup wlan0}${else}${color1}Download: ${color2}${downspeed lo}KiB/s ${color 3c3c3c}${downspeedgraph lo 7,50 92C1EE 5598d7} ${color1}Total: ${color2}${totaldown lo} ${color1}Upload: ${color2}${upspeed lo}KiB/s ${color 3c3c3c}${upspeedgraph lo 7,50 92c1ee 5598d7} ${color1}Total:${color2} ${totalup lo}${endif}${endif} ${color1}Sda: ${color2}${fs_free_perc /}% ${fs_free /}/ ${fs_size /}
    as you can see, this conky checks if it is connected to eth0 (Wired) and if not it is not then it checks wlan0 (WiFi) and if not than it shows the state of the lo interface (we can replace it with the message "You are not connected to the internetz")
    My Problem is the following line/information/parameter etc.
    ${color1}External IP:$alignr${color2}${execi 300 wget www.whatismyip.com/automation/n09230945.asp -O - -q}
    ${alignc}${color1}NETWORK ${if_up wmaster0}${if_existing /proc/net/route eth0}(Wired)
    ${color1}Down:${color2} ${downspeed eth0} k/s $alignr${color1} Up:${color2} ${upspeed eth0} k/s
    ${color1}${downspeedgraph eth0 27,120 000000 FF0000 100} $alignr${upspeedgraph eth0 27,120 000000 FFFF00 100}
    ${color2}${totaldown eth0}$alignr${color2}${totalup eth0}
    ${color1}Local IP:${alignr}${color2}${addr eth0} (eth0)${else}${if_existing /proc/net/route wlan0}(Wireless)
    ${color1}Down:${color2} ${downspeed wlan0} k/s $alignr${color1} Up:${color2} ${upspeed wlan0} k/s
    ${color1}${downspeedgraph wlan0 27,120 000000 FF0000 100} $alignr${color1}${upspeedgraph wlan0 27,120 000000 FFFF00 100}
    ${color2}${totaldown wlan0}$alignr${color2}${totalup wlan0}
    ${color1}Quality:${color2} ${wireless_bitrate wlan0} ${wireless_link_qual_perc wlan0}% ${alignr}${color1}${wireless_link_bar 7,135 wlan0}
    ${color1}ESSID:$alignr${color2}${wireless_essid wlan0}
    ${color1}BSSID:$alignr${color2}${wireless_ap wlan0}
    ${color1}Local IP:${alignr}${color2}${addr wlan0} (wlan0)${endif}${endif}
    ${color1}External IP:$alignr${color2}${execi 300 wget www.whatismyip.com/automation/n09230945.asp -O - -q}
    ${else}(Offline)
    ${color2}${font zekton:pixelsize=36}${alignc}Disconnected${endif}
    instead of asking "if connected to the internetz" it asks ${if_up wmaster0} means "is the wireless switch is on" but I find it useless because I usually turning it off and no matter if the Wired Interface is "online", as long as the wireless switch is off the message will be "Disconnected"
    and... the problem with this line:
    ${color1}External IP:$alignr${color2}${execi 300 wget www.whatismyip.com/automation/n09230945.asp -O - -q}
    is that it's relevant to both wlan0 and eth0 interfaces and I find in inefficient to copy the exact same line in thhe same script (actually, it is more than one line)
    How to ask conky "if connected to the internetz"?
    Last edited by RedArcher (2009-11-01 19:04:12)

    This is what I use in my conkyrc to tell whether I am connected, and what type of connection I have.
    I know many of the lines are repeated inside the if statements, and I don't know if there is another way. There is no way to call a function in conky that I know of (I could be wrong though)
    NOTE: I removed all my $color and $offset entries to make this more easily readable.
    ${if_gw}
    ${if_existing /proc/net/route wlan0}Connection Type: Wireless
    ESSID: ${wireless_essid wlan0}
    Public IP:${execi 3600 wget -O - http://whatismyip.org/ | tail}
    Local IP:${addr wlan0}
    UP: ${upspeedf wlan0} DN: ${downspeedf wlan0}kb/s${endif}${if_existing /proc/net/route eth0}Connection Type: Wired
    Public IP: ${execi 3600 wget -O - http://whatismyip.org/ | tail}
    Local IP: ${addr eth0}
    UP: ${upspeedf eth0} DN: ${downspeedf eth0}kb/s${endif}${else}
    Not Connected${endif}

  • [SOLVED] Conky, LM-sensors and hwmon

    Hi,
    I used the guide found at the forum thread http://bbs.archlinux.org/viewtopic.php?id=43397 (post #4) to get my GPU and CPU temperature shown in conky by using LM-sensors. It all works fine, except for a single little error...
    My conky-setup for the temperatures says
    ${color lightgrey} GPU: $color${hwmon 0 temp 1}°C ${color lightgrey}CPU Core 0: $color${hwmon 1 temp 1}°C ${color lightgrey}CPU Core 1: $color${hwmon 2 temp 1}°C
    but when showing in conky, the "°C" part becomes "Å°C"??
    Can anyone see why this happens? I've attached my whole .conkyrc below:
    # set to yes if you want Conky to be forked in the background
    background no
    cpu_avg_samples 2
    net_avg_samples 2
    out_to_console no
    # Use Xft?
    use_xft yes
    # Xft font when Xft is enabled
    xftfont Bitstream Vera Sans Mono:size=7
    own_window_type desktop
    own_window_transparent yes
    own_window_colour hotpink
    # Text alpha when using Xft
    xftalpha 0.8
    # mail spool
    mail_spool $MAIL
    # Update interval in seconds
    update_interval 1
    # Create own window instead of using desktop (required in nautilus)
    own_window yes
    # Shows the time range covered by a graph.
    show_graph_range yes
    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes
    # Minimum size of text area
    #minimum_size 280 5
    maximum_width 310
    # Draw shades?
    draw_shades no
    # Draw outlines?
    draw_outline no
    # Draw borders around text
    draw_borders no
    # Stippled borders?
    stippled_borders 10
    # border margins
    #border_margin 2
    # border width
    border_width 1
    # Default colors and also border colors
    default_color 424de5
    default_shade_color 0b0b0b
    default_outline_color white
    # Text alignment, other possible values are commented
    #alignment top_left
    #minimum_size 10 10
    gap_x 10
    gap_y 0
    #alignment top_right
    #alignment bottom_left
    alignment bottom_right
    # Gap between borders of screen and text
    # 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
    #${font Dungeon:style=Bold:pixelsize=10}I can change the font as well
    #${font Verdana:size=10}as many times as I choose
    #${font Perry:size=10}Including UTF-8,
    #${font Luxi Mono:size=10}justo como este texto que o google traduz fêz o português
    # stuff after 'TEXT' will be formatted on screen
    #${font Grunge:size=12}${time %a %b %d}${alignr -25}${time %k:%M}
    # Konfiguration fra Arch Forum:
    # http://bbs.archlinux.org/viewtopic.php?id=56421
    background yes
    own_window yes
    own_window_type normal
    own_window_transparent yes
    own_window_hints undecorated,below,skip_taskbar,skip_pager,sticky
    double_buffer yes
    draw_outline no
    draw_borders no
    draw_graph_borders yes
    stippled_borders 0
    border_margin 0
    border_width 0
    TEXT
    $sysname $kernel on $nodename
    #${color lightgrey}Desktop: $color$desktop_name ($desktop/$desktop_number)
    ${color 00043d}$stippled_hr
    ${color lightgrey}Uptime:$color $uptime ${color lightgrey}- Load:$color $loadavg
    ${color lightgrey}CPU Usage:${color #424de5} ${cpu}% ${cpubar}
    ${color 091124}${cpugraph lightgrey 00043d}
    ${color lightgrey}RAM Usage:$color $mem/$memmax - $memperc% $membar
    ${color lightgrey}Swap Usage:$color $swap/$swapmax - $swapperc% $swapbar
    ${color lightgrey}Processes:$color $processes ${color grey}Running:$color $running_processes
    ${color 00043d}$stippled_hr
    ${color lightgrey}Networking (cable) - $color IP: ${addr eth0}
    ${color lightgrey} Down:$color ${downspeed eth0} k/s${color lightgrey} ${offset 70}Up:$color ${upspeed eth0} k/s
    ${color 091124}${downspeedgraph eth0 32,150 lightgrey 00043d} $alignr${color 091124}${upspeedgraph eth0 32,150 lightgrey 00043d}
    ${color lightgrey}Networking (wireless) - $color IP: ${addr wlan0}
    ${color lightgrey} Down:$color ${downspeed wlan0} k/s${color lightgrey} ${offset 70}Up:$color ${upspeed wlan0} k/s
    ${color 091124}${downspeedgraph wlan0 32,150 lightgrey 00043d} $alignr${color 091124}${upspeedgraph wlan0 32,150 lightgrey 00043d}
    ${color lightgrey}Wireless link quality: $color$wireless_link_qual $wireless_link_bar
    ${color lightgrey}Wireless ESSID: $color${wireless_essid}
    ${color 00043d}$stippled_hr
    ${color lightgrey}Battery: $color${battery BAT0} ${battery_bar BAT0}
    ${color 00043d}$stippled_hr
    ${color lightgrey}XMMS $xmms2_status
    $color$xmms2_elapsed/$xmms2_duration $xmms2_bar
    $color$xmms2_smart
    ${color lightgrey}Mixer: $color${mixer} ${mixerbar}
    ${color 00043d}$stippled_hr
    ${color lightgrey}Disk read: $color$diskio_read ${color lightgrey}- Disk write: $color$diskio_write
    ${color 091124}${diskiograph sda lightgrey 00043d}
    ${color lightgrey}File systems:
    ${color lightgrey} / $color${fs_used /}/${fs_size /} ${fs_bar /}
    ${color lightgrey} data $color${fs_used /mnt/data}/${fs_size /mnt/data} ${fs_bar /mnt/data}
    ${color lightgrey} vista $color${fs_used /mnt/vista}/${fs_size /mnt/vista} ${fs_bar /mnt/vista}
    ${color lightgrey} xp $color${fs_used /mnt/xp}/${fs_size /mnt/xp} ${fs_bar /mnt/xp}
    ${color 00043d}$stippled_hr
    ${color lightgrey}System temperatures:
    ${color lightgrey} GPU: $color${hwmon 0 temp 1}°C ${color lightgrey}CPU Core 0: $color${hwmon 1 temp 1}°C ${color lightgrey}CPU Core 1: $color${hwmon 2 temp 1}°C
    ${color 00043d}$stippled_hr
    ${color}Name PID CPU% MEM%
    ${color #308ffd} ${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}Mem usage
    ${color #308ffd} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
    ${color lightgrey} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
    ${color lightgrey} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
    EDIT: Found the error: I had edited the file in mousepad, which couldn't save the "°"'s right..
    Last edited by bozack (2009-09-09 12:45:21)

    nTia89 wrote:
    try to append in the .conkyrc
    the setting:
    override_utf8_locale
    It didn't work - but I might have to say - my locale is danish (in my locale.gen I have the two lines "da_DK.UTF-8 UTF-8" and "da_DK ISO-8859-1" uncommented)..
    Does this make any difference?

  • Conky text getting mixed

    I'm having text rendering problem with conky, strangely this isn't happening on my laptop with pretty much the same arch setup. I've tried many configuration settings but it is still happening.
    My system is;
    Arch 64 bit
    Kde4
    nvidia drivers and standart conky
    background yes
    use_xft yes
    xftfont Sans:size=10
    xftalpha 1
    update_interval 2.0
    total_run_times 0
    own_window yes
    own_window_transparent yes
    own_window_type normal
    own_window_argb_visual yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    double_buffer yes
    minimum_size 200 250
    maximum_width 200
    draw_shades yes
    draw_outline no
    draw_borders no
    draw_graph_borders yes
    default_color white
    default_shade_color black
    default_outline_color white
    alignment top_right
    gap_x 12
    gap_y 12
    no_buffers yes
    uppercase no
    cpu_avg_samples 2
    override_utf8_locale no
    TEXT
    ${color white}SYSTEM ${hr 1}${color}
    Hostname: $alignr$nodename
    Kernel: $alignr$kernel
    Uptime: $alignr$uptime
    CPU: ${alignr}${freq} MHz
    Processes: ${alignr}$processes ($running_processes running)
    Load: ${alignr}$loadavg
    CPU1 ${alignr}${cpu cpu1}% ${platform coretemp.0 temp 2}C
    ${cpugraph 24,200 cpu1}
    CPU2 ${alignr}${cpu cpu2}% ${platform coretemp.0 temp 3}C
    ${cpugraph 24,200 cpu2}
    GPU: $alignr${execi 60 nvidia-settings -query GPUCoreTemp | perl -ne 'print $1 if /GPUCoreTemp.*?: (\d+)./;'} °C
    #GPU ${alignr}${nvidia temp}°C
    HDD: $alignr${execi 300 sudo hddtemp /dev/sda | cut -c28-29}°C
    Ram ${alignr}$mem / $memmax ($memperc%)
    ${membar 4}
    swap ${alignr}$swap / $swapmax ($swapperc%)
    ${swapbar 4}
    Highest CPU $alignr CPU% MEM%
    ${top name 1}$alignr${top cpu 1}${top mem 1}
    ${top name 2}$alignr${top cpu 2}${top mem 2}
    ${top name 3}$alignr${top cpu 3}${top mem 3}
    Highest MEM $alignr CPU% MEM%
    ${top_mem name 1}$alignr${top_mem cpu 1}${top_mem mem 1}
    ${top_mem name 2}$alignr${top_mem cpu 2}${top_mem mem 2}
    ${top_mem name 3}$alignr${top_mem cpu 3}${top_mem mem 3}
    ${color white}Filesystem ${hr 1}${color}
    Root: ${alignr}${fs_free /} / ${fs_size /}
    ${fs_bar 4 /}
    Windows: ${alignr}${fs_free /media/54DD49D6559AD62D} / ${fs_size /media/54DD49D6559AD62D}
    ${fs_bar 4 /media/54DD49D6559AD62D}
    Windows2: ${alignr}${fs_free /media/2A1C99551C991CBF} / ${fs_size /media/2A1C99551C991CBF}
    ${fs_bar 4 /media/2A1C99551C991CBF}
    ${if_gw}${if_existing /proc/net/route wlan0}
    ${color white}WIRELESS NETWORK ${hr 1}${color}
    Wireles Essid: ${alignr}${wireless_essid wlan0}
    Wireless Quality: ${alignr}${wireless_bitrate wlan0} %${wireless_link_qual_perc wlan0}
    Down ${downspeed wlan0} ${alignr}Up ${upspeed wlan0}
    ${downspeedgraph wlan0 24, 110} ${alignr}${upspeedgraph wlan0 24, 110}
    Total ${totaldown} ${alignr}Total ${totalup}${endif}${if_existing /proc/net/route eth0}
    ${color white}WIRED NETWORK ${hr 1}${color}
    Down ${downspeed eth0} ${alignr}Up ${upspeed eth0}
    ${downspeedgraph eth0 24, 97} ${alignr}${upspeedgraph eth0 24, 97}
    Total ${totaldown} ${alignr}Total ${totalup}${endif}

    Discussed here

  • Conky is cut off with scrotwm

    Problem is rather self explanatory, conky displays all of the code in tty1 but is cut off before finishing in scrotwm. I have played around with minimum_size and maximum_width a lot without success. However, that did fix the same problem on my netbook which is running openbox.
    out_to_x no
    out_to_console yes
    update_interval 1.0
    total_run_times 0
    use_spacer none
    minimum_size 1050
    maximum_width 1050
    TEXT
    | ${font OpenLogos:size=10}ARCH X86_64 AMD Athlon(tm) 64 Processor +3200$font${voffset -4}Asus-A8N-E$ | Uptime: ${uptime} | CPU: ${cpu}% | RAM: $memperc% | SWAP: $swapperc% | Hard Drive: ${fs_free_perc /}% Free (${fs_type}) | Updates ${exec /home/administrator/list_upgradable.pl} | Wired Network ${downspeed eth0} k/s down ${upspeed eth0} k/s Up | Wireless Network ${downspeed wlan0} k/s Down ${upspeed wlan0} k/s Up | ${execi 300 /home/administrator/weather.sh "NAM|US|TN|NASHVILLE"}
    Here is pic of the problem, I apologize if the image creates a bandwidth problem. I think its small enough.

    Sector11 wrote:This may oe may not work but try putting all commands in {} ie:  ${font} in some cases not having them in {} causes problems.
    I'll be watching.  - not a scrotwm user - it may be that - don't know.
    Actually since I am running conky via scrotwm's bar there is no since in using fonts since their not working. Nevertheless I replaced all of the $command with ${command} and the problem didn't resolve. Thanks for tip though.
    keenerd wrote:
    My guess is that the output string is too long.  There is a hard limit in scrotwm.c:
    #define SWM_BAR_MAX (256)
    You could bump that to a thousand or so, if you can spare a KB of ram :-)
    Personally, I start running out of space at 150 characters, but maybe you have a giant screen.
    Or if rebuilding ScrotWM is too much trouble, shorten the output.
    Rebuilding Scrotwm isn't too much trouble but I haven't had the time to try it yet. I'll try it and report back, by the way my screen is a 1920x1080 Acer lol.
    teh wrote:why not piping conky output through dzen2?
    I'll try dzen2 but I would rather use scrotwm bar if possible.
    Sector11 wrote:
    Or --- use two or three conkys side by side.... here's 11 conkys running together --- it can be done, and look seamless too!
    http://dl.dropbox.com/u/16070765/thmb_0001.png
    That second column is two conkys split between
    +- Locks:
    | ${goto 22}+- ${exec xset q | grep Num |awk '{print "Num: "$8}'}
    | ${goto 22}+- ${exec xset q | grep Caps |awk '{print "Cap: "$4}'}
    |
    and
    TEXT
    +- ${execp ~/Conky/GNU/gnu_astro.sh}
    |
    +---- Anniversaries ------>${goto 285}| Days
    Except today the line "Gemini from 21 May - 20 Jun" is gone.
    This is the most promising, I have tried to execute two instances of conky in a variety of ways since I have a similar setup on my netbook (Openbox). However scrotwm's bar seems to only display one conky at a time. I normally create a script for running two conkys:
    !#/bin/bash
    conky --config=$HOME/.conkyrc &
    conky --config=$HOME/.conkyrc2 &
    fi
    But thats not working here, I am wondering how conky would run in its on window made to look like it was integrated with scrotwm. Nice desktop by the way.

  • Conky lua

    while trying to run a conky lua script i get this out put
    no field package.preload['cairo']
    no file './cairo.lua'
    no file '/usr/share/lua/5.1/cairo.lua'
    no file '/usr/share/lua/5.1/cairo/init.lua'
    no file '/usr/lib/lua/5.1/cairo.lua'
    no file '/usr/lib/lua/5.1/cairo/init.lua'
    no file './cairo.so'
    no file '/usr/lib/lua/5.1/cairo.so'
    no file '/usr/lib/lua/5.1/loadall.so'
    i have installed conky-lua-nv  and all dependices are installed, what am i missing to get this running i have tried googling the answer but nothing helped.
    here is conky -v  output
    Conky 1.9.0 compiled Sat Aug 18 20:07:34 EDT 2012 for Linux 3.4.9-1-ARCH (x86_64)
    Compiled in features:
    System config file: /etc/conky/conky.conf
    Package library path: /usr/lib/conky
    X11:
    * Xdamage extension
    * XDBE (double buffer extension)
    * Xft
    * ARGB visual
    Music detection:
    * MPD
    * MOC
    General:
    * math
    * hddtemp
    * portmon
    * Curl
    * RSS
    * wireless
    * support for IBM/Lenovo notebooks
    * nvidia
    * config-output
    * Imlib2
    * apcupsd
    * iostats
    * ncurses
    * Lua
    Lua bindings:
    * Cairo
    * Imlib2
    edit
    nothing appears to be in the folder even resembling cairo
    Last edited by xcabal (2012-08-19 00:22:05)

    xcabal wrote:
    while trying to run a conky lua script i get this out put
    no field package.preload['cairo']
    no file './cairo.lua'
    no file '/usr/share/lua/5.1/cairo.lua'
    no file '/usr/share/lua/5.1/cairo/init.lua'
    no file '/usr/lib/lua/5.1/cairo.lua'
    no file '/usr/lib/lua/5.1/cairo/init.lua'
    no file './cairo.so'
    no file '/usr/lib/lua/5.1/cairo.so'
    no file '/usr/lib/lua/5.1/loadall.so'
    i have installed conky-lua-nv  and all dependices are installed, what am i missing to get this running i have tried googling the answer but nothing helped.
    here is conky -v  output
    Conky 1.9.0 compiled Sat Aug 18 20:07:34 EDT 2012 for Linux 3.4.9-1-ARCH (x86_64)
    Compiled in features:
    System config file: /etc/conky/conky.conf
    Package library path: /usr/lib/conky
    X11:
    * Xdamage extension
    * XDBE (double buffer extension)
    * Xft
    * ARGB visual
    Music detection:
    * MPD
    * MOC
    General:
    * math
    * hddtemp
    * portmon
    * Curl
    * RSS
    * wireless
    * support for IBM/Lenovo notebooks
    * nvidia
    * config-output
    * Imlib2
    * apcupsd
    * iostats
    * ncurses
    * Lua
    Lua bindings:
    * Cairo
    * Imlib2
    edit
    nothing appears to be in the folder even resembling cairo
    Did you check the AUR, or the Wiki?  Go check the AUR package for Conky-lua and see if any of the comments on there are helpful, please.

  • Conky and net interfaces

    I am not sure why, I use user wired inet than wireless, but as of recently (maybe at the time of the change from netcfg to netctl) my conky setup fails to hide the wired info and replace it with the wireless one. Can it be ifplug related and as such the eth0 actually never goes down?
    The code I am using right now is the following,
    ${if_up eth0}Local IP $alignr${addr eth0}
    # External IP $alignr${execi 1 ~/.scripts/ip.sh}
    Inbound $alignr ${downspeedf eth0} KB/s
    Total Down ${totaldown eth0}
    Outbound $alignr ${upspeedf eth0} KB/s
    Total Up ${totalup eth0}${endif}
    ${if_up wlan0}Local IP $alignr ${addr wlan0}
    # External IP $alignr${execi 1 ~/.scripts/ip.sh}
    Signal ${wireless_link_qual wlan0}%
    Inbound $alignr ${downspeedf wlan0} KB/s
    Total Down ${totaldown wlan0}
    Outbound $alignr ${upspeedf wlan0} KB/s
    Total Up ${totalup wlan0}${endif}
    Any help in order to achieve the expected result would be much appreciated.

    Thanks for the info Brian. It's good to know it's not just me, and it's even better to know that this has been fixed (and I can see the function signatures too).
    We're working with an outside company who are using LabVIEW 7.1 and don't want to upgrade the whole project to 8.20 at this stage (we're nearly finished - at last!). I had changed my .NET dll to support a new feature and I'd hoped to maintain backwards compatibility with early versions of the software. It's really not that much of a problem just to lose the old version of the method in the interface. I just have to remember not to try and drop the new version of the dll into the old version of the software.

  • Running two (or more) conky's

    Is there a way to get multiple conky's up on my desktop?  what I would like to accomplish is have my current conky (showing system resources and whatnot) in the upper right with the output of /var/messages/messages.log running in the upper left hand corner.  my first guess is that I just need to make a second .conkyrc file, but can conky read 2 files? or do I have to have two instances of conky running?

    O.K. tried that, but now it's flickering back and forth between the two conky's  here are my two .conkyrc files:
    # conky configuration
    # edited by [email protected]
    # set to yes if you want Conky to be forked in the background
    background no
    # X font when Xft is disabled, you can pick one with program xfontsel
    #font 5x7
    #font 6x10
    #font 7x13
    #font 8x13
    #font 9x15
    #font *mintsmild.se*
    #font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
    # Use Xft?
    use_xft yes
    # Xft font when Xft is enabled
    #xftfont Bitstream Vera Sans Mono:size=8
    xftfont Terminus:size=8
    # Text alpha when using Xft
    xftalpha 0.8
    # Print everything to console?
    # out_to_console no
    # mail spool
    #mail_spool $MAIL
    # Update interval in seconds
    update_interval 2.0
    # This is the number of times Conky will update before quitting.
    # Set to zero to run forever.
    total_run_times 0
    # Create own window instead of using desktop (required in nautilus)
    own_window no
    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes
    # Minimum size of text area
    minimum_size 1000 5
    # Draw shades?
    draw_shades yes
    # Draw outlines?
    draw_outline no
    # Draw borders around text
    draw_borders no
    # Stippled borders?
    stippled_borders 8
    # border margins
    border_margin 4
    # border width
    border_width 1
    # Default colors and also border colors
    default_color white
    default_shade_color black
    default_outline_color white
    # 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
    # same thing as passing -x at command line
    gap_x 875
    gap_y 4
    # Subtract file system buffers from used memory?
    no_buffers yes
    # set to yes if you want all text to be in uppercase
    uppercase no
    # number of cpu samples to average
    # set to 1 to disable averaging
    cpu_avg_samples 2
    # number of net samples to average
    # set to 1 to disable averaging
    net_avg_samples 2
    # Force UTF8? note that UTF8 support required XFT
    override_utf8_locale no
    # Add spaces to keep things from moving about? This only affects certain objects.
    use_spacer yes
    #Note: doesn't work in conky 1.2 =(
    # mldonkey_hostname Hostname for mldonkey stuff, defaults to localhost
    # mldonkey_port Mldonkey port, 4001 default
    # mldonkey_login Mldonkey login, default none
    # mldonkey_password Mldonkey password, default none
    # Possible variables to be used:
    # Variable Arguments Description
    # addr (interface) IP address for an interface
    # acpiacadapter ACPI ac adapter state.
    # acpifan ACPI fan state
    # acpitemp ACPI temperature.
    # adt746xcpu CPU temperature from therm_adt746x
    # adt746xfan Fan speed from therm_adt746x
    # alignr (num) Right-justify text, with space of N
    # alignc Align text to centre
    # battery (num) Remaining capasity in ACPI or APM
    # battery. ACPI battery number can be
    # given as argument (default is BAT0).
    # buffers Amount of memory buffered
    # cached Amount of memory cached
    # color (color) Change drawing color to color
    # cpu CPU usage in percents
    # cpubar (height) Bar that shows CPU usage, height is
    # bar's height in pixels
    # cpugraph (height),(width) (gradient colour 1) (gradient colour 2)
    # CPU usage graph, with optional colours in hex,
    # minus the #.
    # downspeed net Download speed in kilobytes
    # downspeedf net Download speed in kilobytes with one
    # decimal
    # downspeedgraph net (height),(width) (gradient colour 1) (gradient colour 2)
    # Download speed graph, colours defined in
    # hex, minus the #.
    # exec shell command Executes a shell command and displays
    # the output in conky. warning: this
    # takes a lot more resources than other
    # variables. I'd recommend coding wanted
    # behaviour in C and posting a patch :-).
    # execbar shell command Same as exec, except if the first value
    # return is a value between 0-100, it
    # will use that number for a bar.
    # The size for the bar is currently fixed,
    # but that may change in the future.
    # execgraph shell command Same as execbar, but graphs values
    # execi interval, shell command
    # Same as exec but with specific interval.
    # Interval can't be less than
    # update_interval in configuration.
    # font font Specify a different font. Only applies
    # to one line.
    # fs_bar (height), (fs)Bar that shows how much space is used on
    # a file system. height is the height in
    # pixels. fs is any file on that file
    # system.
    # fs_free (fs) Free space on a file system available
    # for users.
    # fs_free_perc (fs) Free percentage of space on a file
    # system available for users.
    # fs_size (fs) File system size
    # fs_used (fs) File system used space
    # hr (height) Horizontal line, height is the height in
    # pixels
    # i2c (dev), type, n I2C sensor from sysfs (Linux 2.6). dev
    # may be omitted if you have only one I2C
    # device. type is either in (or vol)
    # meaning voltage, fan meaning fan or
    # temp/tempf (first in C, second in F)
    # meaning temperature. n is number of the
    # sensor. See /sys/bus/i2c/devices/ on
    # your local computer.
    # if_running (process) if PROCESS is running, display
    # everything if_running and the matching $endif
    # if_existing (file) if FILE exists, display everything between
    # if_existing and the matching $endif
    # if_mounted (mountpoint) if MOUNTPOINT is mounted, display everything between
    # if_mounted and the matching $endif
    # else Text to show if any of the above are not true
    # kernel Kernel version
    # linkstatus (interface) Get the link status for wireless connections
    # loadavg (1), (2), (3) System load average, 1 is for past 1
    # minute, 2 for past 5 minutes and 3 for
    # past 15 minutes.
    # machine Machine, i686 for example
    # mails Mail count in mail spool. You can use
    # program like fetchmail to get mails from
    # some server using your favourite
    # protocol. See also new_mails.
    # mem Amount of memory in use
    # membar (height) Bar that shows amount of memory in use
    # memmax Total amount of memory
    # memperc Percentage of memory in use
    # metar_ob_time
    # metar_temp
    # metar_tempf Temp in F
    # metar_windchill
    # metar_dew_point There are a bunch of these
    # metar_rh and they are self-explanatory
    # metar_windspeed
    # metar_winddir
    # metar_swinddir
    # metar_cloud
    # metar_u2d_time
    # ml_upload_counter total session upload in mb
    # ml_download_counter total session download in mb
    # ml_nshared_files number of shared files
    # ml_shared_counter total session shared in mb, buggy
    # in some mldonkey versions
    # ml_tcp_upload_rate tcp upload rate in kb/s
    # ml_tcp_download_rate tcp download rate in kb/s
    # ml_udp_upload_rate udp upload rate in kb/s
    # ml_udp_download_rate udp download rate in kb/s
    # ml_ndownloaded_files number of completed files
    # ml_ndownloading_files number of downloading files
    # mpd_artist Artist in current MPD song
    # (must be enabled at compile)
    # mpd_album Album in current MPD song
    # mpd_bar (height) Bar of mpd's progress
    # mpd_bitrate Bitrate of current song
    # mpd_status Playing, stopped, et cetera.
    # mpd_title Title of current MPD song
    # mpd_vol MPD's volume
    # mpd_elapsed Song's elapsed time
    # mpd_length Song's length
    # mpd_percent Percent of song's progress
    # new_mails Unread mail count in mail spool.
    # nodename Hostname
    # outlinecolor (color) Change outline color
    # pre_exec shell command Executes a shell command one time before
    # conky displays anything and puts output
    # as text.
    # processes Total processes (sleeping and running)
    # running_processes Running processes (not sleeping),
    # requires Linux 2.6
    # shadecolor (color) Change shading color
    # stippled_hr (space), Stippled (dashed) horizontal line
    # (height)
    # swapbar (height) Bar that shows amount of swap in use
    # swap Amount of swap in use
    # swapmax Total amount of swap
    # swapperc Percentage of swap in use
    # sysname System name, Linux for example
    # offset pixels Move text over by N pixels
    # tail logfile, lines (interval)
    # Displays last N lines of supplied text
    # text file. If interval is not supplied,
    # Conky assumes 2x Conky's interval.
    # Max of 30 lines.
    # Max of 30 lines can be displayed.
    # time (format) Local time, see man strftime to get more
    # information about format
    # totaldown net Total download, overflows at 4 GB on
    # Linux with 32-bit arch and there doesn't
    # seem to be a way to know how many times
    # it has already done that before conky
    # has started.
    # top type, num This takes arguments in the form:
    # top <name> <number>
    # Basically, processes are ranked from
    # highest to lowest in terms of cpu
    # usage, which is what <num> represents.
    # The types are: "name", "pid", "cpu", and
    # "mem".
    # There can be a max of 10 processes listed.
    # top_mem type, num Same as top, except sorted by mem usage
    # instead of cpu
    # totalup net Total upload, this one too, may overflow
    # updates Number of updates (for debugging)
    # upspeed net Upload speed in kilobytes
    # upspeedf net Upload speed in kilobytes with one
    # decimal
    # upspeedgraph net (height),(width) (gradient colour 1) (gradient colour 2)
    # Upload speed graph, colours defined in
    # hex, minus the #.
    # uptime Uptime
    # uptime_short Uptime in a shorter format
    # seti_prog Seti@home current progress
    # seti_progbar (height) Seti@home current progress bar
    # seti_credit Seti@hoome total user credit
    # variable is given either in format $variable or in ${variable}. Latter
    # allows characters right after the variable and must be used in network
    # stuff because of an argument
    # stuff after 'TEXT' will be formatted on screen
    TEXT
    ${offset 240}${color slate grey}${time %a, } ${color }${time %e %B %G}
    ${offset 240}${color slate grey}${time %Z, }${color }${time %H:%M:%S}
    ${offset 240}${color slate grey}UpTime: ${color }$uptime
    ${offset 240}${color slate grey}Kern:${color }$kernel
    ${offset 240}${color slate grey}CPU:${color } $cpu% ${acpitemp}C
    ${offset 240}${cpugraph 20,130 000000 ffffff}
    ${offset 240}${color slate grey}Load: ${color }$loadavg
    ${offset 240}${color slate grey}Processes: ${color }$processes
    ${offset 240}${color slate grey}Running: ${color }$running_processes
    ${offset 240}${color slate grey}Highest CPU:
    ${offset 240}${color #ddaa00} ${top name 1}${top_mem cpu 1}
    ${offset 240}${color lightgrey} ${top name 2}${top cpu 2}
    ${offset 240}${color lightgrey} ${top name 3}${top cpu 3}
    ${offset 240}${color lightgrey} ${top name 4}${top cpu 4}
    ${offset 240}${color slate grey}Highest MEM:
    ${offset 240}${color #ddaa00} ${top_mem name 1}${top_mem mem 1}
    ${offset 240}${color lightgrey} ${top_mem name 2}${top_mem mem 2}
    ${offset 240}${color lightgrey} ${top_mem name 3}${top_mem mem 3}
    ${offset 240}${color lightgrey} ${top_mem name 4}${top_mem mem 4}
    ${offset 240}${color slate grey}MEM: ${color } $memperc% $mem/$memmax
    ${offset 240}${membar 3,100}
    ${offset 240}${color slate grey}SWAP: ${color }$swapperc% $swap/$swapmax
    ${offset 240}${swapbar 3,100}
    ${offset 240}${color slate grey}ROOT: ${color }${fs_free /}/${fs_size /}
    ${offset 240}${fs_bar 3,100 /}
    ${offset 240}${color slate grey}HOME: ${color }${fs_free /home}/${fs_size /home}
    ${offset 240}${fs_bar 3,100 /home}
    ${offset 240}${color slate grey}NET:
    ${offset 240}${color}Up: ${color }${upspeed wlan0} k/s
    ${offset 240}${upspeedgraph wlan0 20,130 000000 ffffff}
    ${offset 240}${color}Down: ${color }${downspeed wlan0}k/s${color}
    ${offset 240}${downspeedgraph eth0 20,130 000000 ffffff}
    # conky configuration
    # edited by [email protected]
    # set to yes if you want Conky to be forked in the background
    background no
    # X font when Xft is disabled, you can pick one with program xfontsel
    #font 5x7
    #font 6x10
    #font 7x13
    #font 8x13
    #font 9x15
    #font *mintsmild.se*
    #font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
    # Use Xft?
    use_xft yes
    # Xft font when Xft is enabled
    #xftfont Bitstream Vera Sans Mono:size=8
    xftfont Terminus:size=8
    # Text alpha when using Xft
    xftalpha 0.8
    # Print everything to console?
    # out_to_console no
    # mail spool
    #mail_spool $MAIL
    # Update interval in seconds
    update_interval 2.0
    # This is the number of times Conky will update before quitting.
    # Set to zero to run forever.
    total_run_times 0
    # Create own window instead of using desktop (required in nautilus)
    own_window no
    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes
    # Minimum size of text area
    minimum_size 1000 5
    # Draw shades?
    draw_shades yes
    # Draw outlines?
    draw_outline no
    # Draw borders around text
    draw_borders no
    # Stippled borders?
    stippled_borders 8
    # border margins
    border_margin 4
    # border width
    border_width 1
    # Default colors and also border colors
    default_color white
    default_shade_color black
    default_outline_color white
    # 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
    # same thing as passing -x at command line
    gap_x 5
    gap_y 500
    # Subtract file system buffers from used memory?
    no_buffers yes
    # set to yes if you want all text to be in uppercase
    uppercase no
    # number of cpu samples to average
    # set to 1 to disable averaging
    cpu_avg_samples 2
    # number of net samples to average
    # set to 1 to disable averaging
    net_avg_samples 2
    # Force UTF8? note that UTF8 support required XFT
    override_utf8_locale no
    # Add spaces to keep things from moving about? This only affects certain objects.
    use_spacer yes
    #Note: doesn't work in conky 1.2 =(
    # mldonkey_hostname Hostname for mldonkey stuff, defaults to localhost
    # mldonkey_port Mldonkey port, 4001 default
    # mldonkey_login Mldonkey login, default none
    # mldonkey_password Mldonkey password, default none
    # Possible variables to be used:
    # Variable Arguments Description
    # addr (interface) IP address for an interface
    # acpiacadapter ACPI ac adapter state.
    # acpifan ACPI fan state
    # acpitemp ACPI temperature.
    # adt746xcpu CPU temperature from therm_adt746x
    # adt746xfan Fan speed from therm_adt746x
    # alignr (num) Right-justify text, with space of N
    # alignc Align text to centre
    # battery (num) Remaining capasity in ACPI or APM
    # battery. ACPI battery number can be
    # given as argument (default is BAT0).
    # buffers Amount of memory buffered
    # cached Amount of memory cached
    # color (color) Change drawing color to color
    # cpu CPU usage in percents
    # cpubar (height) Bar that shows CPU usage, height is
    # bar's height in pixels
    # cpugraph (height),(width) (gradient colour 1) (gradient colour 2)
    # CPU usage graph, with optional colours in hex,
    # minus the #.
    # downspeed net Download speed in kilobytes
    # downspeedf net Download speed in kilobytes with one
    # decimal
    # downspeedgraph net (height),(width) (gradient colour 1) (gradient colour 2)
    # Download speed graph, colours defined in
    # hex, minus the #.
    # exec shell command Executes a shell command and displays
    # the output in conky. warning: this
    # takes a lot more resources than other
    # variables. I'd recommend coding wanted
    # behaviour in C and posting a patch :-).
    # execbar shell command Same as exec, except if the first value
    # return is a value between 0-100, it
    # will use that number for a bar.
    # The size for the bar is currently fixed,
    # but that may change in the future.
    # execgraph shell command Same as execbar, but graphs values
    # execi interval, shell command
    # Same as exec but with specific interval.
    # Interval can't be less than
    # update_interval in configuration.
    # font font Specify a different font. Only applies
    # to one line.
    # fs_bar (height), (fs)Bar that shows how much space is used on
    # a file system. height is the height in
    # pixels. fs is any file on that file
    # system.
    # fs_free (fs) Free space on a file system available
    # for users.
    # fs_free_perc (fs) Free percentage of space on a file
    # system available for users.
    # fs_size (fs) File system size
    # fs_used (fs) File system used space
    # hr (height) Horizontal line, height is the height in
    # pixels
    # i2c (dev), type, n I2C sensor from sysfs (Linux 2.6). dev
    # may be omitted if you have only one I2C
    # device. type is either in (or vol)
    # meaning voltage, fan meaning fan or
    # temp/tempf (first in C, second in F)
    # meaning temperature. n is number of the
    # sensor. See /sys/bus/i2c/devices/ on
    # your local computer.
    # if_running (process) if PROCESS is running, display
    # everything if_running and the matching $endif
    # if_existing (file) if FILE exists, display everything between
    # if_existing and the matching $endif
    # if_mounted (mountpoint) if MOUNTPOINT is mounted, display everything between
    # if_mounted and the matching $endif
    # else Text to show if any of the above are not true
    # kernel Kernel version
    # linkstatus (interface) Get the link status for wireless connections
    # loadavg (1), (2), (3) System load average, 1 is for past 1
    # minute, 2 for past 5 minutes and 3 for
    # past 15 minutes.
    # machine Machine, i686 for example
    # mails Mail count in mail spool. You can use
    # program like fetchmail to get mails from
    # some server using your favourite
    # protocol. See also new_mails.
    # mem Amount of memory in use
    # membar (height) Bar that shows amount of memory in use
    # memmax Total amount of memory
    # memperc Percentage of memory in use
    # metar_ob_time
    # metar_temp
    # metar_tempf Temp in F
    # metar_windchill
    # metar_dew_point There are a bunch of these
    # metar_rh and they are self-explanatory
    # metar_windspeed
    # metar_winddir
    # metar_swinddir
    # metar_cloud
    # metar_u2d_time
    # ml_upload_counter total session upload in mb
    # ml_download_counter total session download in mb
    # ml_nshared_files number of shared files
    # ml_shared_counter total session shared in mb, buggy
    # in some mldonkey versions
    # ml_tcp_upload_rate tcp upload rate in kb/s
    # ml_tcp_download_rate tcp download rate in kb/s
    # ml_udp_upload_rate udp upload rate in kb/s
    # ml_udp_download_rate udp download rate in kb/s
    # ml_ndownloaded_files number of completed files
    # ml_ndownloading_files number of downloading files
    # mpd_artist Artist in current MPD song
    # (must be enabled at compile)
    # mpd_album Album in current MPD song
    # mpd_bar (height) Bar of mpd's progress
    # mpd_bitrate Bitrate of current song
    # mpd_status Playing, stopped, et cetera.
    # mpd_title Title of current MPD song
    # mpd_vol MPD's volume
    # mpd_elapsed Song's elapsed time
    # mpd_length Song's length
    # mpd_percent Percent of song's progress
    # new_mails Unread mail count in mail spool.
    # nodename Hostname
    # outlinecolor (color) Change outline color
    # pre_exec shell command Executes a shell command one time before
    # conky displays anything and puts output
    # as text.
    # processes Total processes (sleeping and running)
    # running_processes Running processes (not sleeping),
    # requires Linux 2.6
    # shadecolor (color) Change shading color
    # stippled_hr (space), Stippled (dashed) horizontal line
    # (height)
    # swapbar (height) Bar that shows amount of swap in use
    # swap Amount of swap in use
    # swapmax Total amount of swap
    # swapperc Percentage of swap in use
    # sysname System name, Linux for example
    # offset pixels Move text over by N pixels
    # tail logfile, lines (interval)
    # Displays last N lines of supplied text
    # text file. If interval is not supplied,
    # Conky assumes 2x Conky's interval.
    # Max of 30 lines.
    # Max of 30 lines can be displayed.
    # time (format) Local time, see man strftime to get more
    # information about format
    # totaldown net Total download, overflows at 4 GB on
    # Linux with 32-bit arch and there doesn't
    # seem to be a way to know how many times
    # it has already done that before conky
    # has started.
    # top type, num This takes arguments in the form:
    # top <name> <number>
    # Basically, processes are ranked from
    # highest to lowest in terms of cpu
    # usage, which is what <num> represents.
    # The types are: "name", "pid", "cpu", and
    # "mem".
    # There can be a max of 10 processes listed.
    # top_mem type, num Same as top, except sorted by mem usage
    # instead of cpu
    # totalup net Total upload, this one too, may overflow
    # updates Number of updates (for debugging)
    # upspeed net Upload speed in kilobytes
    # upspeedf net Upload speed in kilobytes with one
    # decimal
    # upspeedgraph net (height),(width) (gradient colour 1) (gradient colour 2)
    # Upload speed graph, colours defined in
    # hex, minus the #.
    # uptime Uptime
    # uptime_short Uptime in a shorter format
    # seti_prog Seti@home current progress
    # seti_progbar (height) Seti@home current progress bar
    # seti_credit Seti@hoome total user credit
    # variable is given either in format $variable or in ${variable}. Latter
    # allows characters right after the variable and must be used in network
    # stuff because of an argument
    # stuff after 'TEXT' will be formatted on screen
    TEXT
    ${color slate grey}/var/log/messages:
    ${color}${exec tail -n20 /var/log/messages.log}
    how can this be fixed?

  • Continuous scripts in conky?

    I would like to know if there is a way to run scripts that go continuously in conky. For example, I have one that displays the volume in the command line and just remains running, displaying the new volume instantly when I change the volume with the keyboard. Can I have this sort of behavior in conky without too much CPU usage? Right now, I have to wait until conky's update_interval passes until I see any changes. Making the update_interval really small increases my CPU usage by a lot, which I do not want to do.
    Here is the volume script I'm talking about:
    #1/bin/bash
    while true; do sleep 0.1; vol=$(amixer get Master | awk -F'[]%[]' '/%/ {if ($7 == "off") { print "MM" } else { print $2 }}' | head -n 1); echo -n -e '\r'Vol: $vol%; done

    I tried using something like that; I even used the exact command you posted, and the problem is that the volume won't update any faster than the rest of conky will.
    When I was using xmonad (now dwm), xmobar would use hardly any cpu because I set some plugins (like network status, time, etc.) to update every 30 seconds to a minute, whereas things like volume were updated every half-second. I was hoping I could get something like this with the dwm status bar, that is, all the information in my conkyrc here:
    # Conky, a system monitor, based on torsmo
    background no
    total_run_times 0
    #cpu_avg_samples 2
    #net_avg_samples 2
    #no_buffers yes
    out_to_console yes
    #out_to_stderr no
    update_interval 2
    #uppercase no
    use_spacer none
    TEXT
    ±${battery_time BAT1}(${battery_short BAT1}) cpu0/1: ${cpu cpu0}% ${cpu cpu1}% mem: $memperc% ($mem) ${exec /home/agi/.bin/volume.sh} ${exec /home/agi/.bin/wireless.sh} ${time %a %b %d %I:%M%P}
    but with minimal cpu/memory usage (I usually have 1-3% when idle). Part of the reason I switched to dwm is that it's so light!

  • [SOLVED] Error building conky 1.8.0 from ABS

    Hello,
    Since conky 1.8.1 has a bug with fonts, I'm trying to build conky 1.8.0. I got the PKGBUILD from the ABS and modified it to install 1.8.0. I also had to include a fix for curl, found here:
    http://aur.archlinux.org/packages.php?ID=31589.
    However, during make I get the following error:
    make[2]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
    make[2]: Er hoeft niets gedaan te worden voor 'install-data-am'.
    make[2]: Map '/home/jente/packages/Arch/conky 1.8.0/src/conky-1.8.0' wordt verlaten
    make[1]: Map '/home/jente/packages/Arch/conky 1.8.0/src/conky-1.8.0' wordt verlaten
    make: *** [install-recursive] Fout 1
    ==> ERROR: A failure occurred in package().
    Aborting...
    It says that "nothing has to be done for..."
    Here's my PKGBUILD:
    pkgname=conky
    pkgver=1.8.0
    pkgrel=3
    pkgdesc='An advanced, highly configurable system monitor for X based on torsmo'
    arch=('i686' 'x86_64')
    url='http://conky.sourceforge.net/'
    license=('custom')
    replaces=('torsmo')
    makedepends=('pkg-config')
    depends=('alsa-lib' 'libxml2' 'curl' 'wireless_tools' 'libxft' 'glib2' 'libxdamage' 'imlib2')
    backup=('etc/conky/conky.conf' 'etc/conky/conky_no_x11.conf')
    source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"
    'current-power.patch')
    md5sums=('3fcc5bc005c6c046587134cdb9fdadfa'
    'eec51b5ccd242ed95b3b0a0fdd3252f8')
    build() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    patch -p1 < ../current-power.patch # See FS#21984
    sed -i '
    /#include <curl\/types.h>/ c\
    //#include <curl/types.h>' src/eve.c
    sed -i '
    /#include <curl\/types.h>/ c\
    //#include <curl/types.h>' src/ccurl_thread.c
    ./configure \
    --prefix=/usr \
    --sysconfdir=/etc \
    --enable-ibm \
    --enable-curl \
    --enable-rss \
    --enable-weather-xoap \
    --enable-imlib2 \
    --disable-lua \
    --enable-wlan \
    make
    package() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    make DESTDIR="${pkgdir}" install
    install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
    Last edited by Unia (2011-08-18 10:33:56)

    I will try to built again and post the full output!
    EDIT: Here you go:
    ┌─[jente@lappy conky 1.8.0][17:07:13]
    └─■ LC_ALL=C makepkg -si
    ==> Making package: conky 1.8.0-3 (Wed Aug 17 17:07:24 CEST 2011)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving Sources...
    -> Found conky-1.8.0.tar.gz
    -> Found current-power.patch
    ==> Validating source files with md5sums...
    conky-1.8.0.tar.gz ... Passed
    current-power.patch ... Passed
    ==> Extracting Sources...
    -> Extracting conky-1.8.0.tar.gz with bsdtar
    ==> Removing existing pkg/ directory...
    ==> Starting build()...
    patching file src/linux.c
    Hunk #1 succeeded at 1654 (offset -17 lines).
    checking for a BSD-compatible install... /bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    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... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-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 fgrep... /bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    configure: WARNING: Libtool does not cope well with whitespace in `pwd`
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for ar... ar
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    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 for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... 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
    checking whether gcc and cc understand -c and -o together... yes
    checking for pkg-config... yes
    checking for pkg-config... /usr/bin/pkg-config
    checking pkg-config is at least version 0.19... yes
    checking for fopencookie... yes
    checking for funopen... no
    checking for X11... yes
    checking for Imlib2... yes
    checking iwlib.h usability... yes
    checking iwlib.h presence... yes
    checking for iwlib.h... yes
    checking for iw_sockets_open in -liw... yes
    checking for getnameinfo... 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 ld used by GCC... /usr/bin/ld -m elf_x86_64
    checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
    checking for shared library run path origin... done
    checking for iconv... yes
    checking for working iconv... yes
    checking for iconv declaration... install-shextern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
    checking for Xext... yes
    checking for XDamage... yes
    checking for Xft... yes
    checking for GLib2... yes
    checking for libcurl... yes
    checking for libxml2... yes
    checking alsa/asoundlib.h usability... yes
    checking alsa/asoundlib.h presence... yes
    checking for alsa/asoundlib.h... yes
    checking for snd_pcm_open in -lasound... yes
    checking signal.h usability... yes
    checking signal.h presence... yes
    checking for signal.h... yes
    checking for unistd.h... (cached) yes
    checking sys/utsname.h usability... yes
    checking sys/utsname.h presence... yes
    checking for sys/utsname.h... yes
    checking for sys/stat.h... (cached) yes
    checking linux/soundcard.h usability... yes
    checking linux/soundcard.h presence... yes
    checking for linux/soundcard.h... yes
    checking for alsa/asoundlib.h... (cached) yes
    checking dirent.h usability... yes
    checking dirent.h presence... yes
    checking for dirent.h... yes
    checking mcheck.h usability... yes
    checking mcheck.h presence... yes
    checking for mcheck.h... yes
    checking sys/statfs.h usability... yes
    checking sys/statfs.h presence... yes
    checking for sys/statfs.h... yes
    checking sys/param.h usability... yes
    checking sys/param.h presence... yes
    checking for sys/param.h... yes
    checking pthread.h usability... yes
    checking pthread.h presence... yes
    checking for pthread.h... yes
    checking semaphore.h usability... yes
    checking semaphore.h presence... yes
    checking for semaphore.h... yes
    checking assert.h usability... yes
    checking assert.h presence... yes
    checking for assert.h... yes
    checking errno.h usability... yes
    checking errno.h presence... yes
    checking for errno.h... yes
    checking time.h usability... yes
    checking time.h presence... yes
    checking for time.h... yes
    checking for sys/mount.h... yes
    checking sys/inotify.h usability... yes
    checking sys/inotify.h presence... yes
    checking for sys/inotify.h... yes
    checking for calloc... yes
    checking for malloc... yes
    checking for free... yes
    checking for popen... yes
    checking for sysinfo... yes
    checking for getloadavg... yes
    checking for memrchr... yes
    checking for strndup... yes
    checking for gethostbyname_r... yes
    checking for library containing clock_gettime... -lrt
    checking for struct statfs.f_fstypename... no
    checking zlib.h usability... yes
    checking zlib.h presence... yes
    checking for zlib.h... yes
    checking for db2x_xsltproc... no
    checking for db2x_manxml... no
    checking for xsltproc... xsltproc
    checking if /usr/bin/ld -m elf_x86_64 accepts -O1... yes
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating data/Makefile
    config.status: creating doc/Makefile
    config.status: creating src/Makefile
    config.status: creating src/build.h
    config.status: creating lua/Makefile
    config.status: creating src/config.h
    config.status: src/config.h is unchanged
    config.status: executing depfiles commands
    config.status: executing libtool commands
    conky 1.8.0 configured successfully:
    Installing into: /usr
    System config dir: /etc
    C compiler flags: -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -W
    Libraries: -liw -lncurses -lm -lX11 -lImlib2 -lXext -lXdamage -lXfixes -lXft -lglib-2.0 -lcurl -lxml2 -lasound -lrt
    Linker flags: -Wl,-O1
    * X11:
    X11 support: yes
    XDamage support: yes
    XDBE support: yes
    Xft support: yes
    ARGB support yes
    * Music detection:
    Audacious: no
    BMPx: no
    MPD: yes
    MOC: yes
    XMMS2: no
    * General:
    math: yes
    hddtemp: yes
    portmon: yes
    RSS: yes
    Curl: yes
    Weather
    METAR: yes
    XOAP: yes
    wireless: yes
    IBM: yes
    nvidia: no
    eve-online: no
    config-output: yes
    Imlib2: yes
    ALSA mixer: yes
    apcupsd: yes
    I/O stats: yes
    * Lua (no) bindings:
    Cairo: no
    Imlib2: no
    Making all in src
    make[1]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/src'
    make all-am
    make[2]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/src'
    gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -MT conky-linux.o -MD -MP -MF .deps/conky-linux.Tpo -c -o conky-linux.o `test -f 'linux.c' || echo './'`linux.c
    linux.c: In function 'update_net_stats':
    linux.c:345:12: warning: variable 'has_bitrate' set but not used [-Wunused-but-set-variable]
    linux.c: In function 'is_disk':
    linux.c:2287:18: warning: 'dev_last' may be used uninitialized in this function [-Wuninitialized]
    mv -f .deps/conky-linux.Tpo .deps/conky-linux.Po
    gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -MT conky-ccurl_thread.o -MD -MP -MF .deps/conky-ccurl_thread.Tpo -c -o conky-ccurl_thread.o `test -f 'ccurl_thread.c' || echo './'`ccurl_thread.c
    mv -f .deps/conky-ccurl_thread.Tpo .deps/conky-ccurl_thread.Po
    gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -MT conky-conky.o -MD -MP -MF .deps/conky-conky.Tpo -c -o conky-conky.o `test -f 'conky.c' || echo './'`conky.c
    conky.c: In function 'generate_text_internal':
    conky.c:761:19: warning: variable 'needed' set but not used [-Wunused-but-set-variable]
    conky.c: In function 'draw_each_line_inner':
    conky.c:3099:13: warning: 'font_h' may be used uninitialized in this function [-Wuninitialized]
    mv -f .deps/conky-conky.Tpo .deps/conky-conky.Po
    gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -MT conky-core.o -MD -MP -MF .deps/conky-core.Tpo -c -o conky-core.o `test -f 'core.c' || echo './'`core.c
    mv -f .deps/conky-core.Tpo .deps/conky-core.Po
    /bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -lpthread -lm -Wl,--hash-style=gnu -Wl,--as-needed -o conky conky-conf_cookie.o conky-ibm.o conky-smapi.o conky-mpd.o conky-libmpdclient.o conky-moc.o conky-linux.o conky-top.o conky-users.o conky-sony.o conky-i8k.o conky-libtcp-portmon.o conky-tcp-portmon.o conky-x11.o conky-fonts.o conky-hddtemp.o conky-ccurl_thread.o conky-rss.o conky-prss.o conky-weather.o conky-imlib2.o conky-apcupsd.o conky-iconv_tools.o conky-colours.o conky-combine.o conky-common.o conky-conky.o conky-core.o conky-diskio.o conky-entropy.o conky-exec.o conky-fs.o conky-mail.o conky-mixer.o conky-net_stat.o conky-template.o conky-timed_thread.o conky-mboxscan.o conky-read_tcp.o conky-scroll.o conky-specials.o conky-tailhead.o conky-temphelper.o conky-text_object.o conky-timeinfo.o conky-algebra.o conky-proc.o conky-user.o -liw -lncurses -lm -lX11 -lImlib2 -lXext -lXdamage -lXfixes -lXft -lglib-2.0 -lcurl -lxml2 -lasound -lrt
    libtool: link: gcc -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed -o conky conky-conf_cookie.o conky-ibm.o conky-smapi.o conky-mpd.o conky-libmpdclient.o conky-moc.o conky-linux.o conky-top.o conky-users.o conky-sony.o conky-i8k.o conky-libtcp-portmon.o conky-tcp-portmon.o conky-x11.o conky-fonts.o conky-hddtemp.o conky-ccurl_thread.o conky-rss.o conky-prss.o conky-weather.o conky-imlib2.o conky-apcupsd.o conky-iconv_tools.o conky-colours.o conky-combine.o conky-common.o conky-conky.o conky-core.o conky-diskio.o conky-entropy.o conky-exec.o conky-fs.o conky-mail.o conky-mixer.o conky-net_stat.o conky-template.o conky-timed_thread.o conky-mboxscan.o conky-read_tcp.o conky-scroll.o conky-specials.o conky-tailhead.o conky-temphelper.o conky-text_object.o conky-timeinfo.o conky-algebra.o conky-proc.o conky-user.o -lpthread -liw -lncurses -lm -lX11 -lImlib2 -lXext -lXdamage -lXfixes -lXft -lglib-2.0 -lcurl -lxml2 -lasound -lrt
    make[2]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/src'
    make[1]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/src'
    Making all in doc
    make[1]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/doc'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/doc'
    Making all in lua
    make[1]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/lua'
    make all-am
    make[2]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/lua'
    make[2]: Nothing to be done for `all-am'.
    make[2]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/lua'
    make[1]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/lua'
    Making all in data
    make[1]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/data'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/data'
    make[1]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0'
    make[1]: Nothing to be done for `all-am'.
    make[1]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0'
    ==> Entering fakeroot environment...
    ==> Starting package()...
    Making install in src
    make[1]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/src'
    make install-am
    make[2]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/src'
    make[3]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/src'
    test -z "/usr/bin" || /bin/mkdir -p "/home/jente/packages/arch/conky 1.8.0/pkg/usr/bin"
    /bin/sh ../libtool --mode=install /bin/install -c conky '/home/jente/packages/arch/conky 1.8.0/pkg/usr/bin'
    libtool: install: /bin/install -c conky /home/jente/packages/arch/conky 1.8.0/pkg/usr/bin/conky
    /bin/install: target `1.8.0/pkg/usr/bin/conky' is not a directory
    make[3]: *** [install-binPROGRAMS] Error 1
    make[3]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/src'
    make[2]: *** [install-am] Error 2
    make[2]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/src'
    make[1]: *** [install] Error 2
    make[1]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/src'
    Making install in doc
    make[1]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/doc'
    make[2]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/doc'
    make[2]: Nothing to be done for `install-exec-am'.
    test -z "/usr/share/man/man1" || /bin/mkdir -p "/home/jente/packages/arch/conky 1.8.0/pkg/usr/share/man/man1"
    /bin/install -c -m 644 conky.1 '/home/jente/packages/arch/conky 1.8.0/pkg/usr/share/man/man1'
    make[2]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/doc'
    make[1]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/doc'
    Making install in lua
    make[1]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/lua'
    make install-am
    make[2]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/lua'
    make[3]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/lua'
    test -z "/usr/lib/conky" || /bin/mkdir -p "/home/jente/packages/arch/conky 1.8.0/pkg/usr/lib/conky"
    make[3]: Nothing to be done for `install-data-am'.
    make[3]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/lua'
    make[2]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/lua'
    make[1]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/lua'
    Making install in data
    make[1]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/data'
    make[2]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/data'
    make[2]: Nothing to be done for `install-exec-am'.
    test -z "/etc/conky" || /bin/mkdir -p "/home/jente/packages/arch/conky 1.8.0/pkg/etc/conky"
    /bin/install -c -m 644 conky.conf conky_no_x11.conf '/home/jente/packages/arch/conky 1.8.0/pkg/etc/conky'
    make[2]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/data'
    make[1]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/data'
    make[1]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0'
    make[2]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0'
    make[2]: Nothing to be done for `install-exec-am'.
    make[2]: Nothing to be done for `install-data-am'.
    make[2]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0'
    make[1]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0'
    make: *** [install-recursive] Error 1
    ==> ERROR: A failure occurred in package().
    Aborting...
    Last edited by Unia (2011-08-17 15:08:43)

  • Conky Conditional Statement

    Is there a way to make a conky config that will check to see it your wlan card is on/off. When it is on, it should show some set of information that you choose. When it is off, none of that information should be shown.
    I like to see:
    Link Quality
    SSID
    Up
    Down
    Upload
    Download
    IP Address
    I know that conky has if-elseif-endif statements, but I assume that those go through the config once, and then don't go through it again.
    I guess that it could be done with an external script as well, but I am no programmer, so I am not sure about that.
    Thoughts?
    Michael

    brisbin33 wrote:
    michaelramm wrote:
    Here is mine:
    NETWORK ${hr 2}
    ${if_existing /proc/net/route eth0}
    ${alignc}Wired
    Up: ${upspeed eth0} kb/s ${alignr}${upspeedgraph eth0 8,60 789E2D A7CC5C}
    Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 8,60 789E2D A7CC5C}
    Upload: ${alignr}${totalup eth0}
    Download: ${alignr}${totaldown eth0}
    Local IP: ${alignr}${addr eth0}
    [b]${else}[/b]
    ${if_existing /proc/net/route eth1}
    ${alignc}Wireless
    Signal: ${wireless_link_qual eth1}% ${alignr}${wireless_link_bar 8,60 eth1}
    Attached to:${alignr}${wireless_essid eth1}
    Up: ${upspeed eth1} kb/s ${alignr}${upspeedgraph eth1 8,60 789E2D A7CC5C}
    Down: ${downspeed eth1} kb/s ${alignr}${downspeedgraph eth1 8,60 789E2D A7CC5C}
    Upload: ${alignr}${totalup eth1}
    Download: ${alignr}${totaldown eth1}
    Local IP: ${alignr}${addr eth1}
    ${endif}
    just an observation
    if your first $if_existing is always true (eth0 exists) then the $else condition will never be run.
    i'd reverse your statements and you may find it works as you want.
    Thanks for the insight!
    I took out the else that is bolded above, and it is rocking along just how I want it to. Wireless section goes away when I turn off wireless and it reappears when I turn it on!
    Thanks,
    Michael

Maybe you are looking for

  • Multiple users, using the same web app items?

    Iam building a service for familes were the parents should be able to read / add / edit the same secure web app items. So when logged in the user have access to the same user submitted web app items. I found a thread answerd by Liam and my guess this

  • Could not reconnect all network drives

    I have several drives mapped on different Windows 7 boxes in my office.  Just about every time I boot up one of these systems I receive the message "Could not reconnect all network drives" in the system tray. I should note that merely clicking the dr

  • Satellite L30-10T: I need the original number of the inverter

    I bought a second hand Toshiba Satellite L30 10T without an inverter. I need the original number of the inverter . Ho can help me. Dik

  • History works differently in 4.0 - how do I get it to work the proper way?

    In prior firefox history operation, I could click and select many individual links in the history list and then open them all in tabs. Now, in 4.0, it opens one tab as soon as I click on it and will not allow me to select multiples. This would be liv

  • Cannot disable 'File Types' associations in QT Preferences

    When I open QuickTime Preferences, then choose File Types from the Browser tab, it is impossible to UNCHECK any of the already-associated file types. QuickTime seems perfectly happy to let me check any of the types that are not already checked and re