Randomize Gnome wallpaper

Lately, different projects seem to emerge to manage random wallpapers. I have been using this script, which I’m calling from cron every X time to change my Gnome desktop background.

#! /bin/bash
if [ "$1" = "disable" ]
then
touch ~/Pictures/.no_set_background
fi
if [ "$1" = "enable" ]
then
if [ -f ~/Pictures/.no_set_background ]
then
rm ~/Pictures/.no_set_background
fi
fi
if [ -f ~/Pictures/.no_set_background ]
then
exit 0
fi
# File locations
FilePath=~/Wallpapers/
TempLog=/tmp/filelist.log
# Create a temporary logfile of all matches
cd $FilePath
find -L $FilePath -iregex ".*.jpg" > $TempLog
# Choose a random line number (any number from 1 to the length of the file)
LowerBound=1
RandomMax=32767
UpperBound=$(cat $TempLog | wc -l)
RandomLine=$(( $LowerBound + ($UpperBound * $RANDOM) / ($RandomMax + 1) ))
# Use sed to grab the random line
File=$(sed -n "$RandomLine{p;q;}" "$TempLog")
# use the random line
gconftool -t string --set /desktop/gnome/background/picture_filename "$File"

And, yes, Philip, I’m proud of using Ubuntu. I’m also a happy FreeBSD user, btw.

Categories: All 0 comments

Canonical Landscape for Ubuntu

I’ve been trial running Ubuntu Landscape late 2007, but stopped using it because of some severe memory leakage problems. I gave feedback on this to Canonical, but didn’t get any update on this issue.

I’m actually not really impressed with what Landscape offers:

  • Some extensive hardware info (like the System Hardware Information console) which serves little purpose
  • Central user management which actually is just a front end to adduser and related tools. I keep wondering why this solution was chosen, over things like LDAP. OK, they might want to improve on their Ldap client configuration first.
  • The package management is a nice feature to centrally check for updates, but not to the extent that one would consider paying for this extra service.

And that last remark goes for Landscap as a whole, actually. I would be curious to see which kind of rates apply for Landscape, but to be honest, the present features do not make it worth to me at any price. The features are just too little.

What we really need is something I’d call “Active Directory on steroids”. Something decentralized so we can easily manage different customer’s infrastructure. So we can centrally do user management, and delegate some organisational unit to a sub server, which eg. the customer can access. Put the Landscape backend in something Ldap. Integrate Samba into it. Make it open so other parties (eg. Zimbra.com) can plug in.

The problem with Ldap being just a standardized protocol, without anybody agreeing on the format of the data in it (one single addressbook schema any one?), we really need to agree on a base structure, without everyone building incompatible directory services. Oh and a decent front-end which enforces those choices would be good.

And yes, this is all plain possible with nowadays tools. But you have to extensively build this yourself. Some decent management tool which integrates those different technologies is really needed to get Linux on another level within businesses.

Categories: All 0 comments

ITPro Geekdinner.be 8

ITPro Geekdinner.be 8 will be held in combination with Barcamp Gent en GirlGeekDinner4

Date: March 29th 2008
Time: after 1800
Location: TOCONFIRM – somewhere in Gent

To quote Clo, Saturday 29 March turns into some kind of a full-day Belgian Uber Geek Fest:

The ITPro Geekdinner, issue 8 will be something special: $datelocation was fixed in conjunction with Barcamp Gent, and will be held in the evening, after Barcamp is finished.

For the evening the boy geeks subscribe to ITPro Geek Dinner and the girl geeks subscribe to Brussels Girl Geek Dinner. We’re still looking for a location and for sponsors to keep dinner free for both, but it will be in Ghent and we try and get all the hungry geeks in the one room. Girl Geek Dinners have been around for about a year now, and are organized by Clo Willaerts.

So no specifics are known yet as to where we will go for dinner, but it will be in Gent obviously.

Care to join us? Subscribe here via Doodle

Subscriptions are limited. Difficult to put a max number on it right now, as this depends of sponsoring, location, and subscriptions to both Geekdinners (IPGD and BGGD). But a limit will be set. If you care to join, don’t wait with your subscription.

WARNING_1: Barcamp subscription info is just “for info”, if you plan to attend Barcamp Gent, go to http://barcampgent.wikispaces.com/ and register over there;
WARNING_2: Don’t double book. If you are female, pick GGD and subscribe on their wiki; if you are male, pick IPGD and subscribe via the Doodle link.

Categories: All 0 comments

buitengeweest

‘t Was super neig cool mooi weer en papa en ik zijn buiten geweest.

img_56321024.JPG

Ik op de fiets en papa nam foto’s.

img_56401024.JPG

En we zijn ook in het bos geweest. ‘k Heb Plop zijn paddestoel nog steeds niet gevonden.

img_57011024.JPG

Maar in het bos dat is reuzeplezant. Veel stokken om mee te spelen.

img_57191024.JPG

En we waren niet alleen. Bompa en memie waren ook op wandel. En Aga en Anna, die niet wilden kijken naar papa zijn apparaat.

img_57471024.JPG

Diepe zucht

Kan iemand deze boekenboer eens wijsmaken dat een redirect van $origin naar www uitermate gewenst is?

Want blijkbaar is hun IT partner na al die jaren nog steeds niet overtuigend genoeg.

Categories: All 0 comments

Geflitst

Er zijn geen zekerheden meer in het leven.

De R4 in Gent, ongeveer ter hoogte van Vinderhoute/Lovendegem, richting Eeklo.

Een camera, geplaatst in de berm aan de waterkant, die frontaal flitst.

*mompel*

Categories: All 0 comments