User Tools

Site Tools


tips:irix:backgrounds

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

tips:irix:backgrounds [2026/09/15 16:43] (current)
mattieu created
Line 1: Line 1:
 +====== Populate backgrounds with cool images ======
  
 +Here is a script, courtesy of Nekonoko from feu Nekochan.
 +On IRIX 6.5.22+ you can also put jpg and png in your $BGDIR.\\
 +Rerun it when you add new pictures to your directory.
 +
 +<code>
 +#!/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
 +
 +</code>
 +
 +~~NOTOC~~
tips/irix/backgrounds.txt ยท Last modified: 2026/09/15 16:43 by mattieu