[SOLVED] Conky/ifconifg no up/down-speed

Hi,
Conky shows no downspeed or upspeed.
ifconfig also shows no downspeed or upspeed.
iftop does show the speed of up and down traffic.
Eth: 03:00.0 Ethernet controller: Qualcomm Atheros Killer E2200 Gigabit Ethernet Controller (rev 13)
Box: Linux archbeast 3.13.7-1-ARCH #1 SMP PREEMPT Mon Mar 24 20:06:08 CET 2014 x86_64 GNU/Linux
At the moment of test; downloading 1MB/s and uploading 1MB/s
[thijs@archbeast ~]$ ifconfig
enp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 76.83.1.135 netmask 255.255.255.0 broadcast 76.83.1.255
inet6 xx:xx:xx:xx:xx prefixlen 64 scopeid 0x20<link>
ether xx:xx:xx:xx:xx txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 17
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 78483 bytes 16327096 (15.5 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 78483 bytes 16327096 (15.5 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
I think Conky will work when stats are back in ifconfig. When I run Debian 7 or Mint 16 on this machine; all is well.
Cheerio
Last edited by Thijxx (2014-11-17 08:06:31)

I did nothing unusual when following the beginners guide when I installed Arch. BTW, you may want to edit your post and xx out you MAC addy for security reasons. It's not wise to share.
$ ifconfig
enp5s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.14 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::76d4:35ff:fe56:ed09 prefixlen 64 scopeid 0x20<link>
ether xx:xx:xx:xx:xx:xx txqueuelen 1000 (Ethernet)
RX packets 13807694 bytes 16561364557 (15.4 GiB)
RX errors 0 dropped 10 overruns 0 frame 0
TX packets 12601230 bytes 11800214551 (10.9 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 643 bytes 42216 (41.2 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 643 bytes 42216 (41.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
My network portion of Conky:
######### NETWORK ###############
${color CC9900}${font Arial:style=Bold}NETWORK ${hr 2}$color$font
${color2}IP on enp5s0: ${color}${alignr}${execi 3600 curl -s http://192.168.1.1|grep 'wan_ipaddr'|awk '{print $1,$2}'|sed 's/<span id="wan_ipaddr">//'|sed 's!</span>&nbsp;!!'}
${color2}Down ${color}$alignr ${downspeedf enp5s0} kb/s
${color2}Up ${color}$alignr ${upspeedf enp5s0} kb/s

Similar Messages

  • [Solved] Conky doesn't show network speed

    Hello Archers!
    I have my old conky config with net speed indication which worked in past but stopped working this installation. My user is in “network” group and I have
    ${font monospace:bold:size=10}NETWORK ${hr 2}
    ${font monospace:normal:size=10}Download: ${alignr}${downspeedf eth0} KB/s
    Upload: ${alignr}${upspeedf eth0} KB/s
    in my ~/.conkyrc file. It used to show speed in KB/s but now just zeros, all the time. What would be the reason for this malfunction?
    Last edited by Mr. Alex (2013-07-28 09:27:41)

    Mr. Alex wrote:
    jasonwryan wrote:it isn't the smartest thing to post here...
    Yeah, I know Arch maintainers don't accept criticism anymore. But mine wasn't even obvious and yet you pointed that out and called it “not the smartest thing to post here”. Totalitarian regime inside of a distro. Free speech is forbidden. Arch Linux, ladies and gentlemen!
    Read the Etiquette. Your histrionics are as unfounded as your original slur. If you had even the slightest clue of what a totalitarian regime actually involved, you would be ashamed of yourself for that association.
    Don't post here again unless you are prepared to accept responsibility for your own incompetence.
    Closing

  • Extremely slow DSL speeds. Up speed higher than Down speed. Please help.

    I just purchased the 1.1 - 3.0Mbps hi-speed DSL package.
    Verizon speed test shows .17Mbps down and .536Mbps up. This is obviously curious for two reasons: 1) the incredibly slow down speed, and 2) the down speed being slower than the up speed. 
    Curiously, speedtest.net shows different results:
    2.45Mbps down, .55Mbps up
    What could this mean? Transceiver data follows.
    Transceiver Revision 3.3.6.10.0.1
    Vendor ID Code 4D54
    Line Mode ADSL_G.dmt
    Data Path FAST  
    DSL Speed (Kbits/Sec)
    Down Stream Path 3360
    Up Stream Path 864
    Margin (dB)
    Down Stream Path 27.1
    Up Stream Path 16.0
    Line Attenuation (dB)
    Down Stream Path 20.1
    Up Stream Path 8.0
    Transmit Power (dBm)
    Down Stream Path 6.8
    Up Stream Path 11.9
    Thanks in advance for any advice/ assistance you can offer. This is extremely frustrating.
    M King
    Solved!
    Go to Solution.

    OK. It seems as though you're suffering from what some people call "Juniperitus." If you're on a Remote DSLAM that uses Alcatel Litespan equipment (Litespan 2000 for example) along with being connected to a Juniper Networks ERX edge router, there tends to be an incompatibility between the two pieces of equipment that causes TCP connections and pretty much any other form of transfer to see artificial packet loss, which results in transmission. This results in inefficiency in every transfer, so what you're seeing is simply a result of all of this. In the past when Verizon first installed Litespan, they were using older Redback Networks edge routers, which did not create such problems. I'm on a Litespan and happen to still be on a Redback in my area (one of remaining ones still in operation in my area) and I get my max line speed with no issue. It's unfortunate that these actually perform better despite the Junipers being far better edge routers in terms of capacity.
    I know someone who should be able to get this fixed for you. I'll send you a Private Message.
    ========
    The first to bring me 1Gbps Fiber for $30/m wins!

  • I know i can slow down speed in a movie clip but can i and how do i slow down a transition clip? specifically the scrolling credits. it goes so fast i cant read it

    i know i can slow down speed in a movie clip but can i and how do i slow down a transition clip? specifically the scrolling credits. it goes so fast i cant read it

    never mind i found the answer

  • My iPad3 received messages had no content. Solved: 2click home button, hold down mail, click  - upper left, click home

    My iPad3 received messages had no content. Solved: 2click home button, hold down mail, click  - upper left, click home

    That's great. That has also been posted countless times on this forum.

  • 10.9.2 causes slow shut down speed?

    Last week I bought a MacBook Pro retina and one of the many features that impressed me was its shut down speed. For the first 5 days I had been using it, the laptop shutdown in roughly 3 seconds,
    However after I installed 10.9.2 update the shut down speed went up to 20-30 secs. This is with all foreground and background programs closed by the way.
    I can pretty much confirm that the update is responsible because all I have done on the laptop so far is watch some YouTube and write some documents on pages.
    Has this effected anyone else? Is this a known issue or do I have to accept the possibility that my macbook might deteriorate with each update?

    Just something not too far away from these issues.
    I have a 2008 Macbook (not recent I know but bear with me), the machine has 8gb ram and recently (past 6 months) 10.9.0 and an SSD
    I noticed my shutown times were almost instant, longest possibly around 2 seconds after the install of the SSD so as you can imagine, I was delighted, most apps open almost instantly, the usual Safari, Firefox, even Xcode was quite snappy.
    However, recently and by that I mean in the past couple of weeks, the shutdown times has increased to anywhere between 10 and 30 seconds, not new apps installed, not updated to 10.9.1 or 10.9.2
    I guess, my point here is, could it be somehting that has been installed/updated without user concent, obviouly not 10.9.1/2 as I'm still showing 10.9.0 or perhaps just coincidental.

  • [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] Asus L1366 mobo, cpu fan speed control

    Hi, everyone,
    I finally have this new core i7 system, to replace my old AMD athlonx2.  I have one question about the CPU fan speed control.
    I remember that in my old system, the cpu fan speed control works out of box, no configuration is needed.
    But when I install arch 64 on this new i7 system, the cpu fan is running at its maximum speed constantly while the CPU temperature is modestly low. I know there is a wiki teaching how to do it.
    However, I am just curious why it doens't work out of box any more? Does CPU fan control work for you guys out of box normally? especially the new Core i7 cpu users?
    Please let me know, really appreciated it.
    Thanks a lot.
    Update: the issue is solved, see my last post, the solution is blacklisting: asus_atk0110, instead use w83667hg.
    Cheers.
    Last edited by mark.altern (2009-10-01 08:18:18)

    First off, it would be useful to know what the sensors-detect script actually reports.
    Okay. How fan control works on Linux: First, navigate to /sys/class/hwmon
    Each of these folders, i.e. hwmon0, stands for a sensors monitor / fan controller on your mainboard that may control one or several fans. Inside hwmonN, there should be a subfolder called device, which contains several interfaces if your BIOS allows software-side fan control. You can read them with cat and write to them with echo.
    Examples:
    pwm1_enable shows if OS-level fan control is enabled (1) or disabled and in BIOS control (0). Changing fan speed won't work if this is disabled. (i.e. cat /sys/class/hwmon0/device/pwm1_enable reports 0 -> disabled; you could enable it with echo 1 > /sys/class/hwmon0/device/pwm1_enable).
    pwm1 allows to change fan speed. The values range from 0 (fan off) to 255 (full speed, 12V).
    fan1_input shows the current RPM if a fan is connected. You can only read from this interface. Its useful to check all of these in the each of the hwmon folders to find out if there is actually a fan connected to the fan controller (they often have more ports than mainboard manufacturers use).
    There might be a fan1_div, this is somehow related to how the kernel reads the RPM, I don't know how it works.
    temp1_input interfaces can appeare too, if some of the chips have temperature sensors located somewhere. I *think* lm_sensors places the core temperatures it reads from CPU (the coretemp-isa-000X thingies) in one of the hwmon-folders too.
    There might be interfaces for different fans in the same hwmon folder, i.e. pwm2_enable, pwm2, fan2_input, etc., all interfaces with the same index belong to the same physical fan connector, and all in the same hwmonN are managed by the same IC on your mainboard.
    Warning: These interfaces, if they work, control the fans directly without any kind of security measure. If you shut some essential fan down, it will stay off until you reboot your CPU shuts down.
    (If you see something likein0_alarm, in0_input, in0_max, etc. it's a voltage monitoring chip.)
    If one of those interfaces can do something, OS-level fan control does work, if none of those folders contain a working pwm interface, fan control seems to be unavailable.
    Sometimes there is an option in the BIOS to enable it, and for some BIOSs software-side fan control only works if dynamic fan control is disabled in the BIOS and fan speed is set to a static value - or vice versa.
    I don't know what you are using to control fan speed, there are many applications that use these interfaces, i.e. GNOME or KDE power managers, so I'm not sure what is happening:
    IF: Windows 7 enables OS-level fan control and sets it the RPM to those you observed and you have nothing that provides fan control in Arch and so fan control stays at BIOS-level, which might also read out a different sensor / the same sensor differently or it might be more conservative in setting fan speeds altogether;
    OR: You have something that provides fan control installed in Arch and it reads out a the wrong value supplied by lm_sensors and thus sets a higher fan speed.
    Anyway, possible solutions I can think of:
    Find out if you have some kind of fan control software and what it does. For example, I use the fancontrol daemon, I can't help you if you use something else.
    The wiki mentions how to assign a fan speed to a certain temperature sensors. You might assign it to a different one. For example, there are no sensor chips on the mainboard of my EEE (no temp1 etc.) so I assigned the fan speed to the temperature reported by the BIOS via ACPI (those are in /sys/class/thermal, also no "device" subfolder on EEEs):
    FCTEMPS=/sys/class/hwmon/hwmon0/pwm1=/sys/class/thermal/thermal_zone0/temp
    You could also change the MINTEMP/MAXTEMP values to one higher than those you actually want to compensate for the effect of lm_sensors reporting temperatures that are too high.
    It is currently not possible for a mortal user to change the coretemps lm_sensors reads, see this post, last paragraph.
    There is a configuration file, /etc/sensors3.conf, you can change sensor names and adjust offsets here, but only for the monitoring chips and their sensors that are on the mainboard.
    Last edited by Malstrond (2009-08-19 19:34:22)

  • [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)

  • [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

  • Infinity 2 up and down speed, very slow, huge ping...

    Hello wonderful friendly people, i'm looking for a bit of help to narrow down the cause of the terrible internet connection I have.
    I live in a flat in a new build block in Bristol, just moved in with the owner who has had a few different connections with different providers in the last few years but have always been really bad service. He is now paying for Infinity 2 but we experience massively varying internet speed, as low as 0.25 Mb and as high as 20Mb download, but upload seems to be a bit more stable.
    Streaming netflix, downloading files and general browsing is somtimes OK, but mostly terribly slow. It seems the speed goes up and down constantly, hitting rock bottom very often. Playing games is an absolute nightmare. Ping as low as 5, then shoots up to 500 meaning we can't play at all.
    In short, paying a lot for terrible internet. The connection is through the phone line, we have a Homehub 3 but with an ADSL modem, i'm not sure we should be paying for Infinity if it's going through ADSL though? I thought Infinity was only phone line for the last bridge between house and local cabinet?
    I think the problem is with dodgy cabling in the flats. From my experience this is where the problem points to but I want to be sure before I go to BT and ask for them to fix their line problems.
    Here are some results from the last few days from speedtest.net
    Can anyone help me with tests I can do to find where the problems lie, i.e. ping tests, trace routes and the like?
    Cheers!

    Download speedachieved during the test was - 3.89 Mbps
     For your connection, the acceptable range of speedsis 16 Mbps-77.43 Mbps .
     Additional Information:
     IP Profile for your line is - 77.43 Mbps
    Upload speed achieved during the test was - 6.77Mbps
     Additional Information:
     Upstream Rate IP profile on your line is - 20 Mbps
    Thanks

  • [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, 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?

  • [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".

Maybe you are looking for