<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
An alternative approach which doesn't involve modifying ChimeraX (but still requires action in each user account) would be to simply symlink ~/Downloads/ChimeraX to the centralised location.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
-- Tristan</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> ChimeraX-users <chimerax-users-bounces@cgl.ucsf.edu> on behalf of Guillaume Gaullier via ChimeraX-users <chimerax-users@cgl.ucsf.edu><br>
<b>Sent:</b> 17 December 2021 08:40<br>
<b>To:</b> goddard <goddard@sonic.net><br>
<b>Cc:</b> ChimeraX Users Help <chimerax-users@cgl.ucsf.edu><br>
<b>Subject:</b> Re: [chimerax-users] Change the directory for data fetched from databases</font>
<div> </div>
</div>
<div class="" style="word-wrap:break-word; line-break:after-white-space">Hi Tom,
<div class=""><br class="">
</div>
<div class="">This is the use case I had in mind indeed. Model files are small enough that duplication doesn’t matter, but a shared cache for maps could be convenient. I was simply asking in case there was a supported way to achieve this that I had missed in
the documentation, but I can absolutely live with the current default.</div>
<div class=""><br class="">
</div>
<div class="">Thank you for your answer.</div>
<div class="">Cheers,</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">
<div dir="auto" class="" style="color:rgb(0,0,0); letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; word-wrap:break-word; line-break:after-white-space">
<div dir="auto" class="" style="color:rgb(0,0,0); letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; word-wrap:break-word; line-break:after-white-space">
<div dir="auto" class="" style="color:rgb(0,0,0); letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; word-wrap:break-word; line-break:after-white-space">
<div dir="auto" class="" style="color:rgb(0,0,0); letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; word-wrap:break-word; line-break:after-white-space">
<div dir="auto" class="" style="color:rgb(0,0,0); letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; word-wrap:break-word; line-break:after-white-space">
<div class="" style="color:rgb(0,0,0); letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; word-wrap:break-word; line-break:after-white-space">
<div class="" style="color:rgb(0,0,0); letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; word-wrap:break-word; line-break:after-white-space">
<div class="" style="color:rgb(0,0,0); font-family:Helvetica; font-size:12px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; word-wrap:break-word; line-break:after-white-space">
<div class="" style="word-wrap:break-word; line-break:after-white-space">
<div style="color:rgb(0,0,0); font-family:Helvetica; font-size:12px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px">
Guillaume</div>
<div style="color:rgb(0,0,0); font-family:Helvetica; font-size:12px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px">
<br class="">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 16 Dec 2021, at 23:50, Tom Goddard <<a href="mailto:goddard@sonic.net" class="">goddard@sonic.net</a>> wrote:</div>
<br class="x_Apple-interchange-newline">
<div class="">
<div class="">Hi Guillaume,<br class="">
<br class="">
There is no setting to change the location where ChimeraX caches fetched files. It is always<br class="">
<br class="">
<span class="x_Apple-tab-span" style="white-space:pre"></span>~/Downloads/ChimeraX<br class="">
<br class="">
On a multi-user workstation is the idea that every person would change the ChimeraX setting to point to a common cache directory? Will people cooperate with that? Each person of course has their own ChimeraX settings. Everyone will also need write access
to that directory. There are no site-wide settings in ChimeraX.<br class="">
<br class="">
You could modify the ChimeraX application file, a file in the distribution (here's the path for Linux)<br class="">
<br class="">
<span class="x_Apple-tab-span" style="white-space:pre"></span>chimerax/lib/python3.9/site-packages/chimerax/core/fetch.py<br class="">
<br class="">
making<br class="">
<br class="">
<span class="x_Apple-tab-span" style="white-space:pre"></span>_cache_dirs = ['/usr/local/chimerax_fetch']<br class="">
<br class="">
near the top would I think change to use that directory. Of course each time you install a new ChimeraX it would need such a change, and if individual users install their own ChimeraX version it will use ~/Downloads/ChimeraX.<br class="">
<br class="">
<span class="x_Apple-tab-span" style="white-space:pre"></span>Tom<br class="">
<br class="">
<br class="">
<blockquote type="cite" class="">On Dec 16, 2021, at 2:08 AM, Guillaume Gaullier via ChimeraX-users <<a href="mailto:chimerax-users@cgl.ucsf.edu" class="">chimerax-users@cgl.ucsf.edu</a>> wrote:<br class="">
<br class="">
Hello,<br class="">
<br class="">
The documentation for the open command says "Web-fetched data are stored locally in ~/Downloads/ChimeraX/ (where ~ indicates a user's home directory)". Is there a way to change this directory? I couldn’t find one in the settings window, but maybe a command
could do that? (in that case I would simply need to add this command to the startup commands).<br class="">
<br class="">
The use case I have in mind is to share the ChimeraX cache between all accounts on a multi-user workstation (so, relocate the cache at some place like /data/ChimeraX).<br class="">
<br class="">
Thank you,<br class="">
<br class="">
Guillaume<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
När du har kontakt med oss på Uppsala universitet med e-post så innebär det att vi behandlar dina personuppgifter. För att läsa mer om hur vi gör det kan du läsa här:
<a href="http://www.uu.se/om-uu/dataskydd-personuppgifter/" class="">http://www.uu.se/om-uu/dataskydd-personuppgifter/</a><br class="">
<br class="">
E-mailing Uppsala University means that we will process your personal data. For more information on how this is performed, please read here:
<a href="http://www.uu.se/en/about-uu/data-protection-policy" class="">http://www.uu.se/en/about-uu/data-protection-policy</a><br class="">
<br class="">
_______________________________________________<br class="">
ChimeraX-users mailing list<br class="">
<a href="mailto:ChimeraX-users@cgl.ucsf.edu" class="">ChimeraX-users@cgl.ucsf.edu</a><br class="">
Manage subscription:<br class="">
https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users<br class="">
<br class="">
</blockquote>
<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</body>
</html>