Skip navigation.

The blog without title

Totem-Playlistcreator

I've written a little script that can still use lots of improvements to easily create a simple totem-xine playlist which contains all the mpg, mpeg, avi and wmv vidz found in a certain directory. Ideas for improvement are welcome as well as comments.

Grtz,

Didier_G

Started working on WallpaperRandomizer1.0.0

Today I started to improve the script to adapt to the seasons of the year. I've finished this. To install the script, just download it, put it in the folder you choose. I dropped it in ~/.WallpaperRandomizer. Insert the line "~/path/to/WallpaperRandomizer1.0.0.sh" in your .bash_profile and create 4 directories called Summer, Winter, Fall and Spring in ~/Desktop/Wallpapers and fill them. This should work. I've inserted some sample wallpapers that you can replace. Just place the folders in ~/Desktop/Wallpapers.

WallpaperRandomizer1.0.0.tar.gz

The next step in my proces will be the creation of an installer which creates the directories on its own.

Correction to the script I posted yesterday

During the modification of the background randomizer I stumbled upon an error in the script. After some debugging I found out you have to increase N by 2 to get the right wallpaper, so if N is 0 or 1 for the moment you won't get anything and you won't be able to see your last wallpapers. I've uploaded the corrected version in WallpaperChanger.tar.gz.1WallpaperChanger.tar.gz

Automatically changing wallpaper in Fedora Core 5 (may work in other distros too)

After some searching I stumbled today on a topic in a forum that covers automatically changing your wallpaper. To apply the script that is necessary, you need to make sure all your wallpapers are in one folder and the names of the wallpapers don't contain spaces. You should just put the script in a /bin folder, but i haven't done that. To make it change my wallpaper each time I log into my computer I put the line

</path/to>/<script>

in my .bash_profile . I know this isn't the right way, but because I don't know which is, this should be sufficient for now. I'm planning to make some changes to the script myself to make it adapt the wallpaper to seasons, holiday, etc. by making it choose from different directories according to the date. Here below is the script for everyone who wishes to use it.

#!/bin/sh

#Name: ranwp.sh
#Function: Wallpaper randomiser
#Adapted for Ubuntu Warty from suggestions 
#found on http://gnome-hacks.jodrell.net/
#License: Public Domain

#Instructions: Place this script in a /bin directory
#and do a chmod +x <filename> on it.
#Then put it in a crontab or with your startup programs.
#Or both. Ubuntu Warty doesn't have a crontab editor, 
#but you can install gcrontab via synaptic.

LOC="/home/Didier/Desktop/Wallpapers/"
cd $LOC
#Change this location if you keep your backgrounds elsewhere.
#Just one location allowed, sorry.
#Oh yes, it would be helpful if your backgrounds did not have 
#spaces in their filenames! If the script encounters such 
#a filename, it generates an error and throws up a blank screen.
#Just go through the list and replace any spaces in the 
#names with "_" or "-"

IMGS=`find . -iname '*.jpg' -o -iname '*.png' -o -iname '*.svg'`
#You may want to get rid of the tiger head in 
#/usr/share/backgrounds/scalable, in fact, blow
#that directory away!

N=`echo $IMGS | wc -w`
#Find out how many pictures we got

((N=RANDOM%N))
#Take a random number between 1 and N

BGNAME=`echo $IMGS | cut -d '/' -f $N | cut -d ' ' -f 1`
#We have to cut twice to get rid of an irritating " ." at the 
#end after the first cut

# start of gconftool command - all on one line!
gconftool-2 -t str --set /desktop/gnome/background/picture_filename "$LOC/$BGNAME"
# end of gconftool command

# start of gconftool command - all on one line!
gconftool-2 -t str --set /desktop/gnome/background/picture_options "stretched"
#Possible values are "none", "wallpaper" (eg tiled), "centered", "scaled", "stretched"
# end of gconftool command


#That's it, your background should have changed.

Windows Vista getest

Gisteren ben ik PC magazine gaan kopen. Om eerlijk te zijn, ik was het niet van plan te kopen, maar eenmaal in de Carrefour zag ik dat er bij PC magazine een testversie zat van Windows Vista, waardoor ik het dan maar gekocht heb.

Terug thuis gearriveerd begon ik dus een mogelijkheid te zoeken om Windows Vista op mijn PCtje met een harde schijf van "slechts" 40 MB te installeren zonder Windows XP kwijt te spelen. Dat op zich bleek niet echt een probleem te zijn vermits ik al twee partities had, één met Fedora Core 5 en één met Windows XP. Ik heb dus maar de partitie met Fedora Core 5 verwijderd en die met Windows XP wat ingekrimpt, want Windows Vista vereist maar liefst 15 MB om te installeren. Vermits ik er niet in slaagde om de installatie van Windows Vista te starten vanop de DVD heb ik de installatie moeten starten vanuit Windows XP. De installatie verliep vlot, maar nam toch wel een mooie drie uur in beslag, iets te veel naar mijn gedacht.

Na de installatie heb ik eventjes gesukkeld om mijn netwerk aan de gang te krijgen en een degelijke resolutie van mijn scherm vinden geeft mij ook enige moeite gekost. Uiteindelijk kon ik dan met Windows Vista beginnen te werken. Windows Live installeren was de volgende stap, daarna Internet Explorer 7 testen, hetgeen met tabs werkt. Vermits ik al jaren Opera als webbrowser gebruik heb ik IE7 daar maar eens mee vergeleken en om eerlijk te zijn, het duurde niet lang voor ik terug naar Opera overschakelde. IE7 gebruikte blijkbaar enorm veel geheugen, want mijn pc ging enorm traag zowel bij het gebruiken van IE7 als Windows Media Player 11. Van dat vele geheugenverbruik ben ik nog niet zo zeker of het aan de programma's ligt, want ik heb WMP11 nu ook in Windows XP geïnstalleerd en daar heb ik er geen problemen mee gehad. WMP11 minimaliseren en de werkbalk op de taakbalk activeren met de visualisatie leverde mij in Windows Vista zelfs problemen op, zo kon ik onmogelijk de taakbalk nog gebruiken. De enige optie die er op dat moment voor mij nog opzat was via taakbeheer WMP11 afsluiten.

Op de korte tijd dat ik Windows Vista heb gebruikt is het voor mij duidelijk dat het enkel geschikt is voor computers die op dit moment zeer krachtig zijn. De gemiddelde huiscomputer en laptop van rond de duizend euro zal Windows Vista niet volledig kunnen benutten. Ik heb 1GB RAM geheugen, maar ik vermoed dat om vlot te kunnen werken 2GB geen luxe is. Ook beschik je best over een snelle processor, een Pentium 4 bijvoorbeeld, met minstens een frequentie van 3Ghz. Een ruime harde schijf van meer dan 100MB zou ook wel interessant zijn. En niet te vergeten om Windows Vista aero te kunnen gebruiken heb je zeker een goede videokaart nodig, want ik kon daar al zeker geen gebruik van maken.

Er zal dus duidelijk nog een hele tijd overgaan voor Windows Vista zo ingeburgerd is als Windows XP. Misschien hebben we wel het geluk dat met de introductie van Windows Vista computerfabricanten de noodzaak aan krachtigere computers beginnen in te zien en er dus een daling van de prijzen komt waardoor de budgetpc's terug betaalbaarder worden.

:cool: den diamond :cool:

The first post

Ja, vermits ik deze blog al een tijdje geleden heb aangemaakt word het hier zo stilaan tijd om hier iets te zetten. Ik had al een blog aangemaakt op www.redbox.be, maar vermits de berichten van de andere gebruikers in hun blogs weinig inhoud hadden besloot ik daar maar van af te stappen. Ook het feit dat men daar moet betalen om een foto te uploaden stond mij om eerlijk te zijn niet echt aan. Ik tracht die blog hoe dan ook nog een beetje up to date te houden tot deze hier van de grond komt, maar ik vermoed dat dat niet al te lang zal duren.

Ik vind de community van Opera zelfs een geweldig idee wat nog maar eens een grote meerwaarde heeft aan de ideale webbrowser. Misschien een minpunt is dat de community nog niet ingedeeld is in taalzones, waardoor men moet zoeken naar blogs in een taal die men kan verstaan.

Greetz from

:cool: den diamond :cool:
January 2010
S M T W T F S
December 2009February 2010
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30