although the code is somewhat "ugly" (sorry!). it's faster than a version i made with gconftool-2 which is less code. maybe i'll find a way to update the background image.