On Feb 5, 2009, at 9:04 AM, Stefano Franchi wrote:
On Thursday 05 February 2009 04:01:47 Niklas Huldén wrote:
Joachim K. Rennstich wrote:
Thanks, Ian, for the fast reply

Configuration files should handled with a text editor. I don't know
what that would be for your system but something like Vim, Gedit, Kate
etc. You will probably need to edit this file as root.

I am using Lyx 1.6.1 on Mac OS X 10.5.6. Unfortunately, I don't really know how to locate (and thus edit) the file in question. Sorry, I am one of those GUI folks who have no clue about the underlying structure of
the Mac OS...

In your program folder you have a program called "Textedit". Use that
program to open the file "/usr/local/etc/aspell.conf".
And as your earlier post said:
Remove the line "home-dir $HOME/Library/Preferences/aspell" (line 38
including blanks), or disable it by adding a "#" sign at the begining.

Save the file, exit Textedit and start LyX again.

I am no longer on a Mac, but up to a couple of years ago, the system would not show the /usr directory in a GUI application. So the file open dialog of a regular GUI text editor would not even show you the file.

Only (in Apple's often infuriatingly paternalistic way) by default. From (IIRC) the very first version of OS X, if you hit Cmd-Shift-G in either the Finder or a File/Open dialog box, you will be given a small input box in which you can enter "hidden" directory and file names. Typing "/usr", in particular, will show you that directory in the Finder or dialog box.

Besides, if you need root privileges to write on it, you'd definitely need to go through the command line (i.e. the Terminal app).

True. (Gnome and KDE, which bring up an input box that let's you authenticate as root when you try to edit a file with root permissions, are much smarter about this.) But in any case, using vi or some other fast terminal-based editor from the command line is generally much faster for this sort of quick 'n' dirty file editing.

-chris

Reply via email to