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

learn more… | top users | synonyms

18
votes
1answer
7k 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: ...
12
votes
5answers
78k 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 ...
9
votes
3answers
1k 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
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 ...
8
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, ...
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
2answers
4k 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 ...
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
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
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 ...
5
votes
2answers
11k 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
3k 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
447 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 ...
4
votes
1answer
2k 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
869 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
3k 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 ...
3
votes
2answers
3k 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
2answers
5k 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
3answers
8k 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. ...
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
41k 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 ...
3
votes
2answers
625 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, ...
3
votes
1answer
498 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 ...
3
votes
2answers
995 views

How do I associate a launchd 2 plist with its domain and service targets?

What exactly are these "domain" and "service targets" and how do I associate them with plists for use by launchd? OS X 10.10 introduces a new launchctl API for managing LaunchDaemons and launching ...
2
votes
3answers
7k 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
2k 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
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
65 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
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
1answer
1k 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. ...
2
votes
2answers
100 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
2answers
61 views

Launchd to only run on schedule, not restart?

I have a script that I want to set for 3:30am daily and it does run at the set time but it also runs on every restart of the computer which I do not want. How do I make this work with just the ...
2
votes
1answer
68 views

How to list Network Interface UUIDS?

I'm trying really hard to find a simple way to fetch all network UUIDS on my Mac to be able to do some plist magic. Is there a command to do such a thing? If I look in the plist I'll find for an ...
2
votes
1answer
384 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
203 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
1answer
917 views

how do I enable multiple sshd ports in Mountain Lion

I have multiple machines on my network that I access regularly using ssh. I want to enable remote access through port forwarding, which means I'll need separate sshd ports for each machine. That ...
2
votes
2answers
116 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
1answer
40 views

Mysterious OS X File Extension (bug?)

I know that OS X uses the Launch Services.framework to manage the file-extensions. But the icons which belong to the file-extension are part of the Info.plist in the package contents of the ...
2
votes
1answer
24 views

How to reload app preferences and documents on iPhone?

So I updated my iphone to new iOS and then my backup became corrupted. I was then able to get ALL the information out of the backup unto my computer. I now have for each app its corresponding ...
2
votes
0answers
67 views

Dock throwing NSInvalidArgumentException trying to start

Yesterday I noticed that I could no longer ⌘ + TAB, minimize/maximize windows and that the Dock was missing. I've tried numerous things to resolve it: rebooting reseting PRAM killing Dock with ...
2
votes
0answers
195 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
130 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
258 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
767 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
328 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
679 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
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
75 views

Changing Info.plist values via terminal

I am making my own application and I would like to change some values in my Info.plist file using terminal. I have tried doing defaults write Info.plist CFBundleExecutable -string <Executable> ...
1
vote
2answers
422 views

Finder sidebarlist won't update after changing

I'm trying to update sidebarlist without rebooting computer (in this case they sidebar is updated well after changing values). My operations are: Convert into XML plutil -convert xml1 ...