Key Bindings and Edge Bindings

Key Bindings and Edge Bindings

Wikis > Key Bindings and Edge Bindings

Bindings (aka shortcuts) Overview

Want to quickly disable your laptop’s touchpad? Then set up a key binding (aka keyboard shortcut). Or easily switch between desktops? Use an edge binding (aka mouse shortcut).

  • Key bindings specify the actions that occur when you press a key combination (i.e. they bind the action to that key combination);
  • edge bindings control what happens when you click an edge or a corner of the screen.

Use them to make your life that little bit easier, or to perform an action that would be impossible by any other means. And the good news is that it’s really easy to set these up by simply choosing an action at the Key or Edge Bindings Settings dialog box.

The Key Bindings

Key Bindings (aka keyboard shortcut). To open the configuration dialog box shown below, go to

Main menu > Settings > Settings Panel > Input > Key Bindings.

The left ‘Key Bindings’ panel lists the (large) number of key bindings that have been set by default, the ‘Action’ pane on the right lists the (huge) number of possible actions. One of the default key bindings is Shift+F10, to maximize a window vertically, and it’s a good idea to press this when you open this dialog box to see more of what’s on offer.

Key Binding Settings
As you will see if you examine the contents of the dialog box, a large number of key bindings have been set by default. These are listed in the table at the end of this article. You can change any of these, and you can add others.

Creating your own key bindings

Notice that hardly any Win key combinations (i.e. the Windows key pressed in combination with another key) have been used for the default bindings. This leaves them free for your own use.

For example, suppose you have upgraded from one version to the next, but wish to continue using the previous version’s binding (Win+Space) to open Quick Launcher. The procedure is:

  1. Click the ‘Add’ button.
  2. Press the key combination you wish to use (Win+Space).
  3. Select ‘Show Quick Launcher’ (about one-third of the way down the Action pane).
  4. Click Apply.

You don’t have to restrict yourself to Win key combinations, of course. If you inspect the list of key bindings at the end of this article you will see that Alt+Space is unused, and so you might bind this to the action ‘Launch Settings Panel’ (about half-way down the Action pane).

A key binding to disable your laptop’s touchpad must execute the appropriate command. To set this up, click the ‘Add’ button at the dialog box above (Step 1), press your desired key combination (Step 2), then select ‘Command’ (in the ‘Launch’ section about half-way down the Action pane). Then, in the Action Parameters box at the foot of this pane, replace the contents (some example syntax) with
synclient TouchpadOff=1″ (no quotes) and click Apply.

If you want to set up another key binding to re-enable the touchpad, the command to insert in the Action Params box is:
synclient TouchPadOff=0″

The Edge Bindings

Edge Bindings (aka mouse shortcut). To open this configuration dialog box, go to:

Main menu > Settings > Settings Panel > Input > Edge Bindings.

It is similar to the Key Bindings dialog box shown above, with the same Action Pane contents at the right, but edge bindings listed at the left. By default no edge bindings have been set, so the left pane is empty. You can set up to eight edge bindings – one for each edge and one for each corner.

Edge Binding Settings

Suppose you wish to set up a binding to show the desktop (i.e. minimize all open windows) when you click the bottom right corner of the screen. The steps to accomplish this are similar to those for key bindings:

  1. Click the Add button. This opens the Edge Binding Sequence dialog box shown below.
  2. Click the edge or corner that wish to use for your binding, select the ‘Clickable Edge’ option, and click Apply. You are returned to the Settings dialog box.
  3. Select ‘Show The Desktop’ (near the top of the Action pane).
  4. Click Apply.

Edge Binding Sequence

If you make use of virtual desktops, you might set a left-edge click to cycle left through the desktops, and a right-edge click to cycle to the right. The Action you should select in this case is ‘Flip Desktop Linearly…’, with ‘-1’ entered in the Action Params box for a left flip, and ‘1’ for a right flip.

Default Key Bindings/Keyboard Shortcuts

The table below shows the key bindings/keyboard shortcuts that have been set-up by default in Moksha.

Single key
Menu (menu key) Show Main Menu
Print Take Screenshot
Single MultiMedia/XF86 keys
Sleep Suspend System
Start Show All Applications Menu
Standby Suspend System
Suspend Suspend System
PowerOff Power Off System
AudioMute Mute Volume
Hibernate Hibernate System
PowerDown Hibernate System
MonBrightnessUp Screen Backlight Up
MonBrightnessDown Screen Backlight Down
AudioLowerVolume Decrease Volume
AudioRaiseVolume Increase Volume
Shift
Shift + F10 Maximize Window Vertically
Control
Ctrl + M Maximize Window Vertically
Ctrl + Menu (menu key) Show Clients Menu
Alt
Alt + F1 Switch to Virtual Desktop 0
Alt + F2 Switch to Virtual Desktop 1
Alt + F3 Switch to Virtual Desktop 2
Alt + F4 Switch to Virtual Desktop 3
Alt + F5 Switch to Virtual Desktop 4
Alt + F6 Switch to Virtual Desktop 5
Alt + F7 Switch to Virtual Desktop 6
Alt + F8 Switch to Virtual Desktop 7
Alt + F9 Switch to Virtual Desktop 8
Alt + F10 Switch to Virtual Desktop 9
Alt + F11 Switch to Virtual Desktop 10
Alt + F12 Switch to Virtual Desktop 11
Alt + Tab Next Window
Alt + Menu (menu key) Show Favorites Menu
Alt + Esc Quick Launcher
Win
Win + Up Maximize Window
Win + Left Maximize Window on Left
Win + Right Maximize Window on Right
Win + Space Quick Launcher
Ctrl + Shift
Ctrl + Shift + F1 Send Mouse to Screen 0
Ctrl + Shift + F2 Send Mouse to Screen 1
Ctrl + Shift + F3 Send Mouse to Screen 2
Ctrl + Shift + F4 Send Mouse to Screen 3
Alt + Shift
Alt + Shift + Up Flip Virtual Desktop Up
Alt + Shift + Tab Previous Window
Alt + Shift + Down Flip Virtual Desktop Down
Alt + Shift + Left Flip Virtual Desktop Left
Alt + Shift + Right Flip Virtual Desktop Right
Ctrl + Alt
Ctrl + Alt + A Show Favorites Menu
Ctrl + Alt + C Show History
Ctrl + Alt + D Show the Desktop
Ctrl + Alt + F Windows Fullscreen Mode Toggle
Ctrl + Alt + I Iconic Mode Toggle
Ctrl + Alt + K Kill Window
Ctrl + Alt + L Lock Desktop
Ctrl + Alt + M Show Main Menu
Ctrl + Alt + N Maximize Window
Ctrl + Alt + R Window Shade Up Mode Toggle
Ctrl + Alt + S Sticky (Window) Mode Toggle
Ctrl + Alt + T Window Always On Top Toggle
Ctrl + Alt + W Window Menu (brings up a menu to max/min etc.)
Ctrl + Alt + X Close (like Alt F4 in windows)
Ctrl + Alt + Up Raise Window
Ctrl + Alt + End Restart Moksha
Ctrl + Alt + Down Lower Window
Ctrl + Alt + Left Flip Desktop Linearly Left
Ctrl + Alt + Right Flip Desktop Linearly Right
Ctrl + Alt + Space Quick Launcher
Ctrl + Alt + Delete Opens Ssystem Controls (power off, suspend, lock, etc)
Ctrl + Alt + Insert Terminology (Command-line interface)