Typography wallpaper creates a wallpaper using your installed fonts

Typography wallpaper is an awesome little script created by Dave Child that generates a wallpaper using your installed fonts – using a different font and character each time it is run.

Download

sudo apt-get install imagemagick php5

  • Now rename the script extension to .php
  • Move it to your Home folder

Before we run the script you need to tailor it. Make sure you pay attention to each section of the command highlighted below.

Location

php fontpaper.php -i ~/wallpaper.jpg -s 1440×900 -l d0od -b 230417 -f ff9000

This is the path to where you want the wallpaper to be created. Make sure wherever you select is writeable. For ease of mind just your home folder.

Size

php fontpaper.php -i ~/wallpaper.jpg -s 1440×900 -l d0od -b 230417 -f ff9000

This is the size the wallpaper – enter the dimensions fully. You can check your screen-size in System > Preferences > Monitors

Characters to display/rotate through

php fontpaper.php -i ~/wallpaper.jpg -s 1440×900 -l d0od -b 230417 -f ff9000

In the example above I’ve entered the letter ö. You can enter as many letters as you like, all of which are case-specific, too. Note that only one will show at a time.

Background colour

php fontpaper.php -i ~/wallpaper.jpg -s 1440×900 -l d0od -b 230417 -f ff9000

Enter the hexadecimal value of the background colour you’d like. There are many online tools for finding hex values such as html-color-codes.com

The value in the example above is the new Ubuntu 10.04 purple colour.

Foreground colour

php fontpaper.php -i ~/wallpaper.jpg -s 1440×900 -l d0od -b 230417 -f ff9000

This is the colour that the typography on your wallpaper will be written in, so choose something complimentary to the background colour.

In the example above the foreground colour is the orange used on OMG! Ubuntu!

Finish up
Once you’ve tailored each part you can run the script as one command: -

php fontpaper.php -i ~/wallpaper.jpg -s 1440×900 -l d0od -b 230417 -f ff9000

The resulting image will be set as your wallpaper.

Set wallpaper to Auto-change

If you want the wallpaper to auto-change, setting a new wallpaper with a new character in a random font then you can set the script to run at set intervals though an application called GNOME-Schedule.

  • sudo apt-get install gnome-schedule
  • Start GNOME-Schedule
  • Click ‘new’
  • Select ‘recurrent’ task type
  • In the command field paste your custom command
  • In the drop down box beneath the command field choose ‘Suppress behaviour’
  • Set a running interval
  • Click ‘add’.

Related posts:

  1. Quirky Wallpaper: Top 10 Recent Cinema Releases As Your Wallpaper
  2. Set Bing.Com’s Background Of The Day As Your Wallpaper [Updated]
  3. Quirky Wallpaper Series: Random NASA Wallpaper Script
Post a comment or leave a trackback: Trackback URL.
  • John J. Camilleri

    Nice idea! But it doesn’t quite work for me; The line below:

    gconftool-2 –type string –set /desktop/gnome/background/picture_filename ~/wallpaper.jpg

    correctly sets the relevant setting in gconf, but the actual desktop wallpaper itself is not refreshed… this is general issue, no matter what image I try to specify. I’m using Ubuntu Oneiric (11.10). Any ideas how to force GNOME to redraw the desktop background?

    • John J. Camilleri

      I managed to fix this by opening up the generated image using the standard image viewer, then right-clicking and choosing “Set as desktop background.” Somehow that convinced it, and now my wallpaper changes correctly on schedule. Thanks!