You know, I've downloaded so many wallpapers and Conky's that I can no longer keep track. I must have hundreds of Conky's and over a thousand wallpapers! You can grab it here;
http://en.zimagez.com/miniature/streetlights.png
Printable View
You know, I've downloaded so many wallpapers and Conky's that I can no longer keep track. I must have hundreds of Conky's and over a thousand wallpapers! You can grab it here;
http://en.zimagez.com/miniature/streetlights.png
Thank you! Downloaded.
Thanks!
There's a HOWTO link, in my sig. The ConkyWX (weather) author participates heavily in that link, too.
Here's a screenie, from a few minutes ago...
Did I ever mention that I love Conky? Changed it again.
http://en.zimagez.com/miniature/latest.png
HELP .... Australia
... anyone have a "Surfing Conditions" script for Brisbane.
HELP .... Australia
Budgie smugglers on and ready for action....8-[
You can get a surf report for Brisbane from this site ... http://www.swellnet.com.au/reports/s...paradise/daily
The command using curl to download and sed to strip html tags, remove blank lines and output to ~/.surf.txt ...
Command to retrieve the surf report section...Code:curl --retry 4 "http://www.swellnet.com.au/reports/surfers-paradise/daily" | sed -e :a -e 's/<[^>]*>//g;/</N;//ba' | sed '/^$/d' > ~/.surf.txt
Code:cat ~/.surf.txt | grep -A 2 "Rating:" | tail -n1
Example use in conky...
This one also uses a script to download a 7 day forecast image
from this site .... http://www.seabreeze.com.au/graphs/qld.asp
The wget_seabreeze script to retrieve the image.Code:background no
update_interval 1
total_run_times 0
use_xft yes
xftfont Droid Sans:size=10
xftalpha 1.0
own_window yes
#own_window_title
own_window_type normal
own_window_transparent no
own_window_colour ffffff
own_window_hints undecorated,below,skip_taskbar,skip_pager,sticky
#own_window_argb_visual yes
#own_window_argb_value 230
double_buffer yes
draw_shades no
draw_outline no
draw_borders no
stippled_borders 10
alignment tr
gap_y 60
gap_x 20
default_shade_color grey
default_outline_color black
default_color 000000
use_spacer none
no_buffers yes
uppercase no
color1 F8DF58
text_buffer_size 512
override_utf8_locale yes
minimum_size 600 260
maximum_width 600
#use_spacer left
max_specials 1024
max_user_text 4000
#lua_load /home/glen/conky/draw_bg_vindsl-sb.lua
#lua_draw_hook_pre draw_bg
imlib_cache_size 0
border_inner_margin 5
border_outer_margin 3
border_width 3
TEXT
${execi 3600 curl --retry 4 "http://www.swellnet.com.au/reports/surfers-paradise/daily" | sed -e :a -e 's/<[^>]*>//g;/</N;//ba' | sed '/^$/d' > ~/.surf.txt}
${execi 3600 ~/conky/wget_seabreeze}
${image ~/.seabreeze.png -p 0,0}
${voffset 230}${font size=12}Surf Report: ${execi 3600 cat ~/.surf.txt | grep -A 1 "Effective from:" | tail -n1}${alignr 10}${execi 3600 cat ~/.surf.txt | grep -A 1 "Rating:" | sed ':a;N;$!ba;s/\n/ /g'}${font}
${voffset -10}${hr 2}
${execi 3600 cat ~/.surf.txt | grep -A 2 "Rating:" | tail -n1 | fold -sw86}
In this example the script is saved to ~/conky folder. Remember to make script executable.
Code:#!/bin/bash
wget -O .f1 http://www.seabreeze.com.au/graphs/qld.asp
grep rgg.png .f1>.f2
sed -i 's/"/\n/g' .f2
sed -i 's/?/\n/g' .f2
grep .png .f2>.f3
sed -i "1s/^/http\:\/\/www\.seabreeze\.com\.au/" .f3
i=$(sed -n '1p' .f3)
wget -O ./.seabreeze.png $i
Can I help?
so what's the plan ... are we catching the budgies or the smugglers? :lolflag:
Cutest damn birds ... mine says to say hi to all her cousins 6 or 7 times removed.
Great stuff, easysid, I got the location wrong and couldn't remember who, but you came through with flying colours .
After putting out the call for help, GlennsPref, told me he had a script from - of all people - you ... and pointed to your post for Inodoro RE: Wget
Friend at #! sent this link as well: WindGuru
True C4 in action!
Basic Date/Time With HD/RAM/CPU usage and shaded background. Not my own script.
~/.conky/conky-date-time
~/.conky/scripts/draw_bg.luaCode:# Use Xft?use_xft yes
xftfont Trebuchet MS:size=9
xftalpha 0.8
text_buffer_size 2048
background yes
# Update interval in seconds
update_interval 1
xftalpha 0.8
own_window_argb_visual yes
# 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 180 0
# Draw shades?
draw_shades yes
# 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
# own_window_colour white
# -- Lua Load -- #
lua_load ~/.conky/scripts/draw_bg.lua
lua_draw_hook_pre draw_bg
# 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
#borders
draw_borders no
border_margin 4
# Position en bas a droite
alignment bottom_right
# Decalage par rapport aux bordures
gap_x 10
gap_y 50
TEXT
${color EAEAEA}${font GE Inspira:pixelsize=48}${alignr}${time %l:%M %P}${font GE Inspira:pixelsize=24}
${voffset 10}${alignr}${color EAEAEA}${time %A} ${color ffffff}${time %d} ${color EAEAEA}${time %B}
${font Ubuntu:pixelsize=10}${alignr}HD $color${fs_used /} / ${fs_size /} RAM $color$mem / $memmax CPU $color${cpu cpu0}%
Code:--[[
Background by londonali1010 (2009)
This script draws a background to the Conky window. It covers the whole of the Conky window, but you can specify rounded corners, if you wish.
To call this script in Conky, use (assuming you have saved this script to ~/.conky/scripts):
lua_load ~/.conky/scripts/draw_bg.lua
lua_draw_hook_pre draw_bg
Changelog:
+ v1.0 -- Original release (07.10.2009)
]]
-- Change these settings to affect your background.
-- "corner_r" is the radius, in pixels, of the rounded corners. If you don't want rounded corners, use 0.
corner_r=20
-- Set the colour and transparency (alpha) of your background.
bg_colour=0x4D4D4D
bg_alpha=0.40
require 'cairo'
function rgb_to_r_g_b(colour,alpha)
return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
end
function conky_draw_bg()
if conky_window==nil then return end
local w=conky_window.width
local h=conky_window.height
local cs=cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, w, h)
cr=cairo_create(cs)
cairo_move_to(cr,corner_r,0)
cairo_line_to(cr,w-corner_r,0)
cairo_curve_to(cr,w,0,w,0,w,corner_r)
cairo_line_to(cr,w,h-corner_r)
cairo_curve_to(cr,w,h,w,h,w-corner_r,h)
cairo_line_to(cr,corner_r,h)
cairo_curve_to(cr,0,h,0,h,0,h-corner_r)
cairo_line_to(cr,0,corner_r)
cairo_curve_to(cr,0,0,0,0,corner_r,0)
cairo_close_path(cr)
cairo_set_source_rgba(cr,rgb_to_r_g_b(bg_colour,bg_alpha))
cairo_fill(cr)
end
I have perhaps an unusual question. I am compiling conky from source because I made a couple small changes to the source code. However, I'm having trouble compiling with lua bindings. I have installed the following packages:
liblua5.1-0-dev
libimlib2
libx11-dev
libncurses-dev
libxext-dev
libxdamage-dev
libxft-dev
libglib2.0-dev
The result in my config.log file is this:
Everything I've been able to find online seems to indicate that liblua5.1-0-dev should have the lua.pc file; however, I've searched my entire system and no such file exists (using sudo find / -name "lua.pc"). After doing this I am able to compile conky but I can't use lua. Can anyone help?Code:configure:13917: checking for LUA
configure:13925: $PKG_CONFIG --exists --print-errors "lua >= 5.1"
Package lua was not found in the pkg-config search path.
Perhaps you should add the directory containing `lua.pc'
to the PKG_CONFIG_PATH environment variable
No package 'lua' found
configure:13928: $? = 1
configure:13943: $PKG_CONFIG --exists --print-errors "lua >= 5.1"
Package lua was not found in the pkg-config search path.
Perhaps you should add the directory containing `lua.pc'
to the PKG_CONFIG_PATH environment variable
No package 'lua' found