Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [plist]

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

1
vote
2answers
65 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
14 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
29 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
35 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
48 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/...
1
vote
1answer
34 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
19 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
21 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
72 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
0answers
34 views

Invalid error on custom plist

My question is about a custom plist. I'm trying to load the following plist, but I keep getting the "invalid plist error" on macOS Mojave: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE ...
0
votes
1answer
21 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
26 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
69 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
242 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
33 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
8 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
41 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
44 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
286 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
50 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 ...
1
vote
1answer
2k 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
71 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
53 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
711 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
87 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
59 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
41 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
80 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
153 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 ...
0
votes
0answers
22 views

I want to start and stop a network service based on whether the host is receiving udp packets on a particular port

I'm vaguely familiar with launchd and plist files. I've used these (in the distant past) similarly to cron scripts to run stuff periodically. But I understand they can also do "on demand" things. I ...
1
vote
0answers
50 views

Applescript > Passing variable

I using different script, on script is getting some infos and variables, e.g name , phone number etc... which I then use with different script. For now, I'm saving to a plist file and get the ...
1
vote
0answers
41 views

Map MIME type to extension application-agnostically via command-line

I am aware that one can view the system's mapping of MIME type to file extension via: defaults read /System/Library/CoreServices/CoreTypes.bundle/Contents/Info.plist MIMETypeToExtensionMap. I am also ...
1
vote
0answers
37 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
270 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
173 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
108 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
244 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
67 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
142 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"?> <!...
1
vote
1answer
2k 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
64 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
182 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
192 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
289 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
70 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
233 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
47 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 ...
3
votes
1answer
2k views

Will deleting/removing some system processes/ .plist files screw up my Mac?

I am thinking of deleting some contents from /usr/libexec/ , I don't use AirPlay nor AirPort so if I delete these two processes will it again screw up my mac the processes are AirPlayXPCHelper and ...
1
vote
1answer
1k views

How to merge two or more Safari Bookmarks.plist files together?

I do not use iCloud to sync my Mac and I have several Safari Bookmarks.plist files that were manually backed up at different times. Thus each contain some of the same items while some contain items ...
1
vote
0answers
105 views

Can I use setpriority instead of nice in a .plist file as nice seems to be deprecated per manual

man 3 nice says that nice is obsoleted by the setpriority call. In one of my plist files I use: <key>Nice</key> <integer>3</integer> How can I replace this to use ...