Persistent App-V Apps

Im new to App Virtualization, and I would like to know if it is possible to create a virtual app that does not save changes that a user makes once the virtual app is closed.  I work for a public library and my goal is to virtualize Firefox
and have it reset every time the Virtual app applications is closed.
Thanks in advance

Hello,
Interesting scenario...
You can delete user changes to virtual package with command Repair-AppVClientPackage.
It's also possible to run scripts when virtual application is closed. So that is what I would test first.
During sequencing Firefox I would also make sure that Firefox user settings is saved inside virtual bubble.
www.ictmanuaali.net

Similar Messages

  • My iPad 1 has persistent app crashes. Suggestions?

    Apps crash at random. Native apps or purchased ones. Have gone thru all the recommended fixes: reboot, reset and finally wipe clean and start over. Problem persists. Any suggestions?

    My iPad 1 has persistent app crashes
    I realize you have already restored once, but try restoring as a new device one more time.
    How to set up your iPhone, iPad, or iPod touch as a new device
    Then sync 5 apps at a time to test.

  • Resolving persistent app crashes

    Good day.
    A few months ago, I upgraded from an iPad 3 to an iPad Air.  I used the iCloud Backup to restore my apps and files.  During the restore, a few apps (games) froze during the reinstall. I ultimately had to kill the restore, then reinstall them fresh.
    Since then, most of these apps (the ones I had to manually reinstall) always crash immediately upon running (at their respective load screens). I've researched crashes extensively on the web (I'm a pc guy, not ios, so I had to read up).  To date, I have done all of the following in various orders:
    Close all running apps.
    Delete and reinstall the apps many times.
    Go into the iCloud settings and deleted the backed up data on these apps, then reinstalled.
    Nothing has worked. Not understanding the iPad (iOS) architecture, I can only guess that even with all these steps, SOMETHING stays on the iPad related to all these apps that prevents it from running them.
    I know the FINAL step would be to wipe the iPad and start over, but I've been hoping not to have to take that drastic a step.
    Any suggestions on anything else I haven't tried?
    Thanks.
    -Quantumbuc

    At this point it might be best to use iTunes on your computer to restore your iPad to Factory.
    After doing this, setup your iPad again and reinstall your purchased Apps.
    Basically, starting over again.

  • IPad iPhoto app won't run

    After initial installation of the new iPad iPhoto app, you run iPhoto.  It attempts to "Update photo library".  Approximately 3/4 through, the software crashes going first to a black screen, then to the iPad's Home screen.  IOS 5.1 installed. I have 90 albums and over 14,000 photos in the iPad "Photo" application.  Over 1.2GB of storage remaining and 189MB of memory during the iPhoto operation.

    Greetings,
    With that number of images you might be getting a bit low on space but I'm not convinced thats the source of the issue.
    Consider trying the following to issolate the issue and please report back if one of these helps:
    Power cycle your iPad
    Double-tap your home button and remove all persistent apps (If you are a quick access user I know this is a pain but try it anyways please.  You can always go back and re-open them and call me names I won't mind )
    Delete and reinstall iPhoto -- Be aware this will make any journals you've made uneditable.
    Failing the above:
    Backup and restore your iPad: http://support.apple.com/kb/HT1414
    You have another app that is interfering with iPhoto installed on your iPad OR one or more images / albums is corrupt and is causing iPhoto to fail.  I don't have a magic way of fixing this beyond importing all the images to your computer and then putting them back on systematically testing iPhoto each time to see where the bad image is (although importing / deleting / re-syncing may vary well resolve the issue).
    Hope that helps.

  • How can I remove the 'Qty' text from individual product descriptions?

    I didn't know if this was possible or not... I've recently taken the reins of handling an ecommerce site that had been published before I got on board. My boss wants me to remove the 'Qty:' description from some products because the image shown for some products is a misleading description of the actual quantity available (i.e. there is a picture that shows a stack of conveyors parts, and it says 'Qty: 1' to represent one 'stack' of conveyor parts - this confuses customers into thinking there's only one individual conveyor part available however). To avoid any confusion he requested that I remove the 'Qty' text from similar images. I see that you can change the 'In Stock' amount of a particular product underneath the 'Inventory' tab of the 'Products' menu, but I didn't know if it was possible just to remove the quantity description altogether without just typing the quantity in at zero. This is likely a strange question but I didn't know where else to ask! I would appreciate any help or advice Thank you

    Hi ewhelhalu,
    I just figured out a way to do it, but it's a little weird and complex, and I have no idea what the consequences for editing this .plist string might be. I'm thinking it'll be OK, but you never know what might happen when you screw around with Apple's intentions.
    So if you have the Developer Tools on your install of OS X, you can use the Property List Editor to edit the Dock files. (If you don't have this program, you can use a program like [Pacifist|http://www.charlessoft.com> to selectively install stuff from your Leopard disk).
    The file you're interested in is within Macintosh HD > Users > Your Username > Library > Preferences, and it's called com.apple.dock.plist. Open that up with Property List Editor, and open the arrow drop-down next to "Root." The lines you're looking for are "persistent-apps" (the left side of your Dock) and "persistent-others" (the right side). If you open the drop-down arrows, you'll see there are numbers below each. The numbers correspond to your Dock items, from left to right.
    If you click on drop-arrows by the numbers, a sample hierarchy looks like this: 0 > tile-data > file-label. It's the "file-label" string that you want to edit. Just make it ("it" being the name of the icon under the "value" column) blank, save the file, go into Terminal and type "killall Dock" without the quotes, and your Dock icon should appear without a name. You'll have to do this for all of them.
    I should insert the usual caveats here about backing up beforehand and making sure that you have a copy of the .plist file before you start tweaking it so that you can replace it if things go wrong. And perhaps someone with more knowledge of Terminal or third-party apps than I have will come along and suggest a simpler solution. But that's the only one I have.
    Hope that helps!
    —Hazy

  • What commands/templates/Saved Tasks do you add in your ARD3 Admin?

    I posted this question two years ago - thought it might be good to revisit.
    Saved UNIX commands:
    +good for slower machines and power users:+
    defaults write com.apple.finder DisableAllAnimations -bool YES
    +set ARD Computer Information fields; change -set1 and -1 to 2, 3, or 4 for other fields:+
    /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/ki ckstart -configure -computerinfo -set1 -1 ""
    +set ARD Comp Info field #1 to shortname of currently logged in user:+
    export WHOAMI=$(who|grep console|awk '{ print $1 }');
    /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/ki ckstart -configure -computerinfo -set1 -1 $WHOAMI
    +size of the currently logged in user's homedir:+
    export WHOAMI=$(who|grep console|awk '{ print $1 }')
    du -hc -d 1 /Users/$WHOAMI|grep total;echo /Users/$WHOAMI;
    du -hc -d 1 /Users/$WHOAMI/.Trash|grep total;echo " Trash";
    +show computer name in Active Directory:+
    dsconfigad -show -lu (local admin username) -lp (local admin user's password)|grep Account
    +check battery condition - run as a repeating task on a smart group of portables, etc:+
    system_profiler |grep Condition
    And, of course, all the usual nuke font/MCX caches, add Menu Extras items.. what are your faves?
    -p
    Message was edited by: Pete Curtner

    Easy one for system updates:
    *softwareupdate -i -a*
    Controlling the volume:
    *osascript -e 'set volume 100'*
    Addind Safari to dock:
    *defaults write com.apple.dock persistent-apps -array-add '<dict><key>tile-data<key><dict><key>file-data</key><dict><key>_CFURLString</ke y>*
    <string>/Applications/Safari.app</string><key>_CFURLStringType</key>
    <integer>0</integer></dict></dict></dict>'

  • Dock using 80% CPU?

    i was looking at active monitor and my dock is using 80% processor power..... i follow the instructions http://support.apple.com/kb/TS1473 and i quit the process but 2 secs later it restarts and is still using 80% power... any ideas? My Battery life ***** also

    6/29/12 12:08:32.127 AM Dock: kCGErrorIllegalArgument: CGSGetCurrentDisplayMode: Invalid display 0x2b284b55
    6/29/12 12:08:32.128 AM Dock: kCGErrorIllegalArgument: CGSGetCurrentDisplayMode: Invalid display 0x2b284b55
    6/29/12 12:08:32.128 AM Dock: kCGErrorIllegalArgument: CGSGetCurrentDisplayMode: Invalid display 0x2b284b55
    6/29/12 12:08:32.128 AM Dock: kCGErrorIllegalArgument: CGSGetCurrentDisplayMode: Invalid display 0x2b284b55
    6/29/12 12:08:32.128 AM Dock: kCGErrorIllegalArgument: CGSGetCurrentDisplayMode: Invalid display 0x2b284b55
    6/29/12 12:08:32.128 AM Dock: kCGErrorIllegalArgument: CGSGetCurrentDisplayMode: Invalid display 0x2b284b55
    6/29/12 12:08:32.128 AM Dock: kCGErrorIllegalArgument: CGSGetCurrentDisplayMode: Invalid display 0x2b284b55
    6/29/12 12:08:32.128 AM Dock: kCGErrorIllegalArgument: CGSGetCurrentDisplayMode: Invalid display 0x2b284b55
    6/29/12 12:08:32.128 AM Dock: kCGErrorIllegalArgument: CGSGetCurrentDisplayMode: Invalid display 0x2b284b55
    6/29/12 12:08:32.128 AM Dock: kCGErrorIllegalArgument: CGSGetCurrentDisplayMode: Invalid display 0x2b284b55
    6/29/12 12:08:32.128 AM Dock: kCGErrorIllegalArgument: CGSGetCurrentDisplayMode: Invalid display 0x2b284b55
    6/29/12 12:08:32.128 AM Dock: kCGErrorIllegalArgument: CGSGetCurrentDisplayMode: Invalid display 0x2b284b55
    6/29/12 12:08:32.130 AM Dock: kCGErrorIllegalArgument: CGSGetCurrentDisplayMode: Invalid display 0x2b284b55
    6/29/12 12:08:32.130 AM Dock: kCGErrorIllegalArgument: CGSGetCurrentDisplayMode: Invalid display 0x2b284b55
    6/29/12 12:08:32.130 AM Dock: kCGErrorIllegalArgument: CGSGetCurrentDisplayMode: Invalid display 0x2b284b55
    6/29/12 12:08:32.130 AM Dock: kCGErrorIllegalArgument: CGSGetCurrentDisplayMode: Invalid display 0x2b284b55
    6/29/12 12:08:32.130 AM Dock: kCGErrorIllegalArgument: CGSGetCurrentDisplayMode: Invalid display 0x2b284b55
    6/29/12 12:08:32.130 AM Dock: kCGErrorIllegalArgument: CGSGetCurrentDisplayMode: Invalid display 0x2b284b55
    6/29/12 12:08:32.130 AM Dock: kCGErrorIllegalArgument: CGSGetCurrentDisplayMode: Invalid display 0x2b284b55
    6/29/12 12:08:32.130 AM Dock: kCGErrorIllegalArgument: CGSGetCurrentDisplayMode: Invalid display 0x2b284b55
    6/29/12 12:08:32.131 AM Dock: kCGErrorIllegalArgument: CGSGetCurrentDisplayMode: Invalid display 0x2b284b55
    6/29/12 12:08:32.131 AM Dock: kCGErrorIllegalArgument: CGSGetCurrentDisplayMode: Invalid display 0x2b284b55
    6/29/12 12:08:32.131 AM Dock: kCGErrorIllegalArgument: CGSGetCurrentDisplayMode: Invalid display 0x2b284b55
    6/29/12 12:08:32.131 AM Dock: kCGErrorIllegalArgument: CGSGetCurrentDisplayMode: Invalid display 0x2b284b55
    6/29/12 12:08:32.131 AM Dock: kCGErrorIllegalArgument: CGSGetCurrentDisplayMode: Invalid display 0x2b284b55
    6/29/12 12:08:32.131 AM Dock: kCGErrorIllegalArgument: CGSGetCurrentDisplayMode: Invalid display 0x2b284b55
    6/29/12 12:08:32.131 AM Dock: kCGErrorIllegalArgument: CGSGetCurrentDisplayMode: Invalid display 0x2b284b55
    6/29/12 12:08:32.131 AM Dock: kCGErrorIllegalArgument: CGSGetCurrentDisplayMode: Invalid display 0x2b284b55
    6/29/12 12:08:32.131 AM Dock: kCGErrorIllegalArgument: CGSGetCurrentDisplayMode: Invalid display 0x2b284b55
    6/29/12 12:08:32.131 AM Dock: kCGErrorIllegalArgument: CGSGetCurrentDisplayMode: Invalid display 0x2b284b55
    6/29/12 12:08:32.131 AM Dock: kCGErrorIllegalArgument: CGSGetCurrentDisplayMode: Invalid display 0x2b284b55
    6/29/12 12:08:32.131 AM Dock: kCGErrorIllegalArgument: CGSGetCurrentDisplayMode: Invalid display 0x2b284b55
    6/29/12 12:08:32.131 AM Dock: *** process 238 exceeded 500 log message per second limit  -  remaining messages this second discarded ***
    6/29/12 10:02:04.770 AM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 10:02:04.770 AM com.apple.dock.extra: 2012-06-29 10:02:04.769 com.apple.dock.extra[295:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 10:02:04.771 AM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 10:02:04.771 AM com.apple.dock.extra: 2012-06-29 10:02:04.770 com.apple.dock.extra[295:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 10:02:04.771 AM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 10:02:04.771 AM com.apple.dock.extra: 2012-06-29 10:02:04.770 com.apple.dock.extra[295:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 10:02:04.772 AM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 10:02:04.772 AM com.apple.dock.extra: 2012-06-29 10:02:04.771 com.apple.dock.extra[295:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 10:02:05.366 AM imagent: [Warning] *** Listener ID: com.apple.dock.extra  does not have capability: (Chats), not allowing request
    6/29/12 10:10:00.647 AM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 10:10:00.647 AM com.apple.dock.extra: 2012-06-29 10:10:00.645 com.apple.dock.extra[501:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 10:10:00.647 AM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 10:10:00.647 AM com.apple.dock.extra: 2012-06-29 10:10:00.646 com.apple.dock.extra[501:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 10:10:00.648 AM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 10:10:00.648 AM com.apple.dock.extra: 2012-06-29 10:10:00.647 com.apple.dock.extra[501:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 10:10:00.648 AM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 10:10:00.648 AM com.apple.dock.extra: 2012-06-29 10:10:00.648 com.apple.dock.extra[501:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 10:10:06.135 AM com.apple.dock.extra: 2012-06-29 10:10:06.131 com.apple.dock.extra[586:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 10:10:06.137 AM com.apple.dock.extra: 2012-06-29 10:10:06.135 com.apple.dock.extra[586:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 10:10:06.138 AM com.apple.dock.extra: 2012-06-29 10:10:06.136 com.apple.dock.extra[586:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 10:10:06.140 AM com.apple.dock.extra: 2012-06-29 10:10:06.138 com.apple.dock.extra[586:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 10:10:15.376 AM com.apple.dock.extra: 2012-06-29 10:10:15.375 com.apple.dock.extra[586:1707] Could not replace account with identifier: _local
    6/29/12 10:13:33.853 AM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 10:13:33.854 AM com.apple.dock.extra: 2012-06-29 10:13:33.852 com.apple.dock.extra[782:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 10:13:33.854 AM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 10:13:33.854 AM com.apple.dock.extra: 2012-06-29 10:13:33.853 com.apple.dock.extra[782:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 10:13:33.854 AM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 10:13:33.855 AM com.apple.dock.extra: 2012-06-29 10:13:33.854 com.apple.dock.extra[782:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 10:13:33.855 AM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 10:13:33.855 AM com.apple.dock.extra: 2012-06-29 10:13:33.854 com.apple.dock.extra[782:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 10:13:34.294 AM imagent: [Warning] *** Listener ID: com.apple.dock.extra  does not have capability: (Chats), not allowing request
    6/29/12 10:25:59.322 AM com.apple.dock.extra: 2012-06-29 10:25:59.320 com.apple.dock.extra[984:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 10:25:59.323 AM com.apple.dock.extra: 2012-06-29 10:25:59.322 com.apple.dock.extra[984:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 10:25:59.324 AM com.apple.dock.extra: 2012-06-29 10:25:59.322 com.apple.dock.extra[984:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 10:25:59.325 AM com.apple.dock.extra: 2012-06-29 10:25:59.323 com.apple.dock.extra[984:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 10:28:12.745 AM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 10:28:12.745 AM com.apple.dock.extra: 2012-06-29 10:28:12.707 com.apple.dock.extra[1108:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 10:28:12.746 AM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 10:28:12.746 AM com.apple.dock.extra: 2012-06-29 10:28:12.745 com.apple.dock.extra[1108:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 10:28:12.747 AM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 10:28:12.747 AM com.apple.dock.extra: 2012-06-29 10:28:12.746 com.apple.dock.extra[1108:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 10:28:12.748 AM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 10:28:12.749 AM com.apple.dock.extra: 2012-06-29 10:28:12.747 com.apple.dock.extra[1108:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 10:28:13.413 AM imagent: [Warning] *** Listener ID: com.apple.dock.extra  does not have capability: (Chats), not allowing request
    6/29/12 11:15:18.954 AM com.apple.storeagent: Connection to dock interrupted!Connection to dock invalid!
    6/29/12 11:15:18.963 AM com.apple.launchd.peruser.501: (com.apple.Dock.agent[1053]) Exited with code: 1
    6/29/12 11:15:20.546 AM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 11:15:20.546 AM com.apple.dock.extra: 2012-06-29 11:15:20.545 com.apple.dock.extra[2353:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 11:15:20.546 AM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 11:15:20.546 AM com.apple.dock.extra: 2012-06-29 11:15:20.545 com.apple.dock.extra[2353:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 11:15:20.546 AM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 11:15:20.547 AM com.apple.dock.extra: 2012-06-29 11:15:20.546 com.apple.dock.extra[2353:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 11:15:20.547 AM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 11:15:20.548 AM com.apple.dock.extra: 2012-06-29 11:15:20.546 com.apple.dock.extra[2353:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 11:15:21.069 AM imagent: [Warning] *** Listener ID: com.apple.dock.extra  does not have capability: (Chats), not allowing request
    6/29/12 11:15:28.665 AM com.apple.launchd.peruser.501: (com.apple.Dock.agent[2350]) Exited: Killed: 9
    6/29/12 11:15:29.533 AM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 11:15:29.533 AM com.apple.dock.extra: 2012-06-29 11:15:29.532 com.apple.dock.extra[2360:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 11:15:29.533 AM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 11:15:29.533 AM com.apple.dock.extra: 2012-06-29 11:15:29.533 com.apple.dock.extra[2360:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 11:15:29.534 AM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 11:15:29.534 AM com.apple.dock.extra: 2012-06-29 11:15:29.533 com.apple.dock.extra[2360:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 11:15:29.534 AM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 11:15:29.534 AM com.apple.dock.extra: 2012-06-29 11:15:29.534 com.apple.dock.extra[2360:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 11:15:29.924 AM imagent: [Warning] *** Listener ID: com.apple.dock.extra  does not have capability: (Chats), not allowing request
    6/29/12 11:20:10.291 AM com.apple.launchd.peruser.501: (com.apple.Dock.agent[2359]) Exited: Killed: 9
    6/29/12 11:20:11.105 AM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 11:20:11.105 AM com.apple.dock.extra: 2012-06-29 11:20:11.103 com.apple.dock.extra[2423:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 11:20:11.105 AM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 11:20:11.105 AM com.apple.dock.extra: 2012-06-29 11:20:11.104 com.apple.dock.extra[2423:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 11:20:11.105 AM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 11:20:11.105 AM com.apple.dock.extra: 2012-06-29 11:20:11.105 com.apple.dock.extra[2423:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 11:20:11.106 AM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 11:20:11.106 AM com.apple.dock.extra: 2012-06-29 11:20:11.105 com.apple.dock.extra[2423:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 11:20:11.509 AM imagent: [Warning] *** Listener ID: com.apple.dock.extra  does not have capability: (Chats), not allowing request
    6/29/12 11:20:21.622 AM Dock: MIG: server died: CGSGetDisplayModeDescriptionOfLength
    6/29/12 11:20:21.622 AM Dock: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    6/29/12 11:20:21.623 AM Dock: (ipc/send) invalid destination port: CGSGetDisplayModeDescriptionOfLength
    6/29/12 11:20:21.623 AM Dock: (ipc/send) invalid destination port: CGSGetDisplayModeDescriptionOfLength
    6/29/12 11:20:21.623 AM Dock: (ipc/send) invalid destination port: CGSGetDisplayModeDescriptionOfLength
    6/29/12 11:20:21.623 AM com.apple.dock.extra: HIToolbox: received notification of WindowServer event port death.
    6/29/12 11:20:21.627 AM Dock: (ipc/send) invalid destination port: CGSGetDisplayModeDescriptionOfLength
    6/29/12 11:20:21.629 AM com.apple.dock.extra: 2012-06-29 11:20:21.610 com.apple.dock.extra[2423:1707] HIToolbox: received notification of WindowServer event port death.
    6/29/12 11:20:21.632 AM com.apple.dock.extra: port matched the WindowServer port created in BindCGSToRunLoop
    6/29/12 11:20:21.632 AM com.apple.dock.extra: 2012-06-29 11:20:21.628 com.apple.dock.extra[2423:1707] port matched the WindowServer port created in BindCGSToRunLoop
    6/29/12 11:20:21.715 AM Dock: (ipc/send) invalid destination port: CGSSetMagicMirror: server didn't like your request
    6/29/12 11:20:21.716 AM Dock: (ipc/send) invalid destination port: CGSSetMagicMirror: server didn't like your request
    6/29/12 11:20:21.727 AM Dock: (ipc/send) invalid destination port: CGSSetMagicMirror: server didn't like your request
    6/29/12 11:20:21.737 AM Dock: (ipc/send) invalid destination port: CGSSetMagicMirror: server didn't like your request
    6/29/12 11:20:21.748 AM Dock: (ipc/send) invalid destination port: CGSSetMagicMirror: server didn't like your request
    6/29/12 11:20:21.759 AM Dock: (ipc/send) invalid destination port: CGSSetMagicMirror: server didn't like your request
    6/29/12 11:20:21.770 AM Dock: (ipc/send) invalid destination port: CGSSetMagicMirror: server didn't like your request
    6/29/12 11:20:21.781 AM Dock: (ipc/send) invalid destination port: CGSSetMagicMirror: server didn't like your request
    6/29/12 11:20:21.792 AM Dock: (ipc/send) invalid destination port: CGSSetMagicMirror: server didn't like your request
    6/29/12 11:20:21.803 AM Dock: (ipc/send) invalid destination port: CGSSetMagicMirror: server didn't like your request
    6/29/12 11:20:21.814 AM Dock: (ipc/send) invalid destination port: CGSSetMagicMirror: server didn't like your request
    6/29/12 11:20:21.825 AM Dock: (ipc/send) invalid destination port: CGSSetMagicMirror: server didn't like your request
    6/29/12 11:20:21.836 AM Dock: (ipc/send) invalid destination port: CGSSetMagicMirror: server didn't like your request
    6/29/12 11:20:21.847 AM Dock: (ipc/send) invalid destination port: CGSSetMagicMirror: server didn't like your request
    6/29/12 11:20:21.858 AM Dock: (ipc/send) invalid destination port: CGSSetMagicMirror: server didn't like your request
    6/29/12 11:20:21.880 AM com.apple.launchd.peruser.501: (com.apple.Dock.agent[2421]) Exited with code: 1
    6/29/12 11:20:29.467 AM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 11:20:29.469 AM com.apple.dock.extra: 2012-06-29 11:20:29.455 com.apple.dock.extra[2486:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 11:20:29.481 AM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 11:20:29.483 AM com.apple.dock.extra: 2012-06-29 11:20:29.469 com.apple.dock.extra[2486:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 11:20:29.484 AM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 11:20:29.485 AM com.apple.dock.extra: 2012-06-29 11:20:29.482 com.apple.dock.extra[2486:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 11:20:29.485 AM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 11:20:29.487 AM com.apple.dock.extra: 2012-06-29 11:20:29.484 com.apple.dock.extra[2486:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 11:20:31.181 AM imagent: [Warning] *** Listener ID: com.apple.dock.extra  does not have capability: (Chats), not allowing request
    6/29/12 11:21:39.609 AM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 11:21:39.613 AM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 11:21:39.616 AM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 11:21:39.619 AM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 12:34:03.859 PM com.apple.launchd.peruser.501: (com.apple.Dock.agent[236]) Exited: Killed: 9
    6/29/12 12:34:05.526 PM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 12:34:05.526 PM com.apple.dock.extra: 2012-06-29 12:34:05.524 com.apple.dock.extra[1275:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 12:34:05.526 PM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 12:34:05.526 PM com.apple.dock.extra: 2012-06-29 12:34:05.525 com.apple.dock.extra[1275:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 12:34:05.526 PM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 12:34:05.527 PM com.apple.dock.extra: 2012-06-29 12:34:05.526 com.apple.dock.extra[1275:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 12:34:05.527 PM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 12:34:05.527 PM com.apple.dock.extra: 2012-06-29 12:34:05.526 com.apple.dock.extra[1275:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 12:34:05.972 PM imagent: [Warning] *** Listener ID: com.apple.dock.extra  does not have capability: (Chats), not allowing request
    6/29/12 12:46:41.339 PM sudo:     root : TTY=unknown ; PWD=/private/tmp/PKInstallSandbox.CgTGoQ/tmp ; USER=juscycleballa ; COMMAND=/usr/bin/defaults read com.apple.dock persistent-apps
    6/29/12 12:46:41.372 PM sudo:     root : TTY=unknown ; PWD=/private/tmp/PKInstallSandbox.CgTGoQ/tmp ; USER= juscycleballa ; COMMAND=/usr/bin/defaults read com.apple.dock persistent-apps
    6/29/12 12:46:41.395 PM sudo:     root : TTY=unknown ; PWD=/private/tmp/PKInstallSandbox.CgTGoQ/tmp ; USER= juscycleballa ; COMMAND=/usr/bin/defaults read com.apple.dock persistent-apps
    6/29/12 12:46:41.419 PM sudo:     root : TTY=unknown ; PWD=/private/tmp/PKInstallSandbox.CgTGoQ/tmp ; USER=utah ; COMMAND=/usr/bin/defaults read com.apple.dock persistent-apps
    6/29/12 12:46:41.438 PM sudo:     root : TTY=unknown ; PWD=/private/tmp/PKInstallSandbox.CgTGoQ/tmp ; USER=utah ; COMMAND=/usr/bin/defaults read com.apple.dock persistent-apps
    6/29/12 12:46:41.456 PM sudo:     root : TTY=unknown ; PWD=/private/tmp/PKInstallSandbox.CgTGoQ/tmp ; USER=utah ; COMMAND=/usr/bin/defaults read com.apple.dock persistent-apps
    6/29/12 12:46:44.317 PM com.apple.launchd.peruser.501: (com.apple.Dock.agent[1272]) Exited abnormally: Hangup: 1
    6/29/12 12:46:45.919 PM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 12:46:45.919 PM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 12:46:45.920 PM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 12:46:45.920 PM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 12:46:46.349 PM imagent: [Warning] *** Listener ID: com.apple.dock.extra  does not have capability: (Chats), not allowing request
    6/29/12 12:51:02.763 PM com.apple.launchd.peruser.501: (com.apple.Dock.agent[28471]) Exited with code: 1
    6/29/12 12:51:03.596 PM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 12:51:03.597 PM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 12:51:03.597 PM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 12:51:03.598 PM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 12:51:03.994 PM imagent: [Warning] *** Listener ID: com.apple.dock.extra  does not have capability: (Chats), not allowing request
    6/29/12 12:53:20.400 PM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 12:53:20.401 PM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 12:53:20.401 PM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 12:53:20.401 PM com.apple.dock.extra: 2012-06-29 12:53:20.399 com.apple.dock.extra[306:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 12:53:20.401 PM com.apple.dock.extra: 2012-06-29 12:53:20.400 com.apple.dock.extra[306:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 12:53:20.402 PM com.apple.dock.extra: 2012-06-29 12:53:20.400 com.apple.dock.extra[306:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 12:53:20.403 PM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 12:53:20.403 PM com.apple.dock.extra: 2012-06-29 12:53:20.401 com.apple.dock.extra[306:1707] Could not connect the action buttonPressed: to target of class NSApplication
    6/29/12 12:53:21.046 PM imagent: [Warning] *** Listener ID: com.apple.dock.extra  does not have capability: (Chats), not allowing request
    6/29/12 1:07:44.947 PM eclipse: Unrecognized Java VM option ignored: -Xdock:icon=../Resources/Eclipse.icns

  • How to remove shelf beneath dock?

    Under previous OS X releases it was easy to remove the shelf beneath the dock leaving just icons and little white lights under those icons in use.  To do that you would:
    How to remove the Leopard Dock shelf
    Got to:
    Macintosh HD
    System
    Library
    Core Services
    Click on Dock.app and hit Show Package
    Contents
    Resources
    Remove these graphics:
    frontline.png
    scurve-xl.png
    scurve-sm.png
    scurve-m.png
    scurve-l.png
    Copy them to another folder
    then delete them
    Now go to Applications/Utilities/Termarinal App
    Type:  killall Dock
    Now when you burrow down to the png images in the Resources folder you can find/remove the frontline.png image but the "scurve" images are no longer there and Apple has probably renamed them something else.
    The shelf is one of the most annoying aspects of the desktop.  It isn't cute or clever but detracts for the overall look and takes up far too much screen space at the bottom of the page.
    Has anyone figured out which images must now be deleted from Mountain Lion to effectively remove the dock shelf?

    Here's the answer:  A free application called TransDock X from nothinggoes dot com.  Go there, download, install - you'll have to open your preferences -> security and change Mountain Lion's default restricting you to using only 'authorized' (i.e., App Store only) applications to "any" applications then run TransDock X. 
    Does a beautiful job.  Removes the shelf entirely.
    You may wonder why I dislike the shelf so much.  I run my Mac Pro using two 30" Cinema Displays.  That's 5 feet of display.  When the shelf is displayed I can't figure out what apps are running because the little white light beneath them is now so close in color to the shelf itself.  AND, the shelf simply takes up too much screen space, is distracting and very annoying.  Remove it and all you see are your favorite or most used Dock app icons and if any are in use there is just a little bright light shining beneath them.
    By using "spacers" I can display my Dock apps in groups - systems apps like iTunes, Mail, App Store, Dashboard, Finder, Launchpad as one group then a space and the next group: EyeTV, Media Editors, Toast, Apperture, Final Cut Pro, and others followed by another spacer and another group for TextMate, Pages, FireFox, Safari, SeaMonkey, etc.
    Apple should give the user the option of many screen features including the ability to remove the shelf. 
    BTW - here's how you add spacers to your Dock as well as a Recent Applications Stack or Grid:
    Add Spacers to the Dock
    If you want to divide the applications in your Dock into groups, the best way is to add spacers. A common method is to create "fake" applications with an invisible icon to fill the space, but that is a bit inelegant. A much better way, available in Leopard, is to use a Terminal Command. Each time you run the command it inserts a blank "space" into your Dock, which you can then drag around to where you like.
    Start by opening up Terminal, located in Applications/Utilities. Type the following line and then hit enter:
    defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}'
    For the changes to take effect you will have to restart the Dock, either by logging out and in again or by running the killall Dock command in the Terminal. The spacer appears at the end of the icons that are permanently in the Dock. You can then drag it along to where you want it.
    Dock Spacers
    The above command inserts the spacer on the applications side of the Dock. To insert a spacer on the right hand side, use the following command:
    defaults write com.apple.dock persistent-others -array-add '{tile-data={}; tile-type="spacer-tile";}'
    As always, you will have to run killall Dock for changes to take effect (open the Terminal app and type: killall Dock - the Dock will disappear and come back up with the changes. To add multiple spacers just run the command again and again. Note that you can use the "up" arrow in terminal to automatically enter the last run command.
    If you want to remove a spacer, treat it like any other icon in the Dock. Either drag it off and let go to get a nice puff of smoke, or right-click on it and choose "Remove from Dock".  And, of course, you can drag spacers throughout the Dock line to separate groups of apps.
    Add a Recent Applications Stack
    You can add a Recent Applications stack to the Dock. To do so, open Terminal and type this command:
    defaults write com.apple.dock persistent-others -array-add '{ "tile-data" = { "list-type" = 1; }; "tile-type" = "recents-tile"; }'
    After that, type killall Dock in the Terminal to restart the Dock and see your new folder. This is a great little Dock icon for using an app you used recently but is not generally held in your Dock.
    Enjoy!

  • Hide labels / titles on the dock

    Working w/ Lion 10.7.3
    I would like to hide the labels/titles that appear above the dock icons when hoovering across the dock.
    Using Xcode, the particular root key that needs manipulating is:
    ~/Library/Preferences/com.apple.dock.plist/
    Then persistent-apps -> Item "0" -> title-data -> file-label  (reset file label as desired or to blank/null)
    A restart is need for the change to take effect.
    However, itermitently the default labels return (somes after 2 restarts and sometimes after 3).
    There must be some script running checks and resetting these values. Does anyone know where the key or plist file is to alter this process? Or any other successful way to work around this without installing a dock utility?
    Thanks,
    David

    While there are many aspects of Firefox that you can modify with style rules and other little modifications, the program icon on the dock (or the equivalent on the Windows Task Bar) cannot easily be changed. What I know is in the following thread, which was for the equivalent (much less pretty) version of the feature on Windows: [https://support.mozilla.org/en-US/questions/969790 How do I turn off the green download indicator that overlays the taskbar icon].

  • Re-naming application

    i recently got cs3 and it was in my apps folder as 'adobe photoshop cs3'
    i changed the name to 'photoshop cs3'
    and now everytime i go to open it, i get the following message
    'this application has been moved from the location which it was orignially installed. some settings may need to be repaired'
    i can click 'cancel' whereby the app still opens or 'fix now' whereby it asks me for my admin password and then opens, but then this isnt fixed becuase when i quit the app and then go to open it again, the same message comes up
    i would like to keep it renamed without getting this message if possible as this renaming moves its place in the apps folder and assists in my navigation of it
    is there any way around this or do i need to rename it back and put the 'adobe' back in front of its name as it was originally?

    I haven't tried this, but I ran across this hint in another context yesterday in these forums, so thought I would pass it along (In the original post, the question was regarding making the application name not show up in the dock on pass-over):
    If you have Dev Tools
    1. Go to /Users/Your Name/Library/Preferences/
    2. Open com.apple.dock.plist (It should open in Property List Editor)
    3. In the Editor disclose Root >> persistent-apps >> 0 >> Tile Data
    4. You'll see the file-label for the first dock item. The value for this property is the name you see in the dock (in my case Firefox. Double click the value (in my case Firefox) to edit it to whatever you want, including leaving it blank.
    5. Rinse and Repeat (steps 3 & 4) for other persistent-app >> (numbers).
    6. Rinse and Repeat for persistant-others
    7. Save/Quit.
    8. Logout and back in (or just quit the dock via Utilities/Activity Monitor).
    If you don't have Dev Tools
    1. Read the Dev Tools instructions (it's help you understand this)
    2. Drag com.apple.dock.plist to TextEdit or an equivalent app.
    3. Find the file-labels key
    4. The string right after the is file label to edit if you want it to be blank the lines should looks something like:
    <key>file-label</key>
    <string></string>
    5. Rinse, lather, repeat.
    6. There is no step six!
    7. Save/Quit.
    8. Logout and back in (or just quit the dock via Utilities/Activity Monitor).
    Haven't tried it, but hope it helps...shout out to the originator of the hint, Ed Parma...

  • Best way to delete a .plist item?

    Hi everyone!
    I have found similar topics on this...but maybe someone can clear it up for me?
    I want to delete an item within a .plist, specifically to remove an item from the Dock by scripting. (See com.apple.dock.plist) If I use System Events I can take one of the "Dictionary" types with a number under persistent-apps and delete the value so basically it works...it's just I leave the empty line with the number there. Using "defaults delete" I can't seem to access this item...maybe it's too deeply nested or I just don't have the syntax right? And I'm not sure about Cocoa? I'm using Applescript Studio...
    I can search using System Events and find all the needed info I'm looking for...I just can't find a simple way to say delete the entry!
    Thanks in advance,
    Reg

    Hi guys!
    Thanks for the reply!
    I have read that post that you suggested and it actually does a good job. I'm just trying to avoid using plist buddy as I don't know for sure if a computer will have it for sure to be able to use its functions...
    I have read the "man defaults" page and I can't seem to get the syntax right! Either that or it's not possible? For example:
    delete domain key
    Removes the default named key from domain.
    But I can't seem to delete anything that's nested beyond that first key? I've read that defaults can't handle deeply nested items well, and in this case I just need to go one more step. (In com.apple.dock.plist "persistent-apps" is the key which contains dictionary entries 0 through however many apps are in your dock. I need to be able to delete one of those entries by scripting somehow.)
    Thanks for the help! Any more ideas?
    Reg

  • Using ARD to send UNIX command to add item to dock

    The ARD 3 Admin Guide, page 132, says the following command sequence will install an item in the dock of the target computer(s):
    4) Type or paste the following UNIX command (replace /PathToApplication with your own path to the desired application, and be sure to include the application file extension, .app):
    defaults write com.apple.dock persistent-apps -array-add '<dict><key>tiledata</
    key><dict><key>file-data</key>
    <dict><key>CFURLString</key><string>/Path_ToApplication
    </string><key>_CFURLStringType</key><integer>0</integer></dict>
    </dict></dict>';killall -HUP Dock
    Use “persistent-others” instead of “persistent-apps” if the item is anything other than an application.
    I am unable to make it work. Could anyone help with the correct syntax or suggestions as to how to perform a remote addition to the target computer dock.

    Do you have JSS? I ask because your script contains the word JAMF allot.. if you do have a jss, is there a reason your trying to use ARD instead of your JSS to run this script?
    When issuing the script from ARD as a send unix command, Have you cosnidered using the option to run command as user "root" ?
    are you sure you want to do this? the script look like it dose more then just disable the isite. And do you know how to undo this if you change your mind?

  • HOW To Remove Dock Spacers Via Termianl Command

    One of the Mac websites offered a way to add spacers to your dock through a command line statement like this:
    defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}'
    Now this worked beautifully on my Mac Pro and I was able to add two spacers to the application side of the dock. On the Mac Pro I can easily drag these spacers to a new position or drag them upward and off (deleting them).
    I have a new MacBook and it should work the same, right? The spacers were created but I can't move them nor drag them off the dock.
    In another post someone suggested deleting or removing your Dock's preferences (which will reset it to the defaults). This file is located at /Users/"Your username"/Library/Preferences/com.apple.Dock.plist.
    But there is NO com.appleDock.plist although there is a comp.apple.dockfixup.plist although I am apprehensive to delete it.
    Does anyone know how to remove a spacer using the Terminal's command line? I can't think of any other way to remove these spacers on the MacBook.

    Ok. I found an answer. The removal of the comp.apple.Dock.plist did return my dock to its original setup. I was not looking in the "Users" directory. I moved it off to my desktop and restarted the MacBook. It came up with the default dock. I'll have to bring back my apps but other then that, it worked.
    Sorry for wasting your time but maybe this answer will help someone in the future.
    Lisa

  • Using 'defaults delete' command with com.apple.dock

    I have been using the "defaults" command in my scripts to add an icon to a user's dock after a new application has been installed. But now, I'm having trouble trying to figure out how to remove an icon from the dock using the command line. For adding an icon, I use:
    defaults write com.apple.dock persistent-apps -array-add '<dict><key>tile-data</key><dict><key>file-data</key><dict>
    <key>_CFURLString</key><string>/Applications/NewApp/Program.app
    </string><key>_CFURLStringType</key><integer>0</integer>
    </dict></dict></dict>'
    (take out all the carriage returns and spaces. I had to put them in here for the line to show properly on the post)
    This works great for adding an icon. But, I cannot seem to write something similar using "defaults delete"
    Any help is appreciated.
    Thanks,
    -Steve
    PowerMac G5   Mac OS X (10.4.7)  

    Hi Steve,
       If it froze then the code isn't robust against problems. In this case the problem is the web. The command has four spaces in a row in two of the matches. However, the browser smashes that down into a single space. I never understood that aspect of HTML but I know about it and should have considered it. I will replace the spaces with capital Xs. If you replace the Xs with regular spaces, the command should work:
    defaults write com.apple.dock persistent-apps "$( defaults read com.apple.dock persistent-apps | awk 'BEGIN{ ARRAY = "("; ELEM = "" } /^XXXX{/{ while ( $0 !~ /^XXXX}/ ) { if ( ELEM == "" ){ ELEM = $0 } else { ELEM = ELEM "\n" $0 } if ( $0 ~ "_CFURLString\"" && $0 !~ /zzzz/ ){ FOUND = "true" } getline } ELEM = ELEM "\n" $0; if ( FOUND == "true" ){ ARRAY = ARRAY "\n" ELEM }; FOUND = "false"; ELEM = "" } END{ sub( /,[^\n]*$/, "", ARRAY); print ARRAY; print }' )"
    In some sense that is poor coding but in the default syntax of the "defaults" command, the only way to determine depth is by how far something is indented. It would have been far more robust to actually count the number of opening parentheses and keep track of the depth but that would have been more complex to code. If I have time, I'll look into changing that.
       I assume that the reason the command hung is that it went into an infinite loop. I've also added a carat, '^', in front of the first group of four spaces that will keep that from happening. When typed correctly the command works without it but now it will fail without going into an infinite loop.
    Gary
    ~~~~
       United Nations, New York, December 25. The peace and joy of the Christmas season was marred by a proclamation of a general strike of all the military forces of the world. Panic reigns in the hearts of all the patriots of every persuasion. Meanwhile, fears of universal disaster sank to an all-time low over the world.
          -- Isaac Asimov

  • Adding dock icon _CFURLAliasData

    Hello all,
        We are doing a deployment with a hybrid of two applications.  One is Mac native and the other is a Windows program running inside of VMware Fusion 4 in unity mode.
       We can make a dock icon for the Mac application, no sweat... but what we are still trying to do is add a dock icon for the windows application.
    Background:
    VMware Fusion creates app-bundles for all Windows applications that the VMware tools inside of Windows detects.   It then creates app bundles inside the ".vmwarevm" package directory that has a mac native program called "vmware-docker".   The Info.plist file in the app bundle contains the path to the Windows executable application as seen inside the VM and the ".vmwarevm" package's full system path.  This vmware-docker app knows if the app is running inside windows and makes the icon appear in the dock when unity mode is enabled.  It also allows you to launch the windows program from that dock icon and resume/restart the Windows vm if need be.
    Problem:
    Now, I can manually drag that icon to the dock and it works perfectly.
    If however, I move the location of that vmware-docker app bundle because of difference on a different machine it understandably breaks.  Normally MacOS can figure this out and fix it, but not in this case.
    So if I use a plist editor and fix the path in the _CFURLString variable to point to the correct location and killall the dock, the icon still does not work.
    If I delete the persistent-apps entry for it and generate it from scratch with the _CFURLString to the proper path and _CFURLStringType = 0, I end up with a dock ? icon.   It seems that it only works if I drag it there.
    This simply can't be.  I must be missing somthing...
    When I do drag the icon to the dock, I do notice that my persistent-apps data shows this element with a _CFURLStringType of 15 and a _CFURLAliasData attribute. My thought is that it may have to do with _CFURLAliasData which I can't figure out the format of to reproduce it.   The hex values do seem to contain the path, but there is other stuff inside in a binary format which I have not been able to make sense of.
    Anyone have any ideas where I can look next??
    Thanks!  -Cheers, Peter.

    Even though the '_CFURLString' has the format 'file://localhost/Applications/Calculator.app/', you need provide '/Applications/Calculator.app/'. Then, the OS X will fill up the corresponding '_CFURLAliasData' for you. I tested on 10.8.5 & 10.10, both works fine.
    Hope this is not too late to reply.
    Yang Wan
    From Deepnet Security

Maybe you are looking for

  • Cannot View Doc from Outgoing Payment under Approval Procedure messages

    Hi Experts, Both Originator and the approver cannot view the some of the pending and rejected documents when they are trying to edit the docuemtns from the approval procedures messages and approval decision reports. In effect, the approval cannot app

  • My music synced to icloud but not all of it is showing in my library anymore

    So my computer crashed so I copied my itune library from old hard drive to new on and 50 or 60 % of the music isnt on the new computer.  It seems only items in the cloud is on the new system.  I have double checked librarys - any idea wher it could b

  • Laptop goes back to sleep after closing and opening lid

    When I close the lid to put the computer to sleep and then reopen the lid, the computer comes back on briefly and then goes back to sleep.  It will come back on if I unplug the SafMag.  I've reset the SMC following the on-line instructions; I current

  • Failure [INSTALL_FAILED_INVALID_APK]

    I am using 20100909 build of AIR for Android. Following Developing_AIR_Apps_for_Android.pdf, i managed to go through all the steps and created a simple apk. The emulator is also up and running and I can install Runtime_Emulator_xxxxxx.apk on it. Howe

  • Does TLF support bulleting?

    I have to make a text editor which support arabic, therefore I have to use TLF, but I also need the possibility to use bullets in the text. Does TLF support bulleting? If yes, how can I apply it? If not, when will it support?