A structured text file containing XML formatted properties. It also can be encoded as a binary-format file.

learn more… | top users | synonyms

17
votes
1answer
6k views

What's the correctly way to make Postfix run permanently on Lion (not server)

I can start Postfix temporarily with: $ sudo launchctl launchd% start org.postfix.master However, Console.app shows that it only runs for a short time: 26/11/11 2:00:55.710 PM postfix/master: ...
9
votes
3answers
990 views

How do preference files become corrupted?

I've read a few different troubleshooting articles and Q&A's where the culprit is a corrupted preference file for an application or process. Typically the solution is to delete the bad preference ...
8
votes
4answers
5k views

On Mavericks, in the Finder in List view, column widths keep changing

I'm on OS X Mavericks. In Finder, I use the "List" view. In this view, since upgrading to Mavericks, the column widths keep changing. Basically, the Name column expands to fill the window up, when you ...
7
votes
7answers
3k views

How to list all available .plist keys on a certain domain application by defaults command?

I want to know all keys (property list) which available on certain domain application, as example i could list available key for com.apple.dock by entering this command: $ defaults read ...
7
votes
3answers
2k views

Where can I find a list of Apple preferences/plist files & what they're used for?

Does anyone know of a resource that lists the Preferences files/plists (pertinent to OS X and Apple applications, not third-party apps) found in ~/Library/Preferences (and the other locations too, but ...
6
votes
4answers
54k views

How do I set environment variables on OS X?

I have always difficulties setting the environment variables on Mac like JAVA_HOME, M2_HOME or PATH. How to set these on Mavericks OS X? I did some research but the answers I've found didn't really ...
6
votes
1answer
1k views

How can I run a job once a day with launchd, regardless of when the computer is on?

I would like to run a shell script daily, but not necessarily at a specific time. The computer the script runs on is switched on at irregular times, and no assumptions can be made when that will be. ...
5
votes
1answer
3k views

iTerm2 doesn't read com.googlecode.iterm2.plist

I am iTerm2 (1.0.0) user. I know how to create profiles, by using iTerm settings or modifying com.googlecode.iterm2.plist file. For convenience, I will use .plist to indicate ...
5
votes
2answers
2k views

Trouble opening plist files in text editor

From Finder, I can preview a plist file without any difficulties. For example, using Quick Look with ~/Library/Preferences/com.apple.Safari.RSS.plist I get a nice preview of its contents: However, ...
5
votes
2answers
8k views

OSX 10.8 - How to keep a custom dock for all users that login

I have an iMac with OSX 10.8, joined to a work domain. I want to get create a custom dock and save it so all users will see my custom dock when they log in. I've done some Google searches and ...
5
votes
3answers
2k views

Where is the date and time preference data saved on Mac?

I need to check programmatically whether Set Date and Time automatically is checked or not on a Mac System Preferences. I didn't find any .plist file that contained this information, can anybody tell ...
4
votes
1answer
7k views

Running a command whenever Mac boots up with launchctl/plist

I need to run nohup nice synergys -f --config ~/bin/conf/synergy.conf & command whenever the computer boots up. As is written in this post, I came up with the following plist code. <?xml ...
4
votes
1answer
1k views

Daemons or other processes responsible for dictation in 10.8?

Dictation in Mountain Lion is a nice little feature that works great for me. However I often need to switch between dictation languages, so going through the System Preferences is way too many clicks ...
4
votes
3answers
830 views

Can't quit app launched through launchd

As it says in the title, "Can't quit app launched through launchd"—or more precisely, I can quit it, but it then automatically restarts again. Background: I prefer to use BusyCal, not iCal, but ...
3
votes
2answers
2k views

Allow application to control computer (assistive devices) on Mavericks via Terminal?

I'm currently working on automated instalation of Mavericks 10.9. I have NetBoot set up. Everything works OK untill I want to execute Applescript. Since the release of new version I need to manually ...
3
votes
3answers
16k views

How to manually restore emails in Lion?

Before upgrading to Mac OS X Lion with a clean install, I backed up Mail app according to this article on Apple Discussions. I know have the com.apple.mail file and the Mail directory and I have no ...
3
votes
2answers
4k views

Can't delete .plist files from Trash

I have a program which, when deleting any app, also deletes the extra files and junk as well; including .plist files. Normally this works great though, this time around I've had a few files which ...
3
votes
1answer
288 views

What is “com.JWVD.cbcache.plist”?

I'm trying to solve some problems and have run across a few things in Etrecheck of which I cannot determine the origin. One such item is the Launch Daemon "com.JWVD.cbcache.plist". Does anyone know ...
3
votes
1answer
447 views

Can I stop the optical audio out from entering 'time out' when idle?

In my office I have a surround-sound receiver, and I have my MacBook Pro (6,1) hooked up via a TOSLink cable and adapter, and it works beautifully, except this: if there are no sounds playing for a ...
2
votes
2answers
2k views

Getting launchd to read program arguments correctly

I have a launchd script where the command I'm trying to run is erroring (apparently that's not a word, it is now), complaining of improper usage. The specific error I'm getting is the command's usage ...
2
votes
3answers
6k views

Where are System Preferences settings stored? Trying to script equal brightness settings for two monitors

I was wondering if anyone know where the System Preferences settings are stored on Mac OS X Lion? I presume there's some .plist with them somewhere. I think that they might be stored in multiple ...
2
votes
2answers
1k views

How to run a nightly backup job on Snow Leopard Server via launchd

I have been trying to configure a nightly backup job on my Mac Mini server, and after a lot of Googling and digging and man-page'ing, I figured out that launchd seemed to be the correct too, and tried ...
2
votes
2answers
33k views

How do I unlock a .plist file so that I can change it?

I want to edit Info.plist for TextEdit. (Here's why.) I'm running OS 10.7, and I do have Xcode installed. But every time I try to edit the file, it's locked and I can't save my changes. If I try to ...
2
votes
2answers
63 views

What methods can be used to find hidden options in OSX softwares?

I was wondering what methods can be used to find hidden options in OSX software. I regularly stumble upon hidden options that can be added in the .plist preferences files (using defaults write), but ...
2
votes
1answer
2k views

Submitting job to launchd gives error “no plist returned”, “nothing found to load”

I'm writing my first launchd plist. When I try to load it with the following command: $ launchctl load com.Test01.plist launchctl: no plist was returned for: com.Test01.plist nothing found to load ...
2
votes
2answers
1k views

Run plist command every 5 seconds

I have the following plist file in my User/Library/LaunchAgents folder. It presses the "g" key every 60 seconds. My question is, how can I change this to press the "g" key every 5 seconds? ...
2
votes
2answers
72 views

How should I organise my plist? [closed]

I'm creating a game where the player can unlock worlds, where they can unlock levels within those worlds, each levels has a highscore, and so on. I was wondering in which way should I store this ...
2
votes
1answer
287 views

How to add custom extension for QuickLook?

Does anybody know of a method of previewing .WebM files in QuickLook? I've searched on google but didn't find anything helpful.
2
votes
1answer
151 views

Modifying .plist with shell changes .plist order

I wrote a simple shell command and saved it as .command. The shell command is simply: defaults write /Users/Milo/Desktop/MyPlist "My Key" "My Entry". The issue that I'm having is that after running ...
2
votes
2answers
559 views

How are colorschemes represented in OS X Terminal.app Settings Files?

I'm interested in moving color values I've created for OS X Terminal to applications on other platforms, such as Linux. I'm familiar with the usual methods of representing color values like RGB, HSB, ...
2
votes
2answers
73 views

Feasible to check out XML file from QuickLook?

How can I use QuickLook to check out XML file? I just want to quickly check out the contents of a file and don't have to open it in a format that can be subsequently modified, such as in TextEdit or ...
2
votes
0answers
51 views

Changing the open with settings in 10.10.1

I am looking for a way to edit the open with settings in 10.10.1, i have looked through older questions and have attempted to rename the launch services plist and have gotten no where. I have looked ...
2
votes
0answers
104 views

How daylight saving changes are handled in launchd to make sure it execute the the jobs as scheduled through plist?

Since August 2013, I am using Mac Mini with OS X version 10.8.2 as my web server (MAMP stack). I have a few launchd scheduled jobs scheduled through plist. Everything was working fine until Nov 3, ...
2
votes
1answer
220 views

launchd keeps restarting my binary in /Library/PrivilegedHelperTools

I am looking to install a privileged helper tool using SMJobBless. My plist only contains the MachServices key and RunAtLoad key. The RunAtLoad is set to true as I want to be launched automatically ...
2
votes
4answers
1k views

Editing System/Library files with Property List Editor (PLE)

I want to update the schedule in /System/Library/LaunchDaemons/com.apple.locate.plist. I have unlocked the file in Finder but the Property List Editor is giving me: The file ...
2
votes
3answers
670 views

Does changing a daemon's plist file extension prevent it from being loaded?

I particularly want to disable: /private/etc/mach_init.d/dashboardadvisoryd.plist.disabled, but in general for any daemon. Does changing its plist extension prevent it from loading? In the past I ...
2
votes
1answer
300 views

How can I make the OS print dialog default to a particular preset?

Simply put, this is what I want: I want to take a unique printer preset that has already been made and make the OS default to it any time that particular printer is selected to be printed to. I know ...
1
vote
1answer
568 views

Are apps that use LSUIElement in their plist causing google account problems?

I've noticed a pattern with some apps not logging into my Google account when they are hidden. After some digging, I think I have identified a common thread - the LSUIElement which is basically a flag ...
1
vote
3answers
6k views

Solution/Script to automatically sync Safari's Reading List to Read-it-Later services like Pocket or Evernote?

MacOSX contextual menus allow me use Pocket [Formerly Read it later] to archive all, and also read, some of the enormous amounts of content that I come across daily on my browser of choice - Safari. ...
1
vote
1answer
2k views

Automatically Load LaunchDaemon?

I wrote a little script to automatically update my Network Location based on a couple of conditions, and have coupled that with a launchd plist to have it run every couple of minutes. However, I've ...
1
vote
1answer
125 views

Why do I have a dozen copies of certain preference file in my ~/Library/Preferences folder?

I found the file .Globalpreferences.plist in my ~/Library/Preferences folder, but I also found the same file with seven characters appended to the .plist extension. For example: ...
1
vote
1answer
406 views

make custom user agent change permanent

I need to navigate a site that makes use of javascript that checks for user agent and only permits IE9.0 (don't ask). I am using safari and can set IE 9 in the user agent submenu of the develop menu. ...
1
vote
1answer
112 views

What is more predominant, PyObjC or PlistBuddy?

I'm writing a script that will update an Xcode project's Info.plist. This script will be distributed to clients. In order to do this, I'd like to know what tools are more appropriate if I need to ...
1
vote
1answer
207 views

Set service keyboard shortcut and have change take effect programtically

I have the following script to set a services shortcut: set serviceName to "(null) - VimAnywhere - runWorkflowAsService" set libPrefPath to POSIX path of (path to preferences folder from user domain ...
1
vote
1answer
338 views

Apple Mail / Maps 'NSWindow Frame' .plist

Does anyone know where this string is located for Mail/Maps on Mavericks? I looked in ~/Library/Preferences/com.apple.mail.plist and it only lists a few entries, no NSWindow Frame. Cannot find for ...
1
vote
2answers
160 views

My Launch Daemon doesn't work despite returning a 0 status

For some reason, the launch daemon I created will not run successfully at system boot. I have tried it as a launch agent but that also doesn't work. This is my plist located in ...
1
vote
1answer
8k views

What is com.apple.mail.plist and why was it slowing Mail down?

I fixed an annoying problem with Mail 6.2 (I'm on ML 1.8.2), where Mail was slow and a pain to use. I am on a SSD so everything was jerky while typing, sending mail out, and it would take ~1 second ...
1
vote
1answer
5k views

Launchctl:Dubious permissions on file: Problem Installing Jenkins

I'm trying to install Jenkins on 10.6.8 and part of this requires that modify the plist launch daemon. org.jenkins-ci.plist which is owned by root. I was using admin and I gave admin permission to ...
1
vote
2answers
2k views

How do i pass variables' values between subsequent applescript runs? (persistent value between script executions)

I have an applescript that I run like a cron job. Within this applescript, i have variables that act like boolean switches (i.e. on/off values). With subsequent runs, depending on whether the boolean ...
1
vote
1answer
672 views

Disabling Mission Control (OR making plist changes take effect immediately)

EDIT: I have just realized that what I'm talking about isn't a default feature in Lion. I probably added the commands via an article like this (scroll down to "Gestures and keyboard shortcuts"). So ...