Based on certain previous questions, I figured that if my NotebookBrowseDirectory
looked like this
Options[$FrontEnd, NotebookBrowseDirectory]
{NotebookBrowseDirectory -> "/Users/brian/mma"}
then the OSX front end would default to saving new notebooks there. Instead it defaults to saving them in the home directory /Users/brian
. Does there exist a variable I can set to make the UI default to saving into a different directory from my homedir?
SetDirectory[dir]
sets the current working directory to dir $\endgroup$NotebookBrowseDirectory
works on Windows and Linux, but on Mac, we allow the operating system to assert its natural behavior over such things. I'm not now so convinced that this was a good idea, but I haven't finished a proper investigation. So, it's possible this behavior will change in the future. $\endgroup$init.m
with aSetDirectory[]
command work to do more or less what I want? $\endgroup$SetDirectory
sets the current directory for the Kernel.NotebookBrowseDirectory
would set this for the front end, but as John points out above the OSX FrontEnd currently ignores that. $\endgroup$