Short for Property List: a configuration file format used by Apple Computers in OS X and iOS
1
vote
2answers
80 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 ...
1
vote
0answers
43 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" ...
0
votes
1answer
31 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 ...
1
vote
1answer
176 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" ...
0
votes
2answers
34 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 ...
1
vote
0answers
33 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.
...
0
votes
0answers
108 views
Fetch values from plist file on linux box
I have bash script which was written for OS X and now ported to Linux. I don't have access to the linux box.The bash script would read values from plist files using the "defaults read" and ...
1
vote
0answers
83 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 ...
1
vote
1answer
469 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>
...
2
votes
1answer
312 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 ...
2
votes
1answer
150 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 ...
2
votes
1answer
660 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.
1
vote
1answer
369 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/>
...
0
votes
1answer
686 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 ...
2
votes
2answers
2k 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 ...
2
votes
1answer
392 views
Error Updating plist file using bash
I'm trying to update a plist file using bash. For some strings I can update the plist file, but for some strings I get an error. For eg
defaults write '/Users/test/Desktop/myPlist' 'My Key' "[My ...
4
votes
1answer
955 views
How to get a launchd plist to diretly run a complex 1 line bash command?
I have a somewhat complex bash command which includes some pipes and an if-then-else clause, not to mention calling system program (such as grep) with multiple parameters.
Is there a way to create a ...
4
votes
1answer
128 views
Is there a way to see what image is currently being used as the Mac OS X desktop background / wallpaper?
I've downloaded hundreds of wallpapers and have them randomly changing and occasionally want to know what I'm looking at. com.apple.desktop.plist often just has the first file in the folder listed as ...
0
votes
4answers
724 views
Disable Sounds in 10.5 and 10.6
I need to disable "Play user interface sound effects" and "Play feedback when volume is changed" in the Sound pref.pane via terminal/unix command/ARD on multiple computers.
fseventer shows ...
0
votes
1answer
981 views
Use launchctl to fire an AppleScript script periodically
I have written an AppleScript that lets me back up a particular file. The script runs fine inside AppleScript Editor: it does what it's supposed to do perfectly. So far so good.
Now I'd like to run ...
2
votes
1answer
702 views
launchd gives me “ No such file or directory” error
my .plist looks like below ... In /var/log.system.log I can see
(com.example.exampled[24728]): posix_spawn("/usr/local/bin/ruby /Users/radek/Sites/sinatrasvn/web.rb", ...): No such file or directory
...
1
vote
2answers
2k views
Mac Read & Write Permissions (w/ plists)
So I'm trying to change the plist com.apple.backupd-auto.plist to adjust the timemachine schedule, and when I try to change the number (of seconds, for the schedule), I get the response that I don't ...
0
votes
2answers
631 views
How to load offlineimap plist into launchctl without sudo on OSX?
I'd like to have launchd run offlineimap every few minutes to update my mutt message directory. I can't seem to get the plist file for offlineimap to be loaded into without using sudo though.
When ...
1
vote
0answers
104 views
Desktop Picture Placement
I made an Automator app that changes the desktop picture to whatever image file you drop on its icon. It used to work perfectly until Snow Leopard. Now the image placement always resets to Full ...
0
votes
1answer
207 views
Can you create a custom property list type that Property List Editor will recognize?
Is there a way to create a custom property list type, such that Property List Editor would recognize it the way it does an Info.plist property list?
I noticed the DTD in Apple's Info.plist format, ...
1
vote
4answers
342 views
What does “com.developer.application” mean?
I'm editing a plist file on my Mac for the QuickCursor app. I'd like to try to add Aquamacs to the list of available editing applications. In any case, all the other editors listed in the plist are ...
1
vote
1answer
262 views
Mac OS X NSGlobalClickCount in Global Preferences
I was doing some snooping around and came across a Global Preferences plist file located at:
~/Library/Preferences/.GlobalPreferences.plist
While looking around I came across an extra for ...
1
vote
1answer
82 views
Which is the simplest way to exclude an user from a launchd agent?
I have some launchd plists that are now placed at the administrator per-user level, particularly inside:
/Library/LaunchAgents
/Library/LaunchDaemons
I'd like to avoid that some of those services ...
1
vote
4answers
983 views
Sed: Deleting all content matching a pattern
I have some plist files on Mac OS X that I would like to shrink. They have a lot of <dict> with <key> and values. One of these keys is a thumbnail which has a <data> value with ...
0
votes
2answers
111 views
Preference File is Not XML
I want to modify this file, following PathFinder's instructions
/Library/Preferences/com.apple.loginwindow.plist
however, it's not XML whatsoever. Looks more like some binary format.
What am I ...