The ui command sets generic tool-interface preferences and adjusts mouse-button assignments for interactive manipulation.• ui autostart true | false tool-name
• ui dockable true | false tool-name
Whether the tool should start automatically upon subsequent ChimeraX startup; saved in preferences. Can also be adjusted through context menus.
• mousemode [ control ] [ alt ] [ command ] [ shift ] [ leftMode function ] [ middleMode function ] [ rightMode function ] [ wheelMode function ] [ pauseMode function ]
Whether panels of the tool should be allowed to reinsert automatically when dragged over the main window, as opposed to remaining separate; initially true for all panels except the Help Viewer; saved in preferences. Can also be adjusted through context menus.
The mousemode command (same as ui mousemode) assigns ChimeraX functions to the left, middle, and right mouse buttons, alone and in combination with the modifier keys control, alt, command, and shift. In addition, wheelMode refers to scrolling and pauseMode refers to pausing the cursor over something in the graphics window without clicking any buttons.
A touchpad or single-button mouse can also be used. See also: device, Mouse Modes for Right Button toolbar, Marker Placement, ChimeraX window
Given without arguments, the mousemode command reports the current assignments in the Log. Initial defaults include:
- left: rotate
- middle: translate
- right: translate
- wheel (scrolling): zoom
- Ctrl-left: new selection
- Shift-Ctrl-left: toggle selection
Possible values of function are listed in the table below. They can be truncated to unique strings. If function contains spaces, it should be enclosed in quotation marks. Not all functions make sense for a given input mode; for example, only identify object and none are reasonable functions for pauseMode.
Multiple modifier keys and multiple “buttons” can be given in a single command, but all specified modifiers apply to all specified buttons. For example, two commands rather than one would be needed to assign functions to control right and alt wheel:mousemode control right 'rotate and select'
mousemode alt wheel contour
(default assignment, if any)
description Mouse Modes icon rotate
XY-rotate (screen coordinates) with cursor in central part of window, Z-rotate with cursor in periphery, except if wheel, Y-rotate only; see also turn, roll translate
XY-translate (screen coordinates), except if wheel, Z-translate; see also move zoom
zoom the view; see also zoom select
select items for subsequent operations; see also select select toggle
(shift control left)
toggle selection status (select if not already selected, deselect if selected) identify object
show identifying information in balloon, atomic-model chain description (if available) in status line pivot
set center of rotation to atom; see also cofr select add add to selection; see also select (do not toggle to deselected if already selected) select subtract subtract from selection; see also select (do not toggle to selected if already deselected) rotate and select click to select, drag to rotate translate selected models translate models with any part selected rotate selected models rotate models with any part selected clip activate and translate front clipping plane, +Alt back plane, +Shift slab (front and back in same direction), +Alt-Shift slab thickness (front and back in opposite directions); if only near/far (fixed-orientation) planes already active, move those instead of front/back (rotatable) planes; see also clip clip rotate activate and rotate front/back clipping planes; see also clip distance add distance monitor pseudobond between two successively clicked atoms or remove existing distance monitor; see also distance and label label label/unlabel clicked atom or ribbon segment with residue name and number (slightly different in VR),
unlabel all residues when background is clicked; see also label
move label move 2D label; see also 2dlabels bond rotation adjust torsion angle (original position not retained); see also torsion contour level adjust volume data threshold level; see also volume move planes show volume data outline box and adjust region size by dragging any face, or move through planes when only a single plane (per axis) is shown; see also volume place marker place marker (details...) connect markers select and link successively clicked markers play map series play volume series; see also vseries none no assignment tug drag atoms and apply OpenMM dynamics while button is held down (details...); original coordinates not retained minimize jiggle residue and its neighbors with OpenMM dynamics while button is held down (details...); original coordinates not retained swapaa “mutate” and label the amino acid residue under the mouseclick, with vertical drag cycling through the 20 standard types in arbitrary conformations; original sidechain not retained zone limit atomic and volume data display to a zone around the clicked residue (details...) windowing adjust volume data thresholds collectively: vertical motion adjusts window level (moves all thresholds in parallel to higher or lower values), horizontal motion adjusts window width (moves thresholds symmetrically farther apart or closer together); the dominant type of motion wins out, i.e., a diagonal movement will not change both level and width
A click with a touchpad (trackpad) or single-button mouse is generally interpreted as left click, but can be combined with modifier keys to emulate middle and right:
Magic Mouse issue: if a trackpad is also present, scrolling with the Magic Mouse will not work unless multitouch actions are disabled in the Trackpad preferences (the Trackpad gestures option is unchecked).