Conky Showoff thread

Forum rules
Before you post please read this

Re: Conky Showoff thread

Postby vrkalak on Sun Sep 06, 2009 1:51 am

Image

I am so proud of myself . . :mrgreen: . . I built my own Conky from scratch.
Nothing fancy, it's simple. Only has the things I need.
Being a Linux n00bie, this took me the better part of a day.

With a lot of help from the LinuxMint and Ubuntu Forums and especially from Conky Hardcore site.
Image
:: LinuxMint-Debian-Edition (Fluxbox) :: Manjaro/Arch (Xfce) ::
Registered Linux User: #497031 :: DeviantART Page
User avatar
vrkalak
Level 10
Level 10
 
Posts: 3060
Joined: Mon Jul 20, 2009 5:53 pm
Location: Santa Fe, NM, USA

Linux Mint is funded by ads and donations.
 

Re: Conky Showoff thread

Postby lagagnon on Sun Sep 06, 2009 10:12 am

vrkalak wrote:I am so proud of myself . . :mrgreen: . . I built my own Conky from scratch.


Nice work. Now show us the code!
User avatar
lagagnon
Level 7
Level 7
 
Posts: 1888
Joined: Wed Jun 17, 2009 7:38 pm
Location: an island in the Pacific...

Re: Conky Showoff thread

Postby mzsade on Mon Sep 07, 2009 3:05 am

I am a little out of my depth here, I installed Conky from Synaptic, then upgraded it from mintinstall, it still doesn't show in my Applications. So i ran conky from my terminal and this is what i got:

sade@sade-desktop ~ $ conky
Conky: use_spacer should have an argument of left, right, or none. 'no' seems to be some form of 'false', so defaulting to none.
Conky: desktop window (14000a6) is subwindow of root window (1a7)
Conky: window type - normal
Conky: drawing to created window (0x3200002)
Conky: drawing to single buffer
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
after 3284 requests (3216 known processed) with 0 events remaining.
Could you please tell me what it means?

Edit: Sorry about the "wrong thread", request administrators to shift it to the appropriate place as i can't delete my post. Managed to get the conkyrc from /usr/share/doc/conky/examples, gave MPD error, removed all reference to mpd in the conf, got an ugly 'something' that i would be ashamed to show in this thread. The "fatal IO error..." thing still persists when closing the application. I think i will stick with sysinfo for the moment--apologize for the intrusion, and for lacking the aesthetics to see what the fuss is all about.

Edit: Guess it was a case of 'sour grapes'. I am surprised everybody was so darned polite as to not point that out. Finally managed to plagiarize something functional from various places... :) I would like point out my success in getting hddtemp to work :D
Edit: got the font 'Garfield'
Attachments
Screenshot-2.jpeg
Screenshot-2.jpeg (29.16 KiB) Viewed 4436 times
Last edited by mzsade on Sat Sep 12, 2009 5:06 am, edited 5 times in total.
Linux User #481272 Reg: 15th Sept., 2008
mzsade
Level 5
Level 5
 
Posts: 600
Joined: Sun Jul 19, 2009 4:36 am

Re: Conky Showoff thread

Postby dannymichel on Mon Sep 07, 2009 3:29 am

lagagnon wrote:
vrkalak wrote:I am so proud of myself . . :mrgreen: . . I built my own Conky from scratch.


Nice work. Now show us the code!

agreed.
isnt that what this thread is about?
dannymichel
Level 1
Level 1
 
Posts: 42
Joined: Mon Aug 19, 2013 5:32 pm

Re: Conky Showoff thread

Postby tawan on Mon Sep 07, 2009 9:36 am

mzsade wrote:I am a little out of my depth here

sort of wrong thread too but you need a .conkyrc in home for conky to read. It then displays on sceen the stuff you asked for in .conkyrc..

best idea is find someeones code (preferably simple) (and preferably for gnome if you are on that), save it in home as .conkyrc (with the .) and run conky again.

PS conky should run at boot, so check in sessions for the entry.
User avatar
tawan
Level 4
Level 4
 
Posts: 405
Joined: Thu Apr 03, 2008 2:45 am

Re: Conky Showoff thread

Postby vrkalak on Mon Sep 07, 2009 9:59 pm

Sorry, guys.

Here is my .conkyrc file for those that requested it:
##Conky
background no
use_xft yes
xftfont Sans:size=12
xftalpha 0.1
#Changed from 1 to 2
update_interval 2.0
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent true
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer true
minimum_size 200 5
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
stippled_borders 8
border_margin 4
border_width 1
alignment middle_right
#Gap between borders of screen and text
gap_x 10
gap_y 10
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 1
override_utf8_locale yes
use_spacer right
show_graph_scale no
show_graph_range no
default_color white

TEXT
${font Vibrocentric:size=18}${time %k:%M:%S}${alignr}${time %a/%b/%d}

${voffset -7}${color1}${font Vibrocentric:style=bold:size=14}${pre_exec lsb_release -d | cut -c14-32}$font${color3}${voffset 1}${hr 0}$color
$sysname $kernel $alignr $machine
$freq_g GHz

${color 88c5ff}HARDWARE ${hr 2}

${color 88c5ff}CPU 1: ${color B8FF55}${cpu cpu1}% ${cpubar cpu1}
${color 88c5ff}CPU 2: ${color BBFF55}${cpu cpu2}% ${cpubar cpu2}
${color 88c5ff}RAM ${color B8FF55} $alignc $memperc% $alignr $mem / $memmax
${color 88c5ff}Swap Usage:${color B8FF55} $swap/$swapmax

${color 88c5ff}FILESYSTEMS ${hr 2}

${color 88c5ff}Root: ${color B8FF55} ${alignr}
Free: ${fs_used /} / ${fs_free /}
Total: ${fs_size /} ${color B8FF55}${fs_bar 4 /}${color 88c5ff}

NETWORK ${hr 2}$color
${if_up wlan0}${color 88c5ff}Local ip $alignr ${color B8FF55} ${addr wlan0}
${color 88c5ff}Down: ${color B8FF55} ${downspeed wlan0} k/s ${color 88c5ff} ${alignr}Up: ${color B8FF55} ${upspeed wlan0} k/s
${downspeedgraph wlan0 30,100 0000ff ff0000} ${offset 20} ${downspeedgraph wlan0 30,100 0000ff ff0000}${endif}
${if_up ppp0}${color 88c5ff}Local ip $alignr ${color B8FF55} ${addr ppp0}
${color 88c5ff}Down: ${color B8FF55} ${downspeed ppp0} k/s ${color 88c5ff} ${alignr}Up: ${color B8FF55} ${upspeed ppp0} k/s
${downspeedgraph ppp0 30,100 0000ff ff0000} ${offset 20} ${downspeedgraph ppp0 30,100 0000ff ff0000}${endif}

${color 88c5ff}CALENDAR ${hr 2}$color
${color} ${font :size=12}$alignc${time %B}
${font Mono:size=10}${execpi 60 DJS=`date +%_d`; cal | sed '1d' | sed '/./!d' | sed 's/$/ /' | fold -w 21 | sed -n '/^.\{21\}/p' | sed 's/^/${alignc} /' | sed /" $DJS "/s/" $DJS "/" "'${color red}'"$DJS"'${color}'" "/}
Image
:: LinuxMint-Debian-Edition (Fluxbox) :: Manjaro/Arch (Xfce) ::
Registered Linux User: #497031 :: DeviantART Page
User avatar
vrkalak
Level 10
Level 10
 
Posts: 3060
Joined: Mon Jul 20, 2009 5:53 pm
Location: Santa Fe, NM, USA

Re: Conky Showoff thread

Postby vrkalak on Mon Sep 07, 2009 10:18 pm

mzsade:

You installed the Conky files from the LinuxMint Repros, but . . . the Conky files are essentially "empty" in the terminal.

I went to these sites to learn how to compile Conky. And how to load them into your terminal and make a folder for them and such.
Not as hard as it sounds and well worthwhile.

http://conky.sourceforge.net/
http://conky.linux-hardcore.com/?page_id=1289
Image
:: LinuxMint-Debian-Edition (Fluxbox) :: Manjaro/Arch (Xfce) ::
Registered Linux User: #497031 :: DeviantART Page
User avatar
vrkalak
Level 10
Level 10
 
Posts: 3060
Joined: Mon Jul 20, 2009 5:53 pm
Location: Santa Fe, NM, USA

Re: Conky Showoff thread

Postby optimize me on Mon Sep 07, 2009 10:26 pm

tawan wrote:sort of wrong thread too but you need a .conkyrc in home for conky to read. It then displays on sceen the stuff you asked for in .conkyrc..

That's the second time I've seen a statement to the effect here, so I'd like to chime in. I don't think it's 100% true..

As far as I know, when installing from a .deb, from Synaptic, or from the terminal, a sample (and simple) .conkyrc file is created at /etc/conky/conky.conf. If conky is run with no .conkyrc file in your home folder, it defaults to this file as its template.
AMD Phenom II X6 1045T 2.8GHz 8GB DDR3 RAM ATI Radeon HD6970
User avatar
optimize me
Level 5
Level 5
 
Posts: 639
Joined: Wed Jun 03, 2009 5:25 pm

Re: Conky Showoff thread

Postby dannymichel on Mon Sep 07, 2009 10:31 pm

vrkalak wrote:Sorry, guys.

Here is my .conkyrc file for those that requested it:
##Conky
background no
use_xft yes
xftfont Sans:size=12
xftalpha 0.1
#Changed from 1 to 2
update_interval 2.0
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent true
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer true
minimum_size 200 5
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
stippled_borders 8
border_margin 4
border_width 1
alignment middle_right
#Gap between borders of screen and text
gap_x 10
gap_y 10
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 1
override_utf8_locale yes
use_spacer right
show_graph_scale no
show_graph_range no
default_color white

TEXT
${font Vibrocentric:size=18}${time %k:%M:%S}${alignr}${time %a/%b/%d}

${voffset -7}${color1}${font Vibrocentric:style=bold:size=14}${pre_exec lsb_release -d | cut -c14-32}$font${color3}${voffset 1}${hr 0}$color
$sysname $kernel $alignr $machine
$freq_g GHz

${color 88c5ff}HARDWARE ${hr 2}

${color 88c5ff}CPU 1: ${color B8FF55}${cpu cpu1}% ${cpubar cpu1}
${color 88c5ff}CPU 2: ${color BBFF55}${cpu cpu2}% ${cpubar cpu2}
${color 88c5ff}RAM ${color B8FF55} $alignc $memperc% $alignr $mem / $memmax
${color 88c5ff}Swap Usage:${color B8FF55} $swap/$swapmax

${color 88c5ff}FILESYSTEMS ${hr 2}

${color 88c5ff}Root: ${color B8FF55} ${alignr}
Free: ${fs_used /} / ${fs_free /}
Total: ${fs_size /} ${color B8FF55}${fs_bar 4 /}${color 88c5ff}

NETWORK ${hr 2}$color
${if_up wlan0}${color 88c5ff}Local ip $alignr ${color B8FF55} ${addr wlan0}
${color 88c5ff}Down: ${color B8FF55} ${downspeed wlan0} k/s ${color 88c5ff} ${alignr}Up: ${color B8FF55} ${upspeed wlan0} k/s
${downspeedgraph wlan0 30,100 0000ff ff0000} ${offset 20} ${downspeedgraph wlan0 30,100 0000ff ff0000}${endif}
${if_up ppp0}${color 88c5ff}Local ip $alignr ${color B8FF55} ${addr ppp0}
${color 88c5ff}Down: ${color B8FF55} ${downspeed ppp0} k/s ${color 88c5ff} ${alignr}Up: ${color B8FF55} ${upspeed ppp0} k/s
${downspeedgraph ppp0 30,100 0000ff ff0000} ${offset 20} ${downspeedgraph ppp0 30,100 0000ff ff0000}${endif}

${color 88c5ff}CALENDAR ${hr 2}$color
${color} ${font :size=12}$alignc${time %B}
${font Mono:size=10}${execpi 60 DJS=`date +%_d`; cal | sed '1d' | sed '/./!d' | sed 's/$/ /' | fold -w 21 | sed -n '/^.\{21\}/p' | sed 's/^/${alignc} /' | sed /" $DJS "/s/" $DJS "/" "'${color red}'"$DJS"'${color}'" "/}
would be perfect for me if it had cpu and gpu temps
dannymichel
Level 1
Level 1
 
Posts: 42
Joined: Mon Aug 19, 2013 5:32 pm

Re: Conky Showoff thread

Postby dannymichel on Fri Sep 11, 2009 3:45 pm

i followed this tutorial
http://www.ubuntu-inside.me/2009/05/how ... aunty.html
but mine looks like this
Image
the letters v,r,m,s and j instead of the images.
http://www.ubuntu-inside.me/2009/05/how ... aunty.html
dannymichel
Level 1
Level 1
 
Posts: 42
Joined: Mon Aug 19, 2013 5:32 pm

Re: Conky Showoff thread

Postby optimize me on Fri Sep 11, 2009 4:18 pm

dannymichel wrote:i followed this tutorial
http://www.ubuntu-inside.me/2009/05/how ... aunty.html
but mine looks like this
Image
the letters v,r,m,s and j instead of the images.
http://www.ubuntu-inside.me/2009/05/how ... aunty.html

Did you install the Pizza Dudes font?

From that article:
Now download the fonts and move them to ~/.fonts directory :

$cd && wget -c http://dl.getdropbox.com/u/83257/conkyfonts.zip && unzip conkyfonts.zip && cp ~/conkyfonts/*.* ~/.fonts/ && rm -rf ~/conkyfonts && rm conkyfonts.zip

I'm surprised it isn't in the tutorial, but after you install a font, you need to regenerate the font cache. You can either do this by rebooting, or by entering a command that I am too tired and lazy to look up right now. If you can find it, use it. Otherwise just reboot. Either way, problem solved.
AMD Phenom II X6 1045T 2.8GHz 8GB DDR3 RAM ATI Radeon HD6970
User avatar
optimize me
Level 5
Level 5
 
Posts: 639
Joined: Wed Jun 03, 2009 5:25 pm

Re: Conky Showoff thread

Postby lagagnon on Fri Sep 11, 2009 7:27 pm

optimize me wrote:you need to regenerate the font cache. You can either do this by rebooting, or by entering a command that I am too tired and lazy to look up right now.


"sudo fc-cache"
User avatar
lagagnon
Level 7
Level 7
 
Posts: 1888
Joined: Wed Jun 17, 2009 7:38 pm
Location: an island in the Pacific...

Re: Conky Showoff thread

Postby mzsade on Sat Sep 12, 2009 1:52 pm

Managed to include the CPU temp, but surely the readings can't be right, the room temp. at this time is certainly greater than 25 deg. C where i am at!
Attachments
Screenshot-4.jpeg
Screenshot-4.jpeg (59.33 KiB) Viewed 5118 times
Last edited by mzsade on Sat Sep 19, 2009 8:34 pm, edited 1 time in total.
Linux User #481272 Reg: 15th Sept., 2008
mzsade
Level 5
Level 5
 
Posts: 600
Joined: Sun Jul 19, 2009 4:36 am

Re: Conky Showoff thread

Postby glennnf on Sat Sep 19, 2009 7:55 pm

Here's my conky
Attachments
Screenshot-1.png
Screenshot-1.png (521.28 KiB) Viewed 5080 times
glennnf
Level 1
Level 1
 
Posts: 1
Joined: Sat Sep 19, 2009 12:16 am

Re: Conky Showoff thread

Postby qa_fan99 on Tue Sep 22, 2009 10:10 pm

Thanks to everyone who has posted their conky desktop images and config info. I shed the widgets and gadgets and jumped in to conky with both feet. I wasted away a whole weekend knocking out something I liked. Damn was it fun.

Here is my first conky.
Thanks to this post for the Mint font at the top
http://forums.linuxmint.com/viewtopic.php?f=25&t=3213&p=61409

Mint7_Conky.png
Mint7_Conky.png (274.34 KiB) Viewed 5051 times


Code: Select all
# conky configuration
#
#
# Enjoy! :)
##############################################
#  Settings
##############################################
background no
use_xft yes
xftfont Sans:size=8
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_class Conky
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 200 200
maximum_width 240
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
stippled_borders 0
default_color white
default_shade_color grey
default_outline_color white
alignment top_right
gap_x 8
gap_y 34
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no
color0 white  #same as default color
color1 FCFF69 #Exaile detail text
color2 CCE6FF #bar color
color3 DAFFB3  #exaile cat color
color4 CCFFCC #section header color
color5 FFFF66 #Time color
##############################################
#  Output
##############################################
TEXT
${color4}${font Sans:bold:size=8}DATE ${hr 2}${font}

${color5}${alignc 19}${font Trebuchet MS:size=22}${time %I:%M%p}${font}
${color2}${voffset 6}${alignc}${time %A, %d %B %Y}

${color4}${font Sans:bold:size=8}SYSTEM INFO ${hr 2}
${font}
${alignc}${font formintElegance:size=22}Linux Mint 7 ${font}
${color0}System:$alignr$sysname $machine
Kernel:$alignr$kernel
Host:$alignr$nodename

CPU Freq: ${alignr}${freq_g} GHz Intel Pentium 4
${color0}CPU1: ${color FFFF99}${alignr}${cpu cpu1}% ${color2}${cpubar 8,90 cpu1}
${color0}CPU2: ${color FFFF99}${alignr}${cpu cpu2}% ${color2}${cpubar 8,90 cpu2}

${color0}Memory: $alignc $mem / $memmax $alignr $memperc%
${color2}${membar}

${color4}${font Sans:bold:size=8}HARD DRIVES ${hr 2}${font}
${color0}${voffset 4}Root: ${fs_used_perc /}%${alignr}${fs_free /} / ${fs_size /}
${color0}${voffset 4}Mydata: ${fs_used_perc /}%${alignr}${fs_free /media/mydata} / ${fs_size /media/mydata}

${color4}${font Sans:bold:size=8}PROCESSES ${hr 2}
${font Sans:size=7}
${color0}NAME             ${goto 110}PID${goto 138}CPU%${goto 175}MEM%${color FFFF99}
${top name 1}    ${goto 105}${top pid 1}${goto 138}${top cpu 1}${goto 175}${top mem 1}
${top name 2}    ${goto 105}${top pid 2}${goto 138}${top cpu 2}${goto 175}${top mem 2}
${top name 3}    ${goto 105}${top pid 3}${goto 138}${top cpu 3}${goto 175}${top mem 3}
${top name 4}    ${goto 105}${top pid 4}${goto 138}${top cpu 4}${goto 175}${top mem 4}
${top name 5}    ${goto 105}${top pid 5}${goto 138}${top cpu 5}${goto 175}${top mem 5}
${top name 6}    ${goto 105}${top pid 6}${goto 138}${top cpu 6}${goto 175}${top mem 6}
${font}
${color4}${font Sans:bold:size=8}NETWORK ${hr 2}${color}${font}

${color0}IP Address: $alignr ${addr eth0}
${color0}Down ${downspeed eth0} k/s ${alignr}Up ${upspeed eth0} k/s
${color FFFF99}${downspeedgraph eth0 25,107} ${alignr}${upspeedgraph eth0 25,107}
${color2}Total ${totaldown eth0} ${alignr}Total ${totalup eth0}

${color4}${font Sans:bold:size=8}WEATHER ${hr 2}${font}${color0}

${execi 1800 /home/dad/scripts/weather.sh USFL0314}
${color4}${font Sans:bold:size=8}CALENDAR ${hr 2}${font}${color0}

${color0}${font Monospace:size=9}${execpi 60 DJS=`date +%_d`; cal | sed '1d' | sed '/./!d' | sed 's/$/ /' | fold -w 21 | sed -n '/^.\{21\}/p' | sed 's/^/${alignc} /' | sed /" $DJS "/s/" $DJS "/" "'${color FFCC00}'"$DJS"'${color0}'" "/}${font}
${color4}${hr 1}

qa_fan99
Level 1
Level 1
 
Posts: 3
Joined: Tue Jan 13, 2009 2:37 pm

Re: Conky Showoff thread

Postby mafteechr on Sun Nov 08, 2009 1:27 am

Simplicity is bliss on a netbook.



Image
mafteechr
Level 1
Level 1
 
Posts: 15
Joined: Thu May 14, 2009 11:35 am

Re: Conky Showoff thread

Postby Dean on Sun Nov 08, 2009 9:45 am

Nothing special, but I have 2 conky's set up on my desktop. One on the top which I have used a top lxpanel at 1 pixel so that the conky display does not get covered when i open or maximize windows. And my second one is the calender that pops up when i click on the Tint2 clock and closes when you left click. And just for those who are curious the bottom panel is a combination of tint2 and lxpanel. Lxpanel is only used for the menu.
Attachments
Screenshot-1.png
Screenshot-1.png (721.82 KiB) Viewed 4415 times
Dean
Level 1
Level 1
 
Posts: 35
Joined: Thu May 28, 2009 4:01 pm
Location: Jacksonville NC

Re: Conky Showoff thread

Postby vrkalak on Sun Nov 08, 2009 5:33 pm

mafteechr: Nothing wrong with 'simplicity' . . . good job!


Dean: Excellent!! I've alway liked the Conky that goes along the top panel.

Is that an official Lubuntu release or did you load LDXE over Ubuntu . . . or is that a LinuxMint OS?

Either way it looks good. :mrgreen:
Image
:: LinuxMint-Debian-Edition (Fluxbox) :: Manjaro/Arch (Xfce) ::
Registered Linux User: #497031 :: DeviantART Page
User avatar
vrkalak
Level 10
Level 10
 
Posts: 3060
Joined: Mon Jul 20, 2009 5:53 pm
Location: Santa Fe, NM, USA

Re: Conky Showoff thread

Postby Dean on Mon Nov 09, 2009 6:33 pm

Dean: Excellent!! I've alway liked the Conky that goes along the top panel.

Is that an official Lubuntu release or did you load LDXE over Ubuntu . . . or is that a LinuxMint OS?

Either way it looks good.


No this is a screen shot of lxde on top of ubuntu 9.04 (from mini.iso). I was trying to make a nice, (but light as possible system) which is why i used conky for the calender, instead of a program.
Dean
Level 1
Level 1
 
Posts: 35
Joined: Thu May 28, 2009 4:01 pm
Location: Jacksonville NC

Re: Conky Showoff thread

Postby vrkalak on Sat Dec 26, 2009 3:34 pm

Image

I changed my Conky to a single line across the top. Configured it myself. :P

Oh yeah . . . and I made the background, too.

Using my Xubuntu 10.04 Lucid Lynx, Alpha 1
Image
:: LinuxMint-Debian-Edition (Fluxbox) :: Manjaro/Arch (Xfce) ::
Registered Linux User: #497031 :: DeviantART Page
User avatar
vrkalak
Level 10
Level 10
 
Posts: 3060
Joined: Mon Jul 20, 2009 5:53 pm
Location: Santa Fe, NM, USA

Linux Mint is funded by ads and donations.
 
PreviousNext

Return to Compiz, Conky, Docks, & Widgets

Who is online

Users browsing this forum: No registered users and 3 guests