Keyboard shortcuts in shelXle

A Qt GUI for SHELXL
Link: shelXle Homepage

Moderator: chuebsch

dkratzert
Sealed Tube With Optics
Posts: 93
Joined: 08 Mar 2011, 22:50

Keyboard shortcuts in shelXle

Post by dkratzert » 29 Sep 2011, 19:23

Hello shelXle users,
It seems to me that some people don't know about the fact that shelXle is very comfortably usable with keys. For all users like me who do not like to use the mouse very often, I tried to make a hopefully complete list of keys to use shelXle. Espeacially F2 -> SPACE and CTRL + DEL are very useful undocumented key combinations.

F2 "run SHELX --> SPACE -> load refinement results"
ALT + F2 "insert ANIS and run SHELX"
F3 "Find/Find next in input file; SHIFT + F3 - find previous"
F4 "toggle depth cueing"
F5 "redraw structure"
F6 "toggle background gradient"

The philosophy of shelXle is that all key combinations wit the ALT key are used for the viewer, whereas all with the CTRL key are for the text editor.

CTRL + DEL "selected atom(s) will be deleted"
CTRL + o "open file"
CTRL + s "save file"
CTRL + z "undo last action"
CTRL + y "redo last action"
CTRL + + "increase editor font size"
CTRL + - "decrease editor font size"

ALT + A "toggle atoms"
ALT + B "toggle bonds"
ALT + C "toggle unit cell"
ALT + L "toggle labels"
ALT + E "toggle ADPs"
ALLT + + "increase label font size"
ALLT + - "decrease label font size"
ALT + H "toggle H-bonds"


ALT + s "save a screen shot"
ALT + pgUp "zoom in"
ALT + pgDown "zoom out"
ALT + left, right, up, down "rotate left, right, up, down"

ALT + SHIFT + B "change background color"
ALT + SHIFT + T "change label color"
ALT + SHIFT + A "change atom styles"

META + SHIFT + Q "delete all q-peaks (META = windows key)"
META + SHIFT + H "delete all hydrogen atoms[/list]"
Last edited by Rudi on 30 Sep 2011, 09:11, edited 2 times in total.
Reason: typo fixed (see Christian's post)

User avatar
chuebsch
300th member
Posts: 85
Joined: 10 Nov 2009, 18:56
Location: Bayreuth

Re: Keys in shelXle

Post by chuebsch » 29 Sep 2011, 19:44

Thanks a lot Daniel for this nice list!

For Mac users: there is as usual the Ctrl key is interchanged with the Cmd key.
The editor has of course Ctrl+C, Ctrl+X and Ctrl+V for copy, cut and paste.

I found a little typo:
CTRL + o "save file"
is of course: CTRL + s "save file"

Christian

dkratzert
Sealed Tube With Optics
Posts: 93
Joined: 08 Mar 2011, 22:50

Re: Keyboard shortcuts in shelXle

Post by dkratzert » 19 Feb 2012, 17:07

New shortcut:

ALT + R "toggle rename mode"

dkratzert
Sealed Tube With Optics
Posts: 93
Joined: 08 Mar 2011, 22:50

Re: Keyboard shortcuts in shelXle

Post by dkratzert » 15 Jul 2016, 08:41

There is a new shortcut since version 781.

Pressing F1 while the text cursor is located over a SHELX command
will open a web browser and display the help text of the respective command.

User avatar
Brownml2
Rotating Anode
Posts: 101
Joined: 25 Jul 2014, 22:43
Location: Vancouver, BC, Canada

Re: Keyboard shortcuts in shelXle

Post by Brownml2 » 15 Jul 2016, 17:28

Ok, that last one sounds VERY useful, since I'm very much still learning.

I'll see about mapping some of those to mousekeys. I create Logitech mouse profiles for most of my crystallography applications, since often the keyboard mappings aren't great for manipulating the view. (ShelxLE is pretty good, Olex2 is not) If people want I could post the files I use for those as I develop them.

User avatar
oleg
Olex2 Boffin
Posts: 667
Joined: 24 Nov 2008, 21:34

Re: Keyboard shortcuts in shelXle

Post by oleg » 16 Jul 2016, 07:01

Actually, Olex2's key map is adjustable (no help on F1 though!)

<#include "app.ConfigDir()/custom_settings.xld" extend='true'>

that includes your file into the business - you choose what menu or shortcut you have.
Cheers,
o.

User avatar
Brownml2
Rotating Anode
Posts: 101
Joined: 25 Jul 2014, 22:43
Location: Vancouver, BC, Canada

Re: Keyboard shortcuts in shelXle

Post by Brownml2 » 18 Jul 2016, 23:00

That is good to know, but it can be a bit tricky getting the extra keys on my mouse to work consistently in Windows programs. Good to know though for if I ever move away from Logitech mice.

Return to “shelXle”