where does OWeb store preferences, etc.

Doug Harris dough at bou.shl.com
Wed Feb 15 13:18:29 PST 1995


>A user says that OmniWeb.app (0.9.1) is not starting up any more
>(crashed when invoked) since she tried to change her preference
>for a different default home page...  I tried to find a ".omniweb"
>kind of file, to delete it, but can't find where OmniWeb keeps
>its defaults and preferences...  Seems to be .NeXT/.NeXTDefaults.L
>--but that is not a file I know how to edit.
>
>I believe that deleting any user-defined preferences could get
>this user going again...  Can anyone tell me how to safely do
>this.

First, get the newest version of OmniWeb (0.9.3 -- 0.9.4 coming out on 2/17,  
according to the folks at omnigroup.com).

Second, OmniWeb, like most NEXTSTEP apps stores its preferences in the  
defaults database.  It is indeed stored in the file you found (actually that  
one and .NeXTDefaults.D), but it's not a file you should edit directly.  NeXT  
provides the dread(1), dwrite(1), and dremove(1) commands.  Read these man  
pages for more info.

If you just want to quickly zap all of this user's preferences for OmniWeb,  
do this:

	dread -o OmniWeb | dremove
	
That's not very nice, though.

Do try to get the latest version of OW before doing this.  0.9.3 fixes a  
bunch of bugs.

doug


More information about the OmniWeb-l mailing list