SEARCH

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

You are not logged in.

#726 2012-03-04 21:11:24

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: Conky v1.9 Thread

The password and usernames are not setup or called within that script...

You would have it in your conky like this

${color #7D8C93}GMail   - ${execpi 15 python ~/gmail_parser.py Your_Gmail_Account Your_Gmail_Account_Password 3}

If you post your conky I will work with it to test it for you

In my conky that line is just below TEXT

Offline

Be excellent to each other!

#727 2012-03-04 22:01:24

Behemoth
#! Member
Registered: 2008-12-17
Posts: 57

Re: Conky v1.9 Thread

Ahh, gotcha. I see that now lol..

Here is my .conkyrc

# Use Xft?
use_xft yes
xftfont Terminus:size=6
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 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 150


# 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 white
#default_shade_color black
#default_outline_color white
own_window_colour 333333

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

# 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 
${color 66FF00}
CPU: ${color}${color 8f8f8f}${cpubar 3 75 cpu0}${color}${color 66FF00}
RAM: ${color}${color 8f8f8f}${membar 3 75 mem}${color}${color 66FF00}
ROOT: ${color}${color 8f8f8f}${fs_free /} / ${fs_size /}     ${color 66FF00}BACKUP: ${color}${color 8f8f8f}${fs_free /media/usb0} / ${fs_size /media/usb0}${color}${color 66FF00}
TEMP: ${color}${color 8f8f8f}${acpitemp}C     ${color}${color 66FF00}LOAD: ${color}${color 8f8f8f}${loadavg 1|2|3}    ${color}${color 66FF00}GMAIL: ${color}${color #8f8f8f} - ${execpi 15 python ~/gmail_parser.py *** 3}
${color 8f8f8f}${downspeedgraph wlan0 30,140}   ${upspeedgraph wlan0 30,140}${color}

Offline

#728 2012-03-04 23:01:18

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: Conky v1.9 Thread

^ That all should work providing you have your gmail login name and password correct along with having python-feedparser installed

Just to be sure...

${execpi 15 python ~/gmail_parser.py *** 3}

should be something like this

${execpi 15 python ~/gmail_parser.py vastone ***pw***** 3}

You also have to make sure gmail_parser.py is executable

chmod +x /path/to/gmail_parser.py

Offline

#729 2012-03-05 00:16:21

Behemoth
#! Member
Registered: 2008-12-17
Posts: 57

Re: Conky v1.9 Thread

Brilliant! That worked perfectly. Thanks man!

Offline

#730 2012-03-05 00:17:14

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: Conky v1.9 Thread

^ Coitenly... 

Glad you got it going...

Offline

#731 2012-03-05 02:26:55

falldown
#! Samurai
Registered: 2011-09-01
Posts: 1,727

Re: Conky v1.9 Thread

Offline

#732 2012-03-05 13:13:51

kiiroitori
#! CrunchBanger
From: Tokyo, Japan
Registered: 2010-12-07
Posts: 229

Re: Conky v1.9 Thread


I love #! more than my own kids. I told them and they sympathized.

Offline

#733 2012-03-07 03:45:34

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 3,460

Re: Conky v1.9 Thread

Last edited by mrpeachy (2012-03-07 03:46:29)

Offline

#734 2012-03-09 18:56:46

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 3,460

Re: Conky v1.9 Thread

Offline

#735 2012-03-10 00:29:05

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 3,460

Re: Conky v1.9 Thread

Offline

#736 2012-03-10 01:05:05

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky v1.9 Thread

# To use #! in a conky use: ${exec echo '#!'}
# killall conky && conky -c ~/Conky/S11_LOGS.conky &

# WARNING: Change name and passwords on e-mail code if posting!!

###  Begin Window Settings  ##################################################
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager
# own_window_colour brown
own_window_class click_log
own_window_title click_log  ##### NOTE instruction in the LUA script! I changed it!

# Use the Xdbe extension? (eliminates flicker)
# It is highly recommended to use own window with this one
# so double buffer won't be so big.
double_buffer yes

### ARGB can be used for real transparency
### NOTE that a composite manager is required for real transparency.
### This option will not work as desired (in most cases) in conjunction with
### 'own_window_type override'
#                                                own_window_argb_visual yes

### When ARGB visuals are enabled, this use this to modify the alpha value
### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
#own_window_argb_value 200

minimum_size 900 900     ## width, height
maximum_width 900       ## width, usually a good idea to equal minimum width

gap_x 10 # left-right
gap_y 10 # up-down

alignment tl #top_right
###################################################  End Window Settings  ###
###  Font Settings  #########################################################
# Use Xft (anti-aliased font and stuff)
use_xft yes
xftfont Anonymous Pro:size=9

# Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha 0
# Force UTF8? requires XFT ###
override_utf8_locale yes

draw_shades no
default_shade_color black

draw_outline no # amplifies text if yes
default_outline_color black

uppercase no
######################################################  End Font Settings  ###
###  Color Settings  #########################################################
default_shade_color grey
default_outline_color black

default_color DCDCDC #Gainsboro
color0 9ACD32 #YellowGreen
color1 778899 #LightSlateGrey
color2 FF8C00 #Darkorange
color3 7FFF00 #Chartreuse
color4 FFA07A #LightSalmon
color5 FFDEAD #NavajoWhite
color6 00BFFF #DeepSkyBlue
color7 00FFFF #Cyan 48D1CC #MediumTurquoise
color8 FFFF00 #Yellow
color9 FF0000 #Red
#####################################################  End Color Settings  ###
###  Borders Section  ########################################################
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_inner_margin 5
border_outer_margin 0
# border width
border_width 0
# graph borders
draw_graph_borders no #yes
default_graph_size 15 40
#####################################################  End Borders Secton  ###
###  Miscellaneous Section  ##################################################

# Boolean value, if true, Conky will be forked to background when started.
background no

# Adds spaces around certain objects to stop them from moving other things
# around, this only helps if you are using a mono font
# Options: right, left or none
use_spacer none

# Default and Minimum size is 256 - needs more for single commands that
# "call" a lot of text IE: bash scripts
text_buffer_size 2048

# Subtract (file system) buffers from used memory?
no_buffers yes

# change GiB to G and MiB to M
short_units yes

# Like it says, ot pads the decimals on % values
# doesn't seem to work since v1.7.1
pad_percents 2

##############################################  End Miscellaneous Section  ###
###  LUA Settings  ###########################################################
## Above and After TEXT - requires a composite manager or blinks.
##
# lua_load ~/Conky/LUA/draw-bg.lua
#TEXT
#${lua conky_draw_bg 10 0 0 0 0 0x000000 0.6}
#
## ${lua conky_draw_bg corner_radius x_position y_position width height color alpha}
##
## OR Both above TEXT (No composite manager required - no blinking!)
#
#lua_load ~/Conky/LUA/draw-bg.lua
#lua_draw_hook_pre draw_bg 10 0 0 0 0 0x000000 0.5
#
## Calling the weather script
#
# lua_load ~/v9000/v9000.lua
# lua_draw_hook_post weather
# lua_load ~/Conky/templates/v9003-V-template.lua
#
#starts the lua weather data gathering function, call once at top of conkyrc
##
#######################################################  End LUA Settings  ###

# The all important - How often conky refreshes.
# If you have a "Crey" try: 0.2 - smokin' - but watch the CPU useage go UP!
update_interval 1


# Load Lua scripts
#lua_load ~/Conky/LUA/clock.lua
#lua_draw_hook_pre draw_clock

lua_load ~/Conky/LUA/s11buttons.lua
lua_draw_hook_pre conky_main


## on blank line after text!
TEXT

Last edited by Sector11 (2012-03-10 01:07:45)

Offline

#737 2012-03-10 01:12:02

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: Conky v1.9 Thread

^ Excellent work by all on this one! 

Interactive Conky... even the cool kids will catch on to this one eventually

Offline

#738 2012-03-10 01:21:11

falldown
#! Samurai
Registered: 2011-09-01
Posts: 1,727

Re: Conky v1.9 Thread

Offline

#739 2012-03-10 01:22:34

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: Conky v1.9 Thread

^ big_smile big_smile big_smile

Offline

#740 2012-03-10 01:23:35

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 3,460

Re: Conky v1.9 Thread

Offline

#741 2012-03-10 01:44:14

falldown
#! Samurai
Registered: 2011-09-01
Posts: 1,727

Re: Conky v1.9 Thread

$ conky_escape

Offline

#742 2012-03-10 02:36:55

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky v1.9 Thread

Offline

#743 2012-03-10 02:37:59

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky v1.9 Thread

Offline

#744 2012-03-11 00:21:34

falldown
#! Samurai
Registered: 2011-09-01
Posts: 1,727

Re: Conky v1.9 Thread

Last edited by falldown (2012-03-11 05:20:15)

Offline

#745 2012-03-11 09:06:38

barkbombardier
#! Member
Registered: 2011-09-07
Posts: 77

Re: Conky v1.9 Thread

Hello all. Have a idea probably not a good thing for me to think anyway!:lol:
But we can do random wallpapers,is there a way to do random conkys? Feel free to hate on me for thinking of something that might drive us conky addicts nuts!:lol:

Offline

#746 2012-03-11 10:45:42

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: Conky v1.9 Thread

That is part of what this thread is for, to show off your conky and it's sources, if that is what you mean.

Offline

#747 2012-03-11 13:05:12

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky v1.9 Thread

Offline

#748 2012-03-11 13:21:51

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky v1.9 Thread

#!/bin/sh
if [ "$(pidof conky)" ]; then
    killall conky
conky -c ~/Conky/monday-conky &
    exit
else
conky -c ~/Conky/monday-conky &
    exit
fi

Offline

#749 2012-03-11 16:26:10

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky v1.9 Thread

# To use #! in a conky use: ${exec echo '#!'}
# killall conky && conky -c ~/Conky/S11_Dominos.conky &

###  Begin Window Settings  ##################################################
own_window yes
own_window_type override #normal
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager
own_window_colour yellow
own_window_class Domino Clock
own_window_title Domino Clock

# Use the Xdbe extension? (eliminates flicker)
# It is highly recommended to use own window with this one
# so double buffer won't be so big.
double_buffer yes

### ARGB can be used for real transparency
### NOTE that a composite manager is required for real transparency.
### This option will not work as desired (in most cases) in conjunction with
### 'own_window_type override'
#                                                own_window_argb_visual yes

### When ARGB visuals are enabled, this use this to modify the alpha value
### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
#own_window_argb_value 200

minimum_size 372 367     ## width, height
maximum_width 372       ## width, usually a good idea to equal minimum width

gap_x 748 # left-right
gap_y 138 # up-down

alignment tl
###################################################  End Window Settings  ###
###  Font Settings  #########################################################
# Use Xft (anti-aliased font and stuff)
use_xft yes
xftfont Anonymous Pro:size=8

# Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha 0
# Force UTF8? requires XFT ###
override_utf8_locale yes

draw_shades no
default_shade_color black

draw_outline no # amplifies text if yes
default_outline_color black

uppercase no
######################################################  End Font Settings  ###
###  Color Settings  #########################################################
default_shade_color gray
default_outline_color black

default_color DCDCDC #Gainsboro
color0 9ACD32 #YellowGreen
color1 778899 #LightSlateGrey
color2 FF8C00 #Darkorange
color3 7FFF00 #Chartreuse
color4 FFA07A #LightSalmon
color5 FFDEAD #NavajoWhite
color6 00BFFF #DeepSkyBlue
color7 00FFFF #Cyan 48D1CC #MediumTurquoise
color8 FFFF00 #Yellow
color9 FF0000 #Red
#####################################################  End Color Settings  ###
###  Borders Section  ########################################################
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_inner_margin 0
border_outer_margin 0
# border width
border_width 0
# graph borders
draw_graph_borders no #yes
default_graph_size 15 40
#####################################################  End Borders Secton  ###
###  Miscellaneous Section  ##################################################

# Boolean value, if true, Conky will be forked to background when started.
background no

# Adds spaces around certain objects to stop them from moving other things
# around, this only helps if you are using a mono font
# Options: right, left or none
use_spacer none

# Default and Minimum size is 256 - needs more for single commands that
# "call" a lot of text IE: bash scripts
text_buffer_size 256

# Subtract (file system) buffers from used memory?
no_buffers yes

# change GiB to G and MiB to M
short_units yes

# Like it says, it pads the decimals on % values
# doesn't seem to work since v1.7.1
pad_percents 2

cpu_avg_samples 1                    
net_avg_samples 1

##############################################  End Miscellaneous Section  ###
###  LUA Settings  ###########################################################
## Above and After TEXT - requires a composite manager or blinks.
##
# lua_load ~/Conky/LUA/draw-bg.lua
#TEXT
#${lua conky_draw_bg 10 0 0 0 0 0x000000 0.6}
#
## ${lua conky_draw_bg corner_radius x_position y_position width height color alpha}
##
## OR Both above TEXT (No composite manager required - no blinking!)
#
# lua_load ~/Conky/LUA/draw-bg.lua
# lua_draw_hook_post draw_bg 10 0 0 0 0 0xffffff 0.8
#
##
#######################################################  End LUA Settings  ###

default_bar_size 120 20 # reverse to commandline and no comma:  ${cpubar 20,102}

# The all important - How often conky refreshes.
# If you have a "Crey" try: 0.2 - smokin' - but watch the CPU useage go UP!
update_interval 1

lua_load ~/Conky/LUA/domino_hands.lua
lua_draw_hook_pre clock_rings

## requires one blank line after TEXT
TEXT

Offline

Help fund CrunchBang, donate to the project!

#750 2012-03-11 16:30:58

ackernan
#! Junkie
Registered: 2011-01-10
Posts: 403

Re: Conky v1.9 Thread

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.
Server: bleh

Debian Logo