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
0 answers
20 views

Is there a way to refresh/regenerate AirDrop random hash keys present in the Preferences file com.apple.sharingd.plist?

Is there a way to refresh/regenerate AirDrop (are them the same/shared with the Bluetooth service?) random hash keys present in the Preferences file: com.apple.sharingd.plist? /Users/userMe/Library/...
nostromo's user avatar
1 vote
1 answer
62 views

Can't disable Macbook Pro M1 Trackpad Force click by editing .GlobalPreferences.plist

I'm learning how to make a dotfiles backup/restore system for my Macbook Pro M1 (on Monterey 12.7). I was trying to run some: defaults write commands to see how it will affect the OS. Some of the ...
m1do's user avatar
  • 11
0 votes
1 answer
101 views

MacOS: How can I unlock a system plist file to edit? [trying to get rid of a stray Netskope VPN entry]

I'm trying to get rid of a stray Netskope Client (NSClient1) VPN entry that wouldn't go away. I found its traces only in /Library/Preferences/com.apple.networkextension.plist - this is the system's ...
zaam's user avatar
  • 121
2 votes
1 answer
212 views

Where does Pages store its list of recently opened documents?

I'm currently creating a raycast extension for quickly opening recently opened Pages documents. Now, I have to find a way to access the documents and their pathnames. I tried following this answer and ...
Justiniscoding's user avatar
0 votes
0 answers
22 views

Automatically add additional file name extensions into plist for Emacs?

My Emacs is regularly updated by Homebrew along with other apps. How do I automatically add Markdown file name extension to its plist file (/Applications/Emacs.app/Contents/Info.plist) so Emacs appear ...
Meng Lu's user avatar
  • 231
2 votes
2 answers
157 views

MacOS system properties reference (mentioned in .plist files)

Is there a reference of MacOS system properties that we can change through Intune policies? For example, minimum Password length requirement, password lifetime, etc. I wonder what other system ...
Papa Smurf's user avatar
0 votes
0 answers
12 views

Having trouble getting defaults write to output bools instead of strings

We are trying to programmatically update user's pbs.plist file. We took our desired command from plistwatch. However, running the command is generating output into the plist as strings rather than ...
mrnutcracker's user avatar
0 votes
1 answer
99 views

How to refresh plist

If I make a change to a plist file, how can I subsequently force a refresh so that it is reflected? Do I need to logout and log back in, or can I run a command?
John Doe's user avatar
0 votes
0 answers
68 views

launchctl agent not starting jobs that involve external volumes [duplicate]

I am new to lanuchctl. On my Mac running macos-ventura, I have created several plists that all load fine but will not run (neither by launchctl start nor by specifying RunAtLoad in the plist. (Thanks ...
Dennis 's user avatar
  • 115
0 votes
0 answers
20 views

Is iOS' Info.plist in the application's local sandbox?

I was wondering whether other (malicious) applications can access it, or that it is protected from accessing it by other apps.
user avatar
1 vote
0 answers
33 views

Help troubleshooting pbcopy.plist: Trying to copy contents to clipboard

I'm trying to add a command to copy content to MacBook Pro M1 Max Ventura 13.4 clipboard from a remote server. To test it on localhost, I setup the plist file like so: launchctl load /Users/jerba/...
maindoor's user avatar
0 votes
0 answers
53 views

Can't change system limit with launchctl anymore [duplicate]

I have a launchctl service <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/...
daisy's user avatar
  • 945
0 votes
1 answer
163 views

What went wrong with my launchd plist?

I set up a launchd plist to run a shell script every morning at 8 AM (see Is there an easy way to automatically schedule a move of files matching a certain pattern from a user directory to a USB drive?...
hbquikcomjamesl's user avatar
0 votes
0 answers
132 views

Monitoring plist changes and generating `PlistBuddy` commands on macOS

I am seeking a tool or method to monitor plist changes on macOS and generate the corresponding PlistBuddy commands when preferences are changed in the system or within applications. I have decided to ...
8ta4's user avatar
  • 21
0 votes
1 answer
55 views

Is it possible to set the click force higher than system settings allows?

Is it possible to edit whatever plist contains magic trackpad preferences (MacBook Pro 2023) on Ventura to increase the force required for regular click beyond what the "slider" in system ...
Dr-McGillicuddy's user avatar
2 votes
2 answers
193 views

Add keywords to an app file

Some built-in Mac apps have keywords attached to them, to allow for easier searching in Spotlight: How would I add these keywords to a third-party app? For example, adding the keyword "Chat"...
ma1234's user avatar
  • 157
0 votes
0 answers
61 views

Cannot drag and drop nor hover, on the whole system, when Razer mouse is plugged in

I have only been able to identify that it happens when that mouse is plugged in because, with any other mouse, it doesn't happen. Sporadically it fixes itself but I have not been able to figure out ...
s1ck-b0y's user avatar
0 votes
0 answers
20 views

Can I set keyboard shortcuts to a single keystroke in app preferences plists?

I would like to set my Mail keyboard shortcuts to single keystroke shortcuts, like how they are in Gmail. For example, I want to set the Archive tool to just E like in Gmail, but in later macOS ...
Leejordan's user avatar
1 vote
0 answers
106 views

Unable to pick settings in us.zoom.config.plist

I want to configure Zoom’s setting by pushing the plist file to the device from MDM. After pushing the customized us.zoom.config.plist to my macOS device through MDM, I am able to find the plist file ...
angelokh's user avatar
0 votes
0 answers
329 views

How to Prevent Uninstalling Chrome Extension on macOS

There is an extension that I want to make harder to delete or disable on Chrome, how can I go about doing this? I have tried to edit the ExtensionInstallForcelist policy using: defaults write com....
Peter Nguyen's user avatar
1 vote
0 answers
123 views

Update Microsoft Edge policy without adding management

My workplace internally manages our chrome installation. We have an internal extension store which we're able to install extensions from. This internal extension store is enabled in chrome via the ...
ElFik's user avatar
  • 111
1 vote
3 answers
429 views

How to parse values from macOS extended file attributes?

If you download a file from the internet using Safari, some extended attributes are added to the downloaded file, among which com.apple.metadata:kMDItemWhereFroms which contains the original URL of ...
ccpizza's user avatar
  • 2,905
0 votes
2 answers
1k views

Set environment variable for the whole GUI session (Aka without using `~/.zshenv`)

(EDIT OF 06/02/2023 : Previous title was Variables set using launchctl setenv aren't part of environment in Mac OS 12 ) I'm a daily Linux user and decided to try Mac recently. I have a Macbook pro 13&...
binarym's user avatar
  • 101
0 votes
0 answers
335 views

Bootstrap failed: 134: Service cannot load in requested session (macOs Ventura 13.0)

Trying to run this command sudo launchctl bootstrap user/501 ~/Library/LaunchAgents/io.mutagen.mutagen.plist and getting this error /Users/simanta/Library/LaunchAgents/io.mutagen.mutagen.plist: ...
psimanta's user avatar
0 votes
0 answers
224 views

Problem with Xbox One controller on M1 in Grid Autosport

I have issue with my Xbox wireless controller. First at all Grid Autosport didn't see my controller. I found solution on the Internet. I downloaded .plist file and moved it to InputDevices folder. The ...
TNSGXhosts's user avatar
1 vote
1 answer
341 views

Launchctl load -w generate Service cannot load in requested session

I ran the following command: launchctl load -w /Library/LaunchAgents/...plist The plist file has the following values: <key>KeepAlive</key> <true/> <key>...
Marisol Gonzalez's user avatar
2 votes
0 answers
363 views

Configure LDAP through command line (NOT Directory Utility) on Ventura and Monterey

I can configure Directory Utility to make Mac machines (Monterey and above) authenticate users through my OpenLDAP (Ubuntu-based) server and everything works perfectly fine. But I need to do it ...
Roozbeh's user avatar
  • 41
0 votes
1 answer
202 views

How can I get back menu bar icon of an agent app?

I use Clipy.app and it's an "agent app", which means it runs in the background and doesn't appear in the Dock. By default, it shows the app icon on the top right of the menu bar of Mac. ...
Ye Shiqing's user avatar
5 votes
1 answer
217 views

Custom macOS application bundle requires Rosetta even through it shouldn't

Since there is currently no DrJava application bundle for macOS, I thought I could be the one to make it because I want to use it anyway. From just searching on the internet I made the following ...
octagonalhuman's user avatar
0 votes
0 answers
21 views

Launchd script that edits its own schedule not working

I have 2 launchd plists that are basically entirely identical, save for the <StartInterval> settings. Both plists simply launch a shell script and redirects both stdout and stderr to files for ...
DennisKRQ's user avatar
  • 101
1 vote
1 answer
62 views

Write plist defaults value inside a named profile

How do I write a value inside a named profile, like so; defaults write com.apple.Terminal "'Window Settings'.Basic.shellExitAction" -int 1 Obviously this doesn't work and also tried ...
Fëanorson's user avatar
2 votes
0 answers
400 views

Cannot get launchctl to run python script

I wrote a basic python web scraping program and am trying to get it to run automatically at 4 am every day but am having no luck. The .plist file and python code are as follows: .plist: <?xml ...
sboy2's user avatar
  • 21
1 vote
0 answers
140 views

Plistbuddy should not convert date format

in the /Library/Preferences/com.apple.TimeMachine.plist the date format of the last backup date is in the format yyyy-mm-ddThh:mm:ssZ (i.e. 2022-10-31T08:43:45Z) However, when I read this date with ...
Valentin's user avatar
3 votes
0 answers
174 views

Why does defaults only read from files with certain extended attributes?

It seems that defaults read only works on property list files in certain folders (e.g. Desktop, Downloads) when the extended attribute com.apple.macl contains a specific value otherwise it reports ...
Stefan Schmidt's user avatar
0 votes
1 answer
269 views

How to change a system startup daemon into a user launch agent

I'm using The Pritunl VPN software for one of my Mac's user accounts. The software installer creates a system LaunchDaemon found under /Library/LaunchDaemons called com.pritunl.service.plist ...
Bismal's user avatar
  • 1
2 votes
0 answers
620 views

How to run Plex Media Server at Startup With No Users Logged In

I'm trying to get Plex Media Server (PMS) to launch at boot time even if no users are logged in. I'm using Lingon to generate the plist file which ends up here: /Library/launchdaemons Trouble is, it ...
Buadhai's user avatar
  • 429
0 votes
1 answer
745 views

MacOS - Scheduled Launch Daemon Not Running

I'm creating a launch daemon on my MacBook (with Monterrey installed) to bring back the battery percentage to the lock screen. I was able to craft the following command and run it in the terminal ...
The-Coder-Who-Knew-Too-Little's user avatar
2 votes
1 answer
279 views

Hidden unlisted Voice Control commands

Based on the answer of this question, we can see that the Voice Control feature of MacOS (and probably the one in iOS too) offers unlisted built-in voice commands. For example, the "Control Click&...
Cocktail's user avatar
  • 151
1 vote
0 answers
187 views

Issues with Plist Daemon not running on start-up or for other users

wondering if any of you could kindly provide some insight. I'm writing some scripts in order to automate the connection to VLC which is being hosted by one of our servers this is so that our customer ...
JYent's user avatar
  • 11
3 votes
0 answers
501 views

Force reset system preferences cache

I'm trying to enable/disable time announcement feature that's present in Dock & Menu Bar > Clock > Announce the time with a shell script. When I read the plist file, I can see that it's set ...
abdusco's user avatar
  • 131
0 votes
0 answers
188 views

MacOS: Chrome- Can't edit UserDataDir policy on local home computer

I am trying to edit some Chrome policies on my own Mac (non organization) which I have admin access to. For example, the 'UserDataDir' policy (https://chromeenterprise.google/policies/?policy=...
GodzFire's user avatar
0 votes
0 answers
886 views

Is there a way to adjust the speed of the slideshow screensavers in macOS Big Sur and above?

I find the slideshow speed too fast and would prefer a 15-30 second duration. I'm looking for a solution for Monterey in particular but I think this applies to Big Sur as well, and maybe Ventura and ...
RusticChevalier's user avatar
0 votes
1 answer
280 views

Running apple script trough launchctl not working BigSur

I would like to run a short testing script in the background via launchctl that sends a notification every 10 seconds. What I did so far: I created a plist file named test.plist located in /Library/...
Pa Dalton's user avatar
1 vote
0 answers
73 views

launchd seemingly ignores SockNodeName

I want to bind a launchd service so that it's accessible only to the machine where the service is running via socket activation; no external network access. I have a .plist in ~/Library/LaunchAgents ...
sbaildon's user avatar
  • 111
0 votes
0 answers
46 views

Where are the overscan and underscan values stored in MacOS Monterey [duplicate]

The overscan / underscan values for external displays have moved in MacOS Monterey (potentially earlier). They used to be editable in /var/db/.com.apple.iokit.graphics. As mentioned in this question (...
codecowboy's user avatar
  • 3,242
0 votes
0 answers
150 views

Why are my LaunchDaemons disappearing after reboot in Mac OS Catalina?

I've got a group of launchds which I've been using across a dozen OS versions in Mac. These do various things (such as shut off TimeMachine for parts of the day when the system is most heavily used, ...
Frank Smith's user avatar
1 vote
0 answers
306 views

TextInputSwitcher gets killed frequently

I have been using Ctrl + Space to switch input methods recently. Sometimes, I need to press Ctrl + Space twice to trigger the switch. I found that this process: TextInputSwitcher is responsible for ...
YQ Pan's user avatar
  • 11
1 vote
0 answers
338 views

Show sound input settings by default in macOS Control Center

On macOS, it's possible to modify sound settings from within control center (icon in menubar). By default, when clicking on sound settings in Control Center, only the audio output is configurable. An ...
johndbritton's user avatar
3 votes
2 answers
553 views

Is there a way to include both single and double quotes in a value to `defaults write` command?

Let's assume I want to add this string to a preference domain: a'b"c Can I accomplish that with the defaults command? These won't work (shell waits for further input): defaults write testdomain ...
Thomas Tempelmann's user avatar
0 votes
0 answers
1k views

How do I write to a plist with defaults?

I've been googling around, reading documentation, but for the love of me cannot really figure out how to write to plist files on Catalina using defaults. I can easily do these changes: defaults write ...
mariano-daniel's user avatar

1
2 3 4 5
7