You are not logged in.

#126 2008-09-20 20:01:27

haxit
Member
From: /home/haxit
Registered: 2008-03-04
Posts: 1,247
Website

Re: conky configs and screenshots!

Here is mine:

3e3a60163d.png

#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 
uppercase yes

#borders
draw_borders no
border_margin 1

#shades
draw_shades no

#position
gap_x 0
gap_y 0
alignment top_left

#behaviour
update_interval 1

#colour
default_color ffffff
#default_shade_color 000000
#own_window_colour 262626

#font
use_xft yes
xftfont cure:pixelsize=8

#to prevent window from moving
use_spacer no
minimum_size 1680 0

TEXT
${alignc}${voffset 2}${time %d %B} ${color FF0099}${time %I:%M %P}${color} ${color ffffff}  ::  ${color} Email: ${color FF0099}${execi 60 python ~/scripts/gmail.py}${color} ${color ffffff}  ::  ${color} Packages: ${color FF0099}${execi 60 perl ~/scripts/arch-updates/conky-updates.pl}${color}${voffset 2}

Archi686 User | Old Screenshots | Old .Configs
Vi veri universum vivus vici.

Offline

#127 2008-09-22 00:25:48

fflarex
Member
Registered: 2007-09-15
Posts: 466

Re: conky configs and screenshots!

Here's a simple clock that will go great with Elegant Brit themes:

elegantconkyclockst7.th.png

# 
# ~/.conkyrc-clock - an attractive, Elegant Brit-style desktop clock
# 

alignment       top_right
color0          e1e1e1
color1          e04613
default_color   ffffff
double_buffer   yes
draw_shades     no
font            DejaVu Serif-36
gap_x           20
gap_y           20
minimum_size    225
own_window      no
update_interval 3
use_xft         yes

TEXT
$alignc${time %-I:%M}$color0${time %P}${font DejaVu Serif-12}
$color1${hr 3}$color
$alignc${time %A, %B %-d}

Offline

#128 2008-09-23 04:42:05

meinhimmel
Member
Registered: 2007-07-12
Posts: 58

Re: conky configs and screenshots!

14jbvqo.png

My conky is in the bottom right hand corner.

The Openbox and GTK2 themes are ones I made for myself, but haven't bothered releasing yet.  (If there's any demand for them just tell me, and I'll put them up somewhere.  They are extreme edits of pre-existing themes, but I am unsure of the original authors names so I'll have to look them up before releasing.)

The panel at the bottom is tint. smile

.conkyrc

double_buffer yes
background yes

use_xft yes

update_interval 1.0

own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,sticky,skip_pager
no_buffers yes
draw_shades no
draw_outline no
draw_borders no
stippled_borders 0
alignment bottom_right
gap_x 20
gap_y 0
uppercase no

TEXT
${offset 10}${voffset 85}${color 0da010}${font URW Gothic L-72}${time %H}
${offset 99}${voffset -135}${color 0da010}${font URW Gothic L-30}${time %M}
${offset 102}${voffset -27}${color 374a5e}${font URW Gothic L-14}${time %b}
${offset 109}${voffset -5}${color 374a5e}${font URW Gothic L-14}${time %d}

Last edited by meinhimmel (2008-09-23 05:01:46)

Offline

#129 2008-09-30 04:49:05

AD28
Member
Registered: 2008-09-16
Posts: 161

Re: conky configs and screenshots!

DESKTOP:

conky840x15js5.jpg

gmail.rb:
  ruby imap script

mpd.awk:
  sen's mira conky

down/upload arrows:
  pizzadude bullets font

.conkyrc:

# conky config
#  taskbar layout

# general
alignment tl
background yes
gap_x 2
gap_y 2
#minimum_size 1668 20

# font
override_utf8_locale yes
use_xft yes
xftfont Sans:size=9
xftalpha 0.8

# colors
color0 7d7d7d    #title
default_color 9f9f9f
default_outline_color white
default_shade_color black

# border
border_margin 1
border_width 1
draw_borders no
draw_outline no
draw_shades yes
#draw_shades no
stippled_borders 8

# window
own_window no

# misc
cpu_avg_samples 2
double_buffer yes
net_avg_samples 2
no_buffers yes
short_units yes
total_run_times 0
update_interval 1.0
uppercase no
use_spacer none

# mpd
mpd_host localhost
mpd_port 6600

#${tcp_portmon 22 22 rip 0}
#${hwmon 2 temp 1}°C
#${execi 10 sensors | grep 'temp1:.*crit' | awk '{print $2}' | sed 's/\+//; s/.0//'}

TEXT
${color0}${font openlogos:size=22}B${font}${voffset -14}${offset 2}${sysname}-${machine} ${kernel} ${color}${execi 300 perl ~/scripts/arch-updates/conky-updates.pl} | ${color0}Mail${color} GMX: ${execi 600 ~/scripts/gmx.rb}, Gmail: ${execi 600 ~/scripts/gmail.rb} | ${color0}CPU${color} ${processes} (${running_processes}) tasks ${font Arial:size=9}${voffset -1}@${voffset 1}${font} ${freq_g}GHz ${voffset 1}${cpugraph cpu1 8,75 d4d4d4 4d4d4d}${voffset -1} ${cpu cpu1}% ${voffset 1}${cpugraph cpu2 8,75 d4d4d4 4d4d4d}${voffset -1} ${cpu cpu2}% | ${color0}RAM${color} ${mem} ${voffset 1}${membar 8,75}${voffset -1} ${memperc}% | ${color0}Swap$color ${swap} ${voffset 1}${swapbar 8,75}${voffset -1} ${swapperc}% | ${color0}Sensors$color CPU: ${acpitemp}°C, GPU: ${execi 5 nvidia-settings -q :0[gpu:0]/GPUCoreTemp | grep ':0' | awk '{print $4}' | sed 's/\./°C/'} | ${color0}${time %a: %b %d}$color ${execi 300 /home/tim/scripts/weather.sh ###### | sed 's/F/°F/'}
${voffset -1}${offset 25}${color0}$nodename${color} $uptime_short | ${color0}${color0}Root${color} ${fs_used /} ${voffset 1}${fs_bar 8,75 /}${voffset -1} ${fs_used_perc /}% | ${color0}Home${color} ${fs_used /home} ${voffset 1}${fs_bar 8,75 /home}${voffset -1} ${fs_used_perc /home}% | ${color0}Data${color} ${fs_used /windows/Data} ${voffset 1}${fs_bar 8,75 /windows/Data}${voffset -1} ${fs_used_perc /windows/Data}% | ${color0}${font PizzaDude Bullets:size=10}U${font}${color}${totaldown eth0} ${voffset 1}${downspeedgraph eth0 8,75 d4d4d4 4d4d4d}${voffset -1} ${downspeed eth0}K/s | ${color0}${font PizzaDude Bullets:size=10}O${font}${color}${totalup eth0} ${voffset 1}${upspeedgraph eth0 8,75 d4d4d4 4d4d4d}${voffset -1} ${upspeed eth0}K/s | ${color0}[${font DejaVu Sans Mono:size=10}${voffset -1}${execi 1 ~/scripts/mpd.awk}${font}]${color} ${mpd_smart} ${voffset 1}${mpd_bar 8,75}${voffset -1} ${mpd_elapsed}

LAPTOP:

For my thinkpad, I changed up sen's mira conky a little and added a thinkpad section.  Each block has its own config, and the whole thing is started up by using a script that runs conky -c on each block's config.  I only included .conkyrc_tp below since the rest of it is just sen's config with small adjustments.

conkytpcropscalemg7.png

.conkyrc_tp:

# Use Xft?
use_xft yes
xftfont cure:size=7

# 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 no
own_window_type override
own_window_hints undecorate,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 280 5
maximum_width 107

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders yes

# Stippled borders?
stippled_borders 0

# border margins
border_margin 5

# border width
border_width 1

# Default colors and also border colors
default_color 303030
#default_shade_color white
#default_outline_color black
own_window_colour 262524

# Text alignment, other possible values are commented
alignment tl

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

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

# Colors
color0 eab93d    #name
color1 a4a4a4    #value
color2 ee6363    #red
color3 786a47    #bar

#${color0}CPU:${alignr}${color1}${execi 30 sensors | grep 'temp1:' | awk '{print $2}' | sed 's/\+//' | sed 's/\.0//'}

TEXT
${color0}AC:${alignr}${color1}${if_existing /sys/devices/platform/smapi/ac_connected 1}connected${endif}${if_existing /sys/devices/platform/smapi/ac_connected 0}${color2}unplugged${endif}
${color0}Battery:${alignr}${color1}${if_existing /sys/devices/platform/smapi/BAT0/state discharging}dis${endif}${if_existing /sys/devices/platform/smapi/BAT0/state idle}idle${endif}${if_existing /sys/devices/platform/smapi/BAT0/state charging}charging${endif}${if_existing /sys/devices/platform/smapi/BAT0/state none}${color2}N/A${endif}
${if_existing /sys/devices/platform/smapi/BAT0/installed 1}${color3}${battery_bar 20,105 BAT0}${voffset 6}${offset -64}${color1}${font cure:size=12}${battery_percent}%$font
${voffset -12}${color0}LBAT:${alignr}${color1}${ibm_temps 4}°C
${color0}RBAT:${alignr}${color1}${ibm_temps 6}°C${endif}${if_existing /sys/devices/platform/smapi/BAT0/installed 0}${color3}${battery_bar 20,105 BAT0}${voffset 6}${offset -64}${color1}${font cure:size=12}N/A$font
${voffset -12}${color0}LBAT:${alignr}${color1}N/A
${color0}RBAT:${alignr}${color1}N/A${endif}

${color0}CPU:${alignr}${color1}${ibm_temps 0}°C
${color0}GPU:${alignr}${color1}${ibm_temps 3}°C
${color0}HDAPS:${alignr}${color1}${ibm_temps 1}°C
${color0}PCMCIA:${alignr}${color1}${ibm_temps 2}°C
${color0}FAN:${alignr}${color1}${ibm_fan} RPM

${color0}Governor:
${color1}${execi 5 cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor}${alignr}${freq_dyn_g}GHz${font size=4}

Last edited by AD28 (2008-10-24 19:20:38)

Offline

#130 2008-10-06 22:49:51

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

Re: conky configs and screenshots!

is there a way to put conky inside a gnu/screen session? i mean, i use screen for everything, i always have a urxvt open and i almost never see my wallpaper, so i want to put conky output inside a screen tab, so i can check it when i want. i installed conky-cli, but it doesn't behave like ordinary conky, it sends it's output without cleaning the screen first, so the output gets garbled inside the terminal

an example:

[aleyscha@aleyscha 8 ~]$ conky
4d 11h/26C | 13%/48.0C/4/152 | 489/409 | /sdb1:12G /sdd1:60G /cdrom:n/a | 71% | 0k/0k | 2/8 | 19:48 06/10/2008
4d 11h/26C | 61%/48.0C/6/152 | 489/409 | /sdb1:12G /sdd1:60G /cdrom:n/a | 71% | 13k/6k | 2/8 | 19:48 06/10/2008
4d 11h/26C | 91%/48.0C/3/152 | 489/409 | /sdb1:12G /sdd1:60G /cdrom:n/a | 71% | 23k/11k | 2/8 | 19:48 06/10/2008
4d 11h/26C | 87%/48.0C/3/152 | 489/409 | /sdb1:12G /sdd1:60G /cdrom:n/a | 71% | 25k/11k | 2/8 | 19:48 06/10/2008
^C4d 11h/26C | 79%/48.0C/4/152 | 489/409 | /sdb1:12G /sdd1:60G /cdrom:n/a | 71% | 32k/10k | 2/8 | 19:48 06/10/2008
Conky: received SIGINT or SIGTERM to terminate. bye!
[aleyscha@aleyscha 9 ~]$

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

#131 2008-10-06 23:08:53

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: conky configs and screenshots!

AD28:

I like the "compartmentalization" of your conky layout, but I can't completely follow it from the posted configuration. Could you post a simple example of how to do it? I see the offset variables, but I don't see what's generating certain things and I'm just not getting the global layout (is it really just a single column shifted around with offsets?). Sorry if this is obvious, but I'm really tired and decrypting conky configuration syntax just isn't working right now. I'm really just interested in the overall layout, not the particular information inside each panel.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#132 2008-10-06 23:29:25

AD28
Member
Registered: 2008-09-16
Posts: 161

Re: conky configs and screenshots!

@Xyne:

Are you asking about the 2nd conky I posted?  If so, each block is a separate conky config, and they're all started with conky -c in a script.

e.g.

conky -c ~/conky/.conkyrc_status
conky -c ~/conky/.conkyrc_weather
conky -c ~/conky/.conkyrc_net
conky -c ~/conky/.conkyrc_tp
conky -c ~/conky/.conkyrc_sys
conky -c ~/conky/.conkyrc_mpd

It's taken from sen's mira conky with some adjustments and a new thinkpad section. I only posted the new .conkyrc_tp config.. I'll edit my original post to make that more clear.

Offline

#133 2008-10-07 08:51:43

my0pic
Member
From: Melbourne, Australia
Registered: 2008-05-23
Posts: 206

Re: conky configs and screenshots!

screenshotvf4.th.pngthpix.gif

The screenshot that is assaulting your eyes is of the desktop of an oldworld mac  laptop (PowerBook 3400) that I sometimes use at home as a sort of thin client using xdmcp. Along with icewm it has 11 instances of conky running. I know its a bit much but they all run differing update intervals. I used  Xyne's post on how to set up a scrolling Arch package notifier which was perfect for the bottom of the screen. The server/client scripts are on my main Arch box and conky on the laptop connects via ssh and excecutes the client script.

background yes
use_xft yes
xftfont Radio Space Italic:size=8
xftalpha 0.8
update_interval 10.0
total_run_times 0
own_window yes
own_window_type override
own_window_transparent yes
double_buffer no
minimum_size 500 0
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
#stippled_borders 8
alignment bottom_left
gap_x 0
gap_y 0
uppercase no
override_utf8_locale no
use_spacer no
#max_user_text 16384

TEXT
 ${voffset 19}${color PowderBlue}${font OpenLogos:size=22}B ${voffset -7}${font Radio Space Italic:size=10}${color PowderBlue}archie-bd Updates Avail: ${color yellow}${execi 900 ssh xxxx@xxxxxxx '/xxx/xxx/conkyPkgListClient 64564'}  ${font Sans:size=10}${color chartreuse}>>>>> ${font Radio Space Italic:size=10}${color PowderBlue}${execi 10 ssh xxxx@xxxxx '/xxx/xxxx/conkyPkgListClient 64564 10 e 40'} ${font Sans:size=10}${color chartreuse}<<<<<

Offline

#134 2008-10-07 09:20:08

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: conky configs and screenshots!

AD28 wrote:

@Xyne:
It's taken from sen's mira conky with some adjustments and a new thinkpad section. I only posted the new .conkyrc_tp config.. I'll edit my original post to make that more clear.

Aha! Thanks, that cleared it up. I thought that you had somehow managed all of that from a single instance of conky. I couldn't find most of the stuff in the display in the config that you posted but thought I might have seen some externally loaded content so I didn't think about it too much.

I suppose that's a clever way to avoid updating everything at short intervals just to display some real-time stuff. How's the resource usage when running multiple instances? Unnoticeable?


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#135 2008-10-07 13:06:15

greyarea
Member
Registered: 2008-09-30
Posts: 10

Re: conky configs and screenshots!

Using sen's mira setup I had to edit mpd.awk to get it working.  I think it might be because of a different mpc version (?)

Basically my mpc reports 'playing' and 'paused' rather than 'Playing' and 'Paused' so I had to change the strings in mpd.awk to reflect this.

Offline

#136 2008-10-07 16:05:52

delerious010
Member
From: Montreal
Registered: 2008-10-07
Posts: 72

Re: conky configs and screenshots!

Still playing around with this, but here's my 4 configs. The audio part is from the conky-exaile script @ http://www.kaivalagi.com/node/10.

Screenshot : screenshot1wg6.th.jpg

Common header :

#avoid flicker
double_buffer yes

#own window to run simultanious 2 or more conkys
own_window  yes
own_window_transparent no
own_window_type normal
own_window_hints undecorate,sticky,skip_taskbar,skip_pager

#borders
draw_borders no
border_margin 1

#shades
draw_shades no

#behaviour
update_interval 1

#colour
default_color 000000
color0 262626
color1 6c6c6c

#default_shade_color 000000
#own_window_colour 262626
own_window_colour ffffff

#font
use_xft yes
xftfont bauhaus:pixelsize=10

Top-left :

#position
gap_x 10
gap_y 32
alignment top_left

#to prevent window from moving
use_spacer no
minimum_size 900 25

TEXT
${voffset 0}${color0}Kernel :::: ${color1}${kernel} ${color0}up for ${color1}${uptime}
${color0}- Core 0 :: ${color1}AMD a64 X2 ${color0}@ ${color1}${freq 0} MHz ${color0}| Use: ${color1}${cpu 0}% ${color0}| Temp: ${color1}${execi 1 sensors | grep "Core0" | cut -c15-18}c ${color0}
${color0}- Core 1 :: ${color1}AMD a64 X2 ${color0}@ ${color1}${freq 1} MHz ${color0}| Use: ${color1}${cpu 1}% ${color0}| Temp: ${color1}${execi 1 sensors | grep "Core1" | cut -c15-18}c ${color0}
${color0}- Video :: ${color1}Nvidia GeForce 7900 GS ${color0}| Temp: ${color1}${execi 1 nvidia-settings -q gpucoretemp  |grep '):' | cut -c 40-41}c
${color0}- Network :: ${color0}down: ${color1}${downspeed eth0} Kb/s ${color0}for ${color1}${totaldown eth0} ${color0}| up: ${color1}${upspeed eth0} Kb/s ${color0} for ${color1}${totalup eth0} ${color0}

Top-right :

#position
gap_x 10
gap_y 40
alignment top_right

#to prevent window from moving
use_spacer no
minimum_size 400 25

TEXT
${alignr}${color1}${mem} ${color0}of ${color1}${memmax} ${color0}: Ram
${alignr}${color1}${fs_free /} ${color0}of ${color1}${fs_size /} ${color0}: Root
${alignr}${color1}${fs_free /home} ${color0}of ${color1}${fs_size /home} ${color0}: Home
${alignr}${color1}${fs_free /mnt/media} ${color0}of ${color1}${fs_size /mnt/media} ${color0}: Media

Bottom-left :

#position
gap_x 10
gap_y 34
alignment bottom_left

#to prevent window from moving
use_spacer no
minimum_size 900 25

TEXT
${voffset 0}${color0}Syslog::
${color1}${exec sudo tail -4 /var/log/everything.log}

Bottom-right :

#position
gap_x 10
gap_y 26
alignment bottom_right

#to prevent window from moving
use_spacer no
minimum_size 700 25

TEXT
${color0}${execp /home/serafini/bin/conky-exaile --template=/home/serafini/.config/conky/conky-exaile.template}

Offline

#137 2008-10-07 21:22:25

BKJ
Member
Registered: 2008-09-19
Posts: 71

Re: conky configs and screenshots!

Here is my transparent conkyrc config:

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

# Create own window instead of using desktop (required in nautilus)
own_window 1
own_window_type override
own_window_transparent 1

# Use Xft?
use_xft no

# Set conky on the bottom of all other applications
on_bottom yes

# Update interval in seconds
update_interval 2

# 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

# 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
#alignment none

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

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

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

# stuff after 'TEXT' will be formatted on screen

TEXT
${color #F6F9F9}$NODENAME ${hr 2}$color ${alignr}
${color #909090}Kernel: $color${alignr}${kernel}
${color #909090}Load: $color${alignr}${loadavg}
${color #909090}Date: $color${alignr}${time %a, %D}
${color #909090}Time: $color${alignr}${time %I:%M %p}
${color #909090}Uptime: $color${alignr}${uptime}


${color #F6F9F9}PROCESSING ${hr 2}$color
${color #909090}CPU 0:$color     ${alignr}${cpu cpu0}%
${color #909090}CPU 1:$color     ${alignr}${cpu cpu1}%
${color #909090}${cpugraph 20,180 000000 448FC6}

${color #F6F9F9}DATA ${hr 2}$color
${color #909090}RAM Usage: $color${mem} of $memmax$color
$memperc% $membar
${color #909090}Swap Usage: $color${swap} of $swapmax$color
$swapperc% ${swapbar}

${color #909090}Processes: $color$processes  ${color #909090}Running: $color$running_processes

${color #F6F9F9}FILESYSTEM ${hr 2}$color
${color #909090}Root:  $color${alignr}${fs_free_perc /}% Free$color  
${fs_bar 6 /}$color
${color #909090}Home:  $color${alignr}${fs_free_perc /home}% Free$color  
${fs_bar 6 /home}$color

${color #F6F9F9}NETWORK ${hr 2}$color
${color #909090}Wireless IP: $color${addr wlan0}
${color #909090}Upload:$color     ${alignr}${upspeed wlan0}kb/s${color #909090}
${color #909090}Download:$color ${alignr}${downspeed wlan0}kb/s${color #909090}

${color #909090}Download:${alignr} Upload:$color
${downspeedgraph wlan0 25,80 000000 4AC644} ${alignr}${upspeedgraph wlan0 25,80 000000 44C69F}$color
${color #909090}Down:$color ${totaldown wlan0} ${alignr}${color #909090}Up:$color ${totalup wlan0}

${color #909090}Wired IP: $color${addr eth0}
${color #909090}Upload:$color     ${alignr}${upspeed eth0}kb/s${color #909090}
${color #909090}Download:$color ${alignr}${downspeed eth0}kb/s${color #909090}

${color #909090}Download:${alignr} Upload:$color
${downspeedgraph eth0 25,80 000000 4AC644} ${alignr}${upspeedgraph eth0 25,80 000000 44C69F}$color
${color #909090}Down:$color ${totaldown eth0} ${alignr}${color #909090}Up:$color ${totalup eth0}

${color #909090}AC Adaptor: ${color0}$acpiacadapter
${color #909090}Battery:    ${color0}${battery}
${battery_bar}

${color #F6F9F9}CALENDAR ${hr 2}$color
${color #FFFFFF}${execi 300 ~/.calendar.sh}

${color #F6F9F9}Name             PID    CPU% 
${color #909090}${top name 1} ${top pid 1} ${top cpu 1}
${color #909090}${top name 2} ${top pid 2} ${top cpu 2}
${color #909090}${top name 3} ${top pid 3} ${top cpu 3}
${color #909090}${top name 4} ${top pid 4} ${top cpu 4}

${color #F6F9F9}Name             PID    MEM% 
${color #909090}${top name 1} ${top pid 1} ${top mem 1}
${color #909090}${top name 2} ${top pid 2} ${top mem 2}
${color #909090}${top name 3} ${top pid 3} ${top mem 3}
${color #909090}${top name 4} ${top pid 4} ${top mem 4}[img][/img]

Any the calander uses this code:

cal | awk 'NR>1' | sed -e 's/   /    /g' -e 's/[^ ] /& /g' -e 's/..*/  & /' -e 's/ \('`date | awk '{print $3}'`'\) /\['`date | awk '{print $3}'`'\]/'

And here is the transparent screeny:
screenyyo2.png

Last edited by BKJ (2008-10-07 21:25:32)

Offline

#138 2008-10-07 22:43:38

SkonesMickLoud
Arch Linux f@h Team Member
From: The D of C
Registered: 2008-09-20
Posts: 178

Re: conky configs and screenshots!

6 different conkyrc's, an update script and a startup in a nice little desktop setup:

http://img.photobucket.com/albums/v99/e … ot-2-1.png

As the headers for each .conkyrc is mostly the same, aside from the X and Y, I'll just put that up once:

# Use Xft?
use_xft yes
xftfont Monospace:size=8

# 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 conky
own_window_hints undecorate,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 280 5

# Maximum width
maximum_width 150

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders yes

# Stippled borders?
stippled_borders 0

# border margins
border_margin 5

# border width
border_width 2

# Default colors and also border colors
default_color ffffff

# 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 225
gap_y 602

# 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 left
# use_spacer right

TEXT
${cpubar cpu 15}
${alignc}${freq} MHz
${alignc}${acpitempf}°F
Root: ${goto 50} ${fs_free /} / ${fs_used /}
${fs_bar 5,140 /} Read: ${diskiograph_read /dev/sda5 5,25} Write: ${diskiograph_write /dev/sda5 5,25}
Home: ${goto 48} ${fs_free /home} / ${fs_used /home}
${fs_bar 5,140 /home} Read: ${diskiograph_read /dev/sda6 5,25} Write: ${diskiograph_write /dev/sda6 5,25}
Debian: ${goto 50} ${fs_free /mnt/debian} / ${fs_used /mnt/debian}
${fs_bar 5,140 /mnt/debian} Read: ${diskiograph_read /dev/sda8 5,25} Write: ${diskiograph_write /dev/sda8 5,25}
Data: ${goto 50}${fs_free /mnt/data} / ${fs_used /mnt/data}
${fs_bar 5,140 /mnt/data} Read: ${diskiograph_read /dev/sda2 5,25} Write: ${diskiograph_write /dev/sda2 5,25}
${color dark grey}${membar 15}${color}
${voffset -19}${alignc}$mem of $memmax
${color dark grey}${swapbar 15}${color}
${voffset -19}${alignc}$swap of $swapmax
${alignc}Local IP: ${addr eth1}
${alignc}Public IP: ${execi 3600 wget -O - http://whatismyip.com/automation/n09230945.asp | tail}
${downspeedgraph eth1 30,105}${alignr}${upspeedgraph eth1 30,105} 
${goto 25}Down:${downspeed eth1}Kb/s ${goto 140}Up: ${upspeed eth1}Kb/s ${color} 
${goto 25}Inbound: ${tcp_portmon 1 32767 count} ${goto 135}Outbound: ${tcp_portmon 32768 61000 count} ${color}

 Today: ${execi 300 vnstat | grep "today" | awk '{print $5 $6}'} ${goto 120} Today: ${execi 300 vnstat | grep "today" | awk '{print $2 $3}'}
 Week: ${execi 300 vnstat -w | grep "current week" | awk '{print $6 $7}'} ${goto 121} Week:  ${execi 300 vnstat -w | grep "current week" | awk '{print $3 $4}'}
 Month: ${execi 300 vnstat -m | grep "`date +"%b '%y"`" | awk '{print $6 $7}'} ${goto 127}Month: ${execi 300 vnstat -m | grep "`date +"%b '%y"`" | awk '{print $6 $7}'}
OS: ${alignr}Arch Linux
Kernel: ${alignr} ${color} ${kernel}
Uptime: ${alignr} ${color} $uptime_short
Edge: ${alignr}${texeci 10800 perl /home/evan/Conky/scripts/conky-updates.pl}
${font :size=16}${color}${alignc}${time %I:%M:%S %p}$color$font
${font :size=12}${color}${alignc}${time %A}$color$font
${font :size=12}${color}${alignc}${time %B %e, %G}$color$font

And startup:

#
# !/bin/bash
#
# Sleep for 5 seconds:
sleep 5s;
    #Start each conky individually:
        # Disk space & I/O
            conky -c ~/Conky/.conkyrc_disk &
        # Time and date
            conky -c ~/Conky/.conkyrc_time &
        # Network traffic & vnstat
            conky -c ~/Conky/.conkyrc_net &
        # RAM & Swap
            conky -c ~/Conky/.conkyrc_mem &
        # System Info
            conky -c ~/Conky/.conkyrc_sys &
        # CPU Info
            conky -c ~/Conky/.conkyrc_cpu &

exit

Offline

#139 2008-10-11 10:00:17

thunderogg
Member
From: Rio de Janeiro
Registered: 2008-07-13
Posts: 172

Re: conky configs and screenshots!

BKJ, I liked that calender! smile Would you mind sharing the calendar.sh script?
Tried to use the "cal" command but it doesn't hightlight the day in Conky.

Last edited by thunderogg (2008-10-11 10:02:27)

Offline

#140 2008-10-12 17:37:26

sm4tik
Member
From: Finland, Jyväskylä
Registered: 2006-11-05
Posts: 248
Website

Re: conky configs and screenshots!

Just a little clock/calendar thingy I did today. I used BKJ's calendar script in the beginning, but then it got stripped down to a little simpler one. I wish there were more useful fixed-width fonts around, but I'm quite happy with this one I found.
2008-10-12_conky.png

Here's the relevant parts of the config

default_color 948b4a
default_outline_color 323811
draw_outline yes
use_xft yes
xftfont Futurist Fixed\-width:bold:size=9

TEXT
${font Futurist Fixed\-width:size=39}${time %H°%M}${font}
${hr}
${execpi 300 cal | sed -e 's/'`date | awk '{print $3}'`'/\$\{color e84448}'`date | awk '{print $3}'`'\$\{color}/'

Note that I'm using $execpi which allows one to use conky formatting with it.

EDIT:
I just remembered I had posted this a long time ago. As some may have noticed, the cal script's got flaws..Just to let you know

Last edited by sm4tik (2009-07-31 21:53:36)

Offline

#141 2008-10-12 17:49:49

thunderogg
Member
From: Rio de Janeiro
Registered: 2008-07-13
Posts: 172

Re: conky configs and screenshots!

Thanks, sm4tik! That looks really useful. smile

Offline

#142 2008-10-14 00:49:02

SomeGuyDude
Member
Registered: 2008-10-09
Posts: 271

Re: conky configs and screenshots!

The bottom (conkyb):

own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_colour black
double_buffer yes
use_spacer yes
use_xft yes
override_utf8_locale yes
#font AndrewScript_1.6:pixelsize=17
xftfont AndrewScript_1.6:pixelsize=17
xftalpha 0.5
update_interval 1.0
draw_shades no
draw_outline yes # amplifies text if yes
draw_borders no
uppercase no # set to yes if you want all text to be in uppercase
stippled_borders 3
border_margin 0
border_width 0
default_color 999999
# CHANGE ALIGNMENT FOR CONKYT AND CONKYB
#alignment top_left
#alignment top_right
alignment bottom_left
#alignment bottom_right
gap_x 10
gap_y 30
# Subtract file system buffers from used memory?
no_buffers yes
draw_outline no
draw_shades yes
# shadecolor black
default_outline_color black
default_shade_color black
minimum_size 140




TEXT
${color}Email: ${color white}${execi 300 python ~/scripts/gmail.py}
${color}$mpd_status ${color white}$alignr$mpd_elapsed/$mpd_length
$mpd_smart

The top (conkyt):

own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_colour black
double_buffer yes
use_spacer yes
use_xft yes
font AndrewScript_1.6:pixelsize=17
xftfont AndrewScript_1.6:pixelsize=17
xftalpha 0.5
update_interval 8.0
draw_shades no
draw_outline yes # amplifies text if yes
draw_borders no
uppercase no # set to yes if you want all text to be in uppercase
stippled_borders 3
border_margin 0
border_width 0
default_color 999999
# CHANGE ALIGNMENT FOR CONKYT AND CONKYB
alignment top_left
#alignment top_right
#alignment bottom_left
#alignment bottom_right
gap_x 0
gap_y 15
# Subtract file system buffers from used memory?
no_buffers yes
draw_outline no
draw_shades yes
# shadecolor black
default_outline_color black
default_shade_color black
minimum_size 1280



TEXT
$alignc${color white}${time %I:%M %p}$color ${time %A, %b %d %Y} ${color white}| ${color}Cpu: ${color white}${cpu}%  ${cpugraph 10,82} ${color white} | ${color }Mem: ${color white}${memperc}% ${membar 6,82}  |${color } Home: ${color white}${fs_used_perc /home}% ${fs_bar 6,82}  | ${color}Network: ${color white}${wireless_essid wlan0} ${wireless_link_qual_perc wlan0}% | ${color}Battery: ${color white}${battery_percent BAT0}% ${battery_bar 6,82 BAT0} | ${color}Temp: ${color white}${acpitemp}C

The execution (.startconky):

#!/bin/bash
sleep 20 &
conky -c ~/.conkyscripts/conkyt &
sleep 1 &
conky -c ~/.conkyscripts/conkyb &

The result:

screenshot101308kh4.th.jpgthpix.gif


And in the midst of such perfection,
I can't help but feel diseased.

Offline

#143 2008-10-15 18:17:46

cinan
Member
From: Slovakia
Registered: 2008-07-04
Posts: 251
Website

Re: conky configs and screenshots!

5594344-119.png

#avoid flicker
double_buffer yes

#own window to run simultanious 2 or more conkys
own_window  yes
own_window_transparent yes
own_window_colour 181818
own_window_type desktop
own_window_hints undecorate,sticky,skip_taskbar,skip_pager 

#borders
draw_borders no
border_margin 0

#shades
draw_shades no

#position
gap_x 225
#gap_y 1040
gap_y 5
alignment top_right

#behaviour
update_interval 2

#colour
default_color  8f8f8f
#default_shade_color 000000
own_window_colour 262626

#font
use_xft yes
#xftfont anorexia:pixelsize=10
xftfont nu:pixelsize=10

#to prevent window from moving
use_spacer left
#minimum_size 1000 0

#mpd_host 127.0.0.1
#mpd_port 6600
#mpd_password
#Kernel: ${color e0e0e0}${kernel} ${color}   |   Cpu0: ${color e0e0e0}${font}${cpu cpu0}% ${color}  |    ${color}Cpu1: ${color e0e0e0}${font}${cpu cpu0}% ${color}  |   ${color} Mem: ${color e0e0e0}${font}${mem} ${color}   |   ${color} Net: ${color e0e0e0}${font}${downspeed eth0} kB/s down ${color}   /   ${color e0e0e0}${upspeed eth0} kB/s up${color}   |   IP: ${color e0e0e0}${addr eth0}   ${color} |   Root:  ${color e0e0e0}${font}${fs_free /} ${color}   Home: ${color e0e0e0}${font}${fs_free /home} ${color}    data:  ${color e0e0e0}${font}${fs_free /media/data} ${color}   data2:  ${color e0e0e0}${font}${fs_free /media/data2}

TEXT
Kernel: ${color e0e0e0}${kernel} ${color} | Cpu0:${color e0e0e0}${font}${cpu cpu0}% ${color} | ${color}Cpu1:${color e0e0e0}${font}${cpu cpu0}% ${color}| ${color} Mem: ${color e0e0e0}${font}${mem} ${color} | ${color} Net:${color e0e0e0}${font}${downspeed eth0} kB/s down ${color}/${color e0e0e0}${upspeed eth0} kB/s up${color} | IP: ${color e0e0e0}${addr eth0}  ${color}|  Root:${color e0e0e0}${font}${fs_free /} ${color}   Home:${color e0e0e0}${font}${fs_free /home} ${color}    data:${color e0e0e0}${font}${fs_free /media/data} ${color}  data2:${color e0e0e0}${font}${fs_free /media/data2}
#avoid flicker
double_buffer yes

#own window to run simultanious 2 or more conkys
own_window  yes
own_window_transparent yes
own_window_colour 181818
own_window_type desktop
own_window_hints undecorate,sticky,skip_taskbar,skip_pager 

#borders
draw_borders no
border_margin 0

#shades
draw_shades no

#position
gap_x 0
#gap_y 1040
gap_y -10
alignment top_left

#behaviour
update_interval 2

#colour
default_color  8f8f8f
#default_shade_color 000000
own_window_colour 262626

#font
use_xft yes
xftfont nu:pixelsize=10

#to prevent window from moving
#use_spacer no
minimum_size 300 0

mpd_host 127.0.0.1
mpd_port 6600
#mpd_password

TEXT
${if_running mpd}
${color}Playing: ${color e0e0e0}$mpd_smart
$endif
#avoid flicker
double_buffer yes

#own window to run simultanious 2 or more conkys
own_window  yes
own_window_transparent yes
own_window_colour #181818
own_window_type desktop
own_window_hints undecorate,sticky,skip_taskbar,skip_pager 

#borders
draw_borders no
border_margin 0

#shades
draw_shades no

#position
gap_x 5
#gap_y 1040
gap_y 0
alignment top_right

#behaviour
update_interval 10

#colour
default_color  8f8f8f
#default_shade_color 000000
own_window_colour 262626

#font
use_xft yes
xftfont dejavu serif bold:pixelsize=22

#to prevent window from moving
use_spacer yes
#minimum_size 1000 0

#mpd_host 127.0.0.1
#mpd_port 6600
#mpd_password

TEXT
$alignc${color e0e0e0}${time %H:%M}${font nu-9}
${color 8f8f8f}$hr
${time %A,} ${color e0e0e0}${time %d.} ${color 8f8f8f}${time %B}

Last edited by cinan (2008-10-15 18:20:00)

Offline

#144 2008-10-16 13:45:00

greekleo
Member
Registered: 2008-10-16
Posts: 5

Re: conky configs and screenshots!

hey guys,

i was trying to use sen's conky config and as far as i know i followed his guide up to a point when i understood, i copied the fonts to my home directory, as well as the scripts, i then made a folder called .conky and copied the folder Mira_blue into it, up to that point it went well

i then went to make the script, i copied exactly what was on the script and changed it from mira_green to mira_blue, i saved it as conky_start, and placed it firstly in usr/bin/ and then secondly to usr/local/bin.
i restarted and nothing happened, this is a bit different to to the other conky configs, i was used to just editing the conkyrc hidden file but this is different.
so i tried adding the file to th sessions from both directories but obviously one at a time, i even added .pl and .sh to the conky_start file seeing if it would make a difference but again nothing happend i dont no where am going wrong please help as that conky looks lovelly.

tahnks

GreekLeo

Offline

#145 2008-10-16 18:26:17

SomeGuyDude
Member
Registered: 2008-10-09
Posts: 271

Re: conky configs and screenshots!

I haven't messed with the Mira files, but make sure the permissions are set right on all the appropriate pieces. When I ported all my conky files from an external hard drive during the great Ubuntu -> Arch changeover, somehow nothing was set to allow execution and it screwed things up greatly.


And in the midst of such perfection,
I can't help but feel diseased.

Offline

#146 2008-10-16 23:42:57

greekleo
Member
Registered: 2008-10-16
Posts: 5

Re: conky configs and screenshots!

You're a star,

i had to allow all of them to run as programs and it worked, just going to have fun editing them let me see where i get stuck now.

Offline

#147 2008-10-17 00:44:55

greekleo
Member
Registered: 2008-10-16
Posts: 5

Re: conky configs and screenshots!

lol,

i knew i'd get stuck, my problem is that i got gimmix but it cant seem to load any of my music so it shows on the mpd area at the bottom of the conky, i gt the mpd files btw, secondly this is on the left of my monitor how can i move it over to the right?

Offline

#148 2008-10-17 01:01:35

SomeGuyDude
Member
Registered: 2008-10-09
Posts: 271

Re: conky configs and screenshots!

Is your music loading into MPD? I can't quite understand the question. If your music is making into MPD then all should be well and not require any extra work on the part of Gimmix.


And in the midst of such perfection,
I can't help but feel diseased.

Offline

#149 2008-10-17 01:03:18

greekleo
Member
Registered: 2008-10-16
Posts: 5

Re: conky configs and screenshots!

hey,

all ive done is installed the mpd files, and it said that it needed a client so i installed gimmix and i cant seem to add a file into gimmix in order to play.

Offline

#150 2008-10-17 01:38:12

fflarex
Member
Registered: 2007-09-15
Posts: 466

Re: conky configs and screenshots!

The quickest and easiest documentation on MPD is in the sample configuration file at /etc/mpd.conf.example

Copy it to /etc/mpd.conf or ~/.mpdconf and edit it to suit your needs. Then make sure to get the mpd daemon to autostart (in rc.conf if you use the global settings, or in your startup session script if you use the config in your home directory).

Oh, and you'll also need to run 'mpd --create-db' before you run it for the first time.

MPD is fundamentally different from other music players. You may not like it, depending on how you like to listen to music. Also, I would recommend Sonata as a client, unless you've already decided that you like gimmix more.

EDIT:
@creslin: Agreed, but I think my post covers what he needed pretty well, and a post telling him to make another thread is still an off-topic post. There needed to be at least one more off topic post either way.

Last edited by fflarex (2008-10-17 03:43:04)

Offline

Board footer

Powered by FluxBB