You are not logged in.

#701 2011-05-01 19:44:22

Sector11
Banned
Registered: 2010-02-25
Posts: 10

Re: conky configs and screenshots!

derblub wrote:

Thanks for your answer Sector11

Now I figured that this was causing the problem:

own_window_type panel

but now my problem is - setting this to "override" removes my transparency and the background gets black and with "normal" I get a transparent background, but very blurry whiteish/greyish "background shade", making my white font almost unreadable.

see this screenshot with the "normal" setting:
http://img51.imageshack.us/img51/4971/conkynormal.th.png

OK, on the right track --- I'm not a KDE user so it's touch and go  big_smile

Zom looks like he's got some help as well.

I have NO IDEA is this will help, but it is worth looking at: Conky KDE Transparency or one of my favourites: Compiz shadow problem

Hope one of the three help, remembering Zom.

Last edited by Sector11 (2011-05-01 19:44:53)

Offline

#702 2011-05-01 19:54:57

derblub
Member
From: /dev/null
Registered: 2011-04-25
Posts: 44
Website

Re: conky configs and screenshots!

Zom wrote:

Remove the "shadow" effect in Kwin. It sets a shadow for the conky too when it's a "normal" window.

If you still want a shadow effect on decorated windows, try something like the "oxygen" windec, which has soft shadows built in.

Thank you very much - that "shadow" effect in Kwin was the problem - switched it off and now I've finally my cool conky smile

edit: thank you too Sector11! smile
..but since version xx conky has real transparency built in, so feh is not needed anymore (see here: Enable real transparency (KDE4) - Conky ArchWiki) - anyways - removing that shadow effect in Kwin solved my problem smile

Last edited by derblub (2011-05-01 19:58:42)

Offline

#703 2011-05-01 22:21:25

xs
Member
From: San Jose, CA.
Registered: 2011-04-06
Posts: 92

Re: conky configs and screenshots!

All you have to do (From what I've found out) on KDE for conky to be transparent is set the Own_Window_type to "docked".


I like pie. Especially with a side of Arch.

Offline

#704 2011-05-01 22:46:00

derblub
Member
From: /dev/null
Registered: 2011-04-25
Posts: 44
Website

Re: conky configs and screenshots!

"normal" worked too - the problem was just my shadow setting in Kwin.

this is how my Desktop looks like now smile

screenshotconky.th.png

config:

background no
own_window yes
own_window_type normal
own_window_transparent yes
own_window_argb_visual yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_title conky-semi
own_window_class conky-semi

double_buffer yes
use_spacer right
override_utf8_locale yes
use_xft yes
xftalpha 1.0
uppercase no
stippled_borders 0
border_inner_margin 0
border_width 0
default_outline_color black
default_shade_color black
draw_borders no
draw_graph_borders no
draw_outline no
draw_shades no

default_color 000000

text_buffer_size 256
no_buffers yes
short_units yes
pad_percents 2
#max_specials 1024
#max_user_text 10000

update_interval 1
imlib_cache_size 0
gap_x 5
gap_y 200
minimum_size 220 0
maximum_width 210 
alignment top_right
xftfont monospace:size=8

TEXT
${alignr}${time %H:%M:%S}
${alignr}${time %A, %d. %B %Y}
${alignr}Kernel: $kernel $machine
${alignr}Uptime: $uptime_short
Battery:${voffset 2} ${battery_bar 5,115} ${battery_percent}%

# PROCCESSOR
CPU 1: ${cpubar cpu0 5,130} ${cpu cpu0}%
CPU 2: ${cpubar cpu1 5,130} ${cpu cpu1}%
CPU 3: ${cpubar cpu2 5,130} ${cpu cpu2}%
CPU 4: ${cpubar cpu3 5,130} ${cpu cpu3}%
# HWMON
CPU temp: ${hwmon temp 1}°C ${alignr 6}HDD temp: ${hwmon temp 2}°C
# GPU (ATI)
GPU load: ${execi 1 aticonfig --adapter=0 --od-getclocks | tail -n1 | gawk '{printf $4}'}  ${alignr}GPU temp: ${execi 1 
aticonfig --adapter=0 --od-gettemperature | tail -n1 | gawk '{ printf $5 }'}°C 

# MEMORY
RAM: ${alignr}${membar 5,135} $memperc%
Swap: ${alignr}${swapbar 5,135} $swapperc%
Processes: $processes ${alignr}Running: $running_processes

PROCESSES ${goto 102}PID ${goto 137}MEM  ${goto 177}CPU
TOP CPU $stippled_hr
${top name 1} ${goto 90}${top pid 1} ${goto 123}${top mem 1} ${goto 160}${top cpu 1}
${top name 2} ${goto 90}${top pid 2} ${goto 123}${top mem 2} ${goto 160}${top cpu 2}
${top name 3} ${goto 90}${top pid 3} ${goto 123}${top mem 3} ${goto 160}${top cpu 3}
${top name 4} ${goto 90}${top pid 4} ${goto 123}${top mem 4} ${goto 160}${top cpu 4}
TOP MEM $stippled_hr
${top_mem name 1} ${goto 90}${top_mem pid 1} ${goto 123}${top_mem cpu 1} ${goto 160}${top_mem mem 1}
${top_mem name 2} ${goto 90}${top_mem pid 2} ${goto 123}${top_mem cpu 2} ${goto 160}${top_mem mem 2}
${top_mem name 3} ${goto 90}${top_mem pid 3} ${goto 123}${top_mem cpu 3} ${goto 160}${top_mem mem 3}
${top_mem name 4} ${goto 90}${top_mem pid 4} ${goto 123}${top_mem cpu 4} ${goto 160}${top_mem mem 4}

root: ${alignr}${fs_bar 5,135 /} ${fs_used_perc /}%
home: ${alignr}${fs_bar 5,135 /home} ${fs_used_perc /home}%

${alignr}Lan IP: ${addrs wlan0}
${alignr}Wan IP: ${execi 600 /home/blub/scripts/.wan-ip}

${goto 95}D: ${downspeed wlan0} ${alignr} U: ${upspeed wlan0}
${alignr}Total D: ${totaldown wlan0}
${alignr}Total U: ${totalup wlan0}

.wan-ip executable:

#!/bin/sh
wget -q -O - checkip.dyndns.org|sed -e 's/.*Current IP Address: //' -e 's/<.*$//'

I'm quite happy.. for now smile

Offline

#705 2011-05-02 02:04:38

Sector11
Banned
Registered: 2010-02-25
Posts: 10

Re: conky configs and screenshots!

derblub wrote:
Zom wrote:

Remove the "shadow" effect in Kwin. It sets a shadow for the conky too when it's a "normal" window.

If you still want a shadow effect on decorated windows, try something like the "oxygen" windec, which has soft shadows built in.

Thank you very much - that "shadow" effect in Kwin was the problem - switched it off and now I've finally my cool conky smile

edit: thank you too Sector11! smile
..but since version xx conky has real transparency built in, so feh is not needed anymore (see here: Enable real transparency (KDE4) - Conky ArchWiki) - anyways - removing that shadow effect in Kwin solved my problem smile


Thank you!  That link I gave you was written before Conky v1.8.0 came out, it will be updated. and I want to thank you for the link to the Arch Conky Wiki.  I checked Conky PitStop and it's not there.  Neither is this thread.  It will be fixed tomorrow with links to both.

Thank you - learned something today and that makes it a good day!

Last edited by Sector11 (2011-05-02 02:05:47)

Offline

#706 2011-05-02 02:30:16

derblub
Member
From: /dev/null
Registered: 2011-04-25
Posts: 44
Website

Re: conky configs and screenshots!

Sector11 wrote:

Thank you - learned something today and that makes it a good day!

same here! :]

Offline

#707 2011-05-15 18:45:02

vladthedog
Member
Registered: 2010-12-03
Posts: 45

Re: conky configs and screenshots!

I've been working on this for a while now, and am hoping I could get some help from you guys.  I have it all set up how I want it, other than the fact that I have a python script (that I downloaded from here I think, but I don't have the original link) that is supposed to grab the album artwork and display it.  I modified it so all the stuff is contained within my mpd folder (it was originally looking for a ".covers" folder in my user folder, and went to /tmp for the current album artwork).  Everything works, other then the fact that it doesnt!  Conky displays the artwork thats within the mpd folder as it should.  However, it will only update the file if I manually run the mpdart.py script.  Everything works if I manually run the script (it gets the currently playing track, and displays it in conky).

snapshot1gh.th.png

python script

#!/usr/bin/python2

import os
import shutil
import commands
import urllib

def copycover(currentalbum, src, dest, defaultfile):
    searchstring = currentalbum.replace(" ", "+")
    if not os.path.exists(src):
        url = "http://www.albumart.org/index.php?srchkey=" + searchstring + "&itempage=1&newsearch=1&searchindex=Music"
        cover = urllib.urlopen(url).read()
        image = ""
        for line in cover.split("\n"):
            if "http://www.albumart.org/images/zoom-icon.jpg" in line:
                image = line.partition('src="')[2].partition('"')[0]
                break
        if image:
            urllib.urlretrieve(image, src)
    if os.path.exists(src):
        shutil.copy(src, dest)
    elif os.path.exists(defaultfile):
        shutil.copy(defaultfile, dest)
    else:
        print "Image not found!"

# Path where the images are saved
imgpath = "/home/jason/mpd/covers/"

# image displayed when no image found
noimg = imgpath + "nocover.jpg"

# Cover displayed by conky
cover = "/home/jason/mpd/cover"

# Name of current album
album = commands.getoutput("mpc -h 192.168.1.250 --format %artist%+%album% | head -n 1")

# If tags are empty, use noimg.
if album == "":
    if os.path.exists(conkycover):
        os.remove(conkycover)
    if os.path.exists(noimg):
        shutil.copy(noimg, conkycover)
    else:
        print "Image not found!"
else:

    filename = imgpath + album + ".jpg"
    if os.path.exists("/home/jason/mpd/nowplaying") and os.path.exists("/home/jason/mpd/cover"):
        nowplaying = open("/home/jason/mpd/nowplaying").read()
        if nowplaying == album:
            pass
        else:
            copycover(album, filename, cover, noimg)
            open("/home/jason/mpd/nowplaying", "w").write(album)
    else:
        copycover(album, filename, cover, noimg)
        open("/home/jason/mpd/nowplaying", "w").write(album)

conky script

# conky configuration
#
# set to yes if you want tormo to be forked in the background
background no

# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*

# Use Xft?
use_xft yes

# Print everything to stdout?
# out_to_console no

# MPD host/port
mpd_host 192.168.1.250
mpd_port 6600
imlib_cache_size 0

# Print everything to console?
# out_to_console no

# Xft font when Xft is enabled
xftfont Ubuntu:size=10

# Text alpha when using Xft
xftalpha 0.8

# mail spool
mail_spool $MAIL

# Update interval in seconds
update_interval 1.0

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

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

# Minimum size of text area
minimum_size 150 150

# Draw shades?
draw_shades yes

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 8

# border margins - this gives errors?
#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
# same thing as passing -x at command line
gap_x 10
gap_y 30

# 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 8

# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 8

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes 


# Add spaces to keep things from moving about?  This only affects certain objects.
#use_spacer yes

own_window yes
own_window_transparent no
own_window_argb_visual no
own_window_type normal
own_window_class conky-semi
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

top_cpu_separate false

TEXT
${execi 5 /home/jason/mpd/mpdart.py}
${image /home/jason/mpd/cover -s 150x150}

I'm sure I'm missing something real simple here.  I just don't know what.  I think its a permissions problem, but that doesn't really make sense.  Its one of the reasons I contained everything within my user folder.  conky is being run at startup by KDE when I login.  I appreciate any help!  Thanks.

Offline

#708 2011-05-16 19:36:40

Sector11
Banned
Registered: 2010-02-25
Posts: 10

Re: conky configs and screenshots!

Yesterday (for something to do) I did a text based weather conky for across the top of my monitor, it also shows my email count (lower left) and a red T if there is trash and time up (lower right)

thmb_corners.png
Our conky python benefactor should recognize the tree!

It's in Spanish: Lun = Mon etc etc ...

17 | 17 is: Current | Humidity Index / Windchill Factor for Canada or Feels Like for the US

cyan is forcasted LOW; red is forecasted HIGH; P; is Barometric Pressure and the yellow numbers are the hours of daylight per day.

On the right a new feature with conkyForecast v2.20 the ability to tell how long until sunset or sunrise.  After sunset the bottom line will change to:

Sunrise in: HH:MM:SS

and be the same colour you see for the sunset time: 17:59

# To use #! in a conky use: ${exec echo '#!'}
# OB_TCW c/w SunRiseSunSet

background no
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints below,skip_taskbar,skip_pager
own_window_title S11-Conky
own_window_class S11-Conky

double_buffer yes
use_spacer right
override_utf8_locale yes
use_xft yes
xftalpha 1.0
uppercase no
stippled_borders 0
border_inner_margin 0
border_width 0
default_outline_color black
default_shade_color black
draw_borders no
draw_graph_borders no
draw_outline no
draw_shades no

default_color DCDCDC #Gainsboro
color0 FFFFF0 #Ivory
color1 A9A9A9 #DarkGray 778899 #LightSlateGrey
color2 FF8C00 #Darkorange
color3 FFF000 #Chartreuse 
color4 C6FF8E #Light Green
color5 FFDEAD #NavajoWhite
color6 00BFFF #DeepSkyBlue
color7 48D1CC #MediumTurquoise
color8 F0E68C #Khaki #FFFF00 #Yellow
color9 FF0000 #Red

text_buffer_size 3048 # 256 is minimum
no_buffers yes
short_units yes
pad_percents 2

update_interval 5 #86400
imlib_cache_size 0
gap_x 0          ### left &right
gap_y 5            ### up & down
minimum_size 1200 0 ### width, height
maximum_width 1200    
alignment tm        
xftfont monospace:bold:size=8

lua_load ~/Conky/LUA/draw_bg.lua
lua_draw_hook_pre draw_bg

TEXT
${execpi 1800 conkyForecast --template=~/Conky/templates/TCW.template}

TCW.template

  ${color0}[--datatype=DW --startday=0 --shortweekday]:${color} [--datatype=HT --hideunits --hidedegreesymbol] | [--datatype=LT --hideunits --hidedegreesymbol] ${color7}[--startday=0 --datatype=LT --hideunits --hidedegreesymbol] ${color9}[--startday=0 --datatype=HT --hideunits --hidedegreesymbol]${color} P: [--datatype=PC --startday=0] ${color8}[--datatype=DL --startday=0]${color}${goto 211}| ${color0}[--datatype=DW --startday=1 --shortweekday]: ${color7}[--startday=1 --datatype=LT --hideunits --hidedegreesymbol] ${color9}[--startday=1 --datatype=HT --hideunits --hidedegreesymbol]${color} P: [--datatype=PC --startday=1] ${color8}[--datatype=DL --startday=1]${color}${goto 421}| ${color0}[--datatype=DW --startday=2 --shortweekday]: ${color7}[--startday=2 --datatype=LT --hideunits --hidedegreesymbol] ${color9}[--startday=2 --datatype=HT --hideunits --hidedegreesymbol]${color} P: [--datatype=PC --startday=2] ${color8}[--datatype=DL --startday=2]${color}${goto 631}| ${color0}[--datatype=DW --startday=3 --shortweekday]: ${color7}[--startday=3 --datatype=LT --hideunits --hidedegreesymbol] ${color9}[--startday=3 --datatype=HT --hideunits --hidedegreesymbol]${color} P: [--datatype=PC --startday=3] ${color8}[--datatype=DL --startday=3]${color}${goto 841}| ${color0}[--datatype=DW --startday=4 --shortweekday]: ${color7}[--startday=4 --datatype=LT --hideunits --hidedegreesymbol] ${color9}[--startday=4 --datatype=HT --hideunits --hidedegreesymbol]${color} P: [--datatype=PC --startday=4] ${color8}[--datatype=DL --startday=4]${color}${goto 1051}| Rise:${color8}[--datatype=SR]${color}  Set:${color1}[--datatype=SS] ${color}
  [--datatype=CC --night]${goto 211}| [--datatype=CC --night --startday=1]${goto 421}| [--datatype=CC --night --startday=2]${goto 631}| [--datatype=CC --night --startday=3]${goto 841}| [--datatype=CC --night --startday=4]${goto 1051}| ${if_match "${exec conkyForecast-SunsetSunriseCountdown --location=ARBA0009 -t}"=="Sunrise"}${color1}${else}${color8}${endif}${exec conkyForecast-SunsetSunriseCountdown --location=ARBA0009 -t} in:${goto 1141}${exec conkyForecast-SunsetSunriseCountdown --location=ARBA0009}${voffset -10}

The real reason for this post.

That very last call: ${voffset -10} is something is stumbled upon yesterday when doing this - and may help a lot of people that have large empty spaces at the bottom of their conky they don't want.

Here's a composite image of the conky with and without that voffset.
thmb_with-without.png

And just to make sure ... I tested another ... this required a ${voffset -20}
thmb_with-without-2.png

You be the judge if this works or not.  wink

Offline

#709 2011-05-17 00:45:16

Hoodsey
Member
Registered: 2011-05-11
Posts: 10

Re: conky configs and screenshots!

Hey guys, I've looked ALL over the internet on this issue.

I've gotten conky pretty much all setup except for one thing. CPU temperature. I don't want to resort to other apps (lm_sensors pick it up fine as well as the gpu, mcp bridge, etc.) but I'm trying to keep my fluxbox config super slim without un-needed junk. Current system specs as follows:

ZOTAC AMD AM2+/AM3 GeForce 8200 Micro-ATX
AMD Sempron 140 CPU
2GB Centon DDR2 800 RAM
30GB Kingston SSD
1TB Western Digital Caviar Green HDD

Thanks a lot guys, these setups are ALL sexy, I haven't seen a config yet I haven't liked, after I get this all setup and running the way I like I'll post mine big_smile

Offline

#710 2011-05-17 12:11:12

Sector11
Banned
Registered: 2010-02-25
Posts: 10

Re: conky configs and screenshots!

Hoodsey wrote:

Hey guys, I've looked ALL over the internet on this issue.

I've gotten conky pretty much all setup except for one thing. CPU temperature.

If lm-sensors picks it up, show us the results of:

sensors

A sample code would be:

${execpi 5 sensors | grep 'Core0' | cut --characters 15-16}°

Last edited by Sector11 (2011-05-17 12:12:13)

Offline

#711 2011-05-18 08:05:09

Hoodsey
Member
Registered: 2011-05-11
Posts: 10

Re: conky configs and screenshots!

Sorry for such a delayed reply, I've been gutting my Linux box to make it more quiet and energy conservative. Anyways, when I do "sensors" I get:

k10-temp-pci-00c3
Adapter: PCI adapter
temp1:            +38.0C    (high = +70.0C)

Offline

#712 2011-05-18 11:33:56

Sector11
Banned
Registered: 2010-02-25
Posts: 10

Re: conky configs and screenshots!

Hoodsey wrote:

Sorry for such a delayed reply, I've been gutting my Linux box to make it more quiet and energy conservative. Anyways, when I do "sensors" I get:

k10-temp-pci-00c3
Adapter: PCI adapter
temp1:            +38.0C    (high = +70.0C)

${exec sensors | grep 'temp1:' | cut --characters 15-16}°

Playt with the 15-16 - looks like yours might be:

1234567890123456789012345
temp1:            +38.0C    (high = +70.0C)

20-21 - start with 10-25 and narrow it down.

Offline

#713 2011-05-18 14:30:36

Hoodsey
Member
Registered: 2011-05-11
Posts: 10

Re: conky configs and screenshots!

Awesome! That done the trick, but is there no way to do this without lm_sensors (one less program + dependancies), even though I just wanted to monitor the temp. while underload after the gutting (no fans except CPU and Power Supply), I have a 30GB SSD coming tomorrow and some AeroSlot vents coming today.

Offline

#714 2011-05-18 14:31:52

electric_indigo
Member
Registered: 2011-05-12
Posts: 89

Re: conky configs and screenshots!

In fact, there seems to be no need for executing sensors and using pipes.

${hwmon temp 2}

or, for fan speed:

${hwmon fan 2}

in .conkyrc works fine for me. For the correct numbers, see the output of sensors.

EDIT: But this requires lm_sensors to be installed anyway.

Last edited by electric_indigo (2011-05-18 14:34:27)

Offline

#715 2011-05-18 15:24:26

Sector11
Banned
Registered: 2010-02-25
Posts: 10

Re: conky configs and screenshots!

electric_indigo wrote:

In fact, there seems to be no need for executing sensors and using pipes.

${hwmon temp 2}

or, for fan speed:

${hwmon fan 2}

in .conkyrc works fine for me. For the correct numbers, see the output of sensors.

EDIT: But this requires lm_sensors to be installed anyway.

True, it needs lm-sensors installed, BUT you don't need an "exec", "execi" or "execpi" in conky which are hungry for CPU cycles.

exec     command
     Executes a shell command and displays the output in conky. warning: this takes a lot more resources than other variables. I'd recommend coding wanted behaviour in C and posting a patch.

HOWEVER: my test:
hwmon-temps.png
hwmon shows the same as acpitemp (which is for laptops) and on my desktop neverchanges, easy to see where 21.8° becomes 22°.

## killall conky && conky -c ~/conky/test011
## conky -c ~/conky/test011

background no
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints skip_taskbar,skip_pager
own_window_title conky-semi
own_window_class conky-semi

double_buffer yes
use_spacer right # yes is NOT an option - left right or none
override_utf8_locale yes
use_xft yes
xftalpha 1.0
uppercase no
stippled_borders 0
border_inner_margin 0
border_width 0
default_outline_color black
default_shade_color black
draw_borders no
draw_graph_borders no
draw_outline no
draw_shades no

color0 DCDCDC #Gainsboro
default_color FFFFF0 #Ivory
color1 CCCCCC #Marks Grey 778899 #LightSlateGrey
color2 7095BB #Marks Blue #FF8C00 #Darkorange
color3 C6FF8E #Light Green #FFF00 #Chartreuse
color4 FFA07A #LightSalmon
color5 FFDEAD #NavajoWhite
color6 00BFFF #DeepSkyBlue
color7 48D1CC #MediumTurquoise
color8 FFFF00 #Yellow
color9 FF0000 #Red

text_buffer_size 256 # minimum
no_buffers yes
short_units yes
pad_percents 2

update_interval 1
imlib_cache_size 0
gap_x 100          ### left &right
gap_y 100            ### up & down
minimum_size 760 500 ### width, height ### make this equal to what is used for the image
maximum_width 760    ### make this equal to minimum size width
alignment tl        ### Aligned position on screen: tl, tr, tm, bl, br, bm, ml, mr
xftfont monospace:size=9

TEXT
hwmon - temp1: ${hwmon temp 1}
     acpitemp: ${acpitemp}

Temps: M/B   | Core | GPU | SDA
       ${exec sensors | grep 'temp1:' | cut --characters 15-18}° | ${execpi 5 sensors | grep 'Core0' | cut --characters 15-16}°  | ${execpi 5 sh -c "DISPLAY=:0.0 nvclock -T  | grep 'GPU' | cut -c21-22"}° | ${exec hddtemp -n /dev/sda}°

I have it set with "exec sensors" for my M/B as seen in the conky.  I have a single core CPU and get that with the next command.

I'd test all three commands and see if that temperature ever changes and if so with which command.
You want "light" and if hwmon or acpitemp work for you and the temps change - run with them  big_smile

Last edited by Sector11 (2011-05-18 15:34:01)

Offline

#716 2011-05-19 06:04:00

Hoest
Member
Registered: 2011-05-19
Posts: 15

Re: conky configs and screenshots!

Inxsible wrote:

Here's mine smile
http://img242.imageshack.us/img242/2159/conkyscreenshotzd4.th.png

background yes
font Snap.se:size=8
xftfont Snap.se:size=8
use_xft yes
xftalpha 0.1
update_interval 1.0
total_run_times 0
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
minimum_size 210 5
maximum_width 210
default_color white
default_shade_color 000000
default_outline_color 000000
alignment top_right
gap_x 6
gap_y 22
no_buffers yes
cpu_avg_samples 2
override_utf8_locale no
uppercase no # set to yes if you want all text to be in uppercase
use_spacer no
#User: $alignr$user_names
#Computer: $alignr$nodename
TEXT

${offset 100}${font openlogos-archupdate:size=40}${color blue}B${font}${color}
${font DigitalReadoutExpanded:style=Bold:pixelsize=25}${alignc}${time %r}${font Snap.se:size=8}
${alignr}${time %A, %e %B %G}
${font Aerial:style=Bold:pixelsize=12}CALENDAR${font Snap.se:size=8}${hr 1}
${font DejaVu Sans Mono :size=12}${pre_exec cal}
${font DejaVu Sans Mono :size=6}${pre_exec cal -3 | cut -c23-44 --complement}
${font Aerial:style=Bold:pixelsize=12}SYSTEM${font Snap.se:size=8} ${hr 1 }
$alignc$sysname $kernel ($machine)
Uptime: $alignr$uptime
Load: ${alignr}$loadavg
Processes: ${alignr}$processes ($running_processes running)
${font Snap.se:size=8}${hr 1 }
Highest CPU%
${color red}${top name 1}${top cpu 1}
${color}${top name 2}${top cpu 2}
${top name 3}${top cpu 3}
${top name 4}${top cpu 4}
${font Snap.se:size=8}${hr 1 }
Highest MEM%
${color red}${top_mem name 1}${top_mem mem 1}
${color}${top_mem name 2}${top_mem mem 2}
${top_mem name 3}${top_mem mem 3}
${top_mem name 4}${top_mem mem 4}
${font Snap.se:size=8}${hr 1 }
Battery ${alignr}(${battery BAT1})
${battery_bar 4 BAT1}
CPU       ${alignc} ${freq}MHz / ${acpitemp}C ${alignr}(${cpu cpu1}%)
${cpubar 4 cpu1}
${cpugraph 0000ff 00ec00}
RAM ${alignr}$mem / $memmax ($memperc%)
${membar 4}
SWAP ${alignr}$swap / $swapmax ($swapperc%)
${swapbar 4}

${font Aerial:style=Bold:pixelsize=12}FILE SYSTEM${font Snap.se:size=8}${hr 1}
ROOT: ${alignr}${fs_used /} / ${fs_size /}
${fs_bar 4 /}
HOME: ${alignr}${fs_used /home} / ${fs_size /home}
${fs_bar 4 /home}
${if_mounted /media/WD500}WD500: ${alignr}${fs_used /media/WD500} / ${fs_size /media/WD500}
${fs_bar 4 /media/WD500}
$endif
${font Aerial:style=Bold:pixelsize=12}CONNECTION${font Snap.se:size=8}${hr 1}
Down ${downspeed eth0} k/s ${alignr}Up ${upspeed eth0} k/s
${downspeedgraph eth0 25,107 000000 ffffff} ${alignr}${upspeedgraph eth0 25,107 000000 ffffff}
Total ${totaldown eth0} ${alignr}Total ${totalup eth0}

${font Aerial:style=Bold:pixelsize=12}Now Playing${font Snap.se:size=8} ${hr 1 }
${if_running mpd}$mpd_smart $endif

I love this one. I have a quick question though, how do I get the Arch logo to appear on top? Because I currently get a capital B instead of the Arch logo. Sorry if the question seems stupid but I'm new with Arch and Conky.

Thanks in advance.

Offline

#717 2011-05-19 12:53:55

vladthedog
Member
Registered: 2010-12-03
Posts: 45

Re: conky configs and screenshots!

Hoest wrote:
Inxsible wrote:

Here's mine smile
http://img242.imageshack.us/img242/2159/conkyscreenshotzd4.th.png

background yes
font Snap.se:size=8
xftfont Snap.se:size=8
use_xft yes
xftalpha 0.1
update_interval 1.0
total_run_times 0
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
minimum_size 210 5
maximum_width 210
default_color white
default_shade_color 000000
default_outline_color 000000
alignment top_right
gap_x 6
gap_y 22
no_buffers yes
cpu_avg_samples 2
override_utf8_locale no
uppercase no # set to yes if you want all text to be in uppercase
use_spacer no
#User: $alignr$user_names
#Computer: $alignr$nodename
TEXT

${offset 100}${font openlogos-archupdate:size=40}${color blue}B${font}${color}
${font DigitalReadoutExpanded:style=Bold:pixelsize=25}${alignc}${time %r}${font Snap.se:size=8}
${alignr}${time %A, %e %B %G}
${font Aerial:style=Bold:pixelsize=12}CALENDAR${font Snap.se:size=8}${hr 1}
${font DejaVu Sans Mono :size=12}${pre_exec cal}
${font DejaVu Sans Mono :size=6}${pre_exec cal -3 | cut -c23-44 --complement}
${font Aerial:style=Bold:pixelsize=12}SYSTEM${font Snap.se:size=8} ${hr 1 }
$alignc$sysname $kernel ($machine)
Uptime: $alignr$uptime
Load: ${alignr}$loadavg
Processes: ${alignr}$processes ($running_processes running)
${font Snap.se:size=8}${hr 1 }
Highest CPU%
${color red}${top name 1}${top cpu 1}
${color}${top name 2}${top cpu 2}
${top name 3}${top cpu 3}
${top name 4}${top cpu 4}
${font Snap.se:size=8}${hr 1 }
Highest MEM%
${color red}${top_mem name 1}${top_mem mem 1}
${color}${top_mem name 2}${top_mem mem 2}
${top_mem name 3}${top_mem mem 3}
${top_mem name 4}${top_mem mem 4}
${font Snap.se:size=8}${hr 1 }
Battery ${alignr}(${battery BAT1})
${battery_bar 4 BAT1}
CPU       ${alignc} ${freq}MHz / ${acpitemp}C ${alignr}(${cpu cpu1}%)
${cpubar 4 cpu1}
${cpugraph 0000ff 00ec00}
RAM ${alignr}$mem / $memmax ($memperc%)
${membar 4}
SWAP ${alignr}$swap / $swapmax ($swapperc%)
${swapbar 4}

${font Aerial:style=Bold:pixelsize=12}FILE SYSTEM${font Snap.se:size=8}${hr 1}
ROOT: ${alignr}${fs_used /} / ${fs_size /}
${fs_bar 4 /}
HOME: ${alignr}${fs_used /home} / ${fs_size /home}
${fs_bar 4 /home}
${if_mounted /media/WD500}WD500: ${alignr}${fs_used /media/WD500} / ${fs_size /media/WD500}
${fs_bar 4 /media/WD500}
$endif
${font Aerial:style=Bold:pixelsize=12}CONNECTION${font Snap.se:size=8}${hr 1}
Down ${downspeed eth0} k/s ${alignr}Up ${upspeed eth0} k/s
${downspeedgraph eth0 25,107 000000 ffffff} ${alignr}${upspeedgraph eth0 25,107 000000 ffffff}
Total ${totaldown eth0} ${alignr}Total ${totalup eth0}

${font Aerial:style=Bold:pixelsize=12}Now Playing${font Snap.se:size=8} ${hr 1 }
${if_running mpd}$mpd_smart $endif

I love this one. I have a quick question though, how do I get the Arch logo to appear on top? Because I currently get a capital B instead of the Arch logo. Sorry if the question seems stupid but I'm new with Arch and Conky.

Thanks in advance.


I thought it would be done by an "image" tag, but it looks like there is actually a font that he is using.  I'm not on my home PC so cannot check but see if there is a font called:  openlogos-archupdate in AUR (or even the official mirrors).  The first line:

${offset 100}${font openlogos-archupdate:size=40}${color blue}B${font}${color}

Is calling for the font in color blue, and it looks like the capital letter "B" is the arch logo in that font.

EDIT:
Looks like there is this package in AUR:
ttf-openlogos

However, I am kinda doubting it will have the arch logo.
If someone else doesn't have info on that specific font set, another way of doing this is just providing an image (the community package: arch-artwork  has icons, etc etc that could be used) something like this:

${image /path/to/image -s 100x100}

note the -s XXXxXXX defines the specific size you want.  you can also use -p XXX,XXX you change the offset of the image.

Last edited by vladthedog (2011-05-19 13:10:08)

Offline

#718 2011-05-19 13:33:20

Sector11
Banned
Registered: 2010-02-25
Posts: 10

Re: conky configs and screenshots!

I did not see the post above.

OpenLogos has an ARCH logo (B) but not the version you see today.
Arch.png
I agree, an image command would be a great option.

Last edited by Sector11 (2011-05-19 14:30:45)

Offline

#719 2011-05-19 23:16:03

Hoest
Member
Registered: 2011-05-19
Posts: 15

Re: conky configs and screenshots!

Ok, thanks for your help. I'll use a different config for now until I am able to figure out what that font is.

Offline

#720 2011-05-28 21:58:50

tuxgeek
Member
Registered: 2011-05-28
Posts: 2

Re: conky configs and screenshots!

Here is mine, I dont know how to post the .conkyrc file but i have shared it with a link at the bottom.



http://www.adrive.com/public/eb9b2880de … e83a6.html

-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --


Archbang 2.6.38-ARCH
Asus EEEPC 900A Intel Atom 1.6ghz 512Mb ram

Offline

#721 2011-05-28 22:21:47

Sector11
Banned
Registered: 2010-02-25
Posts: 10

Re: conky configs and screenshots!

tuxgeek wrote:

Here is mine, I dont know how to post the .conkyrc file but i have shared it with a link at the bottom.
http://i56.tinypic.com/122bw2q.png


http://www.adrive.com/public/eb9b2880de … e83a6.html

To post code use [] and [] first set has "code" in it - the second has "/code" with the conkyrc between them.

Hit QUOTE as if you are going to reply and look at it:

conkyrc
here

it's easy ...

Last edited by Sector11 (2011-05-28 22:22:21)

Offline

#722 2011-05-29 04:10:56

tuxgeek
Member
Registered: 2011-05-28
Posts: 2

Re: conky configs and screenshots!

tuxgeek wrote:

My ~/.conkyrc

use_xft yes
xftfont verdana:size=8
alignment top_right
xftalpha 0.8
gap_x 8
gap_y 18
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
draw_shades no
draw_outline no
draw_borders no
stippled_borders 10
border_margin 4
border_width 1
default_shade_color grey
default_outline_color black
default_color #007E1E
use_spacer none
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 1
minimum_size 250 5
maximum_width 400
text_buffer_size 1024
override_utf8_locale yes

TEXT
${font Arial:bold:size=10}${color #007E1E}$kernel ${color Red}${utime}
${font Arial:bold:size=10}${color Tan1}PROCESSOR ${color #271B97}${hr 2}
${color #007E1E}Intel Atom ${color Red}$freq${color #007E1E} MHz Temp:${color Red}${platform coretemp.0 temp 1} C${color #007E1E}Fan Speed:${execi 3 /home/tuxgeek/.bin/fanspeed.sh}
CPU:${color Red}$cpu %  ${color Red}$loadavg${color #007E1E}$user_names
${color #007E1E}${cpugraph 15}
${font Arial:bold:size=10}${color Tan1}RAM ${color #271B97}${hr 2}
${color #007E1E}$mem/$memmax$alignr${color Red}$memperc %
${color #007E1E}$membar
${font Arial:bold:size=10}${color Tan1}BATTERY ${color #271B97}${hr 2}
${color #007E1E}$battery
${color #007E1E}$battery_bar
${font Arial:bold:size=10}${color Tan1}HARD DRIVE ${color #271B97}${hr 2}
${color Red}$fs_free
${color #007E1E}$fs_bar
${font Arial:bold:size=10}${color Tan1}MPD ${color #271B97}${hr 2}
${color #007E1E}Bitrate:$mpd_bitrate$alignc Time:$mpd_elapsed  Vol:$mpd_vol$alignr Artist:$mpd_artist
${color #007E1E}Album:$alignr$mpd_album
${font Arial:bold:size=10}${color Tan1}TOP ${color #271B97}${hr 2}
${color Red}${top name 1}$alignr${top cpu 1}
${color #007E1E}${top name 2}$alignr${top cpu 2}
${color #007E1E}${top name 3}$alignr${top cpu 3}
${font Arial:bold:size=10}${color Tan1}FORCAST ${color #271B97}${hr 2}
${color Tan1}LAST UPDATED: ${color Red}${execi 3600 conkyForecast --location=USCA0922 --datatype=LU}
${color #271B97}${hr 2}
${color #007E1E}${execi 1800 conkyForecast --location=USCA0922 --datatype=DW}: ${execi
1800 conkyForecast --location=USCA0922 --datatype=CC} Low Temp: ${execi 1800 conkyForecast --location=USCA0922 --datatype=LT}
Current Temp: ${execi 1800 conkyForecast --location=USCA0922 --datatype=HT} Wind: ${execi 1800 conkyForecast --location=USCA0922 --datatype=WS}
Humidity: ${execi 1800 conkyForecast --location=USCA0922 --datatype=HM}
Precipitation: ${execi 1800 conkyForecast --location=UKXX0103 --datatype=PC}
Barometer: ${execi 1800 conkyForecast --location=USCA0922 --datatype=BR} and ${execi 1800 conkyForecast --location=USCA0922 --datatype=BD} UVI: ${execi 1800 conkyForecast --location=USCA0922 --datatype=UI} is ${execi 1800 conkyForecast --location=USCA0922 --datatype=UT} DewPoint: ${execi 1800 conkyForecast --location=USCA0922 --datatype=DP}
Sunrise/Sunset: ${execi 3600 conkyForecast --location=USCA0922 --datatype=SR} / ${execi 3600 conkyForecast --location=USCA0922 --datatype=SS} Moon: ${execi 3600 conkyForecast --location=USCA0922 --datatype=MP}
${color #271B97}${hr 2}


Archbang 2.6.38-ARCH
Asus EEEPC 900A Intel Atom 1.6ghz 512Mb ram

Offline

#723 2011-05-29 13:02:04

Sector11
Banned
Registered: 2010-02-25
Posts: 10

Re: conky configs and screenshots!

tuxgeek wrote:

My ~/.conkyrc

use_xft yes
xftfont verdana:size=8
alignment top_right
xftalpha 0.8
gap_x 8
gap_y 18
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
draw_shades no
draw_outline no
draw_borders no
stippled_borders 10
border_margin 4
border_width 1
default_shade_color grey
default_outline_color black
default_color #007E1E
use_spacer none
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 1
minimum_size 250 5
maximum_width 400
text_buffer_size 1024
override_utf8_locale yes

TEXT
${font Arial:bold:size=10}${color #007E1E}$kernel ${color Red}${utime}
${font Arial:bold:size=10}${color Tan1}PROCESSOR ${color #271B97}${hr 2}
${color #007E1E}Intel Atom ${color Red}$freq${color #007E1E} MHz Temp:${color Red}${platform coretemp.0 temp 1} C${color #007E1E}Fan Speed:${execi 3 /home/tuxgeek/.bin/fanspeed.sh}
CPU:${color Red}$cpu %  ${color Red}$loadavg${color #007E1E}$user_names
${color #007E1E}${cpugraph 15}
${font Arial:bold:size=10}${color Tan1}RAM ${color #271B97}${hr 2}
${color #007E1E}$mem/$memmax$alignr${color Red}$memperc %
${color #007E1E}$membar
${font Arial:bold:size=10}${color Tan1}BATTERY ${color #271B97}${hr 2}
${color #007E1E}$battery
${color #007E1E}$battery_bar
${font Arial:bold:size=10}${color Tan1}HARD DRIVE ${color #271B97}${hr 2}
${color Red}$fs_free
${color #007E1E}$fs_bar
${font Arial:bold:size=10}${color Tan1}MPD ${color #271B97}${hr 2}
${color #007E1E}Bitrate:$mpd_bitrate$alignc Time:$mpd_elapsed  Vol:$mpd_vol$alignr Artist:$mpd_artist
${color #007E1E}Album:$alignr$mpd_album
${font Arial:bold:size=10}${color Tan1}TOP ${color #271B97}${hr 2}
${color Red}${top name 1}$alignr${top cpu 1}
${color #007E1E}${top name 2}$alignr${top cpu 2}
${color #007E1E}${top name 3}$alignr${top cpu 3}
${font Arial:bold:size=10}${color Tan1}FORCAST ${color #271B97}${hr 2}
${color Tan1}LAST UPDATED: ${color Red}${execi 3600 conkyForecast --location=USCA0922 --datatype=LU}
${color #271B97}${hr 2}
${color #007E1E}${execi 1800 conkyForecast --location=USCA0922 --datatype=DW}: ${execi 
1800 conkyForecast --location=USCA0922 --datatype=CC} Low Temp: ${execi 1800 conkyForecast --location=USCA0922 --datatype=LT}
Current Temp: ${execi 1800 conkyForecast --location=USCA0922 --datatype=HT} Wind: ${execi 1800 conkyForecast --location=USCA0922 --datatype=WS}
Humidity: ${execi 1800 conkyForecast --location=USCA0922 --datatype=HM} 
Precipitation: ${execi 1800 conkyForecast --location=UKXX0103 --datatype=PC}
Barometer: ${execi 1800 conkyForecast --location=USCA0922 --datatype=BR} and ${execi 1800 conkyForecast --location=USCA0922 --datatype=BD} UVI: ${execi 1800 conkyForecast --location=USCA0922 --datatype=UI} is ${execi 1800 conkyForecast --location=USCA0922 --datatype=UT} DewPoint: ${execi 1800 conkyForecast --location=USCA0922 --datatype=DP}
Sunrise/Sunset: ${execi 3600 conkyForecast --location=USCA0922 --datatype=SR} / ${execi 3600 conkyForecast --location=USCA0922 --datatype=SS} Moon: ${execi 3600 conkyForecast --location=USCA0922 --datatype=MP}
${color #271B97}${hr 2}

You put it in "quotes"

Offline

#724 2011-05-29 18:02:44

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: conky configs and screenshots!

Hello folks. I had been running conky for a while, but ran into a little problem today.

The volume is being shown as zero, though it is not.

here's my .conkyrc

out_to_x no
out_to_console yes
background no
update_interval 2
total_run_times 0
use_spacer none
font -*-bitstream vera sans-medium-*-normal-*-*-*-*-*-*-*-*-*

TEXT
${if_existing /home/x33a/.cmus/socket}
${scroll 65 5 ${execi 3 cat /tmp/cmus.conky}} |\
${endif} \
CPU: $cpu% :: Mem: $memperc% :: Vol:$mixer% :: ${time %a, %b %d %Y %H:%M}

and here's the error

$ conky
Conky: can't open /dev/mixer: No such file or directory
Conky: mixer ioctl: Bad file descriptor
CPU: 5% :: Mem: 30% :: Vol:0% :: Sun, May 29 2011 23:30
CPU: 6% :: Mem: 30% :: Vol:0% :: Sun, May 29 2011 23:30

I think this might have to do with the latest udev update.

Is anyone else experiencing this?

Offline

#725 2011-05-30 22:38:56

djhalolegend
Member
Registered: 2011-05-30
Posts: 2

Re: conky configs and screenshots!

x33a wrote:
$ conky
Conky: can't open /dev/mixer: No such file or directory

I had this issue too after a recent pacman -Syu. There was a missing module:

modprobe snd-pcm-oss

Last edited by djhalolegend (2011-05-30 23:40:52)

Offline

Board footer

Powered by FluxBB