Custom Images for Backgrounds?
#1
Custom Images for Backgrounds?
Hey All!

First off thanks you to find folks who run this site and the members that conribute. Seems like its getting harder and harder to find groups for these awesome machines.

So my questions is as states. I know the backgrounds use raw bitmaps (I think?) but wondering if there is a way / process to convert a standard JPG etc to be used for a background with Magic Desktop.

Thanks!
dasos
O2

Posts: 6
Threads: 1
Joined: Aug 2018
Find Reply
08-22-2018, 12:32 AM
#2
Re: Custom Images for Backgrounds?
This is a FAQ but we do not seem to have a page over here with IRIX FAQs clarified. I have found this page which explains the modifications in the desktop background file:
http://rainbow.ldeo.columbia.edu/documen...cs/14.html The second entry from Joe Madison is the one to follow
dexter1
Global Moderator
******

Posts: 166
Threads: 9
Joined: May 2018
Find Reply
08-22-2018, 04:19 AM
#3
Re: Custom Images for Backgrounds?
Thanks dexter1, however, that binary does not seem to be present on my install. Anyone else have any ideas?
dasos
O2

Posts: 6
Threads: 1
Joined: Aug 2018
Find Reply
08-25-2018, 09:25 PM
#4
Re: Custom Images for Backgrounds?
I've reinstalled my O2 today and i've looked up my .backgrounds file. Sure enough, it differs form the previous examples in the link:
Code:
background "Motoko"
   default "-xpm /home/frank/Pictures/motokopen.xpm"

background "Poly10"
   default "-xpm /home/frank/Pictures/poly10.xpm"
andsoforth...

So you only need to change the background image in xpm format and put the image in a folder on your home drive, then note the location and make the .backgrounds file refer to it.
dexter1
Global Moderator
******

Posts: 166
Threads: 9
Joined: May 2018
Find Reply
08-25-2018, 09:32 PM
#5
Re: Custom Images for Backgrounds?
Ah, no problem thanks for your help :) But, I hate to bother, but trying to covert JPG to XPM is proving to be hard. Any suggestions?
dasos
O2

Posts: 6
Threads: 1
Joined: Aug 2018
Find Reply
08-26-2018, 02:31 AM
#6
Re: Custom Images for Backgrounds?
A cursory Google search had a couple of online converters pop up (not sure if you’ve tried any of them already). No telling if they’re useful but perhaps one or two will work well. I’d give it a shot just to try it myself but I’m away from my desktop at the moment.

In fact, I likely will give it a shot as I’d like to try converting a few things over.

IRIS Crimson  R4K | Elan Graphics   Indigo R3K | Entry Graphics (LG2)   Indigo2  R10K | Solid IMPACT
CB_HK
Crimson

Posts: 74
Threads: 13
Joined: May 2018
Find Reply
08-26-2018, 03:51 AM
#7
Re: Custom Images for Backgrounds?
dasos post_id=2859 time=1535250681 user_id=335 Wrote:Ah, no problem thanks for your help :) But, I hate to bother, but trying to covert JPG to XPM is proving to be hard. Any suggestions?

You can try Gimp 2.4.6 from nekoware, it supports both JPG and XPM. That should do the trick without giving your precious data to greedy online conversion sites!

Tru
TruHobbyist
O2

Posts: 43
Threads: 6
Joined: May 2018
Find Reply
08-26-2018, 07:39 AM
#8
Re: Custom Images for Backgrounds?
What version of IRIX are you running? 6.5.22 and later support using standard JPGs for the background images.

 Indigo2 IMPACT R10000 195MHz, 384MB RAM, SolidIMPACT, 36GB 15k & 300GB 10k drives, new/quiet fans, IRIX 6.5.22
Fuel R14000 600MHz, 4GB RAM, V10 Graphics, 72GB 15k & 300GB 10k drives, new/quiet fans, IRIX 6.5.30
O2 in storage...
Trippynet
Indigo2 IMPACT

Posts: 89
Threads: 1
Joined: Dec 2017
Find Reply
08-26-2018, 09:31 AM
#9
RE: Custom Images for Backgrounds?
(08-26-2018, 03:51 AM)CB_HK Wrote:  A cursory Google search had a couple of online converters pop up (not sure if you’ve tried any of them already). No telling if they’re useful but perhaps one or two will work well. I’d give it a shot just to try it myself but I’m away from my desktop at the moment.

In fact, I likely will give it a shot as I’d like to try converting a few things over.

Yeah, I tried three none seemed to work. But ya can't always trust those hehe Smile

(08-26-2018, 07:39 AM)TruHobbyist Wrote:  
dasos Wrote:Ah, no problem thanks for your help Smile But, I hate to bother, but trying to covert JPG to XPM is proving to be hard. Any suggestions?

You can try Gimp 2.4.6 from nekoware, it supports both JPG and XPM. That should do the trick without giving your precious data to greedy online conversion sites!

Tru

Good to know, I'll look at getting that install. GIMP is always useful to have.

(08-26-2018, 09:31 AM)Trippynet Wrote:  What version of IRIX are you running? 6.5.22 and later support using standard JPGs for the background images.

Oh it does? Yea, im running 6.5.22, is the config string like the other or is it different?
(This post was last modified: 08-27-2018, 09:49 PM by dasos.)
dasos
O2

Posts: 6
Threads: 1
Joined: Aug 2018
Find Reply
08-27-2018, 09:47 PM
#10
RE: Custom Images for Backgrounds?
(08-27-2018, 09:47 PM)dasos Wrote:  

Oh it does? Yea, im running 6.5.22, is the config string like the other or is it different?

Syntax is:

Code:
background "[display name]"
default "-image [filename with path]"

There was also a script someone had written (forget who) to populate the backgrounds file.

Copy the following to a shell script, save it and make it executable:

Code:
#!/bin/sh
BGDIR=$HOME/Backgrounds
#cp /usr/lib/X11/system.backgrounds $HOME/.backgrounds
chmod 644 $HOME/.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

Copy your images into ~\Backgrounds, run the script and it will populate the .backgrounds file with all the images.

 Indigo2 IMPACT R10000 195MHz, 384MB RAM, SolidIMPACT, 36GB 15k & 300GB 10k drives, new/quiet fans, IRIX 6.5.22
Fuel R14000 600MHz, 4GB RAM, V10 Graphics, 72GB 15k & 300GB 10k drives, new/quiet fans, IRIX 6.5.30
O2 in storage...
(This post was last modified: 08-28-2018, 12:13 PM by Trippynet.)
Trippynet
Indigo2 IMPACT

Posts: 89
Threads: 1
Joined: Dec 2017
Find Reply
08-28-2018, 12:12 PM


Forum Jump:


Users browsing this thread: 2 Guest(s)