Difference between revisions of "Plugins"

From PyMOLWiki
Jump to navigation Jump to search
(→‎Using Fink: Change title of section to reflect additonal package managers. Fix link for Fink, add links for MacPorts and Homebrew. Update install example to refer to pymol-py27 fink package and remove unnecessary tags.)
(Write a more comprehensive introduction, add information about installing plugins on Linux, add see also to Plugin_manager page)
Line 1: Line 1:
Plugins are modules which can add functionality to Pymol.
+
== Overview ==
 +
Plugins are external modules that add functionality to PyMOL. Latest version of PyMOL came with two plugins already installed [[APBS]] and [[PDB_Loader_Service]]. Since version 1.5.0.5 PyMOL also comes with a [[Plugin Manager]], which can be used to conveniently install and uninstall plugins. You can find a list of several available PyMOL plugins on [http://pymolwiki.org/index.php/Category:Plugins this] page. If you are interested into writing your own plugin please read the [[Plugins_Tutorial]].
  
== Plugins on OS X ==
 
  
=== Using MacPyMOL ===
+
==Installing Plugins==
 +
To install a plugin open PyMOL and then go to ''Plugin -> Plugin manager -> Install new plugin''. You will have the option to install from a file on your computer or directly from the PyMOL wiki by providing the proper url (the name of the plugin's page at the PyMOL wiki).
 +
 
 +
Below you will find some more information that may be relevant when installing plugins and that is specific to different operating systems.
 +
 
 +
=== Plugins on Windows ===
 +
Coming soon
 +
 
 +
=== Plugins on Linux ===
 +
 
 +
On Linux, PyMOL is generally installed on a system's folder. Thus, if you want to install plugins you should launch PyMOL from a terminal using the command:
 +
 
 +
sudo pymol
 +
 
 +
Alternatively, if you launch PyMOL without administrators rights. The plugin manager will ask you if you want to install the plugin on the local folder
 +
 
 +
~/.pymol/startup.
 +
 
 +
=== Plugins on OS X ===
 +
 
 +
==== Using MacPyMOL ====
 
The standard OS X Pymol application, MacPyMOL.app does not run with the Tcl/Tk interface which is required for plugins to work. However, a quick renaming of the program from MacPyMOL.app to PyMOLX11Hybrid.app makes the application run as an X11 application, and plugins are now available.
 
The standard OS X Pymol application, MacPyMOL.app does not run with the Tcl/Tk interface which is required for plugins to work. However, a quick renaming of the program from MacPyMOL.app to PyMOLX11Hybrid.app makes the application run as an X11 application, and plugins are now available.
  
Line 10: Line 30:
 
Once this change is made, half of the program will show up under the X11 icon, and half will show up under the MacPyMOL icon.
 
Once this change is made, half of the program will show up under the X11 icon, and half will show up under the MacPyMOL icon.
  
=== Using a Package Manager ===
+
==== Using a Package Manager ====
 
An alternative to renaming MacPyMOL is to download the PyMOL installation using a package manager such as [[MAC_Install#PyMOL_and_Fink|Fink]], [[MAC_Install#PyMOL_in_MacPorts|MacPorts]], or [[MAC_Install#Installing_PyMOL_with_Homebrew|Homebrew]].
 
An alternative to renaming MacPyMOL is to download the PyMOL installation using a package manager such as [[MAC_Install#PyMOL_and_Fink|Fink]], [[MAC_Install#PyMOL_in_MacPorts|MacPorts]], or [[MAC_Install#Installing_PyMOL_with_Homebrew|Homebrew]].
  
 
  fink install pymol-py27
 
  fink install pymol-py27
 +
 +
=SEE ALSO=
 +
[[Plugin_manager]]
  
  
 
[[Category:Plugins]]
 
[[Category:Plugins]]

Revision as of 04:07, 22 September 2015

Overview

Plugins are external modules that add functionality to PyMOL. Latest version of PyMOL came with two plugins already installed APBS and PDB_Loader_Service. Since version 1.5.0.5 PyMOL also comes with a Plugin Manager, which can be used to conveniently install and uninstall plugins. You can find a list of several available PyMOL plugins on this page. If you are interested into writing your own plugin please read the Plugins_Tutorial.


Installing Plugins

To install a plugin open PyMOL and then go to Plugin -> Plugin manager -> Install new plugin. You will have the option to install from a file on your computer or directly from the PyMOL wiki by providing the proper url (the name of the plugin's page at the PyMOL wiki).

Below you will find some more information that may be relevant when installing plugins and that is specific to different operating systems.

Plugins on Windows

Coming soon

Plugins on Linux

On Linux, PyMOL is generally installed on a system's folder. Thus, if you want to install plugins you should launch PyMOL from a terminal using the command:

sudo pymol

Alternatively, if you launch PyMOL without administrators rights. The plugin manager will ask you if you want to install the plugin on the local folder

~/.pymol/startup.

Plugins on OS X

Using MacPyMOL

The standard OS X Pymol application, MacPyMOL.app does not run with the Tcl/Tk interface which is required for plugins to work. However, a quick renaming of the program from MacPyMOL.app to PyMOLX11Hybrid.app makes the application run as an X11 application, and plugins are now available.

To rename the executable, right click (or control click) on MacPyMOL and choose "Get Info" in the Panel. Change the Name & Extension to PyMOLX11Hybrid.app. This name can also be changed using the mv command in Terminal.app.

Once this change is made, half of the program will show up under the X11 icon, and half will show up under the MacPyMOL icon.

Using a Package Manager

An alternative to renaming MacPyMOL is to download the PyMOL installation using a package manager such as Fink, MacPorts, or Homebrew.

fink install pymol-py27

SEE ALSO

Plugin_manager