Difference between revisions of "Tricks in VMD"

From Computational Biophysics and Materials Science Group
Jump to: navigation, search
(Created page with "==How to make default background color to white== Add the following lines to vmd.rc under the program directory of VMD # color color Display Background 8 color Display FPS ...")
 
Line 1: Line 1:
 +
==Use the text-mode VMD just like bash!==
 +
//Currently it is only applied to VMD in Linux
 +
 +
Google rlwrap which is a readline wrapper, a small utility that uses the GNU readline library to allow the editing of keyboard input for any other command. It maintains a separate input history for each command, and can TAB-expand words using all previously seen words and/or a user-specified file. Install the program and type
 +
 +
rlwrap vmd -dispdev text
 +
 
==How to make default background color to white==
 
==How to make default background color to white==
 
Add the following lines to vmd.rc under the program directory of VMD
 
Add the following lines to vmd.rc under the program directory of VMD

Revision as of 13:28, 30 November 2014

Use the text-mode VMD just like bash!

//Currently it is only applied to VMD in Linux

Google rlwrap which is a readline wrapper, a small utility that uses the GNU readline library to allow the editing of keyboard input for any other command. It maintains a separate input history for each command, and can TAB-expand words using all previously seen words and/or a user-specified file. Install the program and type

rlwrap vmd -dispdev text

How to make default background color to white

Add the following lines to vmd.rc under the program directory of VMD

# color
color Display Background 8
color Display FPS 16
color Axes Labels 16

# display
display projection Orthographic; # Orthographic/Perspective

Note that the directory, with unknown reason, might be encrypted so you have to open it by typing vi vmd.rc in the Tk console.