[SOLVED] conky + amarok 2 + xfce

Hello!
Is there is a way to make conky work with Amarok 2 in Xfce. Scripts for Amarok are using DCOP, but as far as I know, DCOP is working with kde3. So I am looking for a way to enable DCOP in Xfce, either to make Amarok working with Conky in some different way.
Thanks in advance!
Last edited by zayac (2009-10-27 17:25:51)

i just did a quick search and found this. 
http://bbs.archlinux.org/viewtopic.php?id=72298 
I don't know if it answers your question, but it looks like you can use qdbus to get that information for conky.

Similar Messages

  • [Solved]Conky and word wrapping - Is there a way?

    So I have a very limited area to work with, something like 176x360 (+/- a few pixels), and I want the ability to show an RSS feed. Well, the feed works of course, but due to the limited width, I'm in great need of word wrapping, and for that problem I have found no solution and going on for 2-3 hours straight, my head hurts
    Anyway, here's my .conkyrc, not that it's needed of course.
    # ~/.conkyrc
    double_buffer yes
    use_xft yes
    xftfont Bitstream Vera Sans Mono:size=8
    xftalpha 0.8
    update_interval 1.0
    total_run_times 0
    own_window yes
    own_window_type override
    own_window_transparent yes
    own_window_colour hotpink
    own_window_hints undecorated,below,skip_taskbar,sticky,skip_pager
    minimum_size 176 360
    maximum_size 176 360
    maximum_width 176
    draw_shades no
    draw_outline no
    draw_borders no
    stippled_borders 0
    border_margin 0
    border_width 0
    default_color green
    default_shade_color green
    default_outline_color green
    alignment bottom_right
    gap_x 16
    gap_y 16
    no_buffers yes
    uppercase no
    TEXT
    $alignc${nodename}
    $alignc${sysname} ${kernel}
    $hr
    CPU:$alignr$cpu% ${cpubar 10,106}
    RAM:$alignr$memperc% ${membar 10,106}
    HDD:$alignr${fs_used_perc /}% ${fs_bar 10,106 /}
    BAT:$alignr${battery_percent}% ${battery_bar 10,106}
    $hr
    Download: Upload:
    eth0 ${downspeed eth0} $alignr${upspeed eth0}
    wlan0 ${downspeed wlan0} $alignr${upspeed wlan0}
    $hr
    ${alignc}ARCH NEWS
    ${rss http://www.archlinux.org/feeds/news/ 1 item_titles 10 }
    I know this looks confusing and probably is full of critical error, but that simple because I'm a conky noob. I basically just downloaded a profile I liked and completely changed it over the course of a few hours.
    Anyway, I'm rambling again, but if you've got any idea's, please do let me know.
    Best regards.
    Last edited by zacariaz (2012-08-27 17:19:35)

    Okay, so I've found sort of a solution to part of the problem, so what I have so far look like this:
    wget -quiet -O - archlinux.org/feeds/news/ | fmt -w 25 -g 25
    It works as long as there are no words longer than 25 character, which I should think is rare, even including package names and such.
    However there's still the issue parsing the xml so I get only what I want:
    <item><title>$content</title><link>
    This may be solved using some sort of terminal rss parser, but I would rather prefer not to.
    Then there's the issue with reloading.
    My current conky is set to reload every second, but of course one can't just pull the feed every second and I'm not convinced that conky has any built in solution for that problem. Of course I can always start a cronjob and save it all to a file, but portability would be nice.
    anyway, I'll return later.

  • [SOLVED]Conky Forecast problems

    I upgraded OpenOffice yesterday and for some reason everytime I run Conky, this error message shows up
    /usr/bin/conkyForecast: line 3: :/usr/lib/openoffice/basis-link/program/:/usr/lib/guake: No such file or directory
    If anyone knows how to solve that problem, any help would be appreciated.
    Last edited by uzi304 (2010-04-07 23:50:44)

    Oh right, I'm sorry.
    # Possible variables to be used:
    # Variable Arguments Description
    # acpiacadapter ACPI ac adapter state.
    # acpifan ACPI fan state
    # acpitemp ACPI temperature.
    # adt746xcpu CPU temperature from therm_adt746x
    # adt746xfan Fan speed from therm_adt746x
    # 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
    # downspeed net Download speed in kilobytes
    # downspeedf net Download speed in kilobytes with one
    # decimal
    # exec shell command Executes a shell command and displays
    # the output in torsmo. warning: this
    # takes a lot more resources than other
    # variables. I'd recommend coding wanted
    # behaviour in C and posting a patch :-).
    # execi interval, shell Same as exec but with specific interval.
    # command Interval can't be less than
    # update_interval in configuration.
    # 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
    # meaning temperature. n is number of the
    # sensor. See /sys/bus/i2c/devices/ on
    # your local computer.
    # kernel Kernel version
    # 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
    # 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
    # torsmo 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
    # 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 torsmo
    # has started.
    # 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
    # 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
    # Use Xft?
    use_xft yes
    xftfont DejaVu Sans:size=8
    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 yes
    own_window_type override
    #own_window_hints undecorated,below,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 180 0
    #maximum_width 200
    # Draw shades?
    draw_shades no
    # Draw outlines?
    draw_outline no
    # Draw borders around text
    draw_borders no
    # Stippled borders?
    stippled_borders 0
    # border margins
    border_margin 5
    # border width
    border_width 1
    # Default colors and also border colors
    default_color white
    #default_shade_color black
    #default_outline_color white
    own_window_colour 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 35
    gap_y 50
    # 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 none
    TEXT
    SYSTEM ${hr 2}
    ${voffset 2}${font OpenLogos:size=16}B${font} Machine:${alignr}${kernel}
    ${font StyleBats:size=16}A${font} CPU1: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
    ${font StyleBats:size=16}A${font} CPU2: ${cpu cpu2}% ${alignr}${cpubar cpu2 8,60}
    ${font StyleBats:size=16}g${font} RAM: $memperc% ${alignr}${membar 8,60}
    ${font StyleBats:size=16}j${font} SWAP: $swapperc% ${alignr}${swapbar 8,60}
    ${font Webdings:size=16}~${font} Battery: ${battery_percent BAT1}% ${alignr}${battery_bar 8,60 BAT1}
    ${font StyleBats:size=16}q${font} Uptime: ${alignr}${uptime}
    DATE ${hr 2}
    ${alignc 35}${font Arial Black:size=26}${time %H:%M}${font}
    ${alignc}${time %A %d %Y}
    HD ${hr 2}
    ${voffset 4}${font Pie charts for maps:size=14}7${font} ${voffset -5}Root:
    ${voffset 4}${fs_used /}/${fs_size /} ${alignr}${fs_bar 8,60 /}
    ${font Pie charts for maps:size=14}7${font} ${voffset -5}Home:
    ${voffset 4}${fs_free /home}/${fs_size /home} ${alignr}${fs_bar 8,60 /home}
    NETWORK ${hr 2}
    ${if_existing /proc/net/route wlan0}
    ${voffset -6}${font PizzaDude Bullets:size=14}O${font} Up: ${upspeed wlan0} ${alignr}${upspeedgraph wlan0 8,60 3465A4 729FCF}
    ${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed wlan0} ${alignr}${downspeedgraph wlan0 8,60 3465A4 729FCF}
    ${voffset 4}${font PizzaDude Bullets:size=14}N${font} Upload: ${alignr}${totalup wlan0}
    ${voffset 4}${font PizzaDude Bullets:size=14}T${font} Download: ${alignr}${totaldown wlan0}
    ${voffset 4}${font PizzaDude Bullets:size=14}Z${font} Signal: ${wireless_link_qual wlan0}% ${alignr}${wireless_link_bar 8,60 wlan0}
    ${voffset 4}${font PizzaDude Bullets:size=14}a${font} Local Ip: ${alignr}${addr wlan0}
    ${voffset 4}${font PizzaDude Bullets:size=14}b${font} Public Ip: ${alignr}${execi 1 ~/.scripts/ip.sh}
    ${else}${if_existing /proc/net/route eth0}
    ${voffset -6}${font PizzaDude Bullets:size=14}O${font} Up: ${upspeed eth0} kb/s ${alignr}${upspeedgraph eth0 8,60 C22F2F DA3F3F}
    ${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 8,60 C22F2F DA3F3F}
    ${voffset 4}${font PizzaDude Bullets:size=14}N${font} Upload: ${alignr}${totalup eth0}
    ${voffset 4}${font PizzaDude Bullets:size=14}T${font} Download: ${alignr}${totaldown eth0}
    ${voffset 4}${font PizzaDude Bullets:size=14}a${font} Local Ip: ${alignr}${addr eth0}
    ${voffset 4}${font PizzaDude Bullets:size=14}b${font} Public Ip: ${alignr}${execi 1 ~/.scripts/ip.sh}
    ${endif}${else}${if_existing /proc/net/route eth1}
    ${voffset -6}${font PizzaDude Bullets:size=14}O${font} Up: ${upspeed eth1} kb/s ${alignr}${upspeedgraph eth1 8,60 C22F2F DA3F3F}
    ${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed eth1} kb/s ${alignr}${downspeedgraph eth1 8,60 C22F2F DA3F3F}
    ${voffset 4}${font PizzaDude Bullets:size=14}N${font} Upload: ${alignr}${totalup eth1}
    ${voffset 4}${font PizzaDude Bullets:size=14}T${font} Download: ${alignr}${totaldown eth1}
    ${voffset 4}${font PizzaDude Bullets:size=14}a${font} Local Ip: ${alignr}${addr eth1}
    ${voffset 4}${font PizzaDude Bullets:size=14}b${font} Public Ip: ${alignr}${execi 1 ~/.scripts/ip.sh}
    ${endif}${else}
    ${font PizzaDude Bullets:size=14}4${font} Network Unavailable
    ${endif}
    WEATHER ${hr 2}
    ${if_existing /proc/net/route wlan0}
    ${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=USNJ0392 --datatype=WF}${font}
    ${voffset -50}${font Weather:size=40}y${font} ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=USNJ0392 --datatype=HT --imperial}${font}
    ${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=USNJ0392 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=USNJ0392 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=USNJ0392 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=USNJ0392 --datatype=DW --startday=4 --shortweekday}
    ${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=USNJ0392 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
    ${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=USNJ0392 --datatype=HT --imperial --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=USNJ0392 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=USNJ0392 --datatype=HT --imperial --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=USNJ0392 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=USNJ0392 --datatype=HT --imperial --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=USNJ0392 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=USNJ0392 --datatype=HT --imperial --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=USNJ0392 --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
    ${else}${if_existing /proc/net/route eth0}
    ${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=??? --datatype=WF}${font}
    ${voffset -50}${font Weather:size=40}y${font} ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=??? --datatype=HT}${font}
    ${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=4 --shortweekday}
    ${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=??? --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
    ${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
    ${endif}${else}${if_existing /proc/net/route eth1}
    ${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=??? --datatype=WF}${font}
    ${voffset -50}${font Weather:size=40}y${font} ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=??? --datatype=HT}${font}
    ${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=4 --shortweekday}
    ${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=??? --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
    ${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
    ${endif}${else}
    ${font PizzaDude Bullets:size=14}4${font} Weather Unavailable
    ${endif}

  • [SOLVED] Conky Disappears!

    Check it.  I'll start conky, left click in irssi, then left click anywhere on my desktop.  Then, conky disappears!  It still running ofcourse..
    background no
    own_window yes
    own_window_transparent yes
    own_window_type desktop
    double_buffer yes
    update_interval 1
    use_xft yes
    xftfont glisp:size=8
    xftalpha 0.5
    border_margin 2
    border_width 2
    alignment bottom_right
    gap_x 2
    gap_y 2
    TEXT
    ${color #606060}${time} | ${color #606060}${battery} | ${color #606060}${wireless_link_bar wlan0}
    Maybe it's something in my config?
    Thanks!
    //Changing own_window_type to root, and adding own_window_hints undecorate,sticky seems to work!
    Last edited by crispus (2008-10-14 05:34:39)

    I was going to suggest adding
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    but I see that you've already solved it.
    With own_window_hints, you should be able to leave own_window_type as "desktop".

  • (SOLVED) Conky and battery status

    How come this will not work on my system:
    ${color red}$alignc Battery Information
    ${color lightgrey} Currently: $battery
    ${color lightgrey}$stippled_hr
    I have tried a dozen scripts for battery status and nothing works. Does anyone have a sure fire way to get some status from my battery?
    I am using a netbook, pretty standard stuff. I don't know why it won't work. I tried other commands and one returned "U" for unknown battery status and what not. How can I find out what is going on?
    edit:
    Battery: ${battery_percent BAT0}% ${alignr}${battery_bar 8,70 BAT0}
    This displays 0% and an empty bar.
    I went ahead into /proc/acpi/battery and found BAT1 and no BAT0, so I changed the script and I get a percent now...
    This may be solved, but I am going to try the other functions to see if I can get the output I wanted in the first place.
    Why does Conky hate batteries?
    Last edited by Google (2010-07-02 07:16:26)

    "$battery" does not work because it assumes as default BAT0, which you don't have so it will have to be "$battery BAT1". See "man conky" for more info....

  • [SOLVED] Places plugin xfce panel

    How do i set to show "Places" instead of the icon forever? I mean i change it in proprietis but next time i login in, it back to the icon... in xfce 4.8 it used to work fine.
    Last edited by netonardin (2012-12-10 22:50:20)

    netonardin wrote:
    Radioactiveman wrote:Are you using the latest version?
    I ask because there was a bug and settings were not saved.
    Yes, i'm using 4.10, is there a way to save this option manually?
    Already solved!!
    just need to:
    $ xfce4-panel -s

  • [SOLVED] Conky question

    Is there a way to show the gateway address in the conkyrc file just like you can with an eth0 address?
    Last edited by tyndallc (2010-03-11 21:35:59)

    1. Conky has a manual. It is made of win and text.
    2. If solved, mark thread as solved. Kthxbai.

  • [Solved]Conky says it's 3 hours in the future...

    I'm using a straight up OpenBox desktop and I have been fiddling with conky for a little while. For some reason (and yes, I did a locale-gen, and checked to see that my timezone was set to US/Eastern in rc.conf) Conky, and only Conky, seems to think it is currently 5 pm, when it is just 2 pm.
    Here's my ~/.conkyrc
    #= Conky Options =#
    #=================#
    ## Behaviour
    double_buffer yes
    #no_buffers yes
    update_interval 0.75
    cpu_avg_samples 2
    total_run_times 0
    ## Look
    background no
    draw_borders no
    draw_shades no
    border_margin 8
    border_width 0
    draw_graph_borders yes
    draw_outline no
    default_color black
    default_outline_color black
    default_shade_color black
    color0 4c4c4c
    ## Position & Size
    alignment top_left
    gap_x 50
    gap_y 50
    maximum_width 275
    minimum_size 1250
    ## Font
    #use_xft yes
    #xftalpha 1.0
    #xftfont Vibrocentric:pixelsize=12
    font Sans
    ## Window options
    own_window yes
    own_window_transparent yes
    own_window_type normal
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    #= Displayed Text =#
    #==================#
    TEXT
    ${alignc}$sysname $kernel ($machine)
    ${alignc}${exec whoami} @ $nodename
    ${color0}${alignc}${time %B %d. %Y} | ${color0}${alignc}${time %I:%M:%S}${color}
    $hr
    ${color0}${alignc}-[ sysinfo ]-${color}
    ${color0}UPTIME: ${color}$uptime
    ${color0}CPU: ${color}${freq}MHz (${freq_g}GHz)
    ${color0}RAM: ${color}${memmax}
    ${color0}CPU: ${color}${cpu}% ${cpubar}$
    ${color0}RAM: ${color}${mem}/${memmax}(${memperc}%) ${membar}$
    ${color0}SWP: ${color}${swap}/${swapmax} (${swapperc}%) ${swapbar}$
    $hr
    ${color0}${alignc}-[ battery info ]-${color}
    ${color0} AC: ${color0}${acpiacadapter}
    ${color0} Charge: ${color}${battery_percent BAT0} %
    ${color0} Time remaining: ${color}${battery_time BAT0}
    $hr
    ${color0}${alignc}-[ filesystems ]-${color}
    ${color0}/-------- ${color}${fs_free /}${tab 20}/${tab 5}${fs_size /} ${fs_bar /}
    ${color0}/home---- ${color}${fs_free /home}${tab 20}/${tab 5}${fs_size /home} ${fs_bar /home}
    ${color0}/boot---- ${color}${fs_free /boot}${tab 20}/${tab 5}${fs_size /boot} ${fs_bar /boot}
    ${color0}/Windows- ${color}${fs_free /media/disk}${tab 20}/${tab 5}${fs_size /media/disk} ${fs_bar /media/disk}
    $hr
    ${color0}${alignc}-[ network ]-${color}
    ${color0}Hostname: ${color}${nodename}
    ${color0}Network Name: ${color}${wireless_essid wlan0}
    ${color0}Link Quality: ${color}${wireless_link_qual_perc wlan0}
    ${color0}currin: ${color}${downspeedf wlan0} kB/s${alignr}${color0}total-in: ${color}${totaldown wlan0}
    ${color0}currout: ${color}${upspeedf wlan0} kB/s${alignr}${color0}total-out: ${color}${totalup wlan0}
    $hr
    ${color0}${alignc}-[ processes ]-${color}
    ${color0}total: ${color}${processes}${alignr}${color0}running: ${color}${running_processes}
    ${color0}top 3 (cpu):${color}
    ${top name 1}${tab 15}${top pid 1}${tab 25} ${top cpu 1}%
    ${top name 2}${tab 15}${top pid 2}${tab 25} ${top cpu 2}%
    ${top name 3}${tab 15}${top pid 3}${tab 25} ${top cpu 3}%
    ${color0}top 3 (mem):${color}
    ${top_mem name 1}${tab 15}${top_mem pid 1}${tab 25} ${top_mem mem 1}%
    ${top_mem name 2}${tab 15}${top_mem pid 2}${tab 25} ${top_mem mem 2}%
    ${top_mem name 3}${tab 15}${top_mem pid 3}${tab 25} ${top_mem mem 3}%
    The time code was originally {time %B %d. %Y | %I:%M:%S} I expanded it to see if it might have been the issue.  It wasn't, so in the course of writing this post, I swapped it back.
    Tint2 doesn't have this issue, but I feel that the time off to the side disrupts the look of the bar. I haven't tinkered with it enough to put the time in the center, between the two desktop bars, if it is even possible. 
    Ok.. I just double checked myself to make sure that tint2 wasn't displaying incorrectly, and it is, so this is something other than just conky. Hmm... I did just reset my locale, maybe a restart would help. (That sounds like typical Windows advice!)
    I will report back after the reboot.
    BRB
    Update:
    Restart did not fix the issue. I do find this a little strange that my clock is telling me that I am sitting in the center of the Atlantic Ocean, and I have no way of resetting it.
    Ok...   easiest  solve ever. I feel like an idiot.
    sudo date MMDDhhmm
    Got it here http://www.linuxsa.org.au/tips/time.html#wrongtime
    Last edited by LeoSolaris (2009-01-12 19:33:19)

    dhave wrote:
    LeoSolaris wrote:Conky says it's 3 hours in the future...
    Hmm. This could be a good thing. What does Conky say about the Dow Jones Industrial Average three hours from now? And I'd like to check back with you on Superbowl Sunday, if I may....
    Dow 1.53% down.  I am sure the Superbowl's scores will be coming in on schedule.
    Thanks for the note about time sync'ing. I may just do that.
    Last edited by LeoSolaris (2009-01-13 00:45:19)

  • Conky on xfce and transparency

    I couldn't get Conky to run on my xfce desktop. It would appear briefly at startup, then die.
    Resetting the 'Transparency' options all the back to 'Opaque' resolved the problem for me.
    (Menu --> Settings --> Window Mgr Tweaks --> Compositor)
    Hope this helps someone else.
    UPDATE: It helped for a while. After tweaking ~/.conkyrc the problem re-occurred. I even re-loaded the original .conkyrc and any simple tweak & save to it cause conky to stop and I must manually restart it.
    Last edited by stephenesherman (2009-09-19 17:39:18)

    My conkyrc is here:
    http://pastebin.com/m506c40b2
    Since my original post I have used delay script
    #!/bin/bash
    sleep 15
    /usr/bin/conky
    which causes it to start 15 seconds after  xfce
    ... a real 'band-aid' approach, but helps.
    At the moment, I just made a simple change to conkyrc (a font grey to yellow). There are now two conky sessions running.
    I've tried various 'own_window ...' settings, here they are currently
    own_window override
    own_window_class Conky
    own_window_type desktop
    own_window_transparent yes
    Thanks much.
    Last edited by stephenesherman (2009-09-21 00:55:31)

  • [Solved] Conky cpu temp config.

    I am trying to get conky to display my cpu temp from my Asus Sabertooth 990X motherboard.
    [neil@sabertooth ~]$ sensors
    fam15h_power-pci-00c4
    Adapter: PCI adapter
    power1: 11.99 W (crit = 95.04 W)
    k10temp-pci-00c3
    Adapter: PCI adapter
    temp1: +6.8°C (high = +70.0°C)
    (crit = +90.0°C, hyst = +87.0°C)
    nouveau-pci-0100
    Adapter: PCI adapter
    temp1: +49.0°C (high = +100.0°C, crit = +110.0°C)
    it8721-isa-0290
    Adapter: ISA adapter
    in0: +2.80 V (min = +2.00 V, max = +1.50 V) ALARM
    in1: +2.86 V (min = +2.45 V, max = +2.99 V)
    in2: +1.01 V (min = +3.05 V, max = +2.47 V) ALARM
    +3.3V: +3.36 V (min = +0.36 V, max = +3.72 V)
    in4: +0.65 V (min = +2.87 V, max = +2.77 V) ALARM
    in5: +2.51 V (min = +2.84 V, max = +1.22 V) ALARM
    in6: +2.06 V (min = +2.29 V, max = +2.28 V) ALARM
    3VSB: +2.52 V (min = +5.88 V, max = +4.56 V) ALARM
    Vbat: +3.31 V
    fan1: 0 RPM (min = 14 RPM) ALARM
    fan2: 0 RPM (min = 20 RPM) ALARM
    fan3: 0 RPM (min = 11 RPM) ALARM
    temp1: +33.0°C (low = -5.0°C, high = +127.0°C) sensor = thermistor
    temp2: +29.0°C (low = -9.0°C, high = -6.0°C) sensor = thermistor
    temp3: -128.0°C (low = -34.0°C, high = -66.0°C) sensor = disabled
    intrusion0: OK
    Conky config line at the moment;
    ${execi 60 sensors | grep "temp1:"} °C
    gives me;
    The problem is that there are 3x'temp1' possibilities.
    I want to display this 'temp1';
    temp1:        +33.0°C  (low  =  -5.0°C, high = +127.0°C)  sensor = thermistor
    How do I set the cony config line to display this thermistor?
    Last edited by ancleessen4 (2012-04-16 19:51:31)

    Thanks to some further input from the guys over at Archbang and some further research I found the solution (a) to remove the weird 'A' character;
    http://crunchbanglinux.org/forums/topic … ut-solved/
    So, in conky I had to change;
    override_utf8_locale no
    to
    override_utf8_locale yes
    And (b) just for reference, I now have two options for cpu temp;
    CPU temp option1:$alignr${hwmon 4 temp 1}°C
    CPU temp option2:$alignr${execi 10 sensors | grep ^temp1 | tail -n 1 |awk '{print $2}'}
    Thanks for all the help everybody.

  • [SOLVED] Conky troubles with Gnome

    I don't know if I am making some obvious, easily correctable mistake, or if this is a known bug. I have looked on the wiki and all I could find about Conky on Gnome was a short little thing that caused this problem:
    http://imgur.com/jQPBsDq
    Here is my .conkyrc file:
    # Conky, a system monitor, based on torsmo
    # Any original torsmo code is licensed under the BSD license
    # All code written since the fork of torsmo is licensed under the GPL
    # Please see COPYING for details
    # Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
    # Copyright (c) 2005-2010 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
    # All rights reserved.
    # This program is free software: you can redistribute it and/or modify
    # it under the terms of the GNU General Public License as published by
    # the Free Software Foundation, either version 3 of the License, or
    # (at your option) any later version.
    # This program is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    # GNU General Public License for more details.
    # You should have received a copy of the GNU General Public License
    # along with this program. If not, see <http://www.gnu.org/licenses/>.
    own_window yes
    own_window_type conky
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    alignment lower_right
    background yes
    border_width 1
    cpu_avg_samples 2
    default_color white
    default_outline_color white
    default_shade_color white
    draw_borders no
    draw_graph_borders yes
    draw_outline no
    draw_shades no
    use_xft yes
    xftfont DejaVu Sans Mono:size=12
    gap_x 5
    gap_y 60
    minimum_size 5 5
    net_avg_samples 2
    no_buffers yes
    out_to_console no
    out_to_stderr no
    extra_newline no
    stippled_borders 0
    update_interval 1.0
    uppercase no
    use_spacer none
    show_graph_scale no
    show_graph_range no
    TEXT
    ${scroll 16 $nodename - $sysname $kernel on $machine | }
    $hr
    ${color grey}Uptime:$color $uptime
    ${color grey}Frequency (in MHz):$color $freq
    ${color grey}Frequency (in GHz):$color $freq_g
    ${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
    ${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}
    ${color grey}CPU Usage:$color $cpu% ${cpubar 4}
    ${color grey}Processes:$color $processes ${color grey}Running:$color $running_processes
    $hr
    ${color grey}File systems:
    / $color${fs_used /}/${fs_size /} ${fs_bar 6 /}
    ${color grey}Networking:
    Up:$color ${upspeed eth0} ${color grey} - Down:$color ${downspeed eth0}
    $hr
    ${color grey}Name PID CPU% MEM%
    ${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
    ${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
    ${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
    ${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
    Has anyone else discovered a way to make conky work transparently with Gnome as a DE?
    Thanks for the help!
    Last edited by treeman1111 (2013-02-17 22:21:02)

    treeman1111 wrote:All you do is follow me around and tell me what I am doing wrong.
    Thats because you keep exhibiting the same behaviours, despite being asked not to.
    I'll link you (again) to the Forum Etiquette. Please read all of it.
    Don't expect that help vampirism will be tolerated here, it won't.
    I'll also remind you of the Arch Way
    This user-centric design necessarily implies a certain "do-it-yourself" approach to using the Arch distribution. Rather than pursuing assistance or requesting a new feature to be implemented by developers, Arch Linux users have a tendency to solve problems themselves and generously share the results with the community and development team – a "do first, then ask" philosophy.

  • [Solved]Conky causes desktop icons to dissappear

    I decided to fool around with conky, since I saw the thread lower down in the forums.  I kinda mashed some code together and I have a conky I like (though I cant get all the modules working...) but, activating conky causes my desktop icons to dissapear (and re-appear if I mouse over).  It's my frist time actually using conky...so I might have messed up something in my (well, a mash of other's) code.
    # set to yes if you want tormo to be forked in the background
    background yes
    cpu_avg_samples 2
    net_avg_samples 2
    out_to_console no
    # X font when Xft is disabled, you can pick one with program xfontsel
    #font 7x12
    #font *mintsmild.se*
    # Use Xft?
    use_xft yes
    # Xft font when Xft is enabled
    xftfont Bitstream Vera Sans Mono:size=8
    # 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 no
    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes
    # Minimum size of text area
    minimum_size 230 5
    maximum_width 250
    # Draw shades?
    draw_shades no
    # 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 black
    # Text alignment, other possible values are commented
    #alignment top_left
    #alignment top_right
    #alignment bottom_left
    alignment bottom_right
    # Gap between borders of screen and text
    gap_x 13
    gap_y 25
    # Add spaces to keep things from moving about? This only affects certain objects.
    use_spacer no
    # Subtract file system buffers from used memory?
    no_buffers yes
    # set to yes if you want all text to be in uppercase
    uppercase no
    # stuff after 'TEXT' will be formatted on screen
    TEXT
    ${color #88aadd}$nodename - $sysname$kernel $machine
    $hr
    ${color lightgrey}
    ${execp ~/.conkycalendar.sh}
    #$hr
    #${execi -l ~/.conkyforecast.py}
    $hr
    ${color #88aadd}System Info:
    ${color lightgrey}CORE 0:${color} ${cpu 0}${color lightgrey}% ${alignr}${offset -49}${color}${freq_g 0} ${color lightgrey}Ghz
    ${color lightgrey}CORE 1:${color} ${cpu 1}${color lightgrey}% ${alignr}${offset -49}${color}${freq_g 1} ${color lightgrey}Ghz
    ${color lightgrey}CORE 2:${color} ${cpu 2}${color lightgrey}% ${alignr}${offset -49}${color}${freq_g 2} ${color lightgrey}Ghz
    ${color lightgrey}Uptime: ${color}$uptime
    ${color lightgrey}Processes:$color $running_processes/$processes ${offset 6}${color lightgrey}Load:$color ${loadavg 3}
    ${color lightgrey}RAM:$color $mem${color lightgrey} /${color}$memmax ( $memperc% )
    ${color lightgrey}Swap:$color $swap${color lightgrey} / ${color}$swapmax ( $swapperc% )
    $hr
    ${color #88aadd}Top CPU:
    ${color lightgrey}Name CPU%
    ${color lightgrey}${top name 1} ${top cpu 1}%
    ${color lightgrey}${top name 2} ${top cpu 2}%
    ${color lightgrey}${top name 3} ${top cpu 3}%
    ${color lightgrey}${top name 4} ${top cpu 4}%
    $hr
    ${color #88aadd}Top Memory:
    ${color lightgrey}Name PID CPU% MEM%
    ${color}${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
    ${color}${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
    ${color}${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
    ${color}${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}
    $hr
    ${color #88aadd}Network:
    ${color lightgrey}Net: $color${addr eth0}${offset 6}${color lightgrey}
    #Essid: ${color}${exec sudo iwconfig eth0 | grep "ESSID" | cut -c 32-45}
    ${color lightgrey}Up:${color} ${upspeedf eth0} k/s${color lightgrey}${alignr}${color lightgrey}Tot:${color} ${totalup eth0} ${color lightgrey}
    ${color lightgrey}Down: ${color}${downspeedf eth0} k/s ${alignr}${color lightgrey}Tot:${color} ${totaldown eth0}
    Local Ip ${alignr}${addr eth0}
    Public Ip ${alignr}${execp ~/.conkyip.sh}
    $hr
    ${voffset 5}${color #88aadd}Disks:
    / $color${fs_used /} / ${fs_size} (${fs_free /})${fs_used_perc /}${color lightgrey}%${offset 5}
    ${color #88aadd}Win7 $color${fs_used /media/Windows7} / ${fs_size /media/Windows7} (${fs_free /media/Windows7})${fs_used_perc /media/Windows7}${color lightgrey}%${offset 5}
    ${color #88aadd}DataI $color${fs_used /media/DATA} / ${fs_size /media/DATA} (${fs_free /media/DATA})${fs_used_perc /media/DATA}${color lightgrey}%${offset 5}
    ${color #88aadd}DataII $color${fs_used /media/DataII} / ${fs_size /media/DataII} (${fs_free /media/DataII})${fs_used_perc /media/DataII}${color lightgrey}%${offset 5}
    ${color #88aadd}Win7 $color${fs_used /media/DataII} / ${fs_size /media/DataII} (${fs_free /media/DataII})${fs_used_perc /media/DataII}${color lightgrey}%${offset 5}
    #$hr
    #${color #88aadd}Banshee - ${execi 15 ~/conkyshee.py --status}${alignr}#${offset -22}
    # $color artist: ${color #88aadd}${execi 15 ~/conkyshee.py --artist}
    # $color track: ${color #88aadd}${execi 15 ~/conkyshee.py --title}${voffset 5}
    Last edited by JerichoKru (2010-02-01 06:55:18)

    Maybe try:
    double_buffer yes
    own_window yes
    own_window_transparent yes
    own_window_type normal
    own_window_hints undecorate,sticky,skip_taskbar,skip_pager

  • [SOLVED] Conky: After 2.6.37 update, conky no longer shows temperature

    Well, the title is quite self-explanatory but I'd also like to add that:
    I noticed that conky reads correct values and after exactly 3 refreshes it just displays 0, no matter how long is the update interval.
    /sys/class/hwmon displays correct values, and 'acpi -t' also does too (they are always the same).
    My conky config had $acpitemp before the update, and after the update I had to change it to ${hwmon 0 temp 1} because $acpitemp displayed no values whatsoever.
    My .conkyrc in case anyone is interested:
    out_to_x no
    alignment bottom_left
    background no
    border_width 0
    cpu_avg_samples 2
    default_color white
    default_outline_color white
    default_shade_color white
    disable_auto_reload yes
    draw_borders no
    draw_graph_borders yes
    draw_outline no
    draw_shades no
    double_buffer yes
    use_xft yes
    xftfont Clean:size=10
    gap_x 0
    gap_y 0
    minimum_size 5 15
    net_avg_samples 2
    no_buffers no
    out_to_stderr no
    extra_newline no
    own_window no
    own_window_class Conky
    own_window_type desktop
    own_window_transparent no
    own_window_colour 222222
    stippled_borders 0
    update_interval 2
    uppercase no
    use_spacer none
    show_graph_scale no
    show_graph_range no
    out_to_console yes
    TEXT
    ${hwmon 0 temp 1}C \
    $battery \
    ${wireless_essid wlan0} (${wireless_link_qual_perc wlan0}%) \
    $if_mpd_playing \
    ${mpd_smart 30}\
    $endif \
    | ${time %a %d %b %Y %H:%M}
    My final conclusion is that the problem is with conky itself, but this guy here managed to get it working:
    https://bbs.archlinux.org/viewtopic.php?id=111408
    EDIT: After posting here I thought "why don't I take out all these X related options?" and finally did it after so much time. And it worked, but I dunno why.
    I also tried your suggestion, litemov, but it didn't show anything at all (not even that 0), but thanks anyway
    Final .conkyrc
    out_to_x no
    update_interval 2
    out_to_console yes
    TEXT
    ${hwmon 0 temp 1}C \
    $battery \
    ${wireless_essid wlan0} (${wireless_link_qual_perc wlan0}%) \
    $if_mpd_playing \
    ${mpd_smart 30}\
    $endif \
    | ${time %a %d %b %Y %H:%M}
    Last edited by Fadel (2011-01-31 18:45:50)

    I'm using:
    ${platform coretemp.0 temp 1}
    Does that do anything for you?

  • [SOLVED] conky-lua build fails due to toluapp package issues

    I am trying to install conky-lua from AUR on 64 bit Arch and failing miserably.
    When running the following:
    yaourt -Sy conky-lua
    I get the following error:
    /usr/bin/ld: /usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.2/../../../../lib/libtolua++.a(tolua_is.o): relocation R_X86_64_32S against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
    /usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.2/../../../../lib/libtolua++.a: could not read symbols: Bad value
    collect2: ld returned 1 exit status
    make[1]: *** [libcairo.la] Error 1
    make[1]: Leaving directory `/tmp/yaourt-tmp-mark/aur-conky-lua/conky-lua/src/conky-1.7.2/lua'
    make: *** [all-recursive] Error 1
    ==> ERROR: Build Failed.
    Aborting...
    Error: Makepkg was unable to build conky-lua package.
    I have read through what search results I can find on the topic (both here and via google) and have attempted to remedy the situation by adding build options to the toluapp build to provide for the conky-lua build. I have tried this by adding CCFLAGS = '-fPIC' to the scons call in the PKGBUILD file, I have also tried editing the config_linux.py file, which sits along side the main build file, to include the -fPIC switch also, which doesn't work either. i.e. I have this in the config_linux.py now:
    CCFLAGS = ['-O2', '-ansi', '-Wall', '-fPIC']
    Which doesn't work, it results in:
    ==> Validating source files with md5sums...
    tolua++-1.0.93.tar.bz2 ... Passed
    config_linux.py ... FAILED
    ==> ERROR: One or more files did not pass the validity check!
    Error: Makepkg was unable to build toluapp package.
    Can someone help me through a build as I have never come across scons before and maybe I am providing directives to the toluapp build incorrectly? I am still thinking in "make" terms...
    I NEED lua in conky
    Thanks in advance
    Regards,
    Kaivalagi
    Last edited by kaivalagi (2009-11-11 07:32:04)

    I was asked by email on what exactly I did to get conky-lua installed and working on 64bit Arch, so I thought I would post my reply below in case it is of help to anyone else. Cheers
    Run "yaourt -S conky-lua". Amongst other things this will try to install a dependancy which you need to mess about with, the package you need to edit is "toluapp".
    When the "toluapp" package is downloaded by yaourt answer y to the edit question and provide something like gedit or kate as the editor to use
    You'll now see the PKGBUILD file in the editor, this doesn't need editing just yet. But if you open file from the editor you'll see the directory thie PKGBUILD is in, and you want to edit the config_linux.py file you'll see there.
    You should see this line in the config_linux.py file:
    CCFLAGS = ['-O2', '-ansi', '-Wall']
    Change it so it is like this:
    CCFLAGS = ['-O2', '-ansi', '-Wall', '-fPIC']
    Now, back to the PKGBUILD file, you'll see this line:
    md5sums=('100aa6907b8108582080b37d79c0afd7' 'bab107cdd2d18d3453a2344341b77c45')
    These checksums line up with tarball and config_linux.py files, and this will stop you're edit from working if not amended because the .py file isn't what it should be, we changed it. So run md5sum against the .py file and update the second checksum in the line appropriately.
    Carry on with the package installation and conky should have lua support
    Last edited by kaivalagi (2010-01-14 08:50:55)

  • [SOLVED] Conky, Gmail, and STDOUT Question

    I currently have Conky working with a script to check my gmail (gmail.pl).  It works as intended in conky, but it saves all the output from the script to STDOUT.  This isn't a problem until I log out of openbox and my screen is filled with these things:
    --2008-10-03 09:28:50-- https://<username>:*password*@mail.google.com/mail/feed/atom
    Resolving mail.google.com... 209.85.147.83, 209.85.147.19, 209.85.147.18
    Connecting to mail.google.com|209.85.147.83|:443... connected.
    HTTP request sent, awaiting response... 401 Unauthorized
    Connecting to mail.google.com|209.85.147.83|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: unspecified [text/xml]
    Saving to: `STDOUT'
    [ <=> ] 1,005 --.-K/s in 0s
    2008-10-03 09:28:51 (244 MB/s) - `-' saved [1005]
    It's not really a problem as much as an annoyance I guess.
    What I THINK I would like to do is pipe the output to /dev/null?  Or save it to /dev/null?  I am just not sure how to do this.  I went through the script itself and couldn't figure it out.  Any ideas?  Here is the script:
    #!/usr/bin/perl
    use Switch;
    use Text::Wrap;
    my $what=$ARGV[0];
    $user="<username>"; #username for gmail account
    $pass="<password>"; #password for gmail account
    $file="/tmp/gmail.html"; #temporary file to store gmail
    #wrap format for subject
    $Text::Wrap::columns=65; #Number of columns to wrap subject at
    $initial_tab=""; #Tab for first line of subject
    $subsequent_tab="\t"; #tab for wrapped lines
    $quote="\""; #put quotes around subject
    #limit the number of emails to be displayed
    $emails=4; #if -1 display all emails
    &passwd; #give password the proper url character encoding
    switch($what){ #determine what the user wants
    case "n" {&gmail; print "$new\n";} #print number of new emails
    case "s" { #print $from and $subj for new email
    &gmail;
    if ($new>0){
    my $size=@from;
    if ($emails!=-1 && $size>$emails){$size=$emails;} #limit number of emails displayed
    for(my $i=0; $i<$size; ++$i){
    print "From: $from[$i]\n"; #print from line
    $text=$quote.$subj[$i].$quote."\n";
    print wrap($initial_tab, $subsequent_tab, $text); #print subject with word wrap
    $size=@from;
    if ($emails!=-1 && $size >$emails){print "$emails out of $size new emails displayed\n";}
    case "e" { #print number of new emails, $from, and $subj
    &gmail;
    if($new==0){print "You have no new emails.\n";}
    else{
    print "You have $new new email(s).\n";
    my $size=@from;
    if ($emails!=-1 && $size>$emails){$size=$emails;} #limit number of emails displayed
    for(my $i=0; $i<$size; ++$i){
    print "From: $from[$i]\n"; #print from line
    $text=$quote.$subj[$i].$quote;
    print wrap($initial_tab, $subsequent_tab, $text); #print subject with word wrap
    $size=@from;
    if ($emails!=-1 && $size >$emails){print "$emails out of $size new emails displayed\n";}
    else {
    print "Usage Error: gmail.pl <option>\n";
    print "\tn displays number of new emails\n";
    print "\ts displays from line and subject line for each new email.\n";
    print "\te displays the number of new emails and from line plus \n";
    print "\t\tsubject line for each new email.\n";
    } #didn't give proper option
    sub gmail{
    if(!(-e $file)){ #create file if it does not exists
    `touch $file`;
    #get new emails
    `wget -O - https://$user:$pass\@mail.google.com/mail/feed/atom --no-check-certificate> $file`;
    open(IN, $file); #open $file
    my $i=0; #initialize count
    $new=0; #initialize new emails to 0
    my $flag=0;
    while(<IN>){ #cycle through $file
    if(/<entry>/){$flag=1;}
    elsif(/<fullcount>(\d+)<\/fullcount>/){$new=$1;} #grab number of new emails
    elsif($flag==1){
    if(/<title>.+<\/title>/){push(@subj, &msg);} #grab new email titles
    elsif(/<name>(.+)<\/name>/){push(@from, $1); $flag=0;} #grab new email from lines
    close(IN); #close $file
    sub passwd{ #change to url escape codes in password
    #URL ESCAPE CODES
    $_=$pass;
    s/\%/\%25/g;
    s/\#/\%23/g;
    s/\$/\%24/g;
    s/\&/\%26/g;
    s/\//\%2F/g;
    s/\:/\%3A/g;
    s/\;/\%3B/g;
    s/\</\%3C/g;
    s/\=/\%3D/g;
    s/\>/\%3E/g;
    s/\?/\%3F/g;
    s/\@/\%40/g;
    s/\[/\%5B/g;
    s/\\/\%5C/g;
    s/\]/\%5D/g;
    s/\^/\%5E/g;
    s/\`/\%60/g;
    s/\{/\%7B/g;
    s/\|/\%7C/g;
    s/\}/\%7D/g;
    s/\~/\%7E/g;
    $pass=$_;
    sub msg{
    #THE HTML CODED CHARACTER SET [ISO-8859-1]
    chomp; s/<title>(.+)<\/title>/$1/; #get just the subject
    #now replace any special characters
    s/\&\#33\;/!/g; #Exclamation mark
    s/\&\#34\;/"/g; s/\&quot\;/"/g; #Quotation mark
    s/\&\#35\;/#/g; #Number sign
    s/\&\#36\;/\$/g; #Dollar sign
    s/\&\#37\;/%/g; #Percent sign
    s/\&\#38\;/&/g; s/\&amp\;/&/g; #Ampersand
    s/\&\#39\;/'/g; #Apostrophe
    s/\&\#40\;/(/g; #Left parenthesis
    s/\&\#41\;/)/g; #Right parenthesis
    s/\&\#42\;/*/g; #Asterisk
    s/\&\#43\;/+/g; #Plus sign
    s/\&\#44\;/,/g; #Comma
    s/\&\#45\;/-/g; #Hyphen
    s/\&\#46\;/./g; #Period (fullstop)
    s/\&\#47\;/\//g; #Solidus (slash)
    s/\&\#58\;/:/g; #Colon
    s/\&\#59\;/\;/g; #Semi-colon
    s/\&\#60\;/</g; s/\&lt\;/</g; #Less than
    s/\&\#61\;/=/g; #Equals sign
    s/\&\#62\;/>/g; s/\&gt\;/>/g; #Greater than
    s/\&\#63\;/\?/g; #Question mark
    s/\&\#64\;/\@/g; #Commercial at
    s/\&\#91\;/\[/g; #Left square bracket
    s/\&\#92\;/\\/g; #Reverse solidus (backslash)
    s/\&\#93\;/\]/g; #Right square bracket
    s/\&\#94\;/\^/g; #Caret
    s/\&\#95\;/_/g; #Horizontal bar (underscore)
    s/\&\#96\;/\`/g; #Acute accent
    s/\&\#123\;/\{/g; #Left curly brace
    s/\&\#124\;/|/g; #Vertical bar
    s/\&\#125\;/\}/g; #Right curly brace
    s/\&\#126\;/~/g; #Tilde
    s/\&\#161\;/¡/g; #Inverted exclamation
    s/\&\#162\;/¢/g; #Cent sign
    s/\&\#163\;/£/g; #Pound sterling
    s/\&\#164\;/¤/g; #General currency sign
    s/\&\#165\;/¥/g; #Yen sign
    s/\&\#166\;/¦/g; #Broken vertical bar
    s/\&\#167\;/§/g; #Section sign
    s/\&\#168\;/¨/g; #Umlaut (dieresis)
    s/\&\#169\;/©/g; s/\&copy\;/©/g; #Copyright
    s/\&\#170\;/ª/g; #Feminine ordinal
    s/\&\#171\;/«/g; #Left angle quote, guillemotleft
    s/\&\#172\;/¬/g; #Not sign
    s/\&\#174\;/®/g; #Registered trademark
    s/\&\#175\;/¯/g; #Macron accent
    s/\&\#176\;/°/g; #Degree sign
    s/\&\#177\;/±/g; #Plus or minus
    s/\&\#178\;/²/g; #Superscript two
    s/\&\#179\;/³/g; #Superscript three
    s/\&\#180\;/´/g; #Acute accent
    s/\&\#181\;/µ/g; #Micro sign
    s/\&\#182\;/¶/g; #Paragraph sign
    s/\&\#183\;/·/g; #Middle dot
    s/\&\#184\;/¸/g; #Cedilla
    s/\&\#185\;/¹/g; #Superscript one
    s/\&\#186\;/º/g; #Masculine ordinal
    s/\&\#187\;/»/g; #Right angle quote, guillemotright
    s/\&\#188\;/¼/g; s/\&frac14\;/¼/g; # Fraction one-fourth
    s/\&\#189\;/½/g; s/\&frac12\;/½/g; # Fraction one-half
    s/\&\#190\;/¾/g; s/\&frac34\;/¾/g; # Fraction three-fourths
    s/\&\#191\;/¿/g; #Inverted question mark
    s/\&\#192\;/À/g; #Capital A, grave accent
    s/\&\#193\;/Á/g; #Capital A, acute accent
    s/\&\#194\;/Â/g; #Capital A, circumflex accent
    s/\&\#195\;/Ã/g; #Capital A, tilde
    s/\&\#196\;/Ä/g; #Capital A, dieresis or umlaut mark
    s/\&\#197\;/Å/g; #Capital A, ring
    s/\&\#198\;/Æ/g; #Capital AE dipthong (ligature)
    s/\&\#199\;/Ç/g; #Capital C, cedilla
    s/\&\#200\;/È/g; #Capital E, grave accent
    s/\&\#201\;/É/g; #Capital E, acute accent
    s/\&\#202\;/Ê/g; #Capital E, circumflex accent
    s/\&\#203\;/Ë/g; #Capital E, dieresis or umlaut mark
    s/\&\#204\;/Ì/g; #Capital I, grave accent
    s/\&\#205\;/Í/g; #Capital I, acute accent
    s/\&\#206\;/Î/g; #Capital I, circumflex accent
    s/\&\#207\;/Ï/g; #Capital I, dieresis or umlaut mark
    s/\&\#208\;/Ð/g; #Capital Eth, Icelandic
    s/\&\#209\;/Ñ/g; #Capital N, tilde
    s/\&\#210\;/Ò/g; #Capital O, grave accent
    s/\&\#211\;/Ó/g; #Capital O, acute accent
    s/\&\#212\;/Ô/g; #Capital O, circumflex accent
    s/\&\#213\;/Õ/g; #Capital O, tilde
    s/\&\#214\;/Ö/g; #Capital O, dieresis or umlaut mark
    s/\&\#215\;/×/g; #Multiply sign
    s/\&\#216\;/Ø/g; #Capital O, slash
    s/\&\#217\;/Ù/g; #Capital U, grave accent
    s/\&\#218\;/Ú/g; #Capital U, acute accent
    s/\&\#219\;/Û/g; #Capital U, circumflex accent
    s/\&\#220\;/Ü/g; #Capital U, dieresis or umlaut mark
    s/\&\#221\;/Ý/g; #Capital Y, acute accent
    s/\&\#222\;/Þ/g; #Capital THORN, Icelandic
    s/\&\#223\;/ß/g; #Small sharp s, German (sz ligature)
    s/\&\#224\;/à/g; #Small a, grave accent
    s/\&\#225\;/á/g; #Small a, acute accent
    s/\&\#226\;/â/g; #Small a, circumflex accent
    s/\&\#227\;/ã/g; #Small a, tilde
    s/\&\#228\;/ä/g; #Small a, dieresis or umlaut mark
    s/\&\#229\;/å/g; #Small a, ring
    s/\&\#230\;/æ/g; #Small ae dipthong (ligature)
    s/\&\#231\;/ç/g; #Small c, cedilla
    s/\&\#232\;/è/g; #Small e, grave accent
    s/\&\#233\;/é/g; #Small e, acute accent
    s/\&\#234\;/ê/g; #Small e, circumflex accent
    s/\&\#235\;/ë/g; #Small e, dieresis or umlaut mark
    s/\&\#236\;/ì/g; #Small i, grave accent
    s/\&\#237\;/í/g; #Small i, acute accent
    s/\&\#238\;/î/g; #Small i, circumflex accent
    s/\&\#239\;/ï/g; #Small i, dieresis or umlaut mark
    s/\&\#240\;/ð/g; #Small eth, Icelandic
    s/\&\#241\;/ñ/g; #Small n, tilde
    s/\&\#242\;/ò/g; #Small o, grave accent
    s/\&\#243\;/ó/g; #Small o, acute accent
    s/\&\#244\;/ô/g; #Small o, circumflex accent
    s/\&\#245\;/õ/g; #Small o, tilde
    s/\&\#246\;/ö/g; #Small o, dieresis or umlaut mark
    s/\&\#247\;/÷/g; #Division sign
    s/\&\#248\;/ø/g; #Small o, slash
    s/\&\#249\;/ù/g; #Small u, grave accent
    s/\&\#250\;/ú/g; #Small u, acute accent
    s/\&\#251\;/û/g; #Small u, circumflex accent
    s/\&\#252\;/ü/g; #Small u, dieresis or umlaut mark
    s/\&\#253\;/ý/g; #Small y, acute accent
    s/\&\#254\;/þ/g; #Small thorn, Icelandic
    s/\&\#255\;/ÿ/g; #Small y, dieresis or umlaut mark
    s/^\s+//;
    return $_;
    Last edited by monstermudder78 (2008-10-03 20:34:04)

    The fix was to change conky from:
    ${execi 60 perl ~/scripts/gmail.pl n}
    To:
    ${execi 60 perl ~/scripts/gmail.pl n 2>/dev/null}
    (Added 2>/dev/null, sending the error messages to /dev/null.)
    Last edited by monstermudder78 (2008-10-03 20:37:19)

Maybe you are looking for