1 Attachment(s)
Re: Post your .conkyrc files w/ screenshots
Here's mine.
.conkyrc:
Code:
background yes
use_xft yes
xftfont HandelGotD:size=2
xftalpha 0.1
font Sans:size=8
update_interval 2.0
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 250
maximum_width 250
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white
default_shade_color red
default_outline_color green
alignment bottom_right
gap_x 16
gap_y 15
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale yes
use_spacer right
top_cpu_separate false
text_buffer_size 512
TEXT
${font Sans:bold:size=8}${color #FF9A0C}SYSTEM$font$color ${hr 1}
$alignc$sysname $kernel $machine
${color #FF9A0C}Uptime: $color$uptime
${color #FF9A0C}Updates: $color${execi 3600 aptitude search "~U" | wc -l}
${font Sans:bold:size=8}${color #FF9A0C}CPU$font$color ${hr 1}
$alignc ${color #FF9A0C}AMD Athlon64 X2 BE-2350$color
${freq_g 1}GHz ${cpu cpu1}% ${cpubar cpu1}
${freq_g 2}GHz ${cpu cpu2}% ${cpubar cpu2}
${font Sans:bold:size=8}${color #FF9A0C}PROCESSES$font$color ${hr 1}
${color #FF9A0C}Total:$color $processes $alignr ${color #FF9A0C}Running:$color $running_processes
${color #FF9A0C}Load:$color $loadavg
${color #FF9A0C}CPU Usage $alignr PID CPU% MEM%$color
${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}
${color #FF9A0C}Mem usage$color
${top_mem name 1}$alignr${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${top_mem name 2}$alignr${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${top_mem name 3}$alignr${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${top_mem name 4}$alignr${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}
${font Sans:bold:size=8}${color #FF9A0C}RAM$font $color${hr 1}
${color #FF9A0C}RAM$color $alignc $mem / $memmax $alignr$memperc%
$membar
${color #FF9A0C}SWAP$color $alignc $swap / $swapmax $alignr$swapperc%
$swapbar
${font Sans:bold:size=8}${color #FF9A0C}HD$font $color${hr 1}
$alignc${color #FF9A0C}Disk Space$color
${color #FF9A0C}root$color $alignc ${fs_used /} / ${fs_size /} $alignr${fs_used_perc /} %
${fs_bar /}
${color #FF9A0C}RAID 5$color $alignc ${fs_used /media/data} / ${fs_size /media/data/} $alignr${fs_used_perc /media/data/} %
${fs_bar /media/data/}
${color #FF9A0C}RAID 0$color $alignc ${fs_used /media/raid0} / ${fs_size /media/raid0/} $alignr${fs_used_perc /media/raid0/} %
${fs_bar /media/raid0/}
$alignc${color #FF9A0C}I/O $color
${color #FF9A0C}Read/sec $color${diskio_read} ${alignr}${color #FF9A0C}Write/sec $color${diskio_write}
${diskiograph_read 25,120} ${alignr}${diskiograph_write 25,120}
$alignc${color #FF9A0C}HD Temperature$color
${color #FF9A0C}/dev/sda:$color ${hddtemp /dev/sda} $alignr${color #FF9A0C}/dev/sdc:$color ${hddtemp /dev/sdc}
${color #FF9A0C}/dev/sdb:$color ${hddtemp /dev/sdb} $alignr${color #FF9A0C}/dev/sdd:$color ${hddtemp /dev/sdd}
${font Sans:bold:size=8}${color #FF9A0C}NETWORK$font $color${hr 1}
${color #FF9A0C}IP: $color${addr eth0}$alignr
${color #FF9A0C}Down: ${color white}${downspeed eth0}k/s ${alignr}${color #FF9A0C}Up: ${color white}${upspeed eth0}k/s
${downspeedgraph eth0 25,120} ${alignr}${upspeedgraph eth0 25,120}
${font Sans:bold:size=8}${color #FF9A0C}MUSIC$font $color${hr 1}
${if_existing ~/.quodlibet/current} ${color #FF9A0C}Artist: $color${alignc}${exec cat ~/.quodlibet/current | grep ^artist= | cut -d "=" -f2 }
${color #FF9A0C}Title: $color${alignc}${exec cat ~/.quodlibet/current | grep title | cut -d "=" -f2 }
${else} Quod Libet is not running
${endif}
${font Sans:bold:size=8}${color #FF9A0C}SABnzbd+$font $color${hr 1}
${execpi 60 ~/nzbstatus.sh}
nzbstatus:
Code:
#!/bin/bash
prntvalue () {
echo $XML | xmlstarlet sel -t -v "$1"
}
prntnumber () {
printf "%.2f\n" $(prntvalue "$1")
}
XML=$(wget -q -O - "http://localhost:8080/sabnzbd/api?mode=qstatus&output=xml&ma_username=JOHAN&ma_password=TOPSECRET&apikey=SECRETAPIKEY")
let nojobs=$(echo $XML | xmlstarlet sel -t -v "count(/queue/jobs/job)")
if [[ $nojobs > 0 ]];then
timeleft=$(prntvalue "/queue/timeleft")
filename=$(prntvalue "/queue/jobs/job/filename")
mbleft=$(prntvalue "/queue/jobs/job/mbleft")
totmbleft=$(prntnumber "/queue/mbleft")
totmb=$(prntnumber "/queue/mb")
kbpersec=$(prntnumber "/queue/kbpersec")
echo -e " \${color #FF9A0C}Time left: \$color\${alignc}$timeleft"
echo -e " \${color #FF9A0C}Speed: \$color\${alignc}$kbpersec KB/s"
echo -e " \${color #FF9A0C}Downloaded: \$color\${alignc}$totmbleft/$totmb MiB"
echo -e "\$alignc\${color #FF9A0C}Jobs:\$color"
for i in $(seq 1 $nojobs);
do
FILE=$(prntvalue "/queue/jobs/job[$i]/filename" | awk '{print $1}')
SIZE=$(prntnumber $(prntvalue "/queue/jobs/job[$i]/mbleft" | awk '{print $1}'))
echo -e "\$alignc ${FILE:0:25}... : $SIZE MiB"
done
else
echo -e " No jobs..."
fi
exit 0
(You need to change the username, password and api key of course;) )
Edit: changed attachment.
Re: Post your .conkyrc files w/ screenshots
Quote:
Originally Posted by
VCoolio
Yeah, get a wallpaper with the laptop (and probably the lines pointing towards it) and use conky only for the stats.
He's probably going to think not nice things about you for that response.
Although, it is probably the best answer if not the only answer.
Have a nice day.
Bruce
Re: Post your .conkyrc files w/ screenshots
Quote:
Originally Posted by
SuperMiguel
Set the wallpaper.
Make the conkyrc's.
Move them around until you figure out where they should go.
???
Profit.
I had one like that for a while. If you look through my posts in this thread to find it.
Re: Post your .conkyrc files w/ screenshots
Re: Post your .conkyrc files w/ screenshots
I've lurked around here and asked a few questions a while ago. I haven't really had time to work on my conky configs in a while but here is what I have right now. It has a lot of info and it organized fairly well. Still needs a little more stuff and that artistic 'spark' though. I'd also really like to try out that html script too. Anyways:
http://img142.imageshack.us/img142/9744/conky.th.png
As you can see, I also think Conky (for ubuntu 8.10 wasn't compiled with wifi for w/e reason (I got it from the repo's). I also have some vnstat stuff going on there. Good stuff. Let me know what you think.
P.S. I don't want to post the configs right now but if you want to know how I did some of those things I'll post my commands.
1 Attachment(s)
Re: Post your .conkyrc files w/ screenshots
Quote:
Originally Posted by
SuperMiguel
There is another solution, working on any background:
- Find a picture of a Notebook, most suitable a monochrome drawing like
in your first screenshot.
- Gimp the picture, add lines and whatever, save it as .bpm
- Open the .bmp with Inkscape. Choose "trace bitmap" in the menu "Paths",
deselect "smooth corners" in the options, click ok.
- Delete the .bmp in the inkscape file, keep only the path. Save as .svg
- Get fontforge from the repos. Make a new font (or take a existing, for
example Openlogos.ttf, this way the settings should be correct)
- Open a empty character, import the .svg, set size and position
- Save file, generate font, put it into ~/.fonts, update your font cache with
- Now you can use it in conky. Fiddle with voffset and goto until it looks like you want it.
Fontforge has good help pages. If you have problems making the font, post the (gimped) picture and I'll do it for you :P
As you can see in my setup, nothing is drawn on the wallpaper. Except for cpugraph, memgraph and up/downspeedgraph, all the graphics are fonts, including clock and semi transparent background. I like to change my wallpaper from time to time so this is a great solution for me. I can switch between colors with only a few changes in the .conkyrc
1 Attachment(s)
Re: Post your .conkyrc files w/ screenshots
@Johan! not sure if you're ever going to read this, but maybe others will profit. I noticed your top_cpu and top_mem weren't outlined very nicely and I couldn't resist helping a landgenoot. Try using goto for the first and second column and alignr only for the last. The last column can jump from 3 to 4 numbers and that will move the whole line. The middle (cpu) one can do that sometimes as well of course, but only for a few secs (I hope for you).
@all: on page 644 of this thread you find some clocks with the ubuntu logo. The same font that makes up the clock can be used to display the (k)ubuntu logo of course, only a little smaller would be nice. So here is some code to save you the puzzle of getting the voffsets right:
Code:
${color ff6309}${font zoraclockD:size=26}L
${voffset -42}${color c90016}M
${voffset -42}${color ffb515}N
${color ff6309}${font zoraclockD:size=13}L
${voffset -22}${color c90016}M
${voffset -22}${color ffb515}N
In Kubuntu colors (the balls should be different, I know, but the font
doesn't provide that and it's not really visible on this scale anyway):
${color 0064bc}${font zoraclockD:size=26}L
${voffset -42}${color 0017a7}M
${voffset -42}${color 00b8e3}N
${color 0064bc}${font zoraclockD:size=13}L
${voffset -22}${color 0017a7}M
${voffset -22}${color 00b8e3}N
And a little png:
1 Attachment(s)
Re: Post your .conkyrc files w/ screenshots
Quote:
Fontforge has good help pages. If you have problems making the font, post the (gimped) picture and I'll do it for you
My previous attempts with fontforge were complete failures. Create a font of the rss logo and several people will be happy.
3 Attachment(s)
Re: Post your .conkyrc files w/ screenshots
Quote:
Originally Posted by
ddnev45
My previous attempts with fontforge were complete failures. Create a font of the rss logo and several people will be chappy.
Here you go: as you can see in the screenshots, the colored icon is made out of 3 elements. Code is:
Code:
${color EF6B22}${font conkydings:size=50}${goto 33}B${color white}${goto 33}C${color F58239}${goto 33}D
works in all sizes, of course, and ${goto xx} can be anything.
Have fun!
Re: Post your .conkyrc files w/ screenshots
Quote:
Originally Posted by
t-mo_
Here you go: as you can see in the screenshots, the colored icon is made out of 3 elements. Code is:
Code:
${color EF6B22}${font conkydings:size=50}${goto 33}B${color white}${goto 33}C${color F58239}${goto 33}D
Have fun!
OH MY! Do you realize what you have just done? That's fantastic!
I still have to play with your "clock" script, I think I'll do that this afternoon. :)