Questions tagged [plist]

Short for Property List: a configuration file format used by Apple Computers in OS X and iOS

Filter by
Sorted by
Tagged with
0 votes
0 answers
38 views

Command to unlock "Locked" files on macOS Sonoma

In the end I manage to delete a .plist file from MacOS Sonoma recovery but when I reboot it keeps appearing again. Why does this happen and how do I solve it to eliminate it permanently? chflags ...
Héctor Gutiérrez's user avatar
0 votes
1 answer
65 views

How to run Homebrew service with flags?

I'm running on macOS Sonoma and trying to run this service called AutoRaise. Someone made a Homebrew package for it here. I installed it using Homebrew with my desired flag, brew install autoraise --...
noobie's user avatar
  • 103
1 vote
0 answers
189 views

"Allow in the Background" Login items OS X Ventura Issue (NOT Notifications related)

Mac OS 13.3.1 I have a relatively simple shell script as a program argument in a LauchAgent plist that i created; it parses, loads and works just fine. The question is, what does toggling the ...
Jr M's user avatar
  • 21
1 vote
0 answers
758 views

How to toggle "Require password after X minutes after sleep or screen saver begins" setting on MacOS 12 using Terminal?

I'd like to change the value of the "Require password after X minutes after sleep or screen saver begins" option on Mac using Terminal. In some older MacOS versions one could do defaults ...
aapzu's user avatar
  • 11
0 votes
1 answer
425 views

Removing LegacySameSiteCookieBehaviorEnabledForDomainList policy from Google Chrome on macOS

I was able to add a policy using, defaults write com.google.Chrome LegacySameSiteCookieBehaviorEnabledForDomainList -array-add "\"[*.]mydomain.com"\" This got reflected correctly on the com.google....
udarakr's user avatar
  • 101
1 vote
1 answer
213 views

What is the proper way of editing com.apple.speech.voice.prefs.plist

I want to edit that file programmatically, to toggle between the Dutch Siri voice and the American Siri voice. I tried doing the following in bash defaults write com.apple.speech.voice.prefs ...
Evert's user avatar
  • 131
3 votes
1 answer
690 views

plutil error 998 when trying to convert binary to XML

EDIT: Clarification. I'd like to read the contents of a .plist file on Windows. I tried with VS Code but it's not ideal and it says "File seems to be binary and cannot be opened as text" so I ...
Emcs's user avatar
  • 31
0 votes
1 answer
1k views

How to reload iterm plist file?

I want to change my iterm background photo in every 10 mins. So I tried to use cmd /usr/libexec/PlistBuddy to change the config file com.googlecode.iterm2.plist. And here is my command: /usr/...
ggeh's user avatar
  • 3
2 votes
1 answer
4k views

Parsing macOS plist values

I have a plist files located under /private/var/db/dslocal/nodes/default/users.Am able to read the values within the plist using plutil . plutil -p /private/var/db/dslocal/nodes/default/users/...
swasti bhushan deb's user avatar
0 votes
1 answer
1k views

plist and status - "127 The specified service did not ship with the operating system"

I'm trying to get a script to run via launchd, but I keep getting a status of 127 after I load it. I've checked ownership, permissions and absolute paths etc of both plist and script. I'm running it ...
James's user avatar
  • 1
2 votes
0 answers
296 views

Extract only the <key> in plist using bash in Mac

I want to extract the key value in Countries in the following plist. For example, I want the output file contains the following keys only: USA ITALY But if I use the following script, It will print ...
Rek's user avatar
  • 21
3 votes
0 answers
2k views

Deleting a Plist Dictionary Item by Title Key from Shell Script

I'm trying to create a shell script that will delete a top-level folder from Safari Bookmarks using Safari's Bookmarks.plist file by folder name. Unfortunately the only method I've found to delete the ...
Christin White's user avatar
3 votes
2 answers
367 views

Is it possible to run two copies of Mac application with different plist files?

I am trying to run two versions of the Messages app on OSX with two different user accounts. I can easily copy/paste the .app file and run the app as two different processes, but since they use the ...
Jason's user avatar
  • 1,833
1 vote
1 answer
375 views

Changing defaults doesn't change setting in system preferences window

I'm trying to enable tap to click from a bash script using: defaults write com.apple.AppleMultitouchTrackpad Clicking -int 1 When I open the Trackpad section on the System Preferences panel, the ...
mignz's user avatar
  • 111
1 vote
1 answer
1k views

how to configure Mac OS X Sierra for syslog or unified log forwarding

I am trying to perform syslog forwarding. But after launching plist like this: launchctl unload/System/Library/LaunchDaemons/com.apple.syslogd.plist I get this error: /System/Library/...
user738597's user avatar
1 vote
1 answer
554 views

Set sip/tel URL/LSHandler back to OS X Mac Continuity/Wifi Calling instead of Skype

I recently installed skype for business and it hijacked my Mac's ability to make calls via my iPhone (Continuity) or Wifi Calling. I wanted to know how to set it back, but I figured it out before i ...
goofology's user avatar
  • 571
1 vote
0 answers
94 views

Problems in customizing the macOS menu bar with MenuSystemUIServer

In my menu bar, I'd like to hide TimeMachine, Volume, Battery, User, Clock and show just Bluetooth, and Airport. I tried to customize it with an sh script: for domain in ~/Library/Preferences/ByHost/...
Luke's user avatar
  • 275
2 votes
1 answer
4k views

Find entry in plist using PlistBuddy (osx)

I'm trying to find on a Mac computer if the current user has iCloud Documents enabled. I found the plist where this is located (MobileMeAccounts.plist), but I could use some help with the plistbuddy ...
Dan's user avatar
  • 153
1 vote
0 answers
76 views

USBSMC history on a Mac

How do I find the USBSMC history on Mac if it was cleared from the console? I am trying to see devices previously connected with date stamps. The operating system is El Capitan.
user6348045's user avatar
1 vote
1 answer
2k views

How to clear the recent files list in Adobe Acrobat Professional DC on Mac?

Does anyone how to go about clearing the "recent files" list in Adobe Acrobat Pro DC on Mac OS X? As soon as the application opens, a list of recently opened PDFs is displayed. I know there is a ...
Richie086's user avatar
  • 5,191
1 vote
1 answer
1k views

iOS default keychain for unprivileged user used to start Tomcat and Jenkins

I have an unprivileged user that I created to start Tomcat 8 as a service. Tomcat runs Jenkins, which is used to provide jobs where members of my team can upload an .ipa file and a provisioning ...
Chris Harris's user avatar
3 votes
1 answer
3k views

How to change Info.plist in a signed package?

I want to change a flag in the Info.plist of a signed OSX app (specifically I just want to set Application is agent (UIElement) = true so that it doesn't show up in the dock). First, it won't let me ...
None's user avatar
  • 1
1 vote
1 answer
271 views

How to start matlab daemon

I have a plist calling a python script every day. The python script calls different matlab routines depending on their success. This works perfectly fine when I'm using the computer but when I'm not ...
mabe's user avatar
  • 11
3 votes
3 answers
4k views

Why can't I open `.plist` files in Sublime Text 3

I'm trying to open and edit a preferences file: com.apple.launchservices.plist. When I try to open the file in Sublime Text 3 it appears compiled or garbled. How do I get it to open in the plain ...
davidcondrey's user avatar
  • 1,658
2 votes
1 answer
5k views

Automated screensaver configuration in command line/shell script

So I'm configuring some Default User Template LaunchAgents to configure a default screensaver for some of my company's most popular fan art. (It's actually been really well received by the team). They'...
ghostof101's user avatar
1 vote
1 answer
2k views

Where's the editor: libplist-util and Ubuntu

I need to modify some compressed/binary plist files in an IPA. An IPA is an iOS's APK. Tere's a libplist-utils for Ubuntu and I installed them (I don't have access to my MacBook at the moment). ...
jww's user avatar
  • 12.1k
0 votes
1 answer
407 views

How do I run a plist daemon on MAC OS 10.8.5 with the correct file permissions

I have a plist file saved to /Library/LaunchDaemons/local.WiFiDaemon.plist <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/...
user2152277's user avatar
0 votes
1 answer
185 views

Mavericks startup script

I am trying to write a small script to launch when user logs on. I have searched and got the script to work but unable to run at log on with .plist We have active directory setup. When the user logs ...
Chris's user avatar
  • 1
7 votes
3 answers
23k views

How can I modify a .plist in Windows 7?

In Mac OSX, there are property list files (.plist). You can modify them with Xcode. Given a .plist file, is there a reasonable way to modify them like Xcode does in Windows 7? I have found http://...
Saturn's user avatar
  • 351
1 vote
1 answer
974 views

Logstash agent doesn't run as a daemon on MAC OS X 10.9.1

I need to run the logstash agent as a Daemon on an MAC OS X System whenever the system boots up terminal: /usr/local/logstash/bin/logstash agent -f /usr/local/etc/cvlog.conf Per terminal the program ...
user329324's user avatar
1 vote
2 answers
5k views

Remove applications from Security -> Privacy -> Contacts list

I have a few applications that want access to my contacts. I don't really use contacts, and I don't want applications entitled to the information. I've unchecked the appropriate box, but I'd like to ...
jww's user avatar
  • 12.1k
1 vote
0 answers
842 views

Customizing the functionality of the Monoprice graphic tablet's buttons?

I'd like to re-map the pen buttons of my Monoprice graphics tablet (this one) to do other things than those that are enabled through the official application? Currently, I can only assign the pen ...
gburning's user avatar
  • 111
14 votes
2 answers
5k views

How can I migrate all keyboard shortcuts from one mac to another?

I have a lot of custom keyboard shortcuts and will be migration Macs. I tested Migration Assistant and it did not seem to get these. I read somewhere that they are stored in the individual ...
cwd's user avatar
  • 18.1k
2 votes
1 answer
156 views

Execute bash command if wireless network is deleted?

As part of a plist I'm writing for OS X, I need to execute the "say" command if a wireless network is successfully deleted using: networksetup -removepreferredwirelessnetwork If a network isn't ...
sbowenwilliams's user avatar
3 votes
1 answer
912 views

Mac: Run screen command from launchctl

I have a Python script that I would like to run on a Mac at system start up in a detached screen session. The Python File (foo.py): import time import datetime while True: print 'hello', ...
Sean Coonce's user avatar
0 votes
0 answers
105 views

Under which domain is the Finder sidebar "Devices" category setting for "User's MacBook Pro"?

Trying to verify that "User's MacBook Pro" is in the Finder's sidebar from the Terminal. I can't find a correlating setting under com.apple.finder, com.apple.sidebarlists, or even /Library/Preferences/...
2rs2ts's user avatar
  • 707
3 votes
2 answers
3k views

OSX run script to mount sshfs at login with a plist file

I've read through the man pages for plist and launchd.plist, as well as posts about using plist files to run scripts at login; but I can seem to get things working. My script location and permissions:...
jason's user avatar
  • 261
1 vote
0 answers
584 views

bash add array to plist

I'm making a installable package via Cydia that will write com.intelliborn.intelliscreenx to this: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" ...
user200744's user avatar
0 votes
1 answer
316 views

Trying to get a app that has a registration error

I have a app called codekit I installed but it gives me a registration error and just quits the app. I emailed the creator and he told me to do this Delete everything. The app, the plist, the folder ...
Anders's user avatar
  • 257
2 votes
1 answer
3k views

Mac os X Error unloading plist

I'm currently using MacOSX 10.8 and I tried to install the built-in php-fpm. Moreover I want a plist file to start and stop php-fpm on demand. I found this one <?xml version="1.0" encoding="UTF-8"...
Kakawait's user avatar
  • 183
0 votes
2 answers
208 views

How to send files from Find to another program?

If this is the wrong stack* site, I apologize, but I'm trying how to send the results from find to another app? what I'm trying to do is find all *.plist files and send them to plutil to convert them ...
MarcusJ's user avatar
  • 2,125
1 vote
1 answer
240 views

How to put a Number in to a plist with bash

I'm trying to update my com.apple.background.plist. It works but the "ChangeTime" needs to be a Number/Integer in order to work. I tried to place a -int into the code but it gives an error. ...
Bas van Gelderen's user avatar
1 vote
0 answers
329 views

Is there a plist editor available as an Eclipse plugin?

I am a mobile apps developer currently working on most of my projects out of Xcode, but have the need to use Eclipse for various tasks, such as XML editing. I have created a lightweight version of ...
Phil's user avatar
  • 111
13 votes
1 answer
17k views

Reading values from plist nested dictionaries in shell script

I have a plist file and I'm interested in fetching values from nested dictionaries using shell script. Here is the structure of my plist file: <dict> <key>Countries</key> <...
smokinguns's user avatar
  • 1,428
2 votes
1 answer
1k views

How to reliably mount a shared folder /volume/folder at boot up

Following is my sample.sh in /usr/local/bin/ #!/bin/sh mkdir -p /Volumes/folder mount -t afp -o rw afp://user:password@server_name/folder_name /Volumes/folder Following is my com.apple.sample.plist ...
Tanmay's user avatar
  • 121
2 votes
1 answer
557 views

Dubious permissions on plist Problems installing Jenkins

I am trying to install jenkins on 10.6.8. In order to do this, I needed to modify the jenkins plist which was owned by root. I gave myself (the admin) permissions to modify this file and added the ...
Code Droid's user avatar
7 votes
2 answers
17k views

Where are the "Connect to Server" settings stored in Mac OS X?

Where are the "Connect to Server" history and favorites stored in OS X? Hopefully they are in a pList file somewhere as I'd like to sync them between computers using Dropbox.
cwd's user avatar
  • 18.1k
3 votes
1 answer
5k views

How to write in a <array><dict> structure with defaults write?

I've got a .plist-file with a structure like this: <plist version="1.0"> <array> <dict> <key>BundleIsVersionChecked</key> <false/> ...
Hedge's user avatar
  • 1,164
0 votes
1 answer
2k views

Sublime Text 2: Editing associated filetypes in Plist.info won't work

I edit lots of .sass, .scss, html.twig files. And so I wanted to associate these with Sublime Text 2. Because by default some of them get the "binary"-icon, some the "blank sheet"-icon which sucks in ...
woerndl's user avatar
  • 703
3 votes
2 answers
7k views

LaunchAgent refuses to start with “launch_msg():Socket is not connected” error

I created a pkg package to create a LaunchAgent to start a daemon, and in the post-install script file used this way to start the daemon: launchctl load -s /Library/LaunchAgent/file-name.plist It ...
viwenver's user avatar