Problem changing alias icon

Every time I try to change the icon of an alias on my desktop, instead of the actual picture I've chosen it shows up as a generic JPEG/TIFF/PNG (whatever format I've used) icon.
I've tried both manually and using a little app called Micon, same result.
Any ideas?

You need to open the picture you want to use in Preview, then select Copy, then do GetInfo on the alias, select the wee little icon in the upper left, and Paste. Be aware that if the picture you used is very large you'll have problems selecting the alias by clicking on it. Use smaller pictures or resize the picture you want to use. I use pix that are no larger than 512x512 pixels.
Francine
Francine
Schwieder

Similar Messages

  • Can't change alias icon

    I've created an alias to a file on my Yosemite desktop.  I want to change the icon, so I've found a PNG file I want to use.
    When I open the Get Info window for the alias, click the little icon and copy/paste or drag the PNG file there, all I get for an icon is the generic PNG one.
    I've tried opening the PNG in Preview and doing Cmd + A then Cmd + C to copy it that way, same result.
    I've also tried with a JPG file and an ICNS file, same result (generic icon for each)
    I've tried Relaunching Finder and doing killall Finder, didn't fix it,
    Late-2013 rMBP with Yosemite 10.10.2.

    Thanks for the heads up.  Most of my folders are custom icons.  However, I have never changed an "alias folder."  I've always changed the original folder/icon.  If I make an alias of it, the alias is of the custom icon.

  • Changing alias icons

    Hey guys
    I've got a couple of folder aliases and I was wondering if it was possible to change their icons, like you can in windows.
    Thanks

    Hi Jon,
    It's pretty easy. There's lots of sites to pick up Mac icons, but a good one is The Icon Factory. I think they're all free, so download as many as you like.
    Then, to change an icon, click once on the icon you want to use and press Command+I (or "File>Get Info" from the Apple menu bar at the top). Click once on the icon in the Get Info box and press Command+C to copy it to the clipboard. Now click once on the folder you want to assign a custom icon to. Press Command+I to call up the Get Info box. Click once on its icon and press Command+V to paste in the icon from the clipboard. Close both Get Info boxes. That's it.

  • Jtree Select node and change leafs icon problem

    Hi All,
    i create a tree and implement a TreeSelectionListener:
    my mission is whenever i select a node i need to change the icon of this node (for now.later i will have to find if it have childrens).
    import java.awt.Color;
    import java.awt.Component;
    import java.util.Enumeration;
    import java.util.NoSuchElementException;
    import java.util.Vector;
    import javax.swing.ImageIcon;
    import javax.swing.JTree;
    import javax.swing.event.TreeExpansionEvent;
    import javax.swing.event.TreeExpansionListener;
    import javax.swing.event.TreeSelectionEvent;
    import javax.swing.event.TreeSelectionListener;
    import javax.swing.tree.DefaultMutableTreeNode;
    import javax.swing.tree.DefaultTreeCellRenderer;
    import javax.swing.tree.TreeModel;
    import javax.swing.tree.TreeNode;
    import javax.swing.tree.TreePath;
    public class TreeView{
         DefaultMutableTreeNode top;
         JTree tree ;
         Color frameColor;
         public static ImageIcon NoTSelIcon;
         public static ImageIcon SelIcon;
        public static String[] name= new String[8];
         public TreeView(Color BackColor) {
              // TODO Auto-generated constructor stub
            top =  new DefaultMutableTreeNode("Diagnostics");
            this.frameColor=BackColor;
             SelIcon = createImageIcon("../Resource/Images/Select.gif");
             if (SelIcon == null)
                 System.err.println("Tutorial icon missing; using default.");
             NoTSelIcon = createImageIcon("../Resource/Images/NotSelc.gif");
               if (NoTSelIcon == null)
                 System.err.println("Tutorial icon missing; using default.");
         public Component createTreeComponents(){
                //Create the nodes.
                 createNodes(top);
            //Create a tree that allows one selection at a time.
            tree = new JTree(top);
            //TREE LISTENERS
            //Treeselction listener
            Handler hObject = new Handler();
            tree.addTreeSelectionListener(hObject);
           //Tree expand/collapse listener
            HandlerExpansionListener hObjectExpan = new HandlerExpansionListener();
            tree.addTreeExpansionListener(hObjectExpan);
    //       tree.getSelectionModel().setSelectionMode(TreeSelectionModel.DISCONTIGUOUS_TREE_SELECTION);
            //set tree background
            tree.setBackground(frameColor);
             tree.setCellRenderer(new OverrideTreeCellRenderer(frameColor,SelIcon,NoTSelIcon));
            return tree;
          private void createNodes(DefaultMutableTreeNode top) {
                 DefaultMutableTreeNode category = null;
                 DefaultMutableTreeNode SubCategory = null;
                 DefaultMutableTreeNode SubCategoryBasee = null;
                 DefaultMutableTreeNode SubSubCategoryBasee = null;
                 category = new DefaultMutableTreeNode("Dfe");
                 top.add(category);
                 //Sub test visible
                 SubCategory = new DefaultMutableTreeNode("Test Visible");
                 category.add(SubCategory);
                 SubCategory.add(new DefaultMutableTreeNode("Son 1"));
                 SubCategory.add(new DefaultMutableTreeNode("Son 2"));
                 SubSubCategoryBasee = new DefaultMutableTreeNode("Test Base");
                 SubSubCategoryBasee.add(new DefaultMutableTreeNode("Grandson 1"));
                 SubSubCategoryBasee.add(new DefaultMutableTreeNode("Grandson 2"));
                 SubCategory.add(SubSubCategoryBasee);
          class Handler implements TreeSelectionListener {
                   public void valueChanged(TreeSelectionEvent arg0) {
                        // TODO Auto-generated method stub
                        System.out.println("treeSelect event ");
                        TreePath trph;
                        trph=arg0.getNewLeadSelectionPath();
                        int count=trph.getPathCount();
                        DefaultMutableTreeNode Selnode = (DefaultMutableTreeNode)tree.getLastSelectedPathComponent();
                        String Name = (String)Selnode.getUserObject();
                        setSelected(Selnode,true);
                        int number_ofnodes=getNodeCountBelow((TreeModel)tree.getModel() , Selnode, false);
                        System.out.println("The Number of nodes under "+Name+"="+number_ofnodes);
                        tree.setCellRenderer(new IconRenderer(SelIcon,NoTSelIcon,frameColor));
          class HandlerExpansionListener implements TreeExpansionListener {
                   public void valueChanged(TreeSelectionEvent arg0) {
                        // TODO Auto-generated method stub
                        DefaultMutableTreeNode node = (DefaultMutableTreeNode)  tree.getLastSelectedPathComponent();
                        if (node == null) return;
                      }     // The inner class
                   public void treeCollapsed(TreeExpansionEvent arg0) {
                        // TODO Auto-generated method stub
                        System.out.println("treeCollapsed event ");
                   public void treeExpanded(TreeExpansionEvent arg0) {
                        // TODO Auto-generated method stub
                        System.out.println("treeExpanded event ");
          /** Returns an ImageIcon, or null if the path was invalid. */
             protected static ImageIcon createImageIcon(String path) {
                  //ImageIcon imcon= new ImageIcon(path);
                  //return imcon;
                 java.net.URL imgURL = TreeView.class.getResource(path);
                 if (imgURL != null) {
                     return new ImageIcon(imgURL);
                 } else {
                     System.err.println("Couldn't find file: " + path);
                     return null;
             DefaultMutableTreeNode newnode;
             public void setSelected(DefaultMutableTreeNode Selnode ,boolean isSelected)
                    Enumeration Enchilds=Selnode.children();//ENUMRATE ALL CHILDS FOR THIS NODE
                 if (Enchilds != null)
                      while (Enchilds.hasMoreElements())
                           newnode=(DefaultMutableTreeNode)Enchilds.nextElement();
                           String NameSel = (String)newnode.getUserObject();
                           setSelected(newnode,isSelected);
             //GETTING THE TREE DEPTH
             public int getNodeCountBelow(TreeModel model, Object node, boolean includeInitialNode)
                 int n = includeInitialNode ? 1 : 0;
                 for (int i = 0; i < model.getChildCount(node); i ++)
                     n += getNodeCountBelow(model, model.getChild(node, i), true);
                 return n;
    import java.awt.Color;
    import java.awt.Component;
    import java.util.Enumeration;
    import java.util.NoSuchElementException;
    import javax.swing.Icon;
    import javax.swing.JTree;
    import javax.swing.tree.DefaultMutableTreeNode;
    import javax.swing.tree.DefaultTreeCellRenderer;
    public class IconRenderer extends DefaultTreeCellRenderer {
         private static final long serialVersionUID = 1L;
         Icon SelectedIcon;
         Icon NotSelectedIcon;
         Color BackgroundColor;
         boolean Selected=false;
         boolean Leaf=false;
         boolean IsItaChild=false;
         DefaultMutableTreeNode SelctedNode=null;
        public IconRenderer(Icon SelIcon,Icon NoTSelIcon,Color Bacground) {
             SelectedIcon = SelIcon;
             NotSelectedIcon = NoTSelIcon;
             BackgroundColor=Bacground;
             setBackgroundNonSelectionColor(BackgroundColor);
        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);
             Selected=sel;
             Leaf=leaf;
             DefaultMutableTreeNode node = (DefaultMutableTreeNode) value;
             String s2 = (String)node.getUserObject();
       return this;
    }my problem is :
    when i select a node the the method "getTreeCellRendererComponent"
    start to run on the entire tree from buttom to top and than from top to buttom.
    for me it waste of time because if has say 100 nodes it wont botthers me.
    but i have 20000 nodes and more its take a time.
    and for all this nodes i have to make compares.
    is there a way to force the DefaultTreeCellRenderer to not run the entire tree???
    Thanks

    You need to make sure that your TreeModel interprets your group nodes to be non-leaf nodes (one of the methods in the TreeModel interface is called isLeaf). If you are using a DefaultTreeModel with DefaultMutableTreeNode objects, you can use the askAllowsChildren property of DefaultTreeModel and the allowsChildren property of DefaultMutableTreeNode to control this. See the API for more details:
    http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/tree/DefaultTreeModel.html
    http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/tree/DefaultMutableTreeNode.html

  • Problem changing icons

    I had the brilliant idea of wanting to change the icon of some folders on my desktop. I checked, and did the routine as detailed elsewhere.
    Problem is that, when I try to get the info of the file I want to use as an icon, even if it's an .icns file, I get a small square reading ICNS, JPEG, etc. Instead of getting the icon I selected for the folder, I get the "INCS" square, or the JPEG square.
    I'm out of ideas and to make things more interesting, I'm also fairly new to the Mac world. Any assistance would be greatly appreciated. Above all things, I want to know what am I doing wrong here.

    Whether a file has a resource fork or not depends on whether the program that created it on the Mac was told to make one. Thus if you use Image Capture to download jpegs or tiffs from your camera you can tell it to create the thumbs when it downloads the images, using the Options button (Windows admins HATE Mac resource forks, as they show up as a separate file on Windows servers, so some people don't want them). If you use a program like Photoshop or Photoshop Elements you can set the preference for saving files to include a thumbnail, or not. So it all depends on where your images came from, and what preferences were set for the program that made them.
    Whether your computer has iPhoto or not is completely irrelevant. iPhoto used to be free, but somewhere along the line (maybe with version 3, I really don't remember), it became a part of the iLife suite of programs, which have to be bought separately. Apple sometimes throws a copy of the iLife suite in for free with certain consumer level computers, such as the iBook (now MacBook). The iLife suite of programs is quite cheap actually, around $80 bucks.
    Francine
    Francine
    Schwieder

  • Cant change a icon..

    hello,
    I wanted to change the adobe suit's icons. I had no problem changing all but Indesign's icon does not change. It seems like its locked. I have never experinced this before.
    Anything I can do about it ?
    Thanking in advance.
    Gokce

    If you can't do it by means of the Finder Get Info panel then swap the app's icon in its bundle…
    Prepare the icon you want to use as an .icns. Quit from the app. Control-click on the app's icon and select "Show Package Contents". Open "Contents" and then "Resources". You will see the current .icns (probably called "InDesign.icns"). Drag it out and keep it somewhere in case you want to restore it. Give the icon you prepared exactly the same name as the one you just pulled out and put yours in "Resources". Close the folders.
    You may have to play around a bit with launching and relaunching the app, and/or logging out/in before Finder recognises the change. You may need to drag the app's alias from the Dock and drag it back onto the Dock.
     

  • Alias icon Yosemite

    Dear All,
    I upgraded Maverick to Yosemite last week but I have some problem with icons. I created new icon for my folders and I changed the icons in the info panel of the folders. If I create an alias of the folders on the desktop it is impossible to change the icon of the alias folder by copy and paste new icon in the info panel. If I connect again the alias to the original folder, icon change but with a white square backgroud.
    Any idea to resolve the problem?
    Thanks

    I have been having the same problem, and have made my own post about it. (Interesting that your post did not come up initially when I searched regarding the problem - the title is sensible.)  I don't yet have a full solution, but I am making progress. I connected to my iMac (where Yosemite is installed) from my MacBook Pro, which is still running Mavericks. Using the MacBook Pro, I was able to select "Get Info" for the folders and aliases on the iMac that apparently have lost their custom icons, and was pleased to see that Mavericks will still display the desired custom icon. From there, I was able to do "Get Info", copy the icon from the Get Info panel, and then launch Preview and select "New from Clipboard", which then created a file in ICNS format with all my custom icon information still in it. I did that for each of my various custom folder and alias icons, saving an ICNS file for each one.
    So, that does not get custom icons up and running in Yosemite, but at least it demonstrates that the information for my icons is still somewhere on my Mac. My artwork has not been lost, but so far I have no evidence that I am able to use it in Yosemite. I'm not sure how useful this information is, but at least it is information.

  • When I click on a link in an RSS feed it used to indicate that I'd viewed that particular link by changing the icon to the left of the link. It doesn't do that anymore. [SOLVED]

    When I click on a link in an RSS feed it used to indicate that I'd viewed that particular link by changing the icon to the left of the link. It doesn't do that anymore. This started happening right around the time I updated to Firefox 4, but may have been a little before that too. For some things, like news and web comics it's just a little annoying. For important things like looking for new journal articles for my job, it literally makes my job more difficult. So fixing this would make my day.

    I seem to have solved my own problem. When I disabled the add-on "Tab Renamizer" everything started working fine.

  • Change Dock Icons on OS 10.8.5

    Hi Mac Community!
    For all of us Mac lovers, the one thing we are fascinated with is the fact that Mac in notorious for giving the end user the power to personalize the computer's look and feel, as well as making commands extremely user friendly.
    This is not what I get from the last update to OS 10.8.5
    I want to change the icons on my dock, as I should being that I am the owner of a fairly expensive piece of equipment, but this seems impossible to do for the Finder icon. Is there any way this can be done without causing any problems in the system?
    Any ideas are appreciated! THANKS!

    You want to change the Finder icon or you want to remove the Finder icon from the dock. You weren't clear on that point

  • How to change the icon of coffee on the titile bar

    Hi!
    I am having this problem that
    how to change the icon of coffee on the titile bar
    if someone know how please respond
    Asif

    Next time please post your question in the appropriate forum, since this forum discusses the Java3D API.
    The answer is use the Frame.setIconImage method.

  • How to change the icon for 'windows group' in Java 1.6 [Windows XP] ?

    Hello,
    I was wondering if there is a possibility to change the icon for 'windows group' in Java 1.6...
    I'm using Windows XP SP2. Now the windows from my Java 1.6 application are grouped with the standard Sun icon [screen below] on the group.
    http://img382.imageshack.us/img382/8995/iconbl1.png
    I would like to change the icon for my own. Is there a way to do that ?
    Please help.

    Whichever icon I use for the main frame (I tried few), after grouping the main frame and other sub-frames the icon is changed to standard 'Java Sun' icon as you can see in the screenshot from my first post. The problem occurs only when frames are grouped, when the are separated in the task bar their titles and icons are ok...
    So how can I change the icon/title for the group only (for Java 1.6 in Windows XP) ?

  • Changing folder icons issue

    I'm suddenly having a problem in snow leopard (mac os x 10.6.8) that I haven't had before in older versions. When I use copy and paste to change a folder's icon, the folder then contains an 'icon exec' file that I do not want there. If I trash it, the icon on the folder gets trashed as well. Anyone know how I can change the icon without having to now include that 'icon exec' file in the folder? Thanks.

    Just rebooted into 10.6.8 to see if its behavior was any different than 10.7.2, which I now use most of the time.
    No change - in Lion or Snow Leopard, when I added a custom icon to a folder, an invisible file was added to the folder's contents. This file is named just "icon" with no extension, and does not display the exec icon - it displays the generic blank page with turned-down-corner icon. I used FileBuddy to do the looking, since invisibles are visible to it.
    The icon I used as a source was one derived from a JPEG image. I opened the image in Preview, did a Command-A (select all) to select the entire image, then Command-C (copy) to place it on the clipboard, then did a Get Info on the folder's icon and pasted (Command-V) the image onto the icon in the upper left.
    Perhaps the difference stems from the nature of the source image you are using?

  • How do I change the icon of a usb?

    I just recently updated to OS X Mountain Lion, and it doesn't seem to let me change the icons of my usb drive.
    I use .icns type files, but it comes up as an ugly broken image. Anyone else have this problem?
    Any help would be very much appreciated.

    Hi,
    Use the method setIconImage (in Frame class).
    /Kaj

  • How do I change these icons?

    Finder and Dashboard... I understand the procedure to change the icon for most apps (open the "get info" window of the icon I want, copy the icon and then paste it to the "get info" window of the app I want to change)
    But when I do this with the Dashboard icon and then drag it to the Dock, it reverts back to the original icon. What am I doing wrong?
    And for the Finder, I can't seem to find where Finder lives on the HD (thus, I can't find the thing I'm supposed to "get info" on). Where is it?
    Any help would be appreciated.
    Thanks,
    Chip
    MacBook Pro 2.0Ghz   Mac OS X (10.4.7)  

    You want to be careful with it, anything that becomes part of the system the way this does has the potential to be dangerous. But I wouldn't have recommended it if I found it to be any problem, it's really been amazingly stable for what it is. Being up to date on the software is very important but they update very quickly and if you have a version that doesn't work with your version of OSX you'll get a warning immediately and will be asked if you want to download the right version, always do it.
    The good thing is that when it's not open it's not doing anything and can't cause a problem, and you only need to open it when you make changes.
    You get 25 changes for free, after that you can still keep it and everything you've already changed but can't do any more changes unless you pay for it, but it's pretty cheap. So if you want to maximize that open it and make sweeping changes everywhere, it all counts as one change. If you open it up and change one thing that also counts as one change. So with careful planning you can keep it to the 25 and use it for free.
    Personally I bought it, I change things all the time, I don't always want an icon to last forever. I've changed the generic folder icon 5 times, but I might have a permanent one now.
    Here's one of my hard drives:
    Kevin
    Quicksilver dual 1.5 gig   Mac OS X (10.4.7)  

  • Changing PDF Icons

    I am having some trouble managing PDF file icons... I am hoping someone here can help. I am running Leopard; everything up to date.
    I downloaded several books in PDF format. I now want to change the icons of each PDF file to match the front cover of said books. So I click on the file, get info, click on the icon on the top left, and paste the image. Everything seems to be fine on the get info screen; the icon on the top left changes to the respective image.
    I then close get info and look at the Finder window containing the PDF files. This is where the problem begins. In cover flow mode, some of the images are simply not there, or they will appear and disappear if I resize the window, or click through the preview. The icons are all correct on the bottom file listing in this mode. Looking at the icon mode, some of the icons will have changed while others will not. I primarily use the icon or coverflow modes in finder which is why this is a problem.
    I cannot detect any pattern in this behavior; some icons behave normally, most do not. All of the said images are PNG. Preview is my default PDF viewer. I am willing to do away with the "preview" function (where you can click through the PDF document within finder) in coverflow mode... it is useless anyway and I feel as if this is the actual problem. I can't seem to find a relevant set of preferences/settings, however.
    Am I missing something? Any help is appreciated. Thanks.

    Whether this is your problem or not, I don't know. But there is a bug in pasting icons where the icons won't show up in Cover Flow if the source png file for the icon was opened and copied out of Preview, and is of a largish size. Don't remember what the upper limit is, but I think is is 256 pixels max dimension. Any way, I just tried one using 500 pix max, and it doesn't show up, while 200 pix does.
    Francine
    Francine
    Schwieder

Maybe you are looking for