Unable to set custom icon for system drive

Title says it all. Can't paste new custom icon onto drive icon in the Info panel-nothing happens. Any ideas?

When a custom icon is applied to a folder (including the "boot drive" icon, which is really just the top level folder), an invisible "Icon\r" file is created inside that folder (or a ".VolumeIcon.icns" in case of a volume - I missed this in the last post, sorry) and the "Custom Icon" file attribute is set. In order to do these things, a user must have sufficient privileges to modify the folder.
In Leopard, the default permissions are:<pre>
$ lsbom -d /Library/Receipts/boms/com.apple.pkg.Essentials.bom |grep "^. "
. 41775 0/80</pre>
The owner is "root", group is "admin", both have "read & write" privileges, and everyone else has "read only" privileges.
Similarly, in "Tiger":<pre>
$ lsbom -d /Library/Tiger/BaseSystem.pkg/Contents/Archive.bom |grep "^. "
. 41775 0/80</pre>
Nothing has changed. But furthermore, since the "sticky" bit is set, this might even mean that a custom icon set by one "admin" would only be removable by the same "admin" (though this isn't something I have tested). But either way, at a minimum, "admin" privileges would normally be required.
So if you had previously modified the permissions on the boot drive to allow non-admins to make changes, then certainly you woudn't have to have "admin" privileges to do this. But that is not the "normal" state.
Beyond that, it's hard to say why you can't make the changes even as an "admin" without at least knowing what the current permissions are on "/" and "/.VolumeIcon.icns"...

Similar Messages

  • Suddenly unable to apply custom icon to system drive?

    I've loved using custom drive icons for years, and have routinely changed them to suit my moods. Today, no matter what I try, I cannot change it, and in fact the attempts to apply a new icon have removed my old one, and I now have the standard system icon. I've tried both as the user and as Administator. I've repaired perms.
    What's going on?

    Hi Mike, while I didn't think of it at the time I wrote the above, I now wonder if the Custom icon attribute bit got reset to No, and by using GetInfo and paste changed it back to yes. If you have Developer Tools installed you can test this theory with the GetFileInfo command:
    -bash:~francine$ GetFileInfo /Volumes/OXey/
    directory: "/Volumes/OXey/"
    attributes: avbstClinmed
    created: 08/05/2006 20:08:50
    modified: 03/08/2007 00:11:16
    As I recall, the volume OXey was the one that was having trouble, although now the attribute is set correctly (the upper case C means the item has a custom icon). Recently there have been a rash of cases of drives having the visibility attribute spontaneously changed from v to V, so I guess the custom bit could spontaneously change also. Again, if you have Developer tools installed you can try resetting the bit:
    SetFile -a C /Volumes/OXey/
    I just went the other way with my drive OXey, turned the bit off, relaunched the Finder and sure enough the custom icon disappeared, even though the .VolumeIcon.icns file was still there. When I turned the bit back on with the above command and relaunched Finder its custom icon reappeared.
    If you don't have Developer Tools installed you can download them here:
    http://homepage.mac.com/francines/.Public/setgetfile.zip
    Unzip and either put the two commands where you want them in you PATH, or just drag each command in turn into the Terminal to use it.
    Francine
    Francine
    Schwieder

  • Desktop/Finder not showing customized icon for external drives

    I have customized the icons for my external drives (as well as several folders within), but they show up as generic icons on the desktop and in the finder. This only occurs in my Admin account (which I'm using). The customized icons show in the standard guest account I created. Are there any settings I should change?

    Any chance the show / hide is not selected in your actual finder folder, not the preferences? I just went 'round with this for a half hour until I noticed that somehow the 'show' was clicked to 'hide' for some reason.....

  • Custom Icon for Lync Custom Menus

    We can create custom menus in LYNC Client by setting some  registry values.  But we are not able set custom icons fro the same(instead of default ICON). Is there any to set custom Icon for Custom Menus.
    Thanks in advance,

    No the icon is not configurable via the registry values.

  • Custom icon for my USB flash drive?

    Alright, now I realize I'm probably missing something here, but it's getting away from me here. All I want to do is have a custom icon for my flash drive that will show up on any Mac that I plug it into.
    As it is, I can assign a coustom icon (by doing the old get-info-copy-and-paste-the-icon thingie), but it doesn't show up when I plug it into another Mac. I just get the generic disk icon. What am I missing? This has to be quite simple.

    Trey,
    I may be PITW, but I think the icons used to represent various volumes/devices are (if customized) specific to a system (not the volume/device). Thus you would have to set the custom icon for your flash drive on each system you wanted to see it.
    A WAG: I haven't the slightest idea if it would work for a flash drive, but for a CD one would drag the custom icon (.icns file) to the root level of the CD and rename it .VolumeIcon.icns before burning the CD.
    Lee C
    "The early bird may get the worm but the second mouse gets the cheese." -- Willie Nelson
    See the article Backup::Restore.
    Dual 2.5 Power Mac G5   Mac OS X (10.4.3)  

  • Custom icon for boot camp disk?

    I have a Win XP boot camp disk partition (NTFS file system) on an internal hard drive. I want to use a custom icon for this partition on my OS X desktop. However, when I select the icon of this partition in a Get Info window, the only Edit option that ever appears is to Copy the icon. That is, I cannot paste another icon over it (the Paste option is grayed out).
    Is this due to the partition being Windows? Is there a way other than the Get Info method for applying a custom icon? I'm using 10.5.2, but the same thing happened with 10.5.1, and also using a fresh test account.

    Did you know you could have converted the drive to NTFS within Window (not reformatting and losing everything)? I converted mine from FAT32 to NTFS a few months back, lucky for me I already had a drive icon in OSX so the conversion kept the icon.
    For your case though, do this:
    1) Paste your icon (in the Get Info window) onto a USB thumb drive formatted as FAT32. The name of the drive doesn't matter.
    2) Launch Windows through Boot Camp, Parallels Desktop, or VMware Fusion.
    3) Open the thumb drive in Windows.
    4) Select Folder Options… from the Tools menu, and set it to show invisible files.
    5) Copy the two files .VolumeIcon.icns and ._[cr]File, where [cr] is a carriage return, to the NTFS drive.

  • Custom icon for Boot Camp partition on Snow Leopard desktop?

    I have a Boot Camp partition (NTFS) with Windows XP. In Snow Leopard, the partition shows on the desktop with a generic hard drive icon. I'd like to change this to a custom icon, but when trying to paste over the generic icon in the Get Info window, Edit->Paste is grayed out.
    In Leopard, it was possible to have a custom icon for a Boot Camp partition by formatting a thumb drive as FAT32, pasting the custom icon onto it in the Get Info window, booting into Windows XP, and copying two invisible icon files from the thumb drive to the NTFS drive. This would display the custom icon for the Boot Camp partition icon on the Leopard desktop. This doesn't work in Snow Leopard.
    Is it possible to use a custom icon for a Boot Camp partition on the Snow Leopard desktop?

    I don't see this option in Properties for the Boot Camp volume. In any case, I believe the custom icon is set correctly for the C: drive in Windows. I followed he procedure in the second paragraph of my initial post, which I learned from a post over a year ago. I copied the two hidden files .VolumeIcons.icns and ._ File _ to the C: drive. When I boot into Leopard, the correct custom icon for the Boot Camp partition appears on the Leopard desktop. But when I boot into Snow Leopard, only a generic hard drive icon appears on the desktop for that partition.

  • CheckBox - how to set custom icons

    I need to figure out how to set a custom icon for a selected checkbox via the UIManager
    This works for un-selected checkboxes:
    UIManager.put("CheckBox.icon", new ImageIcon("../images/unselectedCheckBoxIcon.png")));
    how to change the icon when it is selected?
    I don't know the UIManager property for a selected checkbox icon and using the setSelectedIcon on the checkbox object it self does not seem to work:
    checkbox.setSelectedIcon(new ImageIcon("../images/selectedCheckBoxIcon.png"));
    Thanks for any ideas how to solve this!!

    Hi mKorbel, many thanks for your suggestion!
    For anyone interestsed,
    here is a small example of how I made it working.
    Unfortunately I cannot attatch the icon images that I use, but the selected icon can be downloaded from here, resize it to 32*32, remove the cross in the middle to save it as the unselected icon.
    * Modified sample code taken from here
    * http://www.java2s.com/Tutorial/Java/0240__Swing/CustomizingJCheckBoxCheckMarkIcon.htm
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.Color;
    import java.awt.Component;
    import java.awt.Graphics;
    import java.awt.GridLayout;
    import java.net.URL;
    import javax.swing.AbstractButton;
    import javax.swing.ButtonModel;
    import javax.swing.Icon;
    import javax.swing.JCheckBox;
    import javax.swing.JFrame;
    public class IconCheckBoxSample {
      public static void main(String[] args) {
            JFrame frame = new JFrame("Iconizing CheckBox");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            Icon checked = new CheckBoxIcon();
            Icon unchecked = new CheckBoxIcon();
            JCheckBox aCheckBox1 = new JCheckBox("Pizza", unchecked);
            aCheckBox1.setSelectedIcon(checked);
            JCheckBox aCheckBox2 = new JCheckBox("Calzone");
            aCheckBox2.setIcon(unchecked);
            aCheckBox2.setSelectedIcon(checked);
            Icon checkBoxIcon = new CheckBoxIcon();
            JCheckBox aCheckBox3 = new JCheckBox("Anchovies", checkBoxIcon);
            JCheckBox aCheckBox4 = new JCheckBox("Stuffed Crust", checked);
            frame.setLayout(new GridLayout(0,1));
            frame.add(aCheckBox1);
            frame.add(aCheckBox2);
            frame.add(aCheckBox3);
            frame.add(aCheckBox4);
            frame.setSize(300, 200);
            frame.setVisible(true);
    class CheckBoxIcon implements Icon {
      public void paintIcon(Component component, Graphics g, int x, int y) {
        AbstractButton abstractButton = (AbstractButton)component;
        ButtonModel buttonModel = abstractButton.getModel();
        if(buttonModel.isSelected()) 
            g.drawImage(createImage("../images/selectedCheckBoxIcon.png","info"), x, y, component);
        else
            g.drawImage(createImage("../images/unselectedCheckBoxIcon.png","info"), x, y, component);
      public int getIconWidth() {
        return 33;
      public int getIconHeight() {
        return 33;
      protected static Image createImage(String path, String description) {
            URL imageURL = CheckBoxIcon.class.getResource(path);
            Image icn = null;
            if (imageURL == null) {
                if(null==icn){
                    //System.out.println("path: "+path);
                    icn = new ImageIcon (CheckBoxIcon.class.getResource(path.replace("..",""))).getImage();
                    if(null!=icn)
                        return icn;
                    else{ 
                        System.err.println("Resource not found: " + path);
                        return null;
                 return null;
            } else {
                return (new ImageIcon(imageURL, description)).getImage();

  • How to set the icon for the entire application with JFrame.setIconImage

    I set the icon on the main frame using JFrame.setIconImage(). The icon is shown properly in the main frame.
    If more JFrames are opened from the main frame, the newly opened JFrames also show the icon.
    However if JDialogs are opended, in some cases the icon set on the main frame is shown and in other cases the coffee cup.
    What is JFrame.setIconImage() expected to do? Setting the icon for a single JFrame or the entire application?
    How can I set the icon for the entire application?
    How can I set the icon for JDialogs?
    Thank you

    In order for your dialogs to use the same icon as the frame, you must parent the dialogs to the frame which has the custom icon.
    See the following thread for more information: http://forum.java.sun.com/thread.jsp?forum=57&thread=362542
    cheers,
    Greg

  • Custom icon for Boot Camp partition?

    I have a Boot Camp partition (NTFS) with Windows XP. In Snow Leopard, the partition shows on the desktop with a generic hard drive icon. I'd like to change this to a custom icon, but when trying to paste over the generic icon in the Get Info window, Edit-->Paste is grayed out.
    In Leopard, it was possible to use a custom icon for a Boot Camp partition by formatting a thumb drive as FAT32, pasting the custom icon onto it in the Get Info window, booting into Windows XP, and copying two invisible icon files from the thumb drive to the NTFS drive. This would display the custom icon for the Boot Camp partition icon on the Leopard desktop. This doesn't appear to work in Snow Leopard.
    Is it possible to use a custom icon for a Boot Camp partition on the Snow Leopard desktop?

    No one knows of any fix for this in Snow Leopard? The custom icon shows up OK when I boot into Leopard, but not in Snow Leopard.

  • Unable to display blinking icon for JTree

    I am unable to see blinking icon for JTree node. If I use any other image which is not blinking, then I am able to see icon.
    If blinking image is used, it shows blank image.
    Please refer to following code.
    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.Component;
    import java.net.URL;
    import javax.swing.ImageIcon;
    import javax.swing.JApplet;
    import javax.swing.JScrollPane;
    import javax.swing.JTree;
    import javax.swing.tree.DefaultMutableTreeNode;
    import javax.swing.tree.DefaultTreeCellRenderer;
    public class TreeApplet extends JApplet {
    JTree tree;
    DefaultMutableTreeNode root;
    DefaultMutableTreeNode node1;
    DefaultMutableTreeNode node2;
    DefaultMutableTreeNode node3;
    DefaultMutableTreeNode node4;
    private ImageIcon errorIcon = null;
    private URL resource = null;
    private static final long serialVersionUID = 1L;
    public void init() {
         errorIcon = loadIcon("images/errorBlink.gif");
         root = new DefaultMutableTreeNode(new ProcessInfo("root", "error"));
         node1 = new DefaultMutableTreeNode(new ProcessInfo("Node1", "info"));
         node2 = new DefaultMutableTreeNode(new ProcessInfo("Node2", "warn"));
         node3 = new DefaultMutableTreeNode(new ProcessInfo("Node3", "debug"));
         node4 = new DefaultMutableTreeNode(new ProcessInfo("Node4", "error"));
         node1.add(node2);
         node3.add(node4);
         root.add(node1);
         root.add(node3);
         setLayout(new BorderLayout());
         tree = new JTree(root);
         tree.setCellRenderer(new TreeRenderer());
         add(new JScrollPane((JTree) tree), "Center");
    private class TreeRenderer extends DefaultTreeCellRenderer {
         private static final long serialVersionUID = 1L;
         public TreeRenderer() {
              this.setBackgroundSelectionColor(Color.lightGray);
              this.setBorderSelectionColor(Color.BLACK);
         public Component getTreeCellRendererComponent(JTree tree, Object value, boolean sel, boolean expanded, boolean leaf,
              int row, boolean hasFocus) {
              super.getTreeCellRendererComponent(tree, value, sel, expanded, leaf, row, hasFocus);
              setIcon(getStatus(value));
              return this;
         private ImageIcon getStatus(Object value) {
              DefaultMutableTreeNode node = (DefaultMutableTreeNode) value;
              ProcessInfo nodeInfo = (ProcessInfo) node.getUserObject();
              String status = nodeInfo.getStatus();
              if ( status != null ) {
              if ( status.equalsIgnoreCase("error") ) {
                   return errorIcon;
              return null;
    private ImageIcon loadIcon(String name) {
         ImageIcon icon = null;
         resource = this.getClass().getResource(name);
         if ( resource != null ) {
              icon = new ImageIcon(resource);
         return icon;
    }

    1. Use code tags to post codes -- [code]CODE[/code] will display asCODEOr click the CODE button and paste your code between the {code} tags that appear.
    2. A renderer is just a "rubber stamp" used to paint on the table/tree/list/whatever. You can't display animation in an ImageIcon by setting it to a renderer. Since the JLabel subclass used as the renderer isn't a part of any visible component hierarchy, the icon won't be refreshed with new frames.
    db

  • Should custom icons for USB appear on other Macs?

    I have a custom icon for my flash / usb drive that doesn't appear in other Mac computers. The default icon appears. I haven't been able to test it on another Leopard Mac.
    Is this regular behavior or not? Is there a way to make other Macs show it? I looked around for info about this and didn't see it. Thanks, guru pals.

    Normal. Stored in launchservices.plist, I think. But it is normal. Not like an MP3, where the album art can be stored on the file.

  • Is it worth it to make custom icons for a custom control/indicator?

    I was making custom icons (well not very custom, but still at least somet ext) for controls and indicators, when I realized that the only times you see them are when you open the control, itself, ot if you hover over it in the project with context help on.
    So the question is:
    Is it worth it to create a custom icon for each custom control you make, if it will be seen only rarely?  (The exception being a cluster, since, in the later versions of LabVIEW, you can actually represent your cluster on the BD as the icon you made for it, so it definitely IS worth it to make an icon for it.)
    Thanks!
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
    Solved!
    Go to Solution.

    Hooovahh wrote:
    I'd like to add another time that you see the control's icon, is when it is a type def cluster, and you have it as a constant on the block diagram.  Then double click the border to shrink the cluster.  It will shrink to the size of the control's icon.
    I also hardly ever make a control icon.  Only when it is on the palette in a reuse package.
    Yeah,t hat's what I meant in my original post, although you CAN represent a cluster constant on the BD as an icon - but it's just the little thing on the bottom of the typdef'd cluster because it obviously has no actual icon. 
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • Custom icon for module_webappsresultsmap

    As the title says...
    When you make a search on the Google map, the icon that shows where the place  is, is a standard Google Map icon.
    Is it possible to override and add a custom icon for this?
    It would be nice to have it within the tag...
    ie. {module_webappsresultsmap,GoogleKey,width,height,ResultsPage,SortType,Image}
    Or have the image within the web app so that each location has a different icon.

    I tried submitting this same problem as a feature request and/or bug report.
    Unfortunately, and somewhat disconcertingly, the Captivate Bug Report form also doesn't work. No matter how thoroughly I entered my request, I got these error messages:
    The following error(s) must be corrected before this form can be completed:
    Please enter your name
    Please enter your E-mail address
    Please select if it is feature request or the bug report.
    Please select a product
    Please enter the issue description

  • Custom Icon for application file

    I can make director allow me to have a custom icon for appliacation file.
    In director I have attempted this several times where I have tried to have my appliaction file have an icon.  I have purchased two icon program Candy Bar and Fastincs trying to remedy this problem.
    As you see here I am using an ins file created in Fastincs.  Now here is an image to the path and the icon itself Applipcations/ Adobe Director 11/3 HorseLogo.mac.ins
    So there is the setup now when I complile for my program file I get this.
    See the grey Director icon I don't want that I want the three horse logo.
    I also tried to assign the logo after publishing the file.
    then I drag my icon file in
    The program created in director still wont see the icon file.
    If I use Candy bar (icon application)  I get a  different result. The icon works
    in both finder and on the task bar
    This is exactly what I want.
    I works until I try to move the entire package into an installer program  I am using BitRock.  When I compile the installation program then try to run the application I get the following message
    If I choose ignore the install continues.  But I have no icon.
    I am desperate , weeping , screaming , and almost a lost cause, any help any help at all I could really use.
    Thanks
    Robin aka innish

    Hi Robin,
    I'm more of a PC person rather than Mac. I would recommend you look at the Resource and Icon Editor page at:
    http://collab.directorforum.com/Resource_and_Icon_Editor
    It may fix your icon issue from Director.
    Dean

Maybe you are looking for

  • I Tunes not recognising ipod nano 7

    Hi, I have a new Ipod nano7.When I connect it to itunes I get a message saying the device is not recognised.I uninstalled and reinstalled itunes but still not working.I have followed all the steps Apple provide on their website. Still nothing. Anyone

  • Premiere Pro CC 2014.0 has stopped working

    I have Premiere Pro CC 2014.0 installed I can't install 2014.0.1 because it's simply not available despite being told the contrary from Adobe Communities moderators. I'm using Windows 8.1 There is no actual error message from premiere, the message co

  • Diagram Disable Structure doesn't remove all objects it contains after deleting the structure.

    I have programmed in side of a while loop a Stop from "Application Control", later I used disable structure around that "Stop". It was working fine, but after removing disabled structure containing the disabled "Stop" my application stops even there

  • After upgrade to v6, while surfing, Firefox opens active tab in new window few times in hour... why?

    I am using laptop. When I click on some link or in some text field or when I start typing on gsmarena.com in search box... Firefox opens new window with the currently active TAB. This is very anoying and I thought that it will be OK but now it starte

  • Fireing a SAPEVENT in a WebDynpro

    Hi experts! I'm trying to integrate a Webdynpro-application in a classical SAPGui environment via the class CL_GUI_WDR_VIEWER (subclass of CL_GUI_HTML_VIEWER) and SAPEVENTs. So the basic idea is the following: I developed an ordinary SAPGui-applicati