Search:   Help



LyX documentation


Shared groups


Mac /


Categories: Mac
<< | Page list | >>

N.B. ~/.MacOSX/environment.plist is obsolete

From Mountain Lion on, the ~/.MacOSX/environment.plist method has been replaced by ""launchctl" commands.

See for a discussion of the new launchctl method for setting environment variables. The basic mechanism is at the beginning of that post.

About ~/.MacOSX/environment.plist

~/.MacOSX/environment.plist is a file that sets default variables for every application. A sample ~/.MacOSX/environment.plist file can be found here; you may have to <ctrl>-click the link to save this file to your computer. More details on ~/.MacOSX/environment.plist files can be found here.

Note: Any changes to ~/.MacOSX/environment.plist require that you logout and login again for the change to take effect.
Warning! This sample .plist file will affect your bibtex compilation: you'll need to put all .bst and .bib files in the folders specified inside the .plist file. If you don't want this, remove the first two keys in the file.
GUI Language
To change the GUI language, insert the lines
between the <dict> and </dict> of ~/.MacOSX/environment.plist. Substitute the two-character abbreviation of the language you want for "fr" and the appropriate coded character set for "iso8859-1". (You can find the available languages and codesets by entering locale -a in
To use Xfig or X-windows previewers like xdvi or gv with LyX/Mac, add
between the <dict> and </dict> of ~/.MacOSX/environment.plist.
To enable LyX to find .bib and .bst files automatically, add
between the <dict> and </dict> of ~/.MacOSX/environment.plist.

Caution: In my case this caused Bibtex to stop working when called by Lyx. It also killed preview generation in BibDesk. It might work if you use .:~/Library/texmf/bibtex/bib::, anything which makes Bibtex search in the working directory also. However, I haven't tested this, I just got rid of these entries in the environment.plist, logged out and back in and everything worked perfectly again.

To enable LyX to find other class and style files automatically, add
between the <dict> and </dict> of ~/.MacOSX/environment.plist.


Edit - History - Print - Recent Changes - All Recent Changes - Search
Page last modified on 2014-09-20 08:37 UTC