Code is Love

Tag: X11

Flickr-ify your Gnome Screen Saver

by someguy on Oct.28, 2007, under Uncategorized

I’ve been reading about the estarling, a digital photo frame that will sit on a wireless network and grab photos from an RSS feed, on say, Flickr, or Picasaweb. What a fantastic idea this is — and really it’s the product I’ve been waiting to come to market for a long time if its features work as promised. Imagine: stick it in the home of your grandparents, parents, etc. - and _you_ can send the photos to their frame - keeping them up to date with all the latest photos from the lives of their family and friends.

To go along with this, I wanted a simple screen saver for my new install of Ubuntu Feisty-Fawn that did the same thing — grabbed latest images from an RSS feed on the web and then serve them when the screen was locked, or the system idle for more than a few minutes. It seemed like every Mac in my office has been taunting me with a feature like this, but maybe all those photo slideshows I’ve been seeing are from local images.

So, this is nothing short of a hack, but if you want this functionality on your desktop, maybe you’ll think it’s worth it like I did. The end result is Gnome Pictures Screen Saver with a modified version of bashpodder that grabs the latest photos from any feed(s) I specify to become the content for my screensaver.

The script takes a config file which consists of the URL to the feed you want to subscribe to and the xsl file which pulls out the URLs to the photos themselves from the feed. Currently RSS feeds/xsl transformations from Gallery, Picasaweb, and Flickr have been tested. When it runs, it checks the feed against files previously downloaded and only downloads the new stuff. It could be run from cron or perhaps when you log in. I suggest running it by hand the first time to make sure it is doing what you expect.

Package available in this thread:

Prerequisite pkg: libwww-perl (I used GET instead of wget - long story)

To install:

$tar -xzvf rss_photos.tar.gz

Edit rss_photos.sh and change the values of CONF_FILE and LOG_FILE to a permanent location. Create the CONF_FILE you just specified.

# Lines in CONF_FILE should be of the pipe-delimited format:
# |
# e.g.
# http://api.flickr.com/services/feeds/photos_public .gne?id=YOURIDHERE&lang=en-us&format=atom|parse_flickr_enclosure.xsl

Obviously, you will need to enable the “Pictures Folder” screen saver in Gnome for this to work - the script simply grabs photos for the screen saver.

Comments Off :, , , , , , , , more...

Fedora Core 6: Compiz, Beryl, Nvidia & Broadcom, Oh Boy

by someguy on Dec.02, 2006, under Uncategorized

So, I finally decided it was time to upgrade to a modern Linux distro — and I was pushed by the fact that some experimentation with dmraid from way back had left my system in a sorry state. A coworker was already running Fedora Core 6 on his laptop and while I don’t always love Fedora for it’s lack of longevity per release, I am a bit addicted to the bleeding edge.

In the last week I have installed FC6 Twice. Once on a homebrew desktop:

Asus K8N-E
AMD Athlon 64 3400
1 GB RAM
2 200 GB Maxtor SATA 133 Drives in dmraid mirror config through motherboard based controller
OEM Graphics card w/ nVidia Corporation NV34 [GeForce FX 5200]
Onboard Gb NIC
etc.
etc.

and a laptop:
Dell Lattitude d620
Intel Core 2 Duo T7200
nVidia Corporation Quadro NVS 110M / GeForce Go 7300
Broadcom Corporation Dell Wireless 1390 WLAN Mini-PCI Card
1 GB RAM
80 GB 5400 RPM SATA drive

The first install had a number of small hiccups — some related to hardware installed that was, well, kinda broken, and some minor anaconda explosions. None of these were that big a deal, but one lesson learned would be don’t configure an IP on your system if you are them going to add extra repositories to install from (this part has another network config screen, and it clearly didn’t like that I had already chosen to give myself a fixed IP). Run with dhcp until after the install, then set your static IP.

The second install went great — until I ran into a problem luckily already witnessed in my office — a stupid Linksys device that couldn’t handle the TCP window scaling properly. Thank you: “echo 0 > /proc/sys/net/ipv4/tcp_window_scaling”. The symptom was HORRENDOUSLY slow network performance before making this tweak (think downloading a few rpm updates all day).

I knew that eye-candy in gnome was finally working because I had stumbled across this news a while back, so I had to try it. Fedora comes pre-installed with the compiz package which, so long as your graphics card supports it, does some nice GUI effects, like rubbery windows, each desktop on it’s own side of a rotating cube, etc.. Really cool stuff, and to my amazement it mostly worked right out of the box. Linux is finally catching up in the UI world to the likes of Apple, so for the people who don’t generally live at the command line, this is a big deal. Nice work, everybody who had a hand in design/coding/testing/documenting/etc./etc.. This rocks. Amazing stuff.

A couple bumps in the compiz road that were/are being faced: the closed-source NVidia driver is necessary for those of us with nVidia chipsets as far as I can tell. None of this really works on the Xen kernel, currently. Also, running said nvidia driver causes IRQ conflicts with the Broadcom/Dell WiFi, and the wi-fi is currently unusable with either the ndiswrapper or the reverse engineered bcm43xx driver. Note: ndiswrapper works for some indeterminate amount of time before either dropping the wireless or freezing the whole system requiring hard reboot.

Another thing I discovered in all of this is Beryl. Whoa Cool. It basically takes the GUI effects in your desktop to the next level.

So, if you haven’t seen what desktop Linux has been up to in a while, go out of your way to see all the new stuff in Compiz and/or Beryl on a system near you - you won’t be disappointed.

Leave a Comment :, , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...