Registered Ubuntu User #29430
conky-rss.sh has been updated again. Next? hehe
Registered Ubuntu User #29430
I don't remember what problem was caused by using ~ but it annoyed me at the time.
Maybe I can come up with yet another calendar script!
Hmmm.. maybe the Mayan calendar.. with a countdown-to-doomsday clock.
The only end-of-the-world prediction that will get more accurate with time is the one describing the sun running out of fuel and expanding before its death, taking the inner planets with it.
Registered Ubuntu User #29430
Heh. Well some good news is that I think most, if not all, the mice are gone from the house. Weird news is that I think the northern short-tailed shrew that found its way in probably ate the mice. I still can't find THAT thing and it's not getting into any of the traps.
Blarina_brevicauda.jpg
That's the picture from Wikipedia but it looks EXACTLY like the one I saw running around by the water heater!
Yes, you can use feh to get the transparency looking right in KDE. I think this is still accurate for the current versions of KDE.
KDE, feh and transparent conky.
Example conkyrc with feh for KDE.
Last edited by ddnev45; January 22nd, 2010 at 06:09 AM.
The mark of an honest man ... is that he means what he says and knows what he means.
A.R.
You are correct dmillerct, feh is needed because of the way plasma is implemented.
${texeci 3600 feh --bg-scale "`grep 'wallpaper=' ~/.kde/share/config/plasma-desktop-appletsrc | head -n1 | tail --bytes=+11`"}
..another (more elegant solution, IMNSHO) assuming you have conky 1.7.2 or better is to use 'lua' like here, but a word of caution, it's addictive too.
Save this as ~/scripts/draw_bg.lua
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 ~/scripts/): lua_load ~/scripts/draw_bg.lua lua_draw_hook_pre 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=15 -- Set the colour and transparency (alpha) of your background. bg_colour=0x000000 bg_alpha=0.4 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
Last edited by Crinos512; January 22nd, 2010 at 06:26 AM.
|| Kubuntu x86_64 (15.10 Dev.) || KDE 4.9.00 ||
|| Dell Inspiron 570 || 8GB PC3-10600 DDR3 RAM || AMD Phenom II X4 820 @ 2.8Ghz ||
|| Logitech M570 Trackball || Logitech G15 Gaming Keyboard ||
Conky: ... no such configuration: 'normal'
well, if I'm going to need to have a background in my conky, it's gotta look nice. I found this at conky hardcore, but it doesn't seem to be working for me. The only changes I made to the script were radius 15 to 10 and color from white to black, and the location was changed from ~/scripts/ to ~/ConkyScripts/.
Bookmarks