Conky Showoff thread

Forum rules
Before you post please read how to get help
Post Reply
User avatar
d00med
Level 4
Level 4
Posts: 374
Joined: Fri Nov 26, 2010 9:55 am

Re: Conky Showoff thread

Post by d00med »

Thanks for your help. I do get this error

Code: Select all

File "/home/***/scripts/gmail.py", line 20
    print "0 new"
        ^
IndentationError: expected an indented block
What appears to be happening though, is that the python script doesn't like the & in my password. I'll have to change it, but I'm hoping I can use other non numeric characters.

[edit] Working now. Thanks.
zerozero
Level 16
Level 16
Posts: 6477
Joined: Tue Jul 07, 2009 2:29 pm

Re: Conky Showoff thread

Post by zerozero »

wait a second, i think there's no need to change your pass.
you copy the script from my last post, right? Formatting was lost :oops:
check this link
http://www.daniweb.com/forums/thread122149.html
basically what you have to do, and i hope it works is grab the code from the post above and make the changes there.
see if then works
Image

[ bliss of ignorance ]
User avatar
d00med
Level 4
Level 4
Posts: 374
Joined: Fri Nov 26, 2010 9:55 am

Re: Conky Showoff thread

Post by d00med »

There was a formatting problem in the last code box. I used the one from your previous post and it worked. It shows in the terminal that the script stops at the & symbol, and then feeds just the remaining url after that character to google, so it was sending only "xx@mail.google.com."
ackernan
Level 1
Level 1
Posts: 18
Joined: Sun Dec 19, 2010 8:39 am

Re: Conky Showoff thread

Post by ackernan »

I'm not a conky guru. Found some stuff I liked and made it work for me.
dawgdoc
Level 9
Level 9
Posts: 2743
Joined: Mon Oct 05, 2009 12:53 am
Location: Formerly of Kentucky, the land of Mint Juleps

Re: Conky Showoff thread

Post by dawgdoc »

@ackerman

you went from "not a conky guru" to a full fledged conkyite.
SYSTEMS:
HP 15-bw0017cl -- Mint 19.3 Cinnamon
Compaq Presario CQ62 -- Mint 17 Cinnamon (support for 80 y/o family members 1st install)
READING:
The Secret of the Ninth Planet by Donald A. Wollheim
User avatar
vrkalak
Level 12
Level 12
Posts: 4406
Joined: Mon Jul 20, 2009 5:53 pm
Location: Santa Fe, NM, USA

Re: Conky Showoff thread

Post by vrkalak »

As per request for my Conkyrc script for this screenshot:

Image

Code: Select all

# conky configuration
#
# The list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
#
##############################################
#  Settings
##############################################
background yes
background_color 505050
use_xft yes
xftfont ubuntu:bold:size=12
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes 
own_window_type override
own_window_hints own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 220 220
maximum_width 220
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color 303030
default_shade_color 505050
default_outline_color 505050
alignment bottom_left
gap_x 10
gap_y -172
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no

#color1 006FC0
#color1 333333
#color1 D24C16
#color1 76B81C
color1 green
#color2 787878
#color2 333333
#color2 25221E
color2 959595

mpd_host lappy
mpd_port 6600
imlib_cache_size 0 

##############################################
#  Output${cpu cpu1}%
##############################################
TEXT
${color1}${alignc}${font ubuntu:bold:size=14}SYSTEM INFO:
${color2}${hr 2}
${font ubuntu:bold:size=12}Distro:         (Mint)${alignr}LMDE

OS:${alignr}Debian 6.0

DE/WM:${alignr}Gnome 2.30

Kernel:${alignr}$kernel
${hr 2}
Up-time:${alignr}$uptime

Frequency:${alignr}${freq_G}GHz

${color2}HHD${goto 55}${if_match ${fs_used_perc /} >0}${color1}${else}${color2}${endif}O${if_match ${fs_used_perc /} >10}${color1}${else}${color2}${endif}O${if_match ${fs_used_perc /} >20}${color1}${else}${color2}${endif}O${if_match ${fs_used_perc /} >30}${color1}${else}${color2}${endif}O${if_match ${fs_used_perc /} >40}${color1}${else}${color2}${endif}O${if_match ${fs_used_perc /} >50}${color1}${else}${color2}${endif}O${if_match ${fs_used_perc /} >60}${color1}${else}${color2}${endif}O${if_match ${fs_used_perc /} >70}${color1}${else}${color2}${endif}O${if_match ${fs_used_perc /} >80}${color1}${else}${color2}${endif}O${if_match ${fs_used_perc /} >90}${color1}${else}${color2}${endif}O${alignr}$if_mpd_playing$mpd_album$endif$alignr${color1}${fs_used_perc /}%

${color2}CPU${goto 55}${if_match ${cpu} >0}${color1}${else}${color2}${endif}O${if_match ${cpu} >10}${color1}${else}${color2}${endif}O${if_match ${cpu} >20}${color1}${else}${color2}${endif}O${if_match ${cpu} >30}${color1}${else}${color2}${endif}O${if_match ${cpu} >40}${color1}${else}${color2}${endif}O${if_match ${cpu} >50}${color1}${else}${color2}${endif}O${if_match ${cpu} >60}${color1}${else}${color2}${endif}O${if_match ${cpu} >70}${color1}${else}${color2}${endif}O${if_match ${cpu} >80}${color1}${else}${color2}${endif}O${if_match ${cpu} >90}${color1}${else}${color2}${endif}O $alignr${color1}${cpu cpuperc}%
           
${color2}RAM${goto 55}${if_match ${memperc} >0}${color1}${else}${color2}${endif}O${if_match ${memperc} >10}${color1}${else}${color2}${endif}O${if_match ${memperc} >20}${color1}${else}${color2}${endif}O${if_match ${memperc} >30}${color1}${else}${color2}${endif}O${if_match ${memperc} >40}${color1}${else}${color2}${endif}O${if_match ${memperc} >50}${color1}${else}${color2}${endif}O${if_match ${memperc} >60}${color1}${else}${color2}${endif}O${if_match ${memperc} >70}${color1}${else}${color2}${endif}O${if_match ${memperc} >80}${color1}${else}${color2}${endif}O${if_match ${memperc} >90}${color1}${else}${color2}${endif}O$if_mpd_playing${alignr}$mpd_artist$endif $alignr${color1}${memperc}%

${color2}SWP${goto 55}${if_match ${swapperc} >0}${color1}${else}${color2}${endif}O${if_match ${swapperc} >10}${color1}${else}${color2}${endif}O${if_match ${swapperc} >20}${color1}${else}${color2}${endif}O${if_match ${swapperc} >30}${color1}${else}${color2}${endif}O${if_match ${swapperc} >40}${color1}${else}${color2}${endif}O${if_match ${swapperc} >50}${color1}${else}${color2}${endif}O${if_match ${swapperc} >60}${color1}${else}${color2}${endif}O${if_match ${swapperc} >70}${color1}${else}${color2}${endif}O${if_match ${swapperc} >80}${color1}${else}${color2}${endif}O${if_match ${swapperc} >90}${color1}${else}${color2}${endif}O${alignr}$if_mpd_playing$mpd_album$endif $alignr${color1}${swapperc}% 

${color2}Desktop No.${alignr}$desktop_name

Up Speed:${alignr}${upspeed ppp0}

Down Speed:${alignr}${color1}${downspeed ppp0}
${color2}${hr 2}
 
$alignc${color1}${font ubuntu:bold:size=12}${time %A %d %B }   
            ${color2} ${font ubuntu:bold:size=30}${time %H:%M}
As is the norm, there is a good deal of modification to my Conkys, although I do like to keep them simple.
After all, I am an Admin at Conky-Pitstop -- Spanish edition.

Conky-Pitstop > http://conky-pitstop.wikidot.com/
Image
:: Debian-Sid (Xfce/Fluxbox) :: LinuxMint-18 (LTS) LXDE w/Openbox ::
Registered Linux User: #497031 :: My DeviantART Page
zerozero
Level 16
Level 16
Posts: 6477
Joined: Tue Jul 07, 2009 2:29 pm

Re: Conky Showoff thread

Post by zerozero »

tks for sharing vrkalak :)
i will c'4 some of that code for sure :lol:
Image

[ bliss of ignorance ]
timmer1240
Level 1
Level 1
Posts: 49
Joined: Fri Jan 28, 2011 11:45 pm

Re: Conky Showoff thread

Post by timmer1240 »

Heres my conky I love it!
Attachments
Screenshot.png
Screenshot.png (736.79 KiB) Viewed 5411 times
Last edited by timmer1240 on Fri Feb 11, 2011 11:03 pm, edited 1 time in total.
Habitual
Level 13
Level 13
Posts: 4863
Joined: Sun Nov 21, 2010 8:31 pm
Location: 0.0.0.0

Re: Conky Showoff thread

Post by Habitual »

vrkalak wrote:...After all, I am an Admin at Conky-Pitstop -- Spanish edition.

Conky-Pitstop > http://conky-pitstop.wikidot.com/
chimo !?
User avatar
colyn
Level 6
Level 6
Posts: 1230
Joined: Sat Aug 14, 2010 1:37 pm
Location: ¿ǝɯ ǝǝs ɐʎ ʇ,uɐƆ ˙ǝɹǝɥ ʇɥƃᴉɹ ɯ,I
Contact:

Re: Conky Showoff thread

Post by colyn »

My Linux Mint 10 KDE desktop with conky..

Image
Last edited by colyn on Sun Feb 13, 2011 11:58 am, edited 1 time in total.
zerozero
Level 16
Level 16
Posts: 6477
Joined: Tue Jul 07, 2009 2:29 pm

Re: Conky Showoff thread

Post by zerozero »

Hi colyn,
conky into KDE!? 8)
I tried several times and never got it right :?:
I know it needs feh, but after that i'm lost.
Can you give me an idea how you did it? I would love to give it another try
Image

[ bliss of ignorance ]
User avatar
colyn
Level 6
Level 6
Posts: 1230
Joined: Sat Aug 14, 2010 1:37 pm
Location: ¿ǝɯ ǝǝs ɐʎ ʇ,uɐƆ ˙ǝɹǝɥ ʇɥƃᴉɹ ɯ,I
Contact:

Re: Conky Showoff thread

Post by colyn »

zerozero wrote:Hi colyn,
conky into KDE!? 8)
I tried several times and never got it right :?:
I know it needs feh, but after that i'm lost.
Can you give me an idea how you did it? I would love to give it another try
I have a simple basic conky in my KDE.

Download/install conky-all from synaptic then create a .conkyrc (notice the dot in front) file which you will save in your /home folder. Check out some of the conky files posted here and in http://ubuntuforums.org/showthread.php?t=282353 at the Ubuntu forums to get ideas on creating your .conkyrc file.

Below is my .conkyrc file..

Code: Select all

# Simple Conky by Colyn Goodson
# Created on Aug 20, 2010
#Modified on Aug 22, 2010
###Conky

alignment top_right
border_width 1
cpu_avg_samples 2
default_color white
default_outline_color white
default_shade_color white
double_buffer yes
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no

use_xft yes
xftfont URW Chancery L:size=10
gap_x 10
gap_y 10
minimum_size 300x400
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
extra_newline no
own_window yes
own_window_transparent no
own_window_argb_visual yes
own_window_argb_value 95
own_window_class Conky
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
background yes
stippled_borders 8
update_interval 2
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no

#This is what you will see on the desktop.
TEXT
${#00ff00}$nodename - $sysname $kernel on $machine

${pre_exec lsb_release -d | cut -f 2| tr "[:upper:]" "[:lower:]"}
$hr
${color #00ffff}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'}

${color #00ff00}Uptime:$color $uptime
${color #00ff00}RAM:$color $mem/$memmax - $memperc% ${membar 4}
${color #00ff00}CPU:$color $cpu% ${cpubar 4}
${color #00ff00}CPU 0 Temp:$color ${hwmon 0 temp 1}°C ${color #00ff00}CPU Fan: $color ${hwmon 0 fan 1} rpm
${color #00ff00}CPU 1 Temp:$color ${hwmon 0 temp 3}°C ${color #00ff00}Vent Fan: $color ${hwmon 0 fan 2} rpm
${color #00ff00}HDD Temp: $color ${execi 300 nc localhost 7634 | cut -c27-28 ;}°C
${color #00ff00}Processes:$color $processes  ${color #00ff00}Running:$color $running_processes

${color #00ff00}$alignc Drives:

${color #00ff00}Swap:       $color $swap/$swapmax - ${alignr}$swapperc%
${swapbar 4}
${color #00ff00}Boot:       $color ${fs_used /boot}/${fs_size /boot}${alignr}${fs_used_perc /boot}%
${fs_bar 4 /}
${color #00ff00}Root:       $color ${fs_used /}/${fs_size /}${alignr}${fs_used_perc /}%
${fs_bar 4 /}
${color #00ff00}Home:       $color ${fs_used /home/colyn}/${fs_size /home/colyn}${alignr}${fs_used_perc /home/colyn}%
${fs_bar 4 /home/colyn}
${color #00ff00}Networking:

${color #00ff00}Up:${color #ffff00}${alignc}${upspeed eth0}KB/s
${color #00ff00}Down:${color #ffff00}${alignc}${downspeed eth0}KB/s
${color #00ff00}Local I.P. $color ${addr eth0}
timmer1240
Level 1
Level 1
Posts: 49
Joined: Fri Jan 28, 2011 11:45 pm

Cool conky configs

Post by timmer1240 »

For all yoy Conky fans out there here is a link to some cool conky files http://www.techdrivein.com/2011/02/6-aw ... works.html
Heres a screen shot of one of them Im using.
Attachments
Screenshot.resized.png
Screenshot.resized.png (390.19 KiB) Viewed 5315 times
User avatar
mmesantos1
Level 8
Level 8
Posts: 2272
Joined: Tue Jan 29, 2008 9:14 pm
Location: VA. USA
Contact:

Re: Cool conky configs

Post by mmesantos1 »

Nice screenie timmer1240 and thanks for the link for the conky. :D
Image
User avatar
vrkalak
Level 12
Level 12
Posts: 4406
Joined: Mon Jul 20, 2009 5:53 pm
Location: Santa Fe, NM, USA

Re: Cool conky configs

Post by vrkalak »

Nice Conky.

But, how about adding this to the already existing Conky Show-off thread?

Mint Forum's Conky Show-off Thread > http://forums.linuxmint.com/viewtopic.php?f=60&t=30209
Image
:: Debian-Sid (Xfce/Fluxbox) :: LinuxMint-18 (LTS) LXDE w/Openbox ::
Registered Linux User: #497031 :: My DeviantART Page
User avatar
Oscar799
Level 19
Level 19
Posts: 9994
Joined: Tue Aug 11, 2009 9:21 am
Location: United Kingdom

Re: Conky Showoff thread

Post by Oscar799 »

Good idea vrkalak....threads merged :D
Image
User avatar
Sector11
Level 3
Level 3
Posts: 175
Joined: Mon Nov 22, 2010 10:33 am

Re: Conky Showoff thread

Post by Sector11 »

Because of the number of conkys you see, I'm not adding the code, if you want a piece, let me know and I'll post it.

Daily desktop:
The wallpaper has changed, the lettering is different and I've upgraded the landing gear. Gutterslob may well recognize the background as well - it's his.

The "rotating conky" has been moved to the top of the screen, allowing the SR-71 (Code Name: SectoR-11) to land on the tint2 bar! I also tossed something into the Trash so you could see my trash conky in action
Image

Critical Information panel (for gutterslob - he says he likes it)
Image

Push Button Info (OpenBox Menu entries):
Image
My thanks to arpinux for the tip on how to do this.

Next two come from mrpeachy, who does GREAT stuff, I like to run them every now and then just to see how things are going.

CPU:
Image

MEM:
Image

Other samples of mrpeachy's work are the "Mayan Almanac" (clock / calendar - whatever you want to call it) and the "Sun Moon" conkys seen in the "Critical Information Panel" and "Push Button Info" conkys.
Using: BunsenLabs based on Debian Stable.
Conky PitStop
Habitual
Level 13
Level 13
Posts: 4863
Joined: Sun Nov 21, 2010 8:31 pm
Location: 0.0.0.0

Re: Conky Showoff thread

Post by Habitual »

Sector11?
Man, they let anybody in here. :roll:
SebbyNC
Level 1
Level 1
Posts: 5
Joined: Tue Nov 30, 2010 9:06 am

Re: Conky Showoff thread

Post by SebbyNC »

Here's my Conky (based on the "Conky Elegant" found on gnome-look.org) still improving, that I run on my laptop.
I added a simple calendar, but whatever the script I try, the current day highlighting doesn't work (it works fine when I run "cal" in the terminal). I haven't found anybody with the same problem, so haven't found a way to fix it.
Untitled.png
Untitled.png (68.27 KiB) Viewed 10160 times

Code: Select all

# Based on Elengant Conky by satya164 #
background no
update_interval 1
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale yes
double_buffer yes
no_buffers yes
text_buffer_size 2048
#imlib_cache_size 0
temperature_unit celsius

# Window specifications #
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
border_inner_margin 0
border_outer_margin 0
minimum_size 150 250
maximum_width 150
alignment tr
gap_x 15
gap_y 15

# Graphics settings #
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no

# Text settings #
use_xft yes
xftfont Sans :size=8
xftalpha 0.8
text_buffer_size 2048
uppercase no
default_color FFFFFF

# Lua Load  #
lua_load ~/.conky/conky_elegant.lua
lua_draw_hook_pre clock_rings

TEXT
${voffset 8}${color FF6600}${font :size=14}${time %A}${font}${voffset -8}${alignr 50}${color FFFFFF}${font :size=34}${time %e}${font}
${color FFFFFF}${voffset -30}${font :size=16}${time %b}${font}${voffset -3} ${color FFFFFF}${font :size=18}${time %Y}${font}${voffset 1}${color FF6600}${hr}
${voffset 105}${font :size=9}${alignr}${time %H:%M}${font}${color}

${font :size=8}Calendar ${color FF6600}${hr}
${font :size=10}$alignc${time %B}${color}
${font Monospace:size=8}${execpi 60 cal | sed '1d' | sed '/./!d' | sed 's/$/ /' | fold -w 21 | sed -n '/^.\{21\}/p' | sed 's/^/${alignc} /' | sed /"date +%_d"/s/"date +%_d"/" "'${color FF6600}'"date +%_d"'${color}'""/}
${font :size=8}${pre_exec lsb_release -ds} ${color FF6600}${hr}${color}

Kernel: ${alignr}${kernel}
Uptime: ${alignr}${uptime}
#Temperature: ${alignr}${acpitemp}°C
CPU1: ${cpu cpu1}% ${alignr}${color FF6600}${cpugraph cpu1 8,60 FF6600 FFFFFF}${color}
CPU2: ${cpu cpu2}% ${alignr}${color FF6600}${cpugraph cpu2 8,60 FF6600 FFFFFF}${color}
RAM: $memperc% ${alignr}${color FF6600}${memgraph 8,60 FF6600 FFFFFF}${color}
Swap: $swapperc% ${alignr}

Processes (${color FF6600}cpu${color}/mem) ${color FF6600}${hr}${color}

${top_mem name 1}$alignr${color FF6600}${top_mem cpu 1}${color}${top_mem mem 1}
${top_mem name 2}$alignr${color FF6600}${top_mem cpu 2}${color}${top_mem mem 2}
${top_mem name 3}$alignr${color FF6600}${top_mem cpu 3}${color}${top_mem mem 3}
${top_mem name 4}$alignr${color FF6600}${top_mem cpu 4}${color}${top_mem mem 4}
${top_mem name 5}$alignr${color FF6600}${top_mem cpu 5}${color}${top_mem mem 5}

Now Playing ${color FF6600}${hr}${color}
${if_running banshee-1}
Title: ${exec banshee-1 --query-title | cut -f2- -d" "}
Artist: ${exec banshee-1 --query-artist | cut -f2- -d" "}
Album: ${exec banshee-1 --query-album | cut -f2- -d" "}
${else}${if_running rhythmbox}
Title: $alignr${color FF6600}${exec rhythmbox-client --no-start --print-playing-format %tt}
${color}Artist: $alignr${color FF6600}${exec rhythmbox-client --no-start --print-playing-format %aa}
${color}Album: $alignr${exec rhythmbox-client --no-start --print-playing-format %at}
${color}Elapsed: $alignr${color FF6600}${exec rhythmbox-client --no-start --print-playing-format %te} ${color}/ ${exec rhythmbox-client --no-start --print-playing-format %td}
${else}${if_running exaile}
Title: ${execi 10 exaile --get-title}
Artist: ${execi 10 exaile --get-artist}
Album: ${execi 10 exaile --get-album} }
${else}${if_running amarok}
Title: ${exec dcop amarok player title}
Artist: ${exec dcop amarok player artist}
Album: ${exec dcop amarok player album}
${else}Player Status Unavailable${endif}${endif}${endif}${endif}
Network Statistics ${color FF6600}${hr}${color}

Up: ${upspeed eth1} ${alignr}${upspeedgraph eth1 8,60 FF6600 FFFFFF -t -l}
Down: ${downspeed eth1} ${alignr}${downspeedgraph eth1 8,60 FF6600 FFFFFF -t -l}
Upload: ${alignr}${totalup eth1}
Download: ${alignr}${totaldown eth1}
IP Address: ${alignr}${addr eth1}
User avatar
vrkalak
Level 12
Level 12
Posts: 4406
Joined: Mon Jul 20, 2009 5:53 pm
Location: Santa Fe, NM, USA

Re: Conky Showoff thread

Post by vrkalak »

Jesterrr wrote: Hi brother, when i am searching how to make my conky one line, i viewed your desktop and your background it's so beatiful..Can you say me the name or the script and send to a PM, this wallpaper: http://farm3.static.flickr.com/2794/433 ... c35c_b.jpg
Boy, that was a long time ago . . . I'll have to search and see if I still have that one-line Conky Script somewhwere.

When, I find it I'll send you a PM with the script ... and post it in this thread.

Meanwhile, search through the Conky Show-off thread for a good script.
Or search through Conky-Pitstop or the DeviantART Conky-Artists Group for a suitable script.
Or on another Linux OS Forum ... Crunchbang and Arch/Linux Forums have a great Conky thread.

Conky-Pitstop > http://conky-pitstop.wikidot.com/
DA Conky Artists Group > http://conky-artists-group.deviantart.com/
Arch/Linux Forum > https://bbs.archlinux.org/viewtopic.php?id=39906
Chrunchbang Forum > http://crunchbanglinux.org/forums/topic ... ky-config/

Most of the Linux OS/distro Forums usually post the Conky Scripts for you to use.
Image
:: Debian-Sid (Xfce/Fluxbox) :: LinuxMint-18 (LTS) LXDE w/Openbox ::
Registered Linux User: #497031 :: My DeviantART Page
Post Reply

Return to “Compiz, Conky, Docks, & Widgets”