notebook default directory
I want to change the default directory of notebook. I've learned that I can run
notebook("directory")
to have sage save and open worksheets from that directory, but I generally run
sage -notebook
from terminal. Is there a way to change the default directory for sage? or run it in a directory directly from terminal?
PS: My main reason for doing this is to connect the sage to my Dropbox in order to have a backup of all my worksheets. I've recently lost a whole bunch of them due some problems.
I think if you read `notebook?` in the command line you will see all the options. I think that you can just continue appending the options when doing `sage -n`. I think?
easy enough. Thanks for the help. I just used `sage -n '/home/k1/Dropbox/Math/Scripts/Sage'` and it worked.
How do one go to close a thread?
You don't have the "karma" yet to accept your own answer, probably, but it's okay - people will find it!
See also http://ask.sagemath.org/question/1576/running-sage-with-files-on-dropbox for another approach. (In fact, I think this question is basically a duplicate of that one.)