SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#226 2009-03-04 11:51:01

WhyNotCrashDifferently?
#! Member
From: ON, CA
Registered: 2009-01-28
Posts: 59

Re: My Conky Config

dyasrt.jpg

background yes
use_xft yes
xftfont Sans:size=8
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 200 200
maximum_width 240
draw_shades yes
color1 B1CD87
color2 F7F5F2
alignment top_right
gap_x 12
gap_y 12
no_buffers yes
cpu_avg_samples 2

##############################################

TEXT

$alignr${color1}$nodename${color} ${color2}has been awake for${color} ${color1}$uptime${color}
$alignr${color2}he is using${color} ${color1}$mem${color} of his ${color1}$memmax${color} ${color2}RAM${color}
$alignr${color2}and${color} ${color1}$swap${color} ${color2}of his${color} ${color1}$swapmax${color} ${color2}SWAP${color}
$alignr${color2}as well as${color} ${color1}${fs_used /}${color} ${color2}of his${color} ${color1}${fs_size /}${color} ${color2}root space${color}
$alignr${color2}also${color} ${color1}${fs_used /home}${color} ${color2}of his${color} ${color1}${fs_size /home}${color} ${color2}home space${color}
$alignr${color2}his processor load looks like${color} ${color1}${cpubar cpu1 8,25}${color} ${color2}and${color} ${color1}${cpubar cpu2 8,25}${color}
$alignr${color2}with a battery charge of${color} ${color1}${battery_bar 8,50 BAT0}${color}
$alignr${color2}and his kernel is${color} ${color1}${kernel}${color}

Sony VAIO VGN-N130G
-1.6-GHz Intel Core Duo, Intel GMA 950/128MB, 1 GB RAM, 80 GB HDD

Offline

Be excellent to each other!

#227 2009-03-04 14:39:48

kollektivist
Member
Registered: 2009-01-08
Posts: 23

Re: My Conky Config

Haha, nice story wink

Offline

#228 2009-03-05 12:44:20

Blaise
Member
Registered: 2009-03-05
Posts: 15

Re: My Conky Config

Hi guys, this thread has really helped me to get a nice desktop running on #!.

I'm having a bit of trouble though with my conky set up cropping off the bottom of my window.

2l9kylf.jpg

As I understand it, the height is meant to be auto, I wonder if the voffset properties in the .conkyrc have confused the script somewhat.

Does anyone know how to fix this?

Offline

#229 2009-03-05 13:22:40

pitje
#! Junkie
From: me to you
Registered: 2009-02-10
Posts: 437
Website

Re: My Conky Config

Blaise wrote:

Hi guys, this thread has really helped me to get a nice desktop running on #!.

I'm having a bit of trouble though with my conky set up cropping off the bottom of my window.

As I understand it, the height is meant to be auto, I wonder if the voffset properties in the .conkyrc have confused the script somewhat.

Does anyone know how to fix this?


putting a few empty lines at the bottom of my .conkyrc has helped me with that problem

Don't know if that's the preferred way, but it Works On My Machine tongue


oh yeah? well, your momma dresses you funny and you need a mouse to delete files

Offline

#230 2009-03-05 13:59:43

Blaise
Member
Registered: 2009-03-05
Posts: 15

Re: My Conky Config

Well, that worked for me too. although it doesn't seem very elegant, I can live with that smile

Offline

#231 2009-03-07 20:49:39

Visti
New Member
Registered: 2009-02-21
Posts: 4

Re: My Conky Config

Here's my latest endeavour:

th_browned.jpg

th_browned-busy.jpg

Offline

#232 2009-03-11 01:17:49

Xenokite
Member
From: Linden, New Jersey
Registered: 2009-02-19
Posts: 14

Re: My Conky Config

here is my conky finally but I am still not happy with it.

2009-03-10--1236733190_1680x1050_sc.png

i want to try the individual conky set up that they have on #!-WiKi I have everything set-up but as soon as I edit anyone of my .conky_XXX the whole system crashes.


direct link : http://i123.photobucket.com/albums/o318 … 050_sc.png

Last edited by Xenokite (2009-03-11 01:19:35)

Offline

#233 2009-03-12 23:44:08

munkymack
Member
Registered: 2009-03-05
Posts: 20

Re: My Conky Config

I've actually got a question. I'm running two separate conkys (as you can see in the screen shot) and both have a lot of extra space. I'd love for the first one to actually be drawn on the bottom of the screen instead of having that chunk below it, and i'd like conky2 to hit the top. Any suggestions?

screenshot.jpg

Conky 1 (Bottom Left)

use_xft yes
xftfont verdana:size=6
alignment bottom_left
xftalpha 0.8
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 BADCDD
use_spacer none
no_buffers yes
uppercase no
color1 F8DF58
maximum_width 400

TEXT
${color BADCDD}${font weather:size=82}${execi 600 ~/scripts/conditions.sh}${color}${font}${voffset -25}  ${execi 1200 ~/scripts/pogodynka.sh}


${color BADCDD}${rss http://www.surfline.com/rss/region.cfm?alias=sealbeachcam 05 item_titles 7}

Conky 2 (Top Right)

use_xft yes
xftfont verdana:size=6
alignment top_right
xftalpha 0.8
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 BADCDD
use_spacer none
no_buffers yes
uppercase no
color1 F8DF58

TEXT
   ${font weather:size=28}x ${font} HDD ${execi 1 ~/scripts/hddmonit.sh}°F 
    
   ${font PizzaDude Bullets:size=16}v${font}   Up: ${upspeed eth1} Kb/s 
   ${font PizzaDude Bullets:size=16}r${font}   Down: ${downspeed eth1} Kb/s 

   ${font PizzaDude Bullets:size=16}M${font}   Upload: ${totalup eth1}
   ${font PizzaDude Bullets:size=16}S${font}   Download: ${totaldown eth1}

   ${color ffffff}${font StyleBats:size=16}A${font}    CPU: ${cpu cpu0}% ${cpubar cpu0}

   ${color F8DF58}${font StyleBats:size=16}8${font}    Battery: ${battery_percent BAT1}% ${battery_bar BAT1}

   ${color C2E078}${font PizzaDude Bullets:size=16}J${font}   $mem / $memmax

   ${font StyleBats:size=18}P${font}   Work:  ${uptime_short}

 ${font Radio Space:size=14}${time %A %d %Y}
      ${font Radio Space:size=50}${time %H:%M}

"ACME: We add rockets to everything!"

Crunchbang 8.10 / Windows XP (when I have to) | Samsung NC10 w/ 2gb RAM | www.groundcontrolmag.com / www.spilltheblood.net

Offline

#234 2009-03-12 23:49:38

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 9,418

Re: My Conky Config

Both of your conky configs are missing the gap configuration.

Add this code above the text section (with the rest of the configuration):

gap_x 0
gap_y 0

Offline

#235 2009-03-13 01:32:17

munkymack
Member
Registered: 2009-03-05
Posts: 20

Re: My Conky Config

Sweet, thanks Anonymous!


"ACME: We add rockets to everything!"

Crunchbang 8.10 / Windows XP (when I have to) | Samsung NC10 w/ 2gb RAM | www.groundcontrolmag.com / www.spilltheblood.net

Offline

#236 2009-03-17 05:23:44

elvishandrew
New Member
Registered: 2009-03-17
Posts: 9

Re: My Conky Config

Simple, but gets the job done. And fits nicely on the eee pc.
conk.png

background no
#xftfont Sans:size=10
use_xft yes
xftfont Bitstream Impact :size=7
xftalpha 0.9
update_interval 1.0
total_run_times 0
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 220 5
maximum_width 220
draw_shades yes
draw_outline no 
draw_borders no 
draw_graph_borders yes
default_color white
default_shade_color black
default_outline_color black 
alignment top_right
gap_x 15 
gap_y 20 
uppercase no
cpu_avg_samples 2
override_utf8_locale no

TEXT
${color dark green}SYSTEM ${hr 1}${color}
Hostname: $alignr$nodename
Kernel: $alignr$kernel
Uptime: $alignr$uptime
Temp: ${alignr}${acpitemp}C

${color slate grey}Weather ${hr 1}${color}
${execi 300 /home/treebeard/bin/weather.sh 78704}

${color dark green}Wi-Fi ${hr 1}
${color lightgrey}Wireless signal: $color${wireless_link_qual ra0}%
${color lightgrey}IP address: $color${addr ra0}
${color lightgrey}Wifi Hostname: $color${wireless_essid ra0}

CPU1 ${alignr}${cpu cpu1}%${cpugraph cpu1 15,150 000000 0077ff} 
CPU2 ${alignr}${cpu cpu2}%${cpugraph cpu2 15,150 FFDA00 FF3C00} 

Ram ${alignr}$mem / $memmax ($memperc%)
${color slate grey}${membar 4}${color}

${color slate grey}Highest CPU $alignr CPU% MEM%${color}
${color dark green}${top name 1}$alignr${top cpu 1}${top mem 1}${color}
${top name 2}$alignr${top cpu 2}${top mem 2}
${top name 3}$alignr${top cpu 3}${top mem 3}

${color slate grey}Highest MEM $alignr CPU% MEM%${color}
${color dark green}${top_mem name 1}$alignr${top_mem cpu 1}${top_mem mem 1}${color}
${top_mem name 2}$alignr${top_mem cpu 2}${top_mem mem 2}
${top_mem name 3}$alignr${top_mem cpu 3}${top_mem mem 3}

${color slate grey}Filesystem ${hr 1}${color}

Root: ${alignr}${fs_free /} / ${fs_size /}
${color red}${fs_bar 4 /}${color}
Home: ${alignr}${fs_free /home} / ${fs_size /home}
${color red}${fs_bar 4 /home}${color}

And here is where I got my weather script.
http://bbs.archlinux.org/viewtopic.php?id=37381

Offline

#237 2009-03-17 05:52:13

random.twos
New Member
From: tied to a computer somewhere
Registered: 2009-03-17
Posts: 3

Re: My Conky Config

most of this conky came from this topic... so it might look a little bit redundant but i think that it looks different enough to warrant posting
and sorry if it looks like crud but this is the first time that i've had the joy of working with conky

conky31609.png

# 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 200
maximum_width 250

# 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
color1 = 789E2D

# 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 15
gap_y 15

# 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
${alignc}${font Arial Black:style=Bold:size=14}${time %H:%M}
${alignc}${font}${voffset -8}${alignc}${Time %A %m %d %Y}
${hr 5}
${alignc 17}${font Arial Black:style=Bold:size=12}$nodename
${voffset 2}${font Arial Black:size=11}#! ${font}${alignr}08.10.01
${font StyleBats:size=12}q${font}   Uptime: ${alignr}${uptime}
${font StyleBats:size=12}p${font}   Battery: ${alignr}${battery_percent BAT0}%
${hr}
${font StyleBats:size=12}A${font}   CPU1: ${alignr}${cpu cpu1}% 
${cpugraph cpu1 15,200 789E2D A7CC5C}
${font StyleBats:size=12}A${font}   CPU2: ${alignr}${cpu cpu2}% 
${cpugraph cpu2 15,200 789E2D A7CC5C}
${font StyleBats:size=12}g${font}   RAM: ${alignr}$mem / $memmax
${font StyleBats:size=12}j${font}   SWAP: ${alignr}$swap / $swapmax
${hr}
${font Pie charts for maps:size=12}7${font}        /#!: ${alignr}${fs_used /}/${fs_size /} 
${font Pie charts for maps:size=12}7${font}   /home: ${alignr}${fs_used /home}/${fs_size /home} 
${hr 5}
${if_existing /proc/net/route wlan0}
${voffset -6}${font PizzaDude Bullets:size=12}O${font}   Up: ${upspeed wlan0} kb/s ${alignr}${font}Total: ${totalup wlan0}
${alignc}${font}${upspeedgraph wlan0 15,200 BEBEBE BEBEBE}
${voffset 4}${font PizzaDude Bullets:size=12}U${font}   Down: ${downspeed wlan0} kb/s ${alignr}${font}Total: ${totaldown wlan0}
${alignc}${font}${downspeedgraph wlan0 15,200 BEBEBE BEBEBE}
${voffset 4}${font PizzaDude Bullets:size=12}Z${font}   Signal: ${wireless_link_qual wlan0}% 
${voffset 4}${font PizzaDude Bullets:size=12}a${font}${addr wlan0} ${alignr}${offset -12}${font PizzaDude Bullets:size=12}b${font}${execi 600 wget -O - http://pitje.ath.cx/ip.php | tail}
${else}${if_existing /proc/net/route eth0}
${voffset -6}${font PizzaDude Bullets:size=12}O${font}   Up: ${upspeed eth0} kb/s ${alignr}${font}Total: ${totalup eth0}
${alignr}${font}${upspeedgraph eth0 15,200 789E2D A7CC5C}
${voffset 4}${font PizzaDude Bullets:size=12}U${font}   Down: ${downspeed eth0} kb/s ${alignr}${font}Total: ${totaldown eth0}
${alignr}${font}${downspeedgraph eth0 15,200 789E2D A7CC5C}
${voffset 4}${font PizzaDude Bullets:size=12}a${offset 4}${font}${addr eth0} ${alignr}${offset -12}${font PizzaDude Bullets:size=12}b${offset 4}${font}${execi 600 wget -O - http://pitje.ath.cx/ip.php | tail}
${endif}${else}${if_existing /proc/net/route eth1}
${voffset -6}${font PizzaDude Bullets:size=12}O${font}   Up: ${upspeed eth1} kb/s ${alignr}${font}Total: ${totalup eth1}
${upspeedgraph eth1 10,80 789E2D A7CC5C}
${voffset 4}${font PizzaDude Bullets:size=12}U${font}   Down: ${downspeed eth1} kb/s ${alignr}${font}Total: ${totaldown eth1} 
${downspeedgraph eth1 10,80 789E2D A7CC5C}
${voffset 4}${font PizzaDude Bullets:size=12}a${offset 4}${font}${addr eth1} ${alignr}${offset -12}${font PizzaDude Bullets:size=12}b${offset 4}${font}${execi 600 wget -O - http://pitje.ath.cx/ip.php | tail}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font}   Network Unavailable
${endif}${hr 5}
NAME $alignr PID    CPU   MEM
${voffset -7}${hr}
${color1}${top name 1} $alignr ${top pid 1} ${top cpu 1} ${top mem 1}
${color}${top name 2} $alignr ${top pid 2} ${top cpu 2} ${top mem 2}
${top name 3} $alignr ${top pid 3} ${top cpu 3} ${top mem 3}
${top name 4} $alignr ${top pid 4} ${top cpu 4} ${top mem 4}
${top name 5} $alignr ${top pid 5} ${top cpu 5} ${top mem 5}
${top name 6} $alignr ${top pid 6} ${top cpu 6} ${top mem 6}
${hr 5}
${font size:8}${exec rhythmbox-client --no-start --print-playing-format %tt}  
${font}${voffset -6}${exec rhythmbox-client --no-start --print-playing-format %aa/%at}  
${font}${exec rhythmbox-client --no-start --print-playing-format %te/%td}

Last edited by random.twos (2009-03-17 05:59:55)

Offline

#238 2009-03-20 20:21:29

charlie01
#! Die Hard
Registered: 2009-02-09
Posts: 556

Re: My Conky Config

Here is mine,,I basicly took bits and pieces of other here,,,And i think im getting the hang of it,,And will keep experimenting.
2009032012375798941440x.th.png

# set to yes if you want Conky to be forked in the background
background yes

# Use Xft?
use_xft yes

# Xft font when Xft is enabled
#xftfont Trebuchet MS:size=10
xftfont Sans:size=8

# Text alpha when using Xft
xftalpha 1

# 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

own_window yes
own_window_transparent yes
#own_window_type override
own_window_type desktop
#own_window_type normal #use this if you want a nice shadow to appear around conky

# If own_window is yes, these window manager hints may be used
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 200 200

# Maximum width
maximum_width 220

# Draw shades?
draw_shades yes

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Draw borders around graphs
draw_graph_borders no

# Stippled borders?
stippled_borders 8

# border margins
border_margin 6

# border width
# border_width 1

# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color white

# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
#alignment none

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 12
gap_y 12

# 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

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

##############################################
##############################################

TEXT
${color 99FF99}CrunchBang #!${color} ${hr}

${alignc 29}${font Arial Black:size=18}${time %_I:%M%P}${font}
${color 99FF99}${voffset 2}${alignc}${time %A, %B %d %Y}${color}

Kernel:  ${alignr}${kernel}
CPU1: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,70}
CPU2: ${cpu cpu2}% ${alignr}${cpubar cpu2 8,70}
RAM: $memperc% ${alignr}${membar 8,70}
SWAP: $swapperc% ${alignr}${swapbar 8,70}
Battery: ${battery_percent BAT0}% ${alignr}${battery_bar 8,70 BAT0}
Uptime: ${alignr}${uptime}


${color 99FF99}DISK I/O ${color} ${hr}

${font sans-serif:normal:size=8}Reads: $alignc ${diskio_read /dev/sda1} ${alignr}${diskiograph_read 10,90 00FF00 00FF00}
${font sans-serif:normal:size=8}Writes: $alignc ${diskio_write /dev/sda1} ${alignr}${diskiograph_write 10,90 FF0000 FF0000}


${color 99FF99}PROCESSES${color} ${hr}
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}


${color 99FF99}SHORTCUT KEYS${color} ${hr}
Alt+F2$alignr Run Dialog
Alt+F3$alignr Alt Menu
Super+space$alignr Main Menu
Super+tab$alignr Client Menu
Super+t$alignr Terminal
Super+f$alignr File Manager
Super+e$alignr Editor
Super+m$alignr Media Player
Super+w$alignr Web Browser
Super+c$alignr Clock
Super+l$alignr Lock Screen
Super+v$alignr Volume Control
Super+u$alignr System Update
Super+x$alignr Logout
PrtSc$alignr Screenshot

Offline

#239 2009-03-22 17:34:49

mcarni
#! CrunchBanger
Registered: 2009-02-10
Posts: 130

Re: My Conky Config

hi guys,

nothing special, i just wanted to have one conky instance per corner of my desktop, thanks everybody for the help and inspiration...

M

http://img509.imageshack.us/my.php?image=crunchy.jpg


CONKY_BL

# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=7
xftalpha 0.8
text_buffer_size 4096

# 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 desktop
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 150 0
maximum_width 150 0

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

# 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 05
gap_y -15

# 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
WEATHER ${hr 2}
${if_existing /proc/net/route wlan0}
STUTTGART: ${execpi 1800 conkyForecast --location=GMXX0128 --datatype=CT}
${execpi 1800 conkyForecast --location=GMXX0128 --template=/home/koalinki/.Conky_files/conkyForecast.template}
${voffset -18}BRESCIA: ${execpi 1800 conkyForecast --location=ITXX0008 --datatype=CT}
${execpi 1800 conkyForecast --location=ITXX0008 --template=/home/koalinki/.Conky_files/conkyForecast.template}
${voffset -18}НОВГОРОД: ${execpi 1800 conkyForecast --location=ITXX0008 --datatype=CT}
${execpi 1800 conkyForecast --location=RSXX0157 --template=/home/koalinki/.Conky_files/conkyForecast.template}
${else}
${font PizzaDude Bullets:size=14}4${font}   Network Unavailable


${endif}

CONKY_BR

# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=7
xftalpha 0.8
text_buffer_size 2048

# Update interval in seconds
update_interval 1000

# 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 desktop
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 150 0
maximum_width 150 0

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

# 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 05
gap_y 05

# 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

SHORTCUT ${hr 2}
Super+F10$alignr German Keyboard
Super+F11$alignr Italian Keyboard
Super+F12$alignr Russian Keyboard
Super+space$alignr Main Menu
Super+tab$alignr Client Menu
Super+t$alignr Terminator
Super+f$alignr PCManFM
Super+e$alignr Ekiga
Super+m$alignr VLC
Super+p$alignr Firefox Puci
Super+w$alignr Firefox Suso
Super+y$alignr Thunderbird
Super+r$alignr Rhythmbox
Super+g$alignr Gimp
Super+c$alignr Clock
Super+l$alignr Lock Screen
Super+v$alignr Volume Control
Super+u$alignr System Update
Super+x$alignr Logout
PrtSc$alignr Screenshot

CONKY_TR

# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=7
xftalpha 0.8
text_buffer_size 2048

# Update interval in seconds
update_interval 60

# 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 desktop
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 150 0
maximum_width 150 0

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

# 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 05
gap_y 05

# 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
TIME AND DATE ${hr 2}
${time %A %d %B %Y}
${font Arial Black:size=16}${time %H:%M} ${alignr}${tztime Europe/Moscow %H:%M}${font}
IT, DE${alignr}RU
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 3} $alignr ${top pid 3} ${top cpu 4}
${top name 3} $alignr ${top pid 3} ${top cpu 5}

CONKY_TL

# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=7
xftalpha 0.8
text_buffer_size 4096

# 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 desktop
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 150 0
maximum_width 150 0

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

# 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 05
gap_y 05

# 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 3}${font StyleBats:size=13}i${font}   ${voffset -4}Kernel:  ${alignr}${kernel}
${voffset 3}${font StyleBats:size=13}A${font}   ${voffset -4}CPU1: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
${voffset 3}${font StyleBats:size=13}A${font}   ${voffset -4}CPU2: ${cpu cpu2}% ${alignr}${cpubar cpu2 8,60}
${voffset 3}${font StyleBats:size=13}g${font}   ${voffset -4}RAM: $memperc% ${alignr}${membar 8,60}
${voffset 4}${font Pie charts for maps:size=11}7${font}   ${voffset -5}Root:    ${alignr}${fs_used /}/${fs_size /}
${voffset 4}${font Pie charts for maps:size=11}7${font}   ${voffset -5}Data:    ${alignr}${fs_used /home/koalinki/DATA}/${fs_size /home/koalinki/DATA}
${voffset 4}${font PizzaDude Bullets:size=11}U${font}   Down: ${downspeed wlan0} kb/s ${alignr}${downspeedgraph wlan0 8,60 BEBEBE BEBEBE}
${voffset 4}${font PizzaDude Bullets:size=11}O${font}   Up: ${upspeed wlan0} kb/s ${alignr}${upspeedgraph wlan0 8,60 BEBEBE BEBEBE}
${voffset 3}${font Webdings:size=13}~${font}  ${voffset -4}Battery: ${alignr}${battery BAT1}
${if_empty ${battery BAT1}}${else} ${alignr}${battery_time BAT1} ${endif}

and CONKYWEATHERTEMPLATE

[--datatype=DW --shortweekday]:           [--datatype=DW --shortweekday --startday=1]:           [--datatype=DW --shortweekday --startday=2]:
[--datatype=HT --hideunits --centeredwidth=3]/[--datatype=LT --hideunits --centeredwidth=3]        [--datatype=HT --hideunits --centeredwidth=3 --startday=1]/[--datatype=LT --hideunits --centeredwidth=3 --startday=1]       [--datatype=HT --hideunits --centeredwidth=3 --startday=1]/[--datatype=LT --hideunits --centeredwidth=3 --startday=2]
${font ConkyWeather:style=Bold:size=30}[--datatype=WF]${offset 15}[--datatype=WF --startday=1]${offset 15}[--datatype=WF --startday=2]${font}

Last edited by mcarni (2009-03-25 07:52:55)

Offline

#240 2009-03-25 07:14:39

Yogi
#! Member
From: France
Registered: 2009-03-25
Posts: 57

Re: My Conky Config

Hi,

I've been playing with Conky for some time, and I cooked my configuration mostly through what has been already shown here.

In order not to clutter my EeePC desktop, I wanted to show only which network I was connected to :

No network available : ntwk00.jpg

ethernet only :  ntwk02.jpg

wireless only : ntwk10.jpg

both networks available : ntwk12.jpg

Here is the relevant code :

${alignr}${color2}wan :${color}${texeci 3600 wget http://checkip.dyndns.org -O - -o /dev/null | cut -d : -f 2 | cut -d \< -f 1}
${if_existing /proc/net/route ra0}${color2}${alignr}wlan : ${color}${addr ra0}
${alignr}ESSID: ${wireless_essid ra0}
${alignr}${color2}${downspeedgraph ra0 16,145 444444 AAAAFF}
${alignr}${color2}Down ${color}${downspeed ra0} ${color grey}ko/s${color}  ${color}${totaldown ra0}
${alignr}${upspeedgraph ra0 16,145 582D10 E08000}
${alignr}Up ${color}${upspeed ra0} ${color grey}ko/s${color} ${totalup ra0}${else}${alignr}Réseau Wi-fi désactivé${endif}
${if_existing /proc/net/route eth0}${color2}${alignr}lan :${color}${addr eth0}
${alignr}${color2}${downspeedgraph eth0 16,145 582D10 E08000}
${alignr}${color1}Down ${color}${downspeed eth0} ${color grey}ko/s${color}  ${color}${totaldown eth0}
${alignr}${upspeedgraph eth0 16,145 582D10 E08000}
${alignr}${color1}Up ${color}${color}${upspeed eth0} ${color grey}ko/s${color}  ${color}${totalup eth0}${else}${alignr}Réseau filaire débranché${endif}

Last edited by Yogi (2009-03-25 07:24:48)


Asus EeePC 901A (16Gb SSD) - Waldorf
old Toshiba laptop(Celeron 1,5GHz/20Go/512Mo) - Statler

Offline

#241 2009-03-25 08:08:22

mcarni
#! CrunchBanger
Registered: 2009-02-10
Posts: 130

Re: My Conky Config

Hi Conky Masters,

I need your help, I switch between several keyboard layouts and i have no panel, I edited my rc.xml and switching is perfect but  I never know which layout I am working on without checking with a couple of keys....
it would be ideal if I could have conky to display the current keyboard layout I am using.
I tried to post the same question in some other thread but then i realised I need a Conky Master and this seems to be the best place... big_smile


any ideas?

thanks for your help

M

Offline

#242 2009-03-26 09:32:12

SiLebah
New Member
Registered: 2009-02-10
Posts: 5

Re: My Conky Config

Excuse me...
It's my latest Conky Config...
Thanks for all off member that inspire me....
(sorry for my english... i'm indonesian...)


ByTheWay - AnyWay ......

It's my ScreenShot...

My_CrunChie_Desktop_1.png



And it's my script....

# 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 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 200 0
#maximum_width 400

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

# 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
color1 white
color2 black
color3 FF0000 #red
color4 A7D33A #lime
color5 E913C3 #FC00FF #purple

TEXT
${color4}${font Airmole Shaded:size=39}#! SiLebah${font}
${color5}
SYSTEM ${hr 2}${color4}
${voffset 2}${font OpenLogos:size=16}u${font}   Kernel:  ${alignr}${kernel}
${font StyleBats:size=16}A${font}    CPU1: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,72}
${font StyleBats:size=16}A${font}    CPU2: ${cpu cpu2}% ${alignr}${cpubar cpu2 8,72}

Root $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
${fs_bar /}

Ram $alignc $mem / $memmax $alignr $memperc%
$membar
${alignc 17}${font Arial Black:size=16}${time %H:%M:%Ss}${font}
${alignc}${time %A %d %B %Y}
${alignc}Uptime: ${uptime}
${color5}
NETWORK ${hr 2}${color4}
${if_existing /proc/net/route wlan0}
${alignc 21}${font size=9}${voffset -11}IP: ${addr wlan0}${font}
${voffset 2}Down: ${downspeed wlan0} kB/s ${alignr}Up: ${upspeed wlan0} kB/s
${downspeedgraph wlan0 25,100 FFFF99 FFFF33} ${alignr}${upspeedgraph wlan0 25,100 FFFF00 FFCC00}
${totaldown wlan0} ${alignr}${totalup wlan0}
${else}${if_existing /proc/net/route eth0}
${alignc 21}${font size=9}${voffset -11}IP: ${addr eth0}${font}
${voffset 2}Down: ${downspeed eth0} kB/s ${alignr}Up: ${upspeed eth0} kB/s
${downspeedgraph eth0 25,100 FFFF99 FFFF33} ${alignr}${upspeedgraph eth0 25,100 FFFF00 FFCC00}
${totaldown eth0} ${alignr}${totalup eth0}
${endif}${else}${if_existing /proc/net/route eth1}
${alignc 21}${font size=9}${voffset -11}IP: ${addr eth1}${font}
${voffset 2}Down: ${downspeed eth1} kB/s ${alignr}Up: ${upspeed eth1} kB/s
${downspeedgraph eth1 25,100 FFFF99 FFFF33} ${alignr}${upspeedgraph eth1 25,100 FFFF00 FFCC00}
${totaldown eth1} ${alignr}${totalup eth1}
${endif}${else}${if_existing /proc/net/route eth2}
${alignc 21}${font size=9}${voffset -11}IP: ${addr eth2}${font}
${voffset 2}Down: ${downspeed eth2} kB/s ${alignr}Up: ${upspeed eth2} kB/s
${downspeedgraph eth2 25,100 FFFF99 FFFF33} ${alignr}${upspeedgraph eth2 25,100 FFFF00 FFCC00}
${totaldown eth2} ${alignr}${totalup eth2}
${endif}${else}${if_existing /proc/net/route eth3}
${alignc 21}${font size=9}${voffset -11}IP: ${addr eth3}${font}
${voffset 2}Down: ${downspeed eth2} kB/s ${alignr}Up: ${upspeed eth3} kB/s
${downspeedgraph eth3 25,100 FFFF99 FFFF33} ${alignr}${upspeedgraph eth3 25,100 FFFF00 FFCC00}
${totaldown eth3} ${alignr}${totalup eth3}
${endif}${else}${color1}
${font Birdland Aeroplane:size=31} #!${font openlogos:size=38} U u t${font}
${endif}${color5}
PROCESSES ${hr 2}
${color4}
${alignc 40}${font Birdland Aeroplane:size=16}$processes processes ($running_processes running)${font}
${color5}
NAME $alignr PID    CPU  MEM${color4}
${top name 1} $alignr ${top pid 1} ${top cpu 1} ${top mem 1}
${top name 2} $alignr ${top pid 2} ${top cpu 2} ${top mem 2}
${top name 3} $alignr ${top pid 3} ${top cpu 3} ${top mem 3}
${top name 4} $alignr ${top pid 4} ${top cpu 4} ${top mem 4}
${top name 5} $alignr ${top pid 5} ${top cpu 5} ${top mem 5}
${top name 6} $alignr ${top pid 6} ${top cpu 6} ${top mem 6}
${top name 7} $alignr ${top pid 7} ${top cpu 7} ${top mem 7}
${top name 8} $alignr ${top pid 8} ${top cpu 8} ${top mem 8}
${execi 1000 cowsay -W 14 'SiLebah is The Bee in Indonesian'}

Offline

#243 2009-03-26 18:45:29

needcoffee
Member
Registered: 2009-03-15
Posts: 39

Re: My Conky Config

mcarni wrote:

Hi Conky Masters,

I need your help, I switch between several keyboard layouts and i have no panel, I edited my rc.xml and switching is perfect but  I never know which layout I am working on without checking with a couple of keys....
it would be ideal if I could have conky to display the current keyboard layout I am using.
I tried to post the same question in some other thread but then i realised I need a Conky Master and this seems to be the best place... big_smile


any ideas?

thanks for your help

M

Sounds like a challenge. Can you please give me the information which application do you use to switch between layouts? I don't use/need this myself, but would be interesting to try. big_smile

Offline

#244 2009-03-26 21:18:20

mcarni
#! CrunchBanger
Registered: 2009-02-10
Posts: 130

Re: My Conky Config

great Needcoffe,

thanks for your help...

this is an extract from my rc.xml:

<keybind key="W-F12">
      <action name="Execute">
        <startupnotify>
          <enabled>false</enabled>
          <name>Russian Keyboard</name>
        </startupnotify>
        <command>setxkbmap -model pc105 -layout ru</command>
      </action>
    </keybind>

i mapped the key combination "super-F12" to execute setxkbmap -model pc105 -layout ru, which sets my keyboard layout to russian, I have a similar one for Italian and German.
I checked man setxkbmap but I couldn-t figure out a way of getting somewhere the current layout as an output....
but I am a super noob....so maybe it was there in front of me and i couldn't see it.

Thanks
I really appreciate your help
let me know if there is anything i can do to help you... helping me... big_smile
M

Offline

#245 2009-03-26 21:45:24

ESCAPADO
Member
Registered: 2009-01-07
Posts: 22

Re: My Conky Config

setxkbmap -v 7 | grep layout | awk '{print $2}'

prints out the layout - de in my case

to put it in your conky use or try that string:

${exec 10 setxkbmap -v 7 | grep layout | awk '{print $2}'}

Offline

#246 2009-03-27 07:37:05

mcarni
#! CrunchBanger
Registered: 2009-02-10
Posts: 130

Re: My Conky Config

fantastic,

thank you so much, I will try it tonight from home and let you know...

Note to self: study cat, grep and awk !!!


Thanks

M

Offline

#247 2009-03-27 20:35:20

mcarni
#! CrunchBanger
Registered: 2009-02-10
Posts: 130

Re: My Conky Config

@escapado

1000 thanks, perfect (had to replace exec 1 with execi 1 no idea why...)

M

Offline

#248 2009-03-28 01:10:52

nabilalk
#! Die Hard
From: U.S.A.
Registered: 2009-01-28
Posts: 531

Re: My Conky Config

ESCAPADO wrote:
setxkbmap -v 7 | grep layout | awk '{print $2}'

prints out the layout - de in my case

@ESCAPADO: Prints out the layout? What do you mean by this? Thanks.


#! 10 “Statler” r20110207 32-bit & Openbox

Offline

#249 2009-03-28 01:44:42

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 9,418

Re: My Conky Config

He doesnt mean "print" literally. Just that it gives "de" as the output after executing the command.

Offline

Help fund CrunchBang, donate to the project!

#250 2009-03-28 03:39:56

nabilalk
#! Die Hard
From: U.S.A.
Registered: 2009-01-28
Posts: 531

Re: My Conky Config

anonymous wrote:

He doesnt mean "print" literally. Just that it gives "de" as the output after executing the command.

In other words he is saying that the cmd just executes the keyboard layout switch. Correct?


#! 10 “Statler” r20110207 32-bit & Openbox

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo