Re: launchctl and TextEdit

Nathan Sims <[email protected]>
Newsgroups gmane.comp.macosx.admin
Message-ID <[email protected]>
I found it! It seems the user had been playing around, created a com.apple.TextEdit.plist in their own ~/Library/LaunchAgents folder, set it to autolaunch, and then deleted the plist file. On this suspicion I went back in TimeMachine and found the plist file and used it with launchctl to unload it.

Thanks for all the suggestions!


On Apr 5, 2011, at 12:14 PM, Urban, Benjamin Mark wrote:

> It does not have to be named com.apple.TextEdit.plist.  Try searching for any reference to TextEdit in those locations.
> 
> launchctl expects the path to the plist file, not the application identifier or process ID.  Good luck.
> 
> On Apr 5, 2011, at 1:24 PM, Nathan Sims wrote:
> 
>> One of our users (OSX 10.6.7) has a problem with TextEdit. Somehow it has been set to be auto-launched by launchctl, and if TextEdit is quit, it is relaunched again. Using launchctl I can't seem to unload it.
>> 
>> If I do a 'launchctl list', I do see it:
>> 
>> 197	-	com.apple.TextEdit
>> 
>> But if I do a 'launchctl remove 197', I get:
>> launchctl remove error: No such process
>> 
>> If I do a 'launchctl unload com.apple.TextEdit', I get:
>> launchctl: Couldn't stat("com.apple.TextEdit"): No such file or directory
>> nothing found to unload
>> 
>> I've looked in /Library/LaunchAgents, /Library/LaunchDaemons, the user's ~/Library/LaunchAgents and ~/Library/LaunchDaemons, but there is no rogue com.apple.TextEdit.plist file anywhere.
>> 
>> How can I accomplish this?
>> Thanks
>> 
>> _______________________________________________
>> MacOSX-admin mailing list
>> [email protected]
>> http://www.omnigroup.com/mailman/listinfo/macosx-admin
> 
> _______________________________________________
> MacOSX-admin mailing list
> [email protected]
> http://www.omnigroup.com/mailman/listinfo/macosx-admin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.