Questions tagged [plist]

A structured text file containing XML formatted properties. It also can be encoded as a binary-format file.

Filter by
Sorted by
Tagged with
3
votes
1answer
28 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 ...
1
vote
2answers
59 views

How can I use $HOME or ~/ in my log paths of launchd plist to run as LaunchAgent

My plist has below keys: <key>StandardOutPath</key> <string>$HOME/launchd.stdout.log</string> <key>StandardErrorPath</key> <string>$HOME/launchd.stderr.log&...
5
votes
4answers
180 views

How to start an application when a specific disk is mounted

I store all my music on an external drive. I have iTunes set to start when I login. However, iTunes always starts before my encrypted drive has mounted, and so iTunes complains it can't find its ...
0
votes
1answer
61 views

how can I use $HOME, ~ or environment variable in plist file of LaunchDaemons

I want to run a program by use plist, eg <key>Program</key> <string>/the_path_to/startup.sh</string> But the path could be changed in different system, so it would be nice if ...
0
votes
2answers
157 views

How to enable logging for smbd on MacOS Mojave 10.14.5?

I would like to enable logging on my file sharing service. (It's crashing intermittently and I can't figure out why.) When I inspect the plist for the file sharing service smbd on my Mac running ...
0
votes
0answers
29 views

Running System calls from Launchd Daemon

In Mojave, I'm running a script as a daemon to call a program I've written - located in /Library/Daemons - and which runs every 7 mins. The program "my app" accesses local files does system calls to ...
2
votes
1answer
122 views

If we don't add NSPhotoLibraryAddUsageDescription for saving images to Photo library in our app, would it be rejected during App Store review?

I am trying to save photos to Photo Library from my app. While saving I am checking whether user has given permission to do so, otherwise I am asking the user to go to Settings and turn on the ...
1
vote
2answers
142 views

How to set the python environment for LaunchDaemons

I have installed Python 3 via Homebrew, on my Mojave system, and have it symlinked to /usr/local/bin/python. I have a LaunchDaemon plist as follows: <?xml version="1.0" encoding="UTF-8"?> <!...
0
votes
1answer
20 views

AppleScript : add to plist instead of replacing

I have a script which add the current time to a plist. Basically it's help me taking track of my overtime. That's work fine if I run it once but if I run it more than once the primary Plist is ...
0
votes
1answer
32 views

adding accents (just acute) to .plist for Cyrillic vowels

I have El Capitan 10.11.6 and I would like to be able to add acute marks above all vowels, lower and upper case. I did this: defaults write -g ApplePressAndHoldEnabled -bool true I could not get ...
1
vote
1answer
140 views

Finder.app won't open after I edited Info.plist

I'm on macOS Mojave 10.14.3. I wanted to remove the Finder.app from the CMD+TAB, so I followed this tutorial and this solution to be able to edit the Info.plist file. The steps I followed were: ...
1
vote
1answer
186 views

launchctl config file location?

I'm trying to configure a NetBoot image so that a script will automatically launch on the target machine after it boots from the image I've been using this article as a reference: https://medium.com/...
2
votes
1answer
124 views

How can I script the keyboard backlight settings?

I'm looking to change settings with a script, but I can't find where the plist data for the keyboard backlight settings is stored. For example, in the System Preferences, I'd like to modify the ...
1
vote
1answer
24 views

Do macOS default preferences ever have breaking changes (the ones we edit with defaults command)?

I have a script that uses the defaults command to set a bunch of preferences. I am curious, do these preferences ever have breaking changes (f.e. when I update macOS), so that I need to modify my ...
2
votes
1answer
45 views

SU* keys in plist files

I've noticed that most applications that I use have common keys in their plist files that start with SU. Examples are: SUHasLaunchedBefore SULastCheckTime SUScheduledCheckInterval What does SU stand ...
0
votes
0answers
156 views

One job plist on Launchctl stop working with error: Service could not initialize: 17G5019: xpcproxy + 11472 [1524]

I've a user plist job working on my iMac for latest month, and work fine. But today stop of work. ~/Library/LaunchAgents/multimedia_search.plist <?xml version="1.0" encoding="UTF-8"?> <!...
0
votes
1answer
30 views

Launch homebrew.mxcl.dnsmasq when NIC becomes available?

I am running homebrew dnsmasq on my Mac. Dsmasq is configured to only respond to traffic on one NIC (en7). en7 is a usb-c ethernet adapter. When this adapter is not active (not plugged in, switch ...
1
vote
1answer
58 views

Triggering Launch Agents for path in sandboxed app using WatchPaths does not work

I am trying to create a user LaunchAgents that will trigger a script when a path managed by a sandbox app will change (in my case, when /Library/Containers/com.omnigroup.OmniFocus3/Data/Library/...
1
vote
2answers
150 views

How To Search For Property List Files That Contain A String On Mac

Is there a way to search for all property list files that contain a certain string? Spotlight doesn't search inside .plist files. Yes, I have 'System Files Are Included'. For example, say a plist (...
1
vote
0answers
840 views

Auto-Accept Facetime Calls in Mojave

As in this previous question https://stackoverflow.com/questions/49120467/facetime-autoacceptinvites I want to use my mac to look at the state of my home from time to time (particularly to see ...
0
votes
0answers
77 views

Verify and load mDNSResponder plist file

As mentioned here, in my macbook only chrome is able to resolve any given host but any other application is not able to do it. As mentioned in the answer, I tried to edit the file and unload/load the ...
0
votes
0answers
9 views

How to convert CSV to Mac Keyboard replacements plist?

I've exported snippets of aText to CSV and want to import them as keyboard replacement snippets in mac. Is there any tool or script which: Can do this coversion one off? I can do the import manually. ...
2
votes
0answers
68 views

Which iOS plist contains activation information for iMessage and FaceTime?

I'm looking for which plist or sqlite file iOS 12.1 uses to determine which mobile device number to (attempt to) activate with iMessage and Facetime. I have an iPhone which is trying to activate ...
3
votes
1answer
62 views

How can I make use of info from a `file-bookmark` entry in a plist?

I am trying to create a shell script, or less ideally some AppleScript, that interacts with the folders listed in the Finder’s Go → Recent Folders The contents of this list are stored as an array ...
1
vote
1answer
474 views

Mojave plist error: Path had bad ownership/permissions

I'm trying to mount a fileshare at boot. I copied the plist from a 2012 mini (where it ran fine) to a 2018 mini, both running Mojave. On the new mini I'm getting the error: Path had bad ownership/...
0
votes
1answer
56 views

airport -s -x returns truncated output

I am the author of wifi-wand, a Ruby command line utility that can be used as a simple way to manage the Mac's WiFi (https://github.com/keithrbennett/wifiwand) without having to learn all the ...
3
votes
1answer
4k views

Where is macOS 10.14 Mojave com.apple.Safari.plist ResponsiveDesignCustomPresetConfigurations?

Does anyone know where to find the equivalent of ~/Library/Preferences/com.apple.Safari.plist ResponsiveDesignCustomPresetConfigurations on macOS Mojave? I have the same problem as this post, but can'...
2
votes
0answers
128 views

MacBook trackpad unresponsive, not a hardware issue, plist problem?

On a macbook (unibody late 2008) the trackpad is unresponsive after normal boot. The arrow simply stays in the upper left corner. Adding a cable Apple mouse does not solve the problem. Neither do safe ...
1
vote
1answer
83 views

Want to launch dnsmasq ony when Thunderbolt Ethernet is active

dnsmasq is installed using homebrew. Currently dnsmasq is spamming my system.log with messages like this: Sep 26 18:22:46 Laptop com.apple.xpc.launchd[1] (homebrew.mxcl.dnsmasq[14526]): Service ...
0
votes
1answer
959 views

Is com.apple.madrid.plist a suspicious plist?

I have a Plist called com.apple.madrid.plist in ~/Library/Preferences that was updated just yesterday (not by me) I do not use FaceTime, iMessages. What is it ? I lived in Spain for a while and ...
0
votes
1answer
128 views

Finding Mac mail sounds plist

I have been trying on and off for a fair while to edit the default Mail.app system sounds from their defaults. Ideally I'd like access to all my system sounds eventually, but Mail.app seems like a ...
3
votes
2answers
92 views

Trigger the Creation of a Specific Preference List?

I have the following function: hardware_model () { local hardware_mod hardware_mod=$(defaults read ~/Library/Preferences/com.apple.SystemProfiler.plist 'CPU Names' \ | cut -sd '"' -f 4 \ | ...
2
votes
0answers
51 views

Set folder properties to show extra information

I have seen that for certain folders such as Pictures, Movies, Music, show extra information in more columns when viewed in List View in Finder. For e.g., if I Ctrl click on one of the column names ...
2
votes
1answer
101 views

Cannot load rsync daemon in Sierra. Log shows: “assertion failed: 16G1408: libxpc.dylib”

I'm trying to start rsync --daemon on Sierra (10.12.6), using launchctl. It used to work fine (last time in Mavericks, I think). But now on Sierra, the daemon does not start and grep rsync /var/log/...
1
vote
2answers
195 views

plistbuddy command value from csv, search and insert

I have a plistbuddy command that I need to execute for 100 different users. The value I have to enter for the 100 individual users depends on the hostname. I was thinking I could use a csv that has ...
1
vote
0answers
44 views

Change file association (NOT command I)

I changed the file association for my .dvdmedia files on my Mac to point at Blu-ray Player Pro. As it turns out this was a mistake as it turned all the .dvdmedia files into plain directories. Google ...
0
votes
1answer
328 views

Applescript changing value on plist

I have a script which is passing values to a plist, it's work fine, but I would like to change some of the values without removing everything else. I used to have a script for that but can't found it ...
1
vote
1answer
418 views

Why won't launchctl automatically load my plist entries?

I have put several plist entries in /Library/LaunchDaemons all configured to run at load. However, after booting, none of them load up automatically. Every other script in this directory loads ...
4
votes
2answers
137 views

error code 4960 when saving a .plist

I'm trying to create a .plist file in textwrangler, something I've never done before. I'm using these instructions which tells me to: Save code as com.rTask.plist file under path ~/Library/...
1
vote
1answer
305 views

Launch agent invoking python script returns permission error

I'm trying to use the following .plist to invoke a python script. <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs ...
2
votes
0answers
99 views

Where does Spotlight keeps the excluded folders

Does Spotlight keeps the privacy excluded folders in some special configuration file ? Those folder are configured under system preferences -> spotlight -> privacy I believe it should be ...
0
votes
1answer
219 views

Error related to plist complex key name

I am trying to determine how to resolve an error related to a complex key name in a property list file. The plist file contents are as follows: <?xml version="1.0" encoding="UTF-8"?> <!...
2
votes
1answer
4k views

How do I delete a saved wifi network, when unable to use the Network panel/GUI in System pref?

I need to delete a saved public wifi network, which my computer keeps trying to connect to when I'm at home, but I can't open my Network preferences and do it trough the GUI, due to an error in my ...
4
votes
0answers
76 views

macOS LaunchAgent service runs duplicate processes [closed]

While running my UI application as LaunchAgent I sometimes get dual running processes on the same user instead of one (which is reflected on the screen by duplicated identical windows). I guess this ...
0
votes
2answers
205 views

High Sierra How to See User Library

I cannot save Contacts in High Sierra. I have tried following instructions for deleting the .plist in the User Library, but there is no "Show Library" option within the Finder's View>Show View Options....
1
vote
0answers
261 views

Sockets in *.plist [closed]

My app needs to create a system-wide socket (unique independently of the number of users on the Mac). I'm using a *.plist to this end: <key>Sockets</key> <dict> <key>...
1
vote
1answer
338 views

Time Machine adds a dash and a number to my selected backup volume, resulting in incorrect file path - how to fix?

I'm on MacOS High Sierra Version 10.13.2 and use Time Machine to back up to an external drive through an AirPort Extreme. I've had this setup for years (~5, I think) and backups worked fine until ...
3
votes
1answer
74 views

How to edit the Plist so as to remove all reference to wireless cards and drivers if it involves no risks?

I need to start a new, totally new wireless config. My 17" MBP 4,1(1261) wireless died. Card removed was 3 wire but new one has only 2. ifixit.com says connect black, then blue, and grey does not ...
2
votes
0answers
267 views

Disable Launchd based daemon sudden termination upon shutdown

I'm running my own daemon under macOS Sierra and High-Sierra, and get unexpected behavior upon shutdown. according to the manual of daemon life cycle, it says that ... If the system is being shut ...
1
vote
1answer
53 views

Stopping Dovecot using launchctl

I have Dovecot running as a daemon via a launchd plist. It runs fine but doesn't stop if I run launchctl stop nor if I unload the plist so I end up using doveadm stop. Is there a key or command I add ...