Thanks, I'll take a look.

Paul.


On 23/02/2021 14:16, Guillaume Gaullier wrote:
Hello,

Just a side note regarding the location of coot’s configuration files.

Better yet would be to follow the XDG Base Directory Specification: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html In short, it recommends that you store the coot config directory under $XDG_CONFIG_HOME if it is set, or under $HOME/.config otherwise (the specification of course leaves it up to you how you want to organize the directory structure under $XDG_CONFIG_HOME/coot). Most desktop programs on Linux now seem to follow this convention, and it’s actually nice to have one’s home directory more cleanly organized.

Guillaume


On 23 Feb 2021, at 14:53, Paul Emsley <pems...@mrc-lmb.cam.ac.uk <mailto:pems...@mrc-lmb.cam.ac.uk>> wrote:

On 23/02/2021 13:42, Pedro Matias wrote:
I tried both ways (coot.py and .coot) and only the latter worked for me.

that should be .coot.py - presumably that's what you meant (but if not, it would explain why it didn't work)



.coot-preferences is a directory and its contents should not be edited by the user.

You'd think so, wouldn't you? I made a mistake about this directory years ago and have regretted it since.

Future Coots will have:

$HOME/.coot/

       preferences/               # these are scripts written by Coot

       startup-scripts/           # these are scripts that you write



Both .coot and coot.py should reside in the user's home directory.

.coot.py yes.


Paul.

########################################################################

To unsubscribe from the COOT list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=COOT&A=1

This message was issued to members of www.jiscmail.ac.uk/COOT, a mailing list hosted by www.jiscmail.ac.uk, terms & conditions are available at https://www.jiscmail.ac.uk/policyandsecurity/

Page Title







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: http://www.uu.se/om-uu/dataskydd-personuppgifter/

E-mailing Uppsala University means that we will process your personal data. For more information on how this is performed, please read here: http://www.uu.se/en/about-uu/data-protection-policy
------------------------------------------------------------------------

To unsubscribe from the COOT list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=COOT&A=1


########################################################################

To unsubscribe from the COOT list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=COOT&A=1

This message was issued to members of www.jiscmail.ac.uk/COOT, a mailing list 
hosted by www.jiscmail.ac.uk, terms & conditions are available at 
https://www.jiscmail.ac.uk/policyandsecurity/

Reply via email to