Skip to main content

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
1 answer
118 views

LaunchDeamon file doesn't work [duplicate]

I have a .plist file in the LaunchDeamons directory. It's supposed to run a .sh file (which works) which creates a backup of a directory onto an external drive every day at 00:00. I have tried putting ...
QGuy's user avatar
  • 11
0 votes
1 answer
19 views

no sound in plist on mac

I'm not able in my plist of sync to make a beep when finished. this my code of plist <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD ...
Oscardot's user avatar
1 vote
1 answer
78 views

Is there any way to prevent a non-admin user from executing "launchctl unload" on macOS?

I started using a well-known program for self-control on MacOS called Cold Turkey. This program is very powerful, but it's not enough since I can open a Terminal as a non-admin user and execute the ...
Alfred's user avatar
  • 11
2 votes
0 answers
21 views

How to disable Smart Copy/Paste everywhere and/or in an individual app with Terminal? [duplicate]

Does anyone know how I can disable Smart Copy/Paste globally (or within an individual app's settings) using Terminal? I know I can do this in the GUI for apps that support it (e.g. Safari, TextEdit) ...
sobutterysosmooth's user avatar
0 votes
0 answers
40 views

Why failing to unload com.apple.sharingd.plist with launchctl nor with sudo nor with root?

[MacOS Monterey 12.7] sharingd looks related with a weird window flash popup on desktop right after booting. As I researched, this daemon has to do with services that I don't need (AirDrop, Handoff, ...
nostromo's user avatar
  • 197
0 votes
1 answer
48 views

How to make this script successfully trigger at a certain time?

I'm not an AppleScript coder or a technical person by any means but I have done some research and came across a solution for my problem statement. My problem statement How to make a mouse click ...
Anshu Chang's user avatar
0 votes
0 answers
33 views

How to prevent "Background items added" notification when running shell script with launch agent

I created a custom .plist file to run a simple startup.sh script when I log into my user, and added it to my /Library/LaunchAgents directory. Everything works as intended, however, every time my ...
adamanti's user avatar
-1 votes
1 answer
41 views

Zabbix agent daemon does not pickup a PID

(I've searched similar cases and could not find any) I've installed Zabbix agent daemon for MacOS. I'm running it on Catalina. The daemon ran just fine on installation, however after a while it ...
mariano-daniel's user avatar
0 votes
2 answers
150 views

How to Disable IconservicesAgent? I Don't use the GUI

IconservicesAgent is using 80-90% of my CPU, causing my macbook air 2018 to overheat just by turning it on. I don't need this as I hardly use the GUI, I'm on the terminal 95% of the time, don't even ...
Nickotine's user avatar
  • 342
1 vote
0 answers
68 views

My launchd scripts are not run after boot but after login

I want to start a shell script when a MacOS (14.2.1) machine boots. But the scripts is executed only when I log in, not directly after the system has started. I wrote a plist definition like this: >...
Christian Halstrick's user avatar
3 votes
1 answer
247 views

How can I troubleshoot when the locate database isn't built on macOS?

I”m struggling to have a locate database built on my Mac to index all files under /opt. $ locate locate WARNING: The locate database (/var/db/locate.database) does not exist. To create the database, ...
xpt's user avatar
  • 405
0 votes
0 answers
27 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
  • 197
2 votes
1 answer
151 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
  • 31
0 votes
1 answer
515 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
  • 131
2 votes
1 answer
385 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
25 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
  • 253
2 votes
2 answers
305 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
16 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
306 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
  • 147
0 votes
0 answers
87 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
29 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
40 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
1 answer
426 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
1 answer
75 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
257 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
88 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
2 votes
1 answer
155 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
1 vote
0 answers
595 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
166 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
675 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
  • 3,025
1 vote
2 answers
2k 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
  • 111
1 vote
1 answer
393 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
513 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
1 vote
1 answer
277 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
281 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
26 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
65 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
493 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
1 answer
198 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
319 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
397 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
3 votes
0 answers
835 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
  • 499
0 votes
1 answer
974 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
378 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
  • 169
1 vote
0 answers
210 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
648 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
221 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
1k 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 ...
Louie Louie's user avatar
  • 1,422
0 votes
1 answer
371 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
84 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

1
2 3 4 5
8