Questions tagged [plist]
A structured text file containing XML formatted properties. It also can be encoded as a binary-format file.
351
questions
2
votes
0
answers
56
views
Launchctl plist with StartCalendarInterval not executing
I have a plist which runs a script and if I launch it using StartInterval it runs the script but if I use StartCalendarInterval it doesn't run the script.
Further details are:
The plist is below and ...
0
votes
1
answer
128
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 ...
0
votes
1
answer
23
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 ...
1
vote
1
answer
92
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 ...
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) ...
0
votes
0
answers
56
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, ...
0
votes
1
answer
51
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 ...
0
votes
0
answers
40
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 ...
-1
votes
1
answer
44
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 ...
0
votes
2
answers
154
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 ...
1
vote
0
answers
70
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:
>...
3
votes
1
answer
272
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, ...
0
votes
0
answers
29
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/...
2
votes
1
answer
162
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 ...
0
votes
1
answer
579
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 ...