Re: [PyMOL] Change default read position of .pymolrc and .pymolrc.py

2012-02-08 Thread Thomas Holder
Hi Troels,

you can put a file named

   $PYMOL_PATH/run_on_startup.py

If you want to know what happens in detail, have a look at 
pymol/invocation.py and in particular at pymol.invocation.get_user_config().

Hope that helps.

Cheers,
   Thomas

Troels Emtekær Linnet wrote, On 02/08/12 19:30:
> Hi.
> 
> We have builded svn pymol at our unilabs linux computers.
> 
> Is there a way to tell pymol it should look for .pymolrc and .pymolrc.py 
> other places than the users home library?
> 
> Or can you run the commands in these files in another way?
> 
> Best
> Troels

-- 
Thomas Holder
MPI for Developmental Biology
Spemannstr. 35
D-72076 Tübingen

--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net


[PyMOL] Change default read position of .pymolrc and .pymolrc.py

2012-02-08 Thread Troels Emtekær Linnet
Hi.

We have builded svn pymol at our unilabs linux computers.

Is there a way to tell pymol it should look for .pymolrc and .pymolrc.py
other places than the users home library?

Or can you run the commands in these files in another way?

Best
Troels
--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d___
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net