#!/usr/nekoware/bin/bash # https://wiki.preterhuman.net/Use_Custom_Background_on_Irix cp /usr/lib/X11/system.backgrounds /etc/skel/.backgrounds # You can convert JPEG images to XPM using ImageView, xv, NetPBM or similar, and resizing/cropping to the correct size and aspect can be accomplished with an image editor (such as GIMP or Photoshop). background "Anime" command "-xpm /usr/people/neko/backgrounds/anime.xpm" default "-xpm /usr/people/neko/backgrounds/anime.xpm" readok "/usr/people/neko/backgrounds/anime.xpm" background "Anime" default "-image /usr/people/neko/backgrounds/anime.jpg" #!/bin/sh BGDIR=$HOME/Backgrounds cp /usr/lib/X11/system.backgrounds $HOME/.backgrounds chmod 644 .backgrounds cd ${BGDIR} for x in *.jpg *.xpm *.png *.bmp; do case ${x} in '*.jpg'|'*.xpm'|'*.png'|'*.bmp') ;; *) NAME=`echo ${x} | tr '.' ' ' | awk '{print $1}' | tr '_' ' '` echo "" >> $HOME/.backgrounds echo "background \""${NAME}"\"" >> $HOME/.backgrounds echo "default \""-image ${BGDIR}/${x}"\"" >> $HOME/.backgrounds ;; esac done esac done # Custom background on login screen # edit /usr/lib/X11/xdm/Xsetup At the top of the file add a line similar to: # /usr/nekoware/bin/xli -onroot /path/to/wallpaper/login_pix.jpg