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

Can I add a default setting as part of my Info.plist file for my Java application [closed]

Due to a bug in MacOS Big Sur I need to run the following comand defaults write com.jthink.songkong "AppleWindowTabbingMode" manual for my Java application with bundled version of java Is ...
1
vote
1answer
15 views

How to get an ssh tunnel started every time my Mac boots?

I'm trying to run a script at startup to tunnel to a remote host over a random port. I want to leave a cookie on the remote machine to say which port I chose. Something like this: # to make a record ...
1
vote
0answers
24 views

How can I debug a user LaunchAgent that doesn't seem to start or load with launchctl?

Problem Description Running the following user LaunchAgent does not show a started job, nor does the job log an error or do anything detectable. The Vault commands embedded in the plist file work fine ...
0
votes
1answer
24 views

launchd plist with large StartInterval never runs

I'm trying to run a command once per day like so: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www....
0
votes
0answers
16 views

How to run an AppleScript when Mac starts charging in “AC Power”?

I have an AppleScript that has to run when my Mac switches to AC Power and it has to run at regular intervals till it switches back to Battery Power. I have a sample plist file. <?xml version="...
0
votes
2answers
61 views

Mac daemon not able to run bash script

Originally asked on Stack Overflow, but it may be more suited for here. Wherever it’s answered first, I’ll be sure to update the counterpart question with the same answer. I've already checked this ...
0
votes
0answers
17 views

Add custom URL schemes to existing applications

Before bringing up the technical challenge I'm having, let me tl;dr with what I expect the result to be tl;dr I would like to open both vscode:... and vscode-insiders:... URLs with VSCode Insiders ...
1
vote
0answers
24 views

I have an incomplete physical encrypted iPhone backup that quit halfway through. Can I rebuild it with pieces from a complete backup?

I have an iPhone 6s running iOS 13.5.x, it was in the middle of a physical backup to my MacBook Pro when the iPhone started to bootloop (shortage of memory, Error 14). I have half of a complete backup....
0
votes
0answers
7 views

How to change the input language overlay menu delay time

When pressing the key combination to change the input language on Mac OS 10.15 with the OS configured for 3 or more languages (in my case CTRL+Space), by keeping the CTRL key pressed longer for around ...
0
votes
1answer
17 views

Change default indent size in mail.app

My mail.app seems to default to a barbaric 8-space indent-size. Is there anyway to change this (e.g. is there a plist file somewhere that includes this specification)? Thanks!
3
votes
1answer
32 views

Why I cannot extend value column for plist files?

This is what I see and cannot extend the value column at all. Why is it so? Is it a bug or am I missing something?
2
votes
0answers
85 views

'defaults write com.google.Chrome PasswordManagerEnabled true' has no effect

'defaults write com.google.Chrome PasswordManagerEnabled' has no effect. Neither the contents of /Library/Managed Preferences/com.google.Chrome.plist nor that of /Library/Managed Preferences/<...
1
vote
2answers
78 views

Display Terminal message on login

I want to display something like ### this is a test ### when a new Terminal window is open (and ideally, in a way that can be disabled easily). On Linux this was straightforward; you'd create a script ...
0
votes
0answers
20 views

Custom Settings: disable Siri and Dictation

Using an MDM and creating a Configuration Profile with a custom settings I need to disable Siri and Dictation. I did find (I hope) the correct custom plist: <?xml version="1.0" encoding=&...
1
vote
1answer
28 views

How to identify plist values for iterm preferences

iTerm2 preferences are stored at ~/Library/Preferences/com.googlecode.iterm2.plist. (see also this post for details). I can print its contents using defaults read com.googlecode.iterm2.plist Is there ...
1
vote
1answer
150 views

Delete a specific key value using the defaults delete command line tool

Having the following .plist file: /usr/bin/sudo /usr/bin/defaults read /Library/Preferences/com.apple.systempreferences.plist { DisabledPreferencePanes = ( "com.apple.preference....
0
votes
0answers
30 views

launchd for starting Virtualbox vm, gives exit code 1. What am I doing wrong?

I have the local.UL20.RESTART.plist file in /Library/LaunchDaemons/ It's permissions are owner: root, group: wheel The system does have VirtualBox running Yet, the system, it just responds with the ...
0
votes
0answers
106 views

Create or Edit a new configuration profile .plist using the command line

Take out of the picture MDM or Apple Configurator or any other management software, just for my knowledge and understanding of how to implement a restriction and how to manipulate or create a .plist ...
4
votes
1answer
186 views

macOS - Difference between /Library/Preferences/ & /Library/Managed\ Preferences

Just for my learning and knowledge purpose why some .plist files are saved inside of /Library/Preferences/ and some others are saved inside of /Library/Managed\ Preferences? Basically what is the ...
1
vote
1answer
130 views

how dangerous is it to give zsh full disk access?

I have a shell script that runs a few (Duplicacy) backup commands. It works fine when I manually run the script from terminal (cd to the directory where it is and then ./backup.sh). To make it run ...
2
votes
1answer
89 views

Finding out property list (plist) attributes and/or processes

Apple’s own web page indicates how to Edit property lists in Terminal on Mac. However is there a way to guess/find out an attribute or a process that I would like to modify but I don’t know the ...
0
votes
0answers
38 views

Modifying Smart Mailbox plist file does not take effect

I'm trying to change SyncedSmartMailboxes.plist file in /Users/<my_name>/Library/Mail/V7/MailData so as to use more complex boolean conditions than the ones available in Mail UI. But when I save ...
0
votes
0answers
19 views

Is there a way to prevent Image Capture from rendering thumbnails?

When I connect my iPhone to Image Capture it tries to render thumbnails for as many as it can (of 57 thousand photos/videos). This overloads my Mac's processor and gets the fans whirring really loudly ...
1
vote
2answers
94 views

Editing a system preferences .plist file (not user preferences .plist file)

I'm using an app that has .plist files in the user path ~/Library/Preferences/com.xyz.app.plist and the system path /Library/Preferences/com.xyz.app.plist From the command line I can edit the user ....
0
votes
0answers
7 views

Different dicts for different launchd jobs in the same plist?

I tried to use the following open.close.mail.plist <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www....
0
votes
1answer
54 views

How can I customize the right click menu?

With macOS 10.13.6, I'm trying to change the menu item pointed out by the red arrow. In TextEdit: in Chrome I tried the steps on a post, which is based on the existing services in Shortcuts, while ...
2
votes
2answers
294 views

launchctl plist has a stderr that talks about how getcwd operation not permitted so how do I fix it?

TLDR for those who googled and found this In Catalina, launchd can't read files or run scripts located inside your ~/Documents folder. Just avoid putting your scripts there and rewrite your scripts ...
0
votes
0answers
25 views

How can I remove Today's Date in Notification Center View in macOS Mojave?

I imagine the answer involves defaults write com.apple.notificationcenterui <something>.
4
votes
2answers
685 views

How to change the url of a Chrome app shortcut?

I have 2 Google accounts (personal/work). If I go to the Google Calendar site, on the work account, in Chrome, I can go to ... / More tools / Create shortcut..., which will create a Google Calendar....
0
votes
1answer
46 views

Edit a date value in plist from terminal

I am trying to edit a date value in a plist to todays date. I found a previous question on here relating to it, but i get an error every time. Here is what i am using defaults write com.test.name....
0
votes
0answers
47 views

Silence launchd's “Service only ran for [x] seconds. Pushing respawn out by [x] seconds.” log message

TL;DR: I have a LaunchAgent that is triggered with WatchPaths that runs a very simple/quick script and exits cleanly. But it ends up generating console log such as this: Apr 25 19:30:45 my-clever-...
2
votes
1answer
300 views

Understanding the contents of com.apple.spaces.plist

I'm interested in understanding the contents of com.apple.spaces.plist because I'm trying to develop a solution to the problem of restoring apps to their original Spaces after a restart. Looking at ...
2
votes
0answers
42 views

Is there a way to whitelist a range of IP addresses for parental control?

The IP addresses in /Library/Managed\ Preferences/<user>/com.apple.familcontrols.contentfilter.plist are each listed separately. Is there a way to add a range of addresses? Many companies (...
0
votes
0answers
31 views

Apple Catalina Error in PLIST, plutil -lint says its OKAY

plutil -lint /Library/LaunchDaemons/net.varela.wesley.borg.plist /Library/LaunchDaemons/net.varela.wesley.borg.plist: OK sudo launchctl load -w /Library/LaunchDaemons/net.varela.wesley.borg.plist /...
0
votes
2answers
244 views

Can I handle the Apple Event “open” within a bash shell script using osascript command?

I use a bash script (myJavaBash.sh) within an Application Bundle (myJavaJar.app), that starts "java -jar myJarFile.jar" with additional JVM arguments (which works fine so far). My goal is to pass a ...
1
vote
1answer
260 views

Can’t load plist. Launchctl says “Invalid property list”, tried plutil, SIP, permissions

I want to use the following plist to run a backup script under macos High Sierra. File name: com.pollux.backup.plist Content: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist ...
0
votes
0answers
198 views

Trying to open plist file to read ShadowHashData but keep getting an error (“the domain/default pair… does not exist”)

I am trying to run a command to try and look at a plist file on my computer, so I type this into terminal: cd /Volumes/"Macintosh HD" and then sudo defaults read /var/db/dslocal/nodes/Default/users/...
0
votes
0answers
13 views

Use the defaults command with the read option. What is the difference between with or without .plist extension?

Let's take for example com.apple.dock and com.apple.dock.plist If I execute the following below commands, I do receive the exact output result: defaults read com.apple.dock.plist defaults read com....
2
votes
1answer
186 views

Catalina - find: .: Operation not permitted from launchAgent

I've created a launch agent that uses the find command to look in the downloads folder of a user files_to_remove=(`cd ~/Downloads/ && find . \( -name "*.csv" -or -name "*.pdf" -or -name "*....
2
votes
0answers
99 views

Invalid property list

I'm trying to set up a UPS solution which should shut down my Mac automatically. I've followed these instructions: Protection from power failures! Mac, UPS, NAS & NUT/video. This requires to ...
3
votes
2answers
923 views

How can I edit “/System/Library/LaunchDaemons/com.apple.nfsd.plist” In Catalina?

I need to edit this file to allow Kodi access to my NFS shares. Before Catalina, I was able to go into recovery mode and disable SiP, make the change and re-enable it. I just upgraded to 10.15.3 and ...
1
vote
1answer
75 views

Launchd plist runs everyday instead of only weekends

Scenario: I need to force a reboot as a Launch Daemon at a specific time only on Saturdays and Sundays. Output The reboot command gets launched at the specific time everyday instead only on ...
1
vote
1answer
53 views

Is there a complete list of defaults / plist settings for the dock? [duplicate]

I know that most of the defaults settings for macOS components are probably hidden or undocumented, but I'm curious if there is someone who has compiled a complete list or if there is a way to ...
0
votes
1answer
134 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
29 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
20 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 ...
1
vote
1answer
116 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
138 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
748 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
105 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
2 3 4 5 6