|
#1
| |||
| |||
|
Anyone found a way to insert a background image in a .dmg disk image (a la OmniGroup - see OmniWeb.dmg for an example)? I have noticed that the image is in an invisible folder called .windowbg (the image itself being called .windowbg.jpeg). I tried replicating that folder (and its corresponding image) in a newly created .dmg (using dmgmaker) but it did not work. While we're at it: anyone found a way to define a fixed window position and size for .dmg disk images (quite useful if a background image is there...). Colddiver, newbie Cocoa developer |
|
#2
| ||||
| ||||
|
You should just be able to set it like any other window - through view options. As far as Finder is concerned, a disk image is just another volume. I have had trouble getting it to stick sometimes, but now that I think about it I may have been trying to edit a read-only image.
__________________ g4 400 AGP - 512 RAM 10GB internal (dumping ground) + 60GB (30 GB OSX partition/30 GB OSX Server partition) - 3GB external SCSI (OS9/and I think the Public Beta is still on there somewhere) - DVD-RAM - ZIP |
|
#3
| |||
| |||
|
Humm... I tried using the View Options as you suggested and it didn't work. I will try again... in the meantime, if someone know a more reliable way to do this, I would like to know. Colddiver
__________________ My config: PowerBook G3 500 (Pismo) 384 MB RAM Mac OS X 10.1 XFree & Enlightenment |
|
#4
| |||
| |||
|
AFAIK, the name of the file and the folder it's in is irrelevant, as long as it's invisible so that the user can't SEE it. Then select that file in the view options for that window as the background. Note: I haven't actually done this so it may not work but I have set a picture as the background for other windows, just never on a disk image. But a can't see how it wouldn't work. Peter |
|
#5
| |||
| |||
|
I think you might be able to click - view - show view options - under background - show picture thats what ive been doing |
|
#6
| ||||
| ||||
|
Once the dmg is created, Apple i for info and copy and paste the new icon just as you would with any other icon change.
__________________ This is a computer-generated message and needs no signature. |
|
#7
| ||||
| ||||
|
I think they (Omni) set up a regular folder the way they wanted it complete with background image and icon placement, then used Disk Utility and made an image from that folder (File > New > Disk Image from Folder). Your background image doesn't have to be hidden, they just do that so there's no clutter on the disk image -- just the application and whatever needs to be seen by the user.
__________________ Mac mini 2.0GHz 10.6.2 • 4GB • 320GB • Superdrive • 4 x 1TB USB 2.0 • LED Cinema Display MacBook 2.0GHz Core 2 Duo - White 10.6.2 • 4GB • 250GB • CD-RW/DVD-ROM iPhone 3G 8GB • iPod Touch 8GB • iPod Photo 60GB • iPod nano 1GB • AT&T U-Verse 18Mb/2Mb http://www.jeffhoppe.com |
|
#8
| |||
| |||
|
The easiest way I've found: 1) Create new disk image as read/writable from the folder of files you want on the disk image, including the image. 2) Open the disk image in a new window, position everything how you want it, size the window. 3) Set the view options to that image 4) With the developer tools installed, there's a tool in /developer/tools called SetFile. type in /developer/tools/setfile -V imagefilename (the uppercase V makes it invisible in the Finder) in the Terminal 5) Convert your disk image to compressed or whatever.
__________________ Mac Software by Me - ImageReel, Google Maps Address Book Plugin. |
![]() |
| Bookmarks |
| Thread Tools | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Safari and bg image problem | bobbyfett | Design & Media | 13 | May 8th, 2003 01:16 PM |
| Changing the login background image in OSX | cloudair | Mac OS X System & Mac Software | 1 | April 8th, 2003 03:12 AM |
| Black background with White Text | llyrwy | Opinions, & Open Letters | 5 | March 30th, 2003 02:05 PM |
| background image 2, the sequel | Lazzo | Design & Media | 0 | June 17th, 2002 08:43 AM |
| How to tile a background image in a window? | garfildo | Mac OS X System & Mac Software | 0 | April 3rd, 2002 01:54 PM |