<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>So generally, the preference file automatically gets updated at shutdown of chimera?</p>
<p><br>
</p>
<p><span style="color:rgb(33,33,33); font-family:wf_segoe-ui_normal,'Segoe UI','Segoe WP',Tahoma,Arial,sans-serif; font-size:15px">“Open dialog starts in directory from last session” option in the General preferences category seems to imply there is a variable
somewhere that is being maintained.</span><br>
</p>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; margin-top:0px; margin-bottom:0px">
what about controlling the variable through python?</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; margin-top:0px; margin-bottom:0px">
<font face="wf_segoe-ui_normal,Segoe UI,Segoe WP,Tahoma,Arial,sans-serif" size="2" color="#212121"><span style="font-size:15px"><br>
</span></font></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; margin-top:0px; margin-bottom:0px">
<font face="wf_segoe-ui_normal,Segoe UI,Segoe WP,Tahoma,Arial,sans-serif" size="2" color="#212121"><span style="font-size:15px"><br>
</span></font></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; margin-top:0px; margin-bottom:0px">
<font face="wf_segoe-ui_normal,Segoe UI,Segoe WP,Tahoma,Arial,sans-serif" size="2" color="#212121"><span style="font-size:15px">Not clear on this: </span></font><span style="color:rgb(33,33,33); font-family:wf_segoe-ui_normal,'Segoe UI','Segoe WP',Tahoma,Arial,sans-serif; font-size:13px">miller
browser dirHistor</span></div>
<p><br>
</p>
<div id="x_Signature">
<div id="x_divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<div class="x_BodyFragment"><font size="2">
<div class="x_PlainText">Matthew Dougherty<br>
National Center for Macromolecular Imaging<br>
Baylor College of Medicine<br>
<span style="font-size:13.0pt; font-family:Calibri">=================================================</span><br>
</div>
<div class="x_PlainText"><span style="font-size:13pt; font-family:Calibri">=================================================</span><span style="font-size:13.0pt; font-family:Calibri"><br>
</span></div>
</font></div>
</div>
</div>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Elaine Meng <meng@cgl.ucsf.edu><br>
<b>Sent:</b> Thursday, June 23, 2016 6:29:26 PM<br>
<b>To:</b> Dougherty, Matthew T<br>
<b>Cc:</b> chimera-users@cgl.ucsf.edu<br>
<b>Subject:</b> Re: [Chimera-users] default directory for opening files</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Hi Matt,<br>
<br>
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.<br>
<br>
Elaine<br>
----------<br>
Elaine C. Meng, Ph.D. <br>
UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab<br>
Department of Pharmaceutical Chemistry<br>
University of California, San Francisco<br>
<br>
<br>
> On Jun 23, 2016, at 4:14 PM, Eric Pettersen <pett@cgl.ucsf.edu> wrote:<br>
> <br>
> Hi Matt,<br>
> 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.<br>
> <br>
> —Eric<br>
> <br>
> Eric Pettersen<br>
> UCSF Computer Graphics Lab<br>
> <br>
> <br>
>> On Jun 23, 2016, at 1:58 PM, Dougherty, Matthew T <matthewd@bcm.edu> wrote:<br>
>> <br>
>> Starting chimera without a session file, I would like to use the open pulldown menu.<br>
>> <br>
>> The default directory is at root "/".<br>
>> <br>
>> If I use a 'cd somedirectory' command and open with the gui, it still defaults to the root.<br>
>> <br>
>> Is there a command that will set the open/save directory for the gui?<br>
>> If not, a way in python?<br>
>> <br>
>> Matthew Dougherty<br>
>> National Center for Macromolecular Imaging<br>
>> Baylor College of Medicine<br>
<br>
</div>
</span></font>
</body>
</html>