Customizing icons in sys folder extension folder IO...kext pkg issues

I currently run a mbp 17" early 2011. For years of OS iterations including Lion 10.7.3 I've customized my icons throughout the system folder, including the extensions folder. Till now. I don't know if the issue is recent firmware /smc update related. I do know that my system does not like the customizations to icons as basic as "CD-R.icns" and all the rest of the IO function sets in the kext packages. I lose all functionality of Superdrive, Firewire, USB, etc.. Changing the internal HD icon creates a loss of Finder. Ouch! I had to use a TimeMachine backup off a jump drive to restore/fix it. The names of the .icns swaps are exact. Odd... What's up? Thanks in advance, William

Just about everything these days is codesigned; modifying a codesigned component it in any way will make it inoperative (changing the icon adds a custom icon file).  You should not be messing with anything in the /System folder.

Similar Messages

  • Automatically create folders then attach custom icon to each folder.

    This is my current working script, does anyone know how I can now add customer icons to the folders in Applescript
    Many thanks
    Matt
    set theWeekNumber to ""
    repeat
    display dialog "Please enter the week number:" default answer theWeekNumber
    set theWeekNumber to text returned of result
    try
    if theWeekNumber = "" then error
    set theWeekNumber to theWeekNumber as number
    exit repeat
    on error
    set thePrefix to "INVALID ENTRY! "
    end try
    end repeat
    set theAFolder to "AFolder_WK" & theWeekNumber
    set theBFolder to "BFolder_WK" & theWeekNumber
    set theEnd to "_PSD"
    set theEnd2 to "todo"
    tell application "Finder"
    make folder at folder "Studio:Users:matthewchild:Desktop" with properties {name:theAFolder & theEnd}
    make folder at folder "Studio:Users:matthewchild:Desktop" with properties {name:theBFolder & theEnd}
    make folder at folder "Studio:Users:matthewchild:Desktop" with properties {name:theAFolder & theEnd2}
    make folder at folder "Studio:Users:matthewchild:Desktop" with properties {name:theBFolder & theEnd2}
    end tell

    The following script uses a handler that will set a custom icon to a file item. In this example, you are prompted for the icon file and the file item to set to the icon, but you can just pass the desired image and folder paths directly to the handler.
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    font-weight: normal;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px; height: 340px;
    color: #000000;
    background-color: #FFD891;
    overflow: auto;"
    title="this text can be pasted into the AppleScript Editor">
    -- assign an icon to a folder or file (requires Developer Tools)
    -- any image file can be used for the icon
    property startingDirectory : (path to home folder) -- a place for the file choice dialogs to start from
    on run -- example
    try -- check for tools
    get "/Developer/Tools/" as POSIX file as alias
    on error
    error "Developer Tools not installed"
    end try
    set iconFile to (choose file with prompt "Choose an image file for the icon:" default location startingDirectory)
    if (do shell script "/usr/bin/file " & quoted form of POSIX path of iconFile) does not contain "image" then -- check image file
    error "The icon file is not an image"
    end if
    tell application "Automator Runner" to tell open panel -- using this panel allows the choice of a file or folder
    set floating to true
    set can choose directories to true
    set can choose files to true
    set allows multiple selection to false
    call method "setShowsHiddenFiles:" of it with parameters {false}
    set title to "Select an item to set to the custom icon:"
    set prompt to "Set Icon" -- this is actually the button text
    activate
    if (display it in directory startingDirectory) is 0 then -- cancel button
    error number -128
    else
    my (setCustomIcon from iconFile to (it's path names as text)) -- just one item
    end if
    end tell
    end run
    to setCustomIcon from imageFile to destination
    Set the icon of a destination file item to the image contained in imageFile
    parameters - imageFile [various]: an imagefile for the icon (Finder alias or POSIX text)
    destination [various]: a destination item to set to the icon (Finder alias or POSIX text)
    returns [boolean]: true if icon is set, false otherwise
    set imageFile to imageFile as text
    if imageFile starts with "/" then -- check for POSIX file
    set imageFile to imageFile as POSIX file as alias
    else
    set imageFile to imageFile as alias
    end if
    set destination to destination as text
    if destination does not start with "/" then -- check for POSIX file
    set destination to POSIX path of destination
    end if
    try
    tell application "Finder" -- copy the icon image to a temporary file
    (duplicate imageFile to (path to temporary items) with replacing) as alias
    set tempImage to quoted form of POSIX path of the result
    end tell
    set tempResource to quoted form of (POSIX path of (((path to temporary items) as text) & "TempResource"))
    do shell script "/usr/bin/sips -i " & tempImage -- add a Finder icon to the image
    do shell script "/Developer/Tools/DeRez -only icns " & tempImage & " > " & tempResource -- get the icon resource
    do shell script "/usr/bin/file " & quoted form of destination -- determine the destination file type
    if the result contains "directory" then -- folder
    set theTarget to quoted form of (destination & "/Icon" & return) -- create Icon\r file
    set Command to "rm " & theTarget & "; " -- remove any existing custom icon
    set Command to Command & "/Developer/Tools/Rez -a " & tempResource & " -o " & theTarget & "; " -- add resource file to a folder
    set Command to Command & "/Developer/Tools/SetFile -a V " & theTarget & "; " -- make it invisible
    else -- file
    set Command to "/Developer/Tools/Rez -a " & tempResource & " -o " & quoted form of destination & "; " -- add resource to a file
    end if
    set Command to Command & "/Developer/Tools/SetFile -a C " & quoted form of destination -- set custom icon attribute
    do shell script Command -- do it
    on error errmess number errnum -- oops
    log errmess
    -- display alert "Error " & errnum message errmess buttons {"OK"}
    return false
    end try
    try -- remove temporary files
    do shell script "rm " & tempImage & space & tempResource
    end try
    tell application "Finder" to update (destination as POSIX file)
    return true
    end setCustomIcon
    </pre>

  • Custom icons not showing up when I drag a folder into the dock

    I have a dock in 10.6 (on the left side, going vertical, if that matters). I've dragged a few folders into it, each containing Aliases to various programs. I've set custom icons on these folders, so I can tell at a glance what's in each folder (since it won't fan out for a vertical dock). But even after I rebooted, the dock isn't showing my custom icons but rather kind of an overlay of the various icons in each folder. What am I doing wrong?
    Mike

    Right-click on the Dock icon>choose Display as Folder

  • Substituting a Custom Icon in Place of the Folder Icon

    Hello again...
    I just learned about putting a folder on the dock to display a group of aliases for my applications, so I could be able to start the applications with a single-click. Is there any way to not have the "Folder" as the icon for this, but something custom that I create using some sort of icon creation program?

    What you need to do is create the folder, give it a custom icon, drag it to the dock and then right click it and choose Display as Folder from the menu.

  • Leopard style custom folders. (Games folder)

    I don't have photoshop... and I hate asking the support community for a custom icon...
    But I love the leopard style "embossed" folders... And I have a bunch of folders in my root directory of my drive, and my "games" folder currently is sitting there, plain...
    I'd love to have this icon embossed on the folder and turned into a normal leopard looking icon, if you could do this, it would be a great deal of help to me.
    http://libraries.idaho.gov/files/default/images/gaming.png
    That's the icon I'd like embossed on there, thank you in advance, the support community here has ALWAYS been a great help!
    Message was edited by: CorneliousJD

    Well I'd love for somebody to create it for me this time, as well as (if possible) provide instructions to make leopard style (embossed) folders, so I won't have to bug anybody again, I used a program with tiger to make custom folders, but I want the folders to match leopards style, so I'm hoping somebody can create one this time for me.
    If somebody can provide a step-by-step, i'm downloading the trail of photoshop now, maybe I could try it out and compare my results to yours, that'd be wonderful, thanks for all the help guys.

  • How can I assign an icon to a folder using Powershell?

    How can I assign an icon to a folder using Powershell?

    I'm trying to make a script that goes through a folder recursively, checks for every folder if it's name is "template", and if so it changes the icon of that folder to an icon
    I chose.
    I searched for an answer here, and I've only managed to find a way to assign an icon to a shortcut, but not to an existing file.
    Thanks in advance (:

  • How to select a group of icons in a folder?

    This may seem dumb, but I'm a new Mac (OS X) user. In windows I used to be able to shift-click a group of adjacent icons within a folder to select them, in order to copy them etc. On my Mac, I can only seem to do this in list or column view, and as a visually orientated person, I don't find this helpful - I want to see the icons I'm selecting. How do I do this?
    Thanks,

    From the Help menu 'selecting items':
    +Click to select a single item. Drag to select a group of items.+
    +Press the Shift key and click other items to include them in the selection. Click a selected item to deselect it.+
    +To select multiple items in a list that are not next to one another, press the Command key and click the items you want. Click a selected item again to deselect it.+

  • What does the icon of a folder with a question mark inside mean?

    After an overnight power outage I tried to turn on my iMac this morning, but all I got was clicking sounds and a gray full screen with the icon of a folder with a question mark inside it, blinking. (There's no tool bar that appears anywhere). What does that mean?
    I've tried unplugging the system and waiting a while before attempting another boot. Same screen.
    I recently (a month ago) upgraded to Snow Leopard from my original OS X software. Never had this sort of a problem before.The iMac was purchased around 2005 or 2006. Intel Dual Core processor.
    Thanks for any help on this.

    Thanks, Paul, for the prompt reply.Obviously, your answer isn't what I wanted to hear, but feared. When I get home tonight I'll try finding the install disk and booting from that. Fortunately, I still have a MacBook Pro that is running fine.  Incidentally, I have a Western Digital external Hard Drive that has very little, if anything on it. But since I can't open anything on the iMac, I guess I'll have to see if the install disk works before I try to figure out IF I can use that WD-External drive temporarily rather than replace the HD on the iMac. Any clues on what a replacement drive and labor runs for that sort of iMac repair?
    j

  • After trying to backup  my hard drive i can't get my G4 quicksilver to boot. I get the old icon of a folder with a split face that alternetes with a flashing question  mark

    My G4  won't boot. I have tried holding down the c key to boot from a 10.3 disc and it doesn't boot. I keep getting the icon of a folder with a split face that flashes to a question mark. I know that usually means that the startup drive can't be found, but I have 2 good drives i have tried to boot with and it won't start up. Any ideas from out there/ Thanks in advance.

    I doubt it's CCC's fault, possibly a bad DIMM, or slot, or corrosion in the slot.
    How large is the drive? Which G4? Some can only handle 128-123 GB Drives. Is it an old drive?
    So we know more about it...
    At the Apple Icon at top left>About this Mac, then click on More Info, then click on Hardware> and report this upto but not including the Serial#...
    Hardware Overview:
    Model Name: eMac
    Model Identifier: PowerMac6,4
    Processor Name: PowerPC G4 (1.2)
    Processor Speed: 1.42 GHz
    Number Of CPUs: 1
    L2 Cache (per CPU): 512 KB
    Memory: 2 GB
    Bus Speed: 167 MHz
    Boot ROM Version: 4.9.2f1
    If you don't know the model, find the Serial# & use it on one of these sites, but don't post the Serial# here...
    http://www.chipmunk.nl/klantenservice/applemodel.html
    http://www.appleserialnumberinfo.com/Desktop/index.php
    How to find the serial number of your Apple hardware product...

  • HT1338 MacBook Pro 13.3: Desktop screen will not come up when turned on.  Screen is blank except for an icon of a folder with a question mark on it, in the middle of an otherwise blank screen, laptop making a clicking noise.

    My MacBook Pro 13.3 MAC OS  X v10.7 laptop will not come up.  Blank screen comes up, no color/desktop, etc., only an icon of a folder in the middle of the screen with a question mark on the folder.  Laptop making a clicking noise. Suggestions? Thanks!

    It's under warranty. Take it in to have Apple fix it.
    The "flashing ?" means the machine can't find the start up disk. The clicking noise is a give away that the drive is damaged.

  • How to change icon of a Folder-track?

    By Folder-track I mean the Folder in Arrange window that is created from "packing reions". Is that even possible in LogicPro7 - to change it's icon?
    I mean I know how to change icons for my audio tracks, audio-instrument tracks. And it would be nice if I can assign different icons for different Folder-tracks.
    I did not find how to do that

    It is possible... use option-command-hold on the icon of the folder in a track in the arrange and up pops the many icons to choose from.
    You can set the icon to something other than the folder.
    To make different folders I guess you would have to do some image editing
    and make your own icons but that is pretty easy.
    Put your user create icons here...
    ~/Library/Application Support/Logic/Images/Icons
    and logic will load your numbered image file instead of the default ones that
    Logic would normaly use.
    Note: 1.png is the file name of the regular folder icon.

  • How to assign file extension and custom icon to executable?

    Hi all,
    I was reading an old thread about this issue:
    http://forums.ni.com/ni/board/message?board.id=170&thread.id=116925 
    I need to try to do this.  My application uses a custom file extension (i.e. .abc).  Upon installation I would like to:
    1.  Assign My App and custom icon to the file class (extension .abc).
    This could be done by manipluting the registry (http://msdn.microsoft.com/en-us/library/bb776856(VS.85).aspx)?  This could be a problem with Vista s unless registry operations occur during installation any changes are placed in a VirtualStore, correct?
    2.  Enable the double-clicking of .abc file type to pass the data in the file to my VI (exe). 
    According to the File Handling Guidelines of Jean-Pierre Drolet (http://www.openg.org/tiki/tiki-index.php?page=File+Handling+Guidelines) the best way to do this may be using LabVIEW as an ActiveX server.
    I know that when I build an executable (or installer?) there is the option to enable LabVIEW to act as an ActiveX server.  This much I know I need to do.
    I thought I would open this discussion again as others may be interested and there doesn't appear to be a completely clear solution available.  Please do contribute where you can.
    Cheers,
    Battler.

    battler. wrote:
    My application consists of Event Structure.
    How to register for ommand line event so that when a user double-clicks on a .abc file I can handle the opening of it?
    This needs to work (the files need to open) not only when the application is closed but also when it's already open.
    Anyone have ideas? 
    The solution to that is to implement a DDE server in your application (and add DDE entries to the registry on installation). There are still DDE functions in LabVIEW vi.lib\Platform\dde.llb but they are considered depreciated and have been removed from the palette, also because Microsoft is trying to tell everyone that DDE is depreciated and sort of unsupported too. But it is still the mechanisme to pass actions from the shell to running applications.
    I hesitate to send you over to lavag.org where there have been some discussions about this years ago. If you go there you would do good to employ a friendly attitude. That board is run all by enthusiasts and idealists and they are all great folks but react not very friendly to people with an attitude.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Trying to update to 4.0 on my Mac. When trying to drag new icon to applications folder, it says 4.o already in place (it isn't), nad do I want to relace with older version. I do this and then it says change can't be done because Firefox is in use. ??

    trying to update to 4.0 on my Mac. When trying to drag new icon to applications folder, it says 4.o already in place (it isn't), and do I want to replace with older version. I do this and then it says change can't be done because Firefox is in use. ??

    That version cannot be upgraded further if it's a 2G model. The 3G model can be upgraded to iOS 5.x.x. You can't have a 2G model because the maximum iOS version is 4.2.1.
    Upgrading iOS
       1. How to update your iPhone, iPad, or iPod Touch
       2. iPhone Support
       3. iPod Touch Support
       4. iPad Support
         a. Updating Your iOS to Version 6.0.x from iOS 5
              Tap Settings > General > Software Update
         If an update is available there will be an active Update button. If you are current,
         then you will see a gray screen with a message saying your are up to date.
         b. If you are still using iOS 4 — Updating your device to iOS 5 or later.
         c. Resolving update problems
            1. iOS - Unable to update or restore
            2. iOS- Resolving update and restore alert messages

  • Trying 2 download new version of Firefox and after being prompted 2 drag Firefox icon into Applications folder, get message that task can't b completed bc Firefox is in use, but only use am making of Firefox is 2 have it open 2 download new version

    Trying 2 download new version of Firefox and after being prompted 2 drag Firefox icon into Applications folder, get message that task can't b completed bc Firefox is in use, but only use am making of Firefox is 2 have it open 2 download new version

    If there are problems with updating or with the permissions then easiest is to download the full version and trash the currently installed version to do a clean install of the new version.
    Download a new copy of the Firefox program and save the disk image (dmg) file to the desktop
    * Firefox 7.0.x: http://www.mozilla.com/en-US/firefox/all.html
    * Trash the current Firefox application to do a clean (re-)install
    * Install the new version that you have downloaded
    Your profile data is stored elsewhere in the Firefox Profile Folder, so you won't lose your bookmarks and other personal data if you uninstall and (re)install Firefox.
    * http://kb.mozillazine.org/Profile_folder_-_Firefox

  • Icon in Application Folder Grid View is not displaying correctly

    Hi there,
    It seems that whenever I download and install a new program into my Applications folder, the icon appears incorrectly in Grid View. For example, I just downloaded a program called Dragster, installed it and dragged it into my Applications folder. However now, when I click on 'Applications' on the dock, the icon for Dragster is white with a circle and line through it (similar to a non-smoking type of sign).
    If I drag the icon to the Desktop and then back into Applications again, the icon appears as normal - the correct icon for that folder. Why does this happen? Why does the icon display incorrectly when I drag the program directly to my Applications folder... this is what I am supposed to do isn't it (am a reasonably new mac user)?
    Thanks in advance.
    Nicola

    hey, i've been experiencing the same problem... i really hope that there is a better answer than "get used to it" b/c, like you said, if i drag the icon to the desktop, and then back to the applications folder, the icon appears normal without the "no smoking sign" circle and slash. also, the icons are normal in the finder window, but have the circle and slash when i click on the applications folder/stack in my dock and it opens in grid mode (when set to "automatic). just wondering if you've had any luck finding out how to fix this problem...

Maybe you are looking for