Q: PNG file opens in Preview on boot
Whenever I reboot my MacBook Pro (OS X 10.10.4), Preview opens with NextOver@2x.png, a small right arrow graphic (hereafter, "the file"). Preview displays the filename and shows it as "locked". In anticipation of a response in this direction, yes, I've tried all the Command-W, Command-Q, etc. options before rebooting, to no avail.
The file is listed as a login item for my user account in System Preferences Users & Groups, but the minus command (to remove it) isn't available; it's greyed out.
I used a find command (terminal) to locate the file. It's here, supposedly: ./Library/Saved Application State/com.adobe.flashplayer.installmanager.savedState but reports "Permission denied." Neither the file nor the containing directory is visible in the Finder.
I tried to chmod the file but got "Operation not permitted". (I should have all rights.)
I tried to grep the filename, figuring I'd find a plist or other file that I could get at with a text editor but got nothing that I could do anything with, other than, maybe, what I described below:
tim-macbook:/ tim$ grep -i -l -r NextOver@2x.png *
Applications/Adobe Photoshop Lightroom 5.app/Contents/_CodeSignature/CodeResources
grep: Applications/BitTorrent Sync.app/Contents/Frameworks/Sparkle.framework/Resources/fr_CA.lproj: No such file or directory
grep: Applications/BitTorrent Sync.app/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/fr_CA.lproj : No such file or directory
grep: Applications/BitTorrent Sync.app/Contents/Frameworks/Sparkle.framework/Versions/Current/Resources/fr_CA .lproj: No such file or directory
grep: Applications/HandBrake.app/Contents/Frameworks/Sparkle.framework/Resources/fr_C A.lproj: No such file or directory
grep: Applications/HandBrake.app/Contents/Frameworks/Sparkle.framework/Versions/A/Res ources/fr_CA.lproj: No such file or directory
grep: Applications/HandBrake.app/Contents/Frameworks/Sparkle.framework/Versions/Curre nt/Resources/fr_CA.lproj: No such file or directory
I grepped CodeResources for the filename and returned: <key>Resources/NextOver@2x.png</key>
I'm now at the limits of my knowledge, so here are my questions:
1. Is the Adobe PhotoShop Lightroom CodeResources file what's causing the file to open in Preview when I reboot?
2. Should I uninstall Lightroom (which I never use anyway) and is that likely to resolve the issue?
3. Is there somewhere else entirely that I should look?
4. Why did the other files (BitTorrent and HandBrake get hits with grep and what is the signficance then of "No such file or directory"?
Thanks, in advance!!
MacBook Pro (13-inch Late 2011)
Posted on Jul 18, 2015 12:42 PM
Bingo! I unlocked users and groups, then rebooted, unlocked it again, and then removed the two files, rebooted again, and they stayed gone. Preview didn't open with the sticky file.
I had done this previously although possibly not in exactly the necessary order. Thanks, Linc, for your help and persistance. I only switched to Apple after 25 years on the other side a couple of years ago and there's much I still haven't discovered!
Posted on Jul 19, 2015 6:33 PM