[Chimera-users] default directory for opening files

Elaine Meng meng at cgl.ucsf.edu
Thu Jun 23 16:29:26 PDT 2016

Hi Matt,

Well, this is kludgy and only for the brave (which you are), but you could edit your preferences file to make the desired location the first one listed in the miller browser dirHistory.  It would be a pain to do it all the time, but you could probably script something semiautomatic.  Another approach I’ve taken occasionally to ensure keeping the environment exactly the same is to have a non-writable preferences file, but of course then you can’t save any other preferences either, and there is an annoying message upon startup.

Elaine C. Meng, Ph.D. 
UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab
Department of Pharmaceutical Chemistry
University of California, San Francisco

> On Jun 23, 2016, at 4:14 PM, Eric Pettersen <pett at cgl.ucsf.edu> wrote:
> Hi Matt,
> 	There is limited control over where the main File->Open dialog starts.  The two options are:  the directory you last used (even from the previous session) and the current working directory.  This choice is controlled by the “Open dialog starts in directory from last session” option in the General preferences category.
> —Eric
> 	Eric Pettersen
> 	UCSF Computer Graphics Lab
>> On Jun 23, 2016, at 1:58 PM, Dougherty, Matthew T <matthewd at bcm.edu> wrote:
>> Starting chimera without a session file, I would like to use the open pulldown menu.
>> The default directory is at root "/".
>> If I use a 'cd somedirectory' command and open with the gui, it still defaults to the root.
>> Is there a command that will set the open/save directory for the gui?
>> If not, a way in python?
>> Matthew Dougherty
>> National Center for Macromolecular Imaging
>> Baylor College of Medicine

More information about the Chimera-users mailing list