https://wiki.preterhuman.net/index.php?title=Setting_Backgrounds&feed=atom&action=historySetting Backgrounds - Revision history2024-03-28T14:09:56ZRevision history for this page on the wikiMediaWiki 1.35.0https://wiki.preterhuman.net/index.php?title=Setting_Backgrounds&diff=33906&oldid=prevNetfreak at 05:44, 22 April 20212021-04-22T05:44:00Z<p></p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 05:44, 22 April 2021</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l71" >Line 71:</td>
<td colspan="2" class="diff-lineno">Line 71:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><code>/usr/nekoware/bin/xli -onroot /path/to/wallpaper/login_pix.jpg</code></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><code>/usr/nekoware/bin/xli -onroot /path/to/wallpaper/login_pix.jpg</code></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Note that xli may have a different path installed.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Note that xli may have a different path installed.</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[[Category:SGI]]</ins></div></td></tr>
</table>Netfreakhttps://wiki.preterhuman.net/index.php?title=Setting_Backgrounds&diff=33793&oldid=prevKazuok: Initial Import from irixnet wiki2021-04-20T19:55:22Z<p>Initial Import from irixnet wiki</p>
<p><b>New page</b></p><div>==Setting Backgrounds==<br />
IRIX supports out of the box on both 6.5 and pre-6.5 versions customized backgrounds. The procedure varies from version to version, however, as 6.5.22+ supports modern image formats, while versions prior do not. <br />
<br />
===Preliminary Steps===<br />
Enabling 24-bit X is a major requirement. [[IRIX Setup 101]] has a section on this. Next, copy the backgrounds configuration file. <br />
<br />
<code>% cp /usr/lib/X11/system.backgrounds ~/.backgrounds</code><br />
<br />
====Using XPM files (Most versions of IRIX prior to 6.5.22)====<br />
IRIX supported 8-bit XPM files relatively early in development. Create a directory to hold backgrounds:<br />
<br />
<code>% mkdir ~/backgrounds</code><br />
Once the images are added, then create an entry in the .backgrounds file:<br />
<br />
<br />
background "Anime"<br />
command "-xpm /usr/people/neko/backgrounds/anime.xpm"<br />
default "-xpm /usr/people/neko/backgrounds/anime.xpm"<br />
readok "/usr/people/neko/backgrounds/anime.xpm"<br />
<br />
This is an example created originally by Nekonoko. <br />
<br />
The entry will be in Desktop -> Customize -> Background labeled "Anime"<br />
<br />
====Using IRIX's Native PNG/BMP/JPEG handler (6.5.22+)====<br />
IRIX 6.5.22+ simplified this process greatly. The same entry would be:<br />
<br />
<br />
background "Anime" <br />
default "-image /usr/people/neko/backgrounds/anime.jpg"<br />
<br />
Under 6.5.22.<br />
<br />
A Nekochan.net user created this script to automate entry of backgrounds:<br />
<br />
<br />
#!/bin/sh <br />
BGDIR=$HOME/backgrounds <br />
cp /usr/lib/X11/system.backgrounds $HOME/.backgrounds <br />
chmod 644 .backgrounds <br />
cd ${BGDIR} <br />
for x in *.jpg *.xpm *.png *.bmp; do <br />
case ${x} in <br />
'*.jpg'|'*.xpm'|'*.png'|'*.bmp') ;; <br />
*) <br />
NAME=`echo ${x} | tr '.' ' ' | awk '{print $1}' | tr '_' ' '` <br />
echo "" >> $HOME/.backgrounds <br />
echo "background \""${NAME}"\"" >> $HOME/.backgrounds <br />
echo "default \""-image ${BGDIR}/${x}"\"" >> $HOME/.backgrounds <br />
;; <br />
esac <br />
done<br />
<br />
Update the BGDIR variable to change the directory. <br />
<br />
===Using xli===<br />
In Nekoware, and several other distributions, xli is available and can add the above functionality to older machines. Configure an entry this way:<br />
<br />
background "Anime2"<br />
command "-execute /usr/freeware/bin/xli -onroot -fork /usr/people/neko/backgrounds/anime2.jpg"<br />
default "-execute /usr/freeware/bin/xli -onroot -fork /usr/people/neko/backgrounds/anime2.jpg"<br />
exeok "/usr/freeware/bin/xli"<br />
readok "/usr/people/neko/backgrounds/anime2.jpg<br />
<br />
xli is the easiest of its type to install as it has no additional dependencies. It's rather dated in that it does not support progressive JPEG or PNG so some backgrounds will need to be converted to standard JFIF or JPEG before xli can deal with them. xli also does not support pseudo transparency effects with some applications, a good example being X-Chat.<br />
<br />
There are a couple of caveats to note when using 24-bit images. Desks Overview will not display background previews in the desk panes and desktop switching slows down dramatically, though that's less of an issue on newer hardware.<br />
<br />
xli can also add a background to the login screen by editing <code>/usr/lib/X11/xdm/Xsetup</code> at the top of the file. Add the following:<br />
<br />
<code>/usr/nekoware/bin/xli -onroot /path/to/wallpaper/login_pix.jpg</code><br />
Note that xli may have a different path installed.</div>Kazuok