LPC Wallpaper

I’ve been playing around with fotowall (Already in Fedora’s repository!) for an article I’m working on for opensource.com, and while I was messing with it, I ended up making a nice collage out of the hundreds of screenshots I took for the Liberated Pixel Cup Games.

Normal resolution is available at 1366×583, while High Def has a 1920×1080 resolution and HD Plus has a 1920×1200 resolution.. I’d be happy to make different screen resolutions if requested.

Since fotowall currently doesn’t collate images, and when you add them, it stacks them in alphabetical order… I ended up investigating about a way to randomly add the files.

mapfile -t -n 48 files < <(find . -type f | sort -R) && fotowall ${files[@]}

mapfile helps create a random array of files, which is then passed on with the ${files[@]} argument to fotowall. Neat, huh?

Tagged with: , , , ,
Posted in Free Software, Free Software Games, Gaming, Life
2 comments on “LPC Wallpaper
  1. allenhalsey says:

    Cool tip about fotowall. Thanks. I’m trying it out now.

    Instead of mapfile, try this:

    fotowall $(find ./ -type f | sort -R | head -n 48)

    • Nushio says:

      Thanks for the tip! I tried ls | sort -R before mapfile first, but I couldn’t get it to work. It seems like I needed to pipe head too.

Archives
September 2012
S M T W T F S
« Aug   Nov »
 1
2345678
9101112131415
16171819202122
23242526272829
30