My fork of fritzw/ld-preload-open, all I've done is change the paths.
I'm using this to keep some programs from wasting disk I/O on meaningless stuff and get them to (mostly) comply with the XDG Basedir Spec
I currently use this by adding export LD_PRELOAD='/home/runningdroid/git/ld-preload-open/path-mapping_${LIB}.so'
to my xinitrc