Re: My Conky Config
Hi Zambri,
welcome to the forums!
the images are simply icons from a 'Wingdings' style font. You need to have the appropriate font installed and then change your font to that character.
Here is a good place to start:
CrunchBang Linux Forums » Tips, Tricks & Scripts » My Conky Config
Hi Zambri,
welcome to the forums!
the images are simply icons from a 'Wingdings' style font. You need to have the appropriate font installed and then change your font to that character.
Here is a good place to start:
@zambri - What images do you mean?
Last edited by anonymous (2008-12-10 14:29:22)
Hi Zambri,
welcome to the forums!
the images are simply icons from a 'Wingdings' style font. You need to have the appropriate font installed and then change your font to that character.
Here is a good place to start:
Thanks a lot, I try to install these font!
bye!
In the end I choose to go with a mod on the vorta config as well (its the same one that I used as base for my tintrc).
http://www.gnome-look.org/content/show.
tent=92498
#avoid flicker
double_buffer yes
#own window to run simultanious 2 or more conkys
own_window yes
own_window_transparent no
own_window_type desktop
own_window_hints undecorate,sticky,skip_taskbar,skip_pager
#borders
draw_borders no
border_margin 1
#shades
draw_shades no
#position
gap_x 0
gap_y 2
alignment bottom_left
#behaviour
update_interval 0.3
#colour
default_color 8f8f8f
#default_shade_color 000000
own_window_colour 222222
#font
use_xft yes
xftfont DejaVu Serif Book:pixelsize=9
#to prevent window from moving
use_spacer none
minimum_size 1024 0
maximum_width 1024 0
#mpd
mpd_host localhost
mpd_port 6600
# 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
# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
#${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}
#$alignc center text
TEXT
${alignc}${voffset -1} Mem: ${color e0e0e0}${font}${mem} ${color} | ${color} Uptime: ${color e0e0e0}${font}${uptime_short}${color} | ${color} Down: ${color e0e0e0}${font} ${downspeed eth0} Kb/s ${color} ${totaldown eth0} downloaded${color} | Up: ${color} ${color e0e0e0} ${upspeed eth0} Kb/s ${color} ${totalup eth0} uploaded${color} | ${color}Home: ${color e0e0e0}${font}${fs_free /} ${color} Multimedia: ${color e0e0e0}${font}${fs_free /media/Multimedia}${color}.conkyrc QUESTION:
Disk usage /:$alignr${fs_used /} / ${fs_size /}
${if_existing /mnt/win_c}/mnt/win_c:$alignr${fs_used /mnt/win_c} / ${fs_size /mnt/win_c}$endif
${if_existing /mnt/win_d}/mnt/win_d:$alignr${fs_used /mnt/win_d} / ${fs_size /mnt/win_d}$endif
${if_existing /mnt/hda6}/mnt/hda6:$alignr${fs_used /mnt/hda6} / ${fs_size /mnt/hda6}$endif
${if_existing /mnt/hda8}/mnt/hda8:$alignr${fs_used /mnt/hda8} / ${fs_size /mnt/hda8}$endif
${if_existing /mnt/hda9}/mnt/hda9:$alignr${fs_used /mnt/hda9} / ${fs_size /mnt/hda9}$endif
When using conky conditional if statements, how do I prevent a "blank line" if condition is not met?
Last edited by NewCityVegas (2008-12-11 19:33:12)
Something new
Thanks to Hanna for the link to the base script
Edit: I changed this a bit and updated the image/code.
# Use Xft? use_xft yes xftfont DejaVu Sans:size=8 xftalpha 0.8 text_buffer_size 2048 # Update interval in seconds update_interval 4 # 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 normal 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 grey #default_shade_color black #default_outline_color grey own_window_colour grey # 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 35 # 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} ${alignc 17}${font Arial Black:size=16}omns${font} ${alignc}smile, breathe and go slowly ${voffset 2}${font StyleBats:size=16}i${font} Kernel: ${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 BAT0}% ${alignr}${battery_bar 8,60 BAT0} ${font StyleBats:size=16}q${font} Uptime: ${alignr}${uptime} DATE ${hr 2} ${alignc 17}${font Arial Black:size=16}${time %H:%M}${font} ${alignc}${time %A %d %B %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_used /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} kb/s ${alignr}${upspeedgraph wlan0 8,60 BEBEBE BEBEBE} ${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed wlan0} kb/s ${alignr}${downspeedgraph wlan0 8,60 BEBEBE BEBEBE} ${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} ${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 789E2D A7CC5C} ${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 8,60 789E2D A7CC5C} ${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} ${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 789E2D A7CC5C} ${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed eth1} kb/s ${alignr}${downspeedgraph eth1 8,60 789E2D A7CC5C} ${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} ${endif}${else} ${font PizzaDude Bullets:size=14}4${font} Network Unavailable ${endif} PROCESSES ${hr 2} NAME $alignr PID CPU ${top name 1} $alignr ${top pid 1} ${top cpu 1} ${top name 2} $alignr ${top pid 2} ${top cpu 2} ${top name 3} $alignr ${top pid 3} ${top cpu 3} ${top name 4} $alignr ${top pid 4} ${top cpu 4} ${top name 5} $alignr ${top pid 5} ${top cpu 5} ${top name 6} $alignr ${top pid 6} ${top cpu 6} ${top name 7} $alignr ${top pid 7} ${top cpu 7} ${top name 8} $alignr ${top pid 8} ${top cpu 8}
Excuse for my english...
Your conky is beautiful but it does not work on my monitor...I'm sad
Thanks for answer ![]()
bargeot5999, try running conky from the terminal (just open and type conky)
If it doesnt work the terminal will print what's wrong in the conkyrc file.
Most probably its because that second CPU entry.
bargeot5999, try running conky from the terminal (just open and type conky)
If it doesnt work the terminal will print what's wrong in the conkyrc file.Most probably its because that second CPU entry.
Thanks razienwolf ![]()
...conk doesn't work on my monitor because second CPU entry...:rolleyes:
Also, thanks omns for this great conk^^
Last edited by bargeot5999 (2008-12-13 17:19:18)
...conk doesn't work on my monitor because second CPU entry...:rolleyes:
Also, thanks omns for this great conk^^
Thank you
but it is really just a hack of someone else's fine efforts. To get yours working just delete the reference to the second CPU in conkyrc then restart conky.
My latest. Slight changes but it's really just an excuse to test out the new pastebin ![]()
Image - http://omns.deviantart.com/art/latest-conky-106262392
conkyrc - http://crunchbanglinux.org/pastebin/6
Is that just an extra security measure of some sort?
lol
No, it's just what my common household D-Link router uses ![]()
bargeot5999 wrote:...conk doesn't work on my monitor because second CPU entry...:rolleyes:
Also, thanks omns for this great conk^^
Thank you
but it is really just a hack of someone else's fine efforts. To get yours working just delete the reference to the second CPU in conkyrc then restart conky.
thanks omms ![]()
..your conky works on my monitor ![]()
conkyrc : http://crunchbanglinux.org/pastebin/14
conky-cbl-color-pack ( conkyrc,fonts,wall): http://gnome-look.org/content/download.
n=15480685
wow this is really handy, especially local ip and top processes showing.
Thanks!!
conkyrc : http://crunchbanglinux.org/pastebin/14
conky-cbl-color-pack ( conkyrc,fonts,wall): http://gnome-look.org/content/download. n=15480685
Nice work arp! I have never really been a fan of horizontal conky set-ups, however I really like this one. Good stuff! ![]()
thanks corenominal .
i don't know when or where but someone ask for a script to have "updates available" in conky. here it is : http://www.box-look.org/content/show.ph
tent=95218 thanks to pllb.
hope it helps ![]()
Last edited by arpbook (2008-12-17 16:24:37)
I saw that the other day.
Was going to post here but ended up forgetting.
http://crunchbanglinux.org/pastebin/32
Something simpler this time ![]()

Last edited by Hanna (2008-12-18 06:05:26)
@Hanna ; really like the mini-weather feature ![]()
and now .... all in one bottom bar : conky, tint & trayer
conkyrc : http://crunchbanglinux.org/pastebin/31
tintrc : http://crunchbanglinux.org/pastebin/30
autostart trayer line
# launch trayer
(sleep 1s && trayer --edge bottom --align right --margin 0 --widthtype request --heighttype pixel --height 14 --SetDockType false --SetPartialStrut true --transparent true --alpha 255 --tint 0x363636 --distance 4 --expand false) &![]()
In the end I choose to go with a mod on the vorta config as well (its the same one that I used as base for my tintrc).
http://www.gnome-look.org/content/show. tent=92498
I agree, its hard to go wrong with that setup...it saves a lot of desktop space.
Last edited by swj (2008-12-18 00:57:39)
quick question: I CANNOT get conky to stop flickering. No matter which monitor I put it on, no matter if I have double_buffer installed or not, every time it reloads it flickers. Any suggestions I'm overlooking?
Can you get the weather.com site to give you non US forecasts? When I try to register for a feed, it will only accept a US state. I have a Python script, which uses the Yahoo feed, to update my web page, which I will probably adapt to work with Conky. See http://www.ian-barton.com/ to see the Web version. I have also got a python script I use with Conky to show the status of my MythTV box if anyone is interested.
Ian.
Can you get the weather.com site to give you non US forecasts? When I try to register for a feed, it will only accept a US state. I have a Python script, which uses the Yahoo feed, to update my web page, which I will probably adapt to work with Conky. See http://www.ian-barton.com/ to see the Web version. I have also got a python script I use with Conky to show the status of my MythTV box if anyone is interested.
Ian.
If I remember correctly, I registered as being in the US and then modified my location in the conky weather configuration file. It worked for me, but obviously I cannot condone my behaviour. ![]()
I registered as being in France (which I am!) and have it happily working for me. I don't recall doing anything special.
I did have to amend the default location in the .py (from the author's default 'Norwich, UK' location) because the script wasn't picking up my location from the config file, but that's the only bit of tinkering that I had to do.
Posts [ 51 to 75 of 2,565 ]
CrunchBang Linux Forums » Tips, Tricks & Scripts » My Conky Config
Forums powered by PunBB. Hosted by Linode.
Copyright © CrunchBang Linux.
Proudly powered by Debian GNU/Linux.
Debian is a registered trademark of Software in the Public Interest, Inc.