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
0
votes
1answer
33 views

Script to run Adobe Update Remote Manager as Launch Daemon at Boot without MDM

Scenario: I need to figure out how to run the /usr/local/bin/RemoteUpdateManager at DeepFreeze maintenance cycle. During this maintenance cycle, the computers will restart to the login screen and ...
0
votes
0answers
27 views

launchd simple recursive program to retrieve email with getmail

I adapted the following plist as <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist ...
1
vote
0answers
14 views

disabling (unloading) a launchd job only after it finishes

I have some job that runs in the background I loaded with: launchctl load -w com.xxx.jobname Whenever I want to disable the job I run: launchctl unload -w com.xxx.jobname I noticed that launchctl ...
0
votes
0answers
14 views

Using profile manager to push Google Chrome profile to enforce SafeSearch

I want to use profile manager to push a custom profile out to enforce SafeSearch on chrome I have this so far: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD ...
1
vote
1answer
62 views

com.apple.xyz.plist - replace value - not set key - possbile?

I've looked into using PlistBuddy and plutil but most examples such as: How do I replace a value in an plist array using plutil? seem to suggest setting the value of a key, which is not the case ...
5
votes
0answers
95 views

How to prevent non-root load of a LaunchDaemon

I want to prevent a LaunchDaemon (/Library/LaunchDaemons/com.mycorp.service.plist) from being loaded by a non-root user. Running sudo launchctl load /Library/LaunchDaemons/com.mycorp.service.plist ...
0
votes
1answer
124 views

On a MacBook with macOS Catalina, how do I unlock the Keyboard-en.plist file?

File path: /System/Library/Input Methods/PressAndHold.app/Contents/PlugIns/PAH_Extension.appex/Contents/Resources/Keyboard-en.plist After disabling System Integrity Protection (SIP) in macOS ...
0
votes
1answer
21 views

What is a syncstatus.plist

I have some actions I see on a Mac computer, specifically----> Move "syncstatus.plist". What exactly is syncstatus.plist Is it an iPhone backup or something???
1
vote
0answers
78 views

How do you reset all of Finder's settings?

How do you reset all of the settings related to the Sidebar, general preferences, default folder views, etc? Deleting com.apple.sidebarlists.plist does not seem to reset the sidebar. Also, that file ...
5
votes
2answers
81 views

launchd run command every minute of a specific hour

On man launchd.plist it says (emphasis mine) StartCalendarInterval This optional key causes the job to be started every calendar interval as specified. Missing arguments are considered to be ...
3
votes
1answer
128 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 ...
3
votes
2answers
130 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&...
6
votes
4answers
278 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
178 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
489 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
30 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
427 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
188 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
25 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
33 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
207 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
393 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
262 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
29 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
73 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
261 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
38 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
90 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/...
2
votes
2answers
216 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
1k 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
125 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
11 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
180 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
73 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
753 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
59 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 ...
4
votes
1answer
6k 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
140 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
92 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
1k 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
146 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
119 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
58 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
122 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
241 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
45 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
393 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
553 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
157 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
370 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 ...