Save settings: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
(moved script to github)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Infobox script-repo
{{Infobox script-repo
|type      = Python Module
|type      = Python Module
|filename  = save_settings.py
|filename  = scripts/save_settings.py
|author    = [[User:Speleo3|Thomas Holder]]
|author    = [[User:Speleo3|Thomas Holder]]
|license  = BSD-2-Clause
|license  = BSD-2-Clause
Line 23: Line 23:
[[Category:Script_Library]]
[[Category:Script_Library]]
[[Category:UI_Scripts]]
[[Category:UI_Scripts]]
[[Category:Pymol-script-repo]]

Latest revision as of 23:10, 22 June 2025

Type Python Module
Download scripts/save_settings.py
Author(s) Thomas Holder
License BSD-2-Clause
This code has been put under version control in the project Pymol-script-repo

save_settings is a prototype implementation to save all settings with non-default values to a file.

By default settings will be stored to ~/.pymolrc-settings.py which is automatically recognised and loaded by PyMOL on startup. You have to manually delete the file if you no more want those settings to be loaded.

This answers a feature request on sourceforge.

Usage

save_settings [ filename ]

See Also