Use non-generic drive icon for dmg used in Mac OS X install

Bug #187852 reported by birdsaregood
2
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Wishlist
Unassigned

Bug Description

When you open the dmg image in Mac OS X to install Inkscape, instead of the blank, generic drive icon, it should be one specific for Inkscape. Like a picture of the Inkscape logo on top of the existing generic image. Or maybe a picture of the Inkscape logo behind a small CD.

Tags: osx
Revision history for this message
birdsaregood (ariel36) wrote :

Here I'm attaching an icns file for the example. It wouldn't be hard to make a dmg drive image with this icon, but I don't make the builds.

Revision history for this message
JiHO (jiho) wrote : Re: [Bug 187852] Re: Use non-generic drive icon for dmg used in Mac OS X install

On 2008-January-31 , at 22:13 , birdsaregood wrote:
> Here I'm attaching an icns file for the example. It wouldn't be hard
> to
> make a dmg drive image with this icon, but I don't make the builds.

Thanks for the nice example. I don't know how to set a custom icon for
the dmg. I guess `man hdiutil` has the answer, for the ones wanting to
venture there. Otherwise it'll have to wait a little (post 0.46 for
sure).
Thanks again.

Revision history for this message
birdsaregood (ariel36) wrote :

Actually, when you have the disk image ready (before you save it), right-click the icon and do "Get Info". Then take my icns, Get Info for that also. Click the 40 some pixel icon at the upper-left of the new icon file to select, and copy it "cmd+c". Then select the icon at the upper-left of the disk dmg and press cmd+v to paste. I think that should work.

Revision history for this message
birdsaregood (ariel36) wrote :

Yeah, I just tried it and it worked fine. It's easy to do, you can start right away if you like the icon. Let me know if you need clarification on my instructions for changing the icon... and I hope to see it in 0.46. :)

Revision history for this message
JiHO (jiho) wrote :

On 2008-February-01 , at 01:06 , birdsaregood wrote:
> Actually, when you have the disk image ready (before you save it),
> right-click the icon and do "Get Info". Then take my icns, Get Info
> for
> that also. Click the 40 some pixel icon at the upper-left of the new
> icon file to select, and copy it "cmd+c". Then select the icon at the
> upper-left of the disk dmg and press cmd+v to paste. I think that
> should
> work.

Thanks for the tip. Unfortunately, the disk image creation is
automated, in a scrip which calls hdiutil. We first create a read-
write disk image and then compress it to a read only one. We would
need to do this procedure on the read-write one, since the read-only
one is... well... read-only ;) And the read-write one never actually
appears. We would have to stop the process each time and do this
manually. Not a big deal probably but something that puts yet another
barrier between us a regular Inkscape builds for OS X. So basically I
think we just need to find the command-line way of doing this, which
exists, for sure.
If you can find it, that would be great.
Otherwise, we can still do the manual process once, for the release.
Stick around at that time and give your informations again to the one
in charge.

JiHO
---
http://jo.irisson.free.fr/

Revision history for this message
birdsaregood (ariel36) wrote :

I've already uploaded the icns. Who is the person in charge? Hdiutil? Is it possible to just assign this feature request to him?

Revision history for this message
JiHO (jiho) wrote :

On 2008-February-01 , at 02:17 , birdsaregood wrote:
> I've already uploaded the icns. Who is the person in charge?

well I guess that'll be me. But were not at release yet and I don't
know if I'll handle it or not.

> Hdiutil?

Type
 man hdiutil
in a Terminal (q to quit, / to search). hdiutil is the command line
utility used to create/compress/open/burn/... disk images. It is kind
of the power behind disk utility.

> Is
> it possible to just assign this feature request to him?

I'll do that if no one else picks it up.

Sorry to keep you waiting but there are plenty of stuff to be done for
the release currently.

JiHO
---
http://jo.irisson.free.fr/

Revision history for this message
birdsaregood (ariel36) wrote :

I don't know if this will help or not... it's from the IconFactory about making the icon for disk images. Turns out that the the icns file needs to replace a hidden ".VolumeIcon.icns".

"
The following step-by-step instructions will help you out. The “project folder” referred to below is the folder where you are storing the contents of the disk you are creating:

   1. Create the .icns file using IconBuilder Pro.
   2. When you save the file, make sure the Platform is set to “Mac” and the ”.icns File” type is selected.
   3. Save the file using the name “VolumeIcon.icns” (without the period in front) in the project folder.
   4. Open the Terminal application in the Applications > Utilities folder
   5. In the Terminal window, type “cd” followed by a space. Then drag your project folder into the Terminal window. This will save you from having to type the Unix path name. Press return and your Terminal will now be able to work with the contents of the project folder.
   6. To see the contents of the folder, do “ls -la” followed by a return. This should show you a list of the files, including the “VolumeIcon.icns” you saved above and the “Icon?” file created by copy/paste. If you don’t see these files, repeat the previous step to “cd” again.
   7. In Unix the “mv” command is used to rename files. Since our goal is to rename the “VolumeIcon.icns” file to ”.VolumeIcon.icns”, we’ll use this command in the Terminal window: “mv VolumeIcon.icns .VolumeIcon.icns”. Check your typing and press return.

Because the filename contains a period, you won’t see the results of your efforts in the Finder. However, after you burn the contents of the project folder onto a CD-ROM, you should see the icon show up on the desktop for both Mac OS 9 and Mac OS X.
"

Good luck

Ryan Lerch (ryanlerch)
Changed in inkscape:
importance: Undecided → Wishlist
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.