Pymolrc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
When Pymol [[Launching PyMOL|launches]], it will read custom settings and functions from a .pymolrc (windows: pymolrc.pym) file. | When Pymol [[Launching PyMOL|launches]], it will read custom settings and functions from a .pymolrc (windows: pymolrc.pym) file. | ||
In windows put file under "C:\Users\YOU\pymolrc.pym". | In windows put file under "C:\Users\YOU\pymolrc.pym". <br> | ||
On a linux-type system, this file will be located in /path/to/home/.pymolrc. | On a linux-type system, this file will be located in /path/to/home/.pymolrc. | ||
Revision as of 07:42, 2 June 2012
When Pymol launches, it will read custom settings and functions from a .pymolrc (windows: pymolrc.pym) file.
In windows put file under "C:\Users\YOU\pymolrc.pym".
On a linux-type system, this file will be located in /path/to/home/.pymolrc.
An example of a .pymolrc file is:
# this will run the script in the specified location
run /path/to/home/pymol/load_sep.py
set movie_loop, 0
set two_sided_lighting, 1
set label_size, 60
set label_outline_color, 1
set label_color, 0
set label_position, [0, 0, 10]
# for images:
# antialias =1 smooths jagged edges, 0 turns it off
set antialias = 1
# stick_radius -adjust thickness of atomic bonds
set stick_radius = 0.3
# set fetch_path
set fetch_path, /your/fetch/path
To reload .pymolrc file (e.g. after editing .pymolrc, or after running reinitialize), use:
@~/.pymolrc