Questions tagged [launch-services]

Launch Services is an API used by applications to open other applications or their document files similar to the way that the Finder or the Dock handles them.

Filter by
Sorted by
Tagged with
3
votes
1answer
54 views

launchd: Confusion on semantics of bootstrap and bootout etc. after reading manual pages

I've read the following manual pages on launchd: launchctl, launchd, and launchd.plist. However, nothing is really said in these manual pages regarding what the launchctl boostrap and launchctl ...
0
votes
0answers
25 views

How to list all domains for launchctl on macOS?

I've noticed that launchctl refers to domains, which is a relatively new topic to me, haivng a Windows background. How can I list all user/system domains, so that I've an idea of what to provide to ...
2
votes
1answer
179 views

Why does setting the hard-limit for maxfiles to “unlimited” using `launchctl limit` result in a hard-limit slightly above the soft-limit?

Why does setting the hard-limit for maxfiles to "unlimited" using launchctl limit result in a hard-limit slightly above the soft-limit? By setting the maxfiles limit using launchctl to launchctl ...
0
votes
0answers
29 views

Adding and Deleting LSHandlerURLScheme from com.apple.launchservices.secure.plist is not immediately reflecting in Launch Services database

I am exposing an Mac OSX application by adding its bundle identifier and urlscheme in com.apple.launchservices.secure.plist. <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//...
2
votes
0answers
39 views

My launchAgent service is launching my application multiple times even if configuration has RunAtLoad true and OnDemand true(default)

My purpose is to launch my application during every login but is being launched multiple times. I copied my below plist file in to /Library/LaunchAgents and gave root ownership and chmod 600 <?...
0
votes
0answers
46 views

“Open with <application>” not working properly

I've noticed that when I try to open a file in any newly added applications, the application opens, but not the file. I've noticed this problem with multiple Wine versions, and also web-based games. ...
0
votes
1answer
82 views

After rebuilding LaunchServices com.apple.launchservices.secure.plist remains unchanged. Why?

various quirks and derailments of LaunchServices have already been plentifully discussed here and elsewhere… I have recently excluded my external backup drive from Spotlight search and all seems to be ...
2
votes
1answer
1k views

mds and lsd going crazy

I have noticed big peaks of activity of processes: mds mds_stores lsd mdworker (multiple processes) The console loops over two messages from mds: LaunchServices: Database mapping failed with result ...
4
votes
2answers
263 views

Anyway to obtain list of Application that can open a file via Terminal?

In the finder you can control click on a document to get the contextual menu, this has 'open with..' with a submenu of all apps that can open that document. Is there a way to get this list via ...
2
votes
1answer
546 views

Shove installed a launch daemon or agent popup window, what is it?

Please check the following screenshot: Today, I suddenly have this popup window warning. I have no idea what it is. Basically I have three questions. (1) Is this BlockBlock app warning? I have no ...
2
votes
0answers
352 views

Preferred way to set default application by content/MIME type from the command line [closed]

Per https://apple.stackexchange.com/a/9883/206073 , default file opening by content type should be set via LSHandlers -> LSHandlerContentType in com.apple.LaunchServices/com.apple.launchservices....
4
votes
1answer
1k views

Huge TM backups - LaunchServices csstore file too big?

For years, a typical TM backup for me is around 200MB. For the last week or two, it's grown to about 1.2GB even if I haven't been using the machine. I finally dug into why using tmutil compare and ...
2
votes
1answer
643 views

Unable to open CSV file

I have a reasonably sized CSV file (40 Megabytes). I know that some apps won't work with certain encodings, and that they will throw error if the encoding isn't ASCII. But its alarming that even ...
4
votes
1answer
248 views

How to 'unregister' a file type / MIME with launch services

I'm working on a document based application in Cocoa, the file is a bundle type (a folder which the Finder shows as a single file much like an application.) I had everything working perfectly but ...
1
vote
3answers
523 views

Find specific apps by name, getting their version, via command line

For a support information gathering tool, I like to be able to look up several apps by name (or rather by their bundle ID) and fetch their versions. I don't like to use the find command for this as ...
1
vote
1answer
51 views

How do I clear the application used to open a file, i.e. set it to none

When you double click a file the finder will select an application to open it with. What it's going to do can be viewed in the file's info panel. You can change it there too. Viewing some files ...
0
votes
1answer
60 views

How to make .docx files open in Pages by default

Is there a way to make .docx (Word) files open in Pages by default? How do I do it?
1
vote
1answer
143 views

Unknown event opening Skype periodically

Recently Skype has been opening itself or placing itself into focus, regardless of what app is running or on focus. This happens every half an hour to hourly. It's has gotten really annoying, and I ...
2
votes
1answer
86 views

How to debug .app that only successfully launches from Terminal?

Recently, my Dropbox.app stopped launching correctly. If I double-click on the app or try to launch via spotlight, the app just silently dies within a second. I see it show up in Activity Monitor, but ...
2
votes
2answers
80 views

Launch different apps based on file name (other than the extension)?

I'd like to have different apps handle .jpg files based on a naming convention I'll use for the .jpg files. Specifically most will go to Xee, but ones containing thumb should instead cause VLC to be ...
4
votes
1answer
275 views

What are the services Apple's Firewall considers essential?

I'm trying to determine what Apple's Firewall considers essential services. Apple's Firewall has the following settings available: A search of Apple's site does not reveal a support document on the ...
4
votes
1answer
2k views

Accidentally unloaded all launchctl daemons and now can't boot [duplicate]

While trying to set up some services (OS X 10.10 Yosemite), I accidentally did a sudo launchctl unload -w /System/Library/LaunchDaemons/ and the screen was frozen immediately. Now my Mac doesn't boot ...
1
vote
0answers
2k views

How to run an application as a system service?

I'd like to be able to run Plex media server in the background even when not logged on. This is something I could easily setup in Windows but I can't figure out if this is possible in OSX.
0
votes
1answer
522 views

Settings for CalendarAgent, Mingler and iCalExternalSync services

I have the dreaded issue with recurring sync service processes wreaking havoc on my MacBook Pro with O S X 10.9 Mavericks and stealing my CPU cycles for no apparent good reason. Usually with a 3 month ...
1
vote
1answer
100 views

Viewing/Changing App paths used by `open -a foo.app …`

When using open -a iTerm.app SOMEPATH from a shell-script or Emacs eshell command, it appears to launch a different instance of iTerm than the one in /Applications/iTerm.app that I'd expect. ...
3
votes
3answers
904 views

My macbook thinks .as files are zip files (and they won't open in XCode)

I've got some old .as files from a project I was working on on a different mac a long time ago. I was trying to open one of them just to try and remember something. But for some reason my mac thinks ...
90
votes
10answers
79k views

Replace Text Edit as the default text editor

I've seen questions like this which don't quite solve my problem. I'd like to make Sublime Text 3 the default file viewer/editor for all files that currently use textedit. Most of these files can be ...
2
votes
1answer
199 views

Keynote 6 Hijacking Launch Services?

I find Keynote 6 in Mavericks to be both a step backwards and a step forwards from Keynote 5. It has some neat new transitions and all, but the iOS-ification (simplification) of the interface, as well ...
1
vote
0answers
74 views

How can I prevent “Open With…” from accessing external drives?

Frequently, when I try to open the (10.9) Finder's "Open With..." menu, I experience a delay that appears to be due to connected FireWire drives. This delay is very long when the drives need to spin ...
6
votes
3answers
14k views

What does lsboxd process do on os x?

My firewall asked me for a connection from lsboxd (module com.apple.ls.boxd, ) to one another computer in my network to the port tcp 548. What does it do? I found that it is a part of sandbox ...
0
votes
2answers
225 views

Any way to “right-click->open” application using application launcher or AppleScript?

I'm an avid launch service (Quicksilver/Launchbar) user, and have been frequently stymied by Gatekeeper… The default "Open" actions behave like double-clicking an application package, which is ...
2
votes
1answer
127 views

Quarantine alert for Skim

I'm on Mountain Lion. Every time I double-click on a pdfd (pdf bundle) document, I get the alert saying that I'm opening Skim for the first time (which is, of course, false). I've completely disabled ...
6
votes
1answer
10k views

Why is a command line change to ~/Library/Preferences/com.apple.LaunchServices.plist not effective immediately?

When the Info window of Finder is used to associate files of a particular type with an application: the preference is effective immediately. When Terminal is used to make a comparable addition to ~...
8
votes
4answers
6k views

Programmatically/Script-atically changing the default Open-With setting

Is there a way to change what app opens a file type programmatically/with a script? Basically, sometimes I'm working on a web site, and I want to set all web files to open with a text editor (*.php, *...