Code: Select all
File "/home/***/scripts/gmail.py", line 20
print "0 new"
^
IndentationError: expected an indented block
[edit] Working now. Thanks.
Code: Select all
File "/home/***/scripts/gmail.py", line 20
print "0 new"
^
IndentationError: expected an indented block
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}
chimo !?vrkalak wrote:...After all, I am an Admin at Conky-Pitstop -- Spanish edition.
Conky-Pitstop > http://conky-pitstop.wikidot.com/
I have a simple basic conky in my KDE.zerozero wrote:Hi colyn,
conky into KDE!?
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
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}
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}
Boy, that was a long time ago . . . I'll have to search and see if I still have that one-line Conky Script somewhwere.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