Keyboard shortcuts: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Add view source alternative keyboard shortcut since sl.org also links this page)
(Nothing Is Impossible)
Line 1: Line 1:
It is a pity, that now I can not express - there is no free time. I will be released - I will necessarily express the opinion on this question.
{{OLPC}}
{{Translations}}
This page provides a listing of the agreed upon shortcuts for the system at large and for various controls within the activities, which should be referenced for consistency across them. For a high-level philosophical on the usage of various modifier keys, please refer to the [[OLPC Human Interface Guidelines/The Sugar Interface/Input Systems#Keyboard Shortcuts|HIG]].

Please see [[Cheat_codes|cheat codes]] for a list of boot options.

{{Users}}
== Special keys ==
* the '''Ctrl''' key has a solid diamond on it (♦);
* the '''Alt''' key has an open diamond on it (◊);
* the '''Esc''' key has a white × inside a black circle ([[Image:Esc.png]]);
* the '''Tab''' key has double arrows on it (↹);
* the '''Tilde''' key has a tilde on it (~);
* the '''Frame''' key has an open rectangle on it (□);
* the '''F1''' key is the same as the Neighborhood view key ([[Image:Mesh key f1 small.png]]);
* the '''F2''' key is the same as the Group view key ([[Image:Friends key f2 small.png]]);
* the '''F3''' key is the same as the Home view key ([[Image:Home key f3 small.png]]);
* the '''F4''' key is the same as the Activity view key ([[Image:Activity key f4 small.png]]);
* the '''Delete''' key is the same as Fn-Erase.
* the '''Page Up''' key is the same as Fn-up-arrow (↑).
* the '''Page Down''' key is the same as Fn-down-arrow (↓).
* the '''Home''' key is the same as Fn-left-arrow (←).
* the '''End''' key is the same as Fn-right-arrow (→).

== Keyboard shortcuts ==
{|border=1 cellpadding=3 cellspacing=3 style="margin: 1em auto 1em auto; border: 1px #666666 solid; border-collapse: collapse; background: #f9f9f9;"
!style="background:#cccccc;"|Keystroke!!style="background:#cccccc;"|Description

|-style="background: #e9e9e9;"
|colspan="2"|'''Sugar/System'''
|-
|Alt-Tab <strike>Ctrl-Tab</strike>
|Cycle forward through running activities
|-
|Shift-Alt-Tab <strike>Shift-Ctrl-Tab</strike>
|Cycle backward through running activities
|-
|<strike>Ctrl-Tilde</strike> (See discussion)
|<strike>Cycle forward through running instances of the current activity</strike>
|-
|<strike>Shift-Ctrl-Tilde</strike> (See discussion)
|<strike>Cycle backward through running instances of the current activity</strike>
|-
|Ctrl-c
|Copy to clipboard
|-
|Ctrl-v
|Paste from clipboard
|-
|Ctrl-x
|Cut (and copy to clipboard)
|-
|Ctrl-a
|Select all (current input/dialog/text box )
|-
|Ctrl-q
|Quit activity
|-
|Ctrl-Esc
|Quit activity
|-
|Alt-Enter
|Toggle full-screen mode
|-
|Alt-Space
|Toggle tray visibility (works in Browse but not in Record)
|-
|Ctrl-u
|View source in Browse (opens copy of source in Write)
|-
|Fn-Space
|View source (system wide, although not enabled in all applications yet)
|-
|Ctrl-Alt-Erase
|Restart Sugar
|-
|Alt-1
|Screen capture; saved to Journal as a [[PNG]] file named "Screenshot"
|-
|Ctrl-Alt-F1 (F1 is the Neighborhood key)
|[[Console]] 1
|-
|Ctrl-Alt-F2 (F2 is the Friends key)
|[[Console]] 2
|-
|Ctrl-Alt-F3 (F3 is the Home key)
|switch back to Sugar/X Windows from a console
|-
|Esc-Frame-RightArrow-Fn (the four corners keys on the keyboard)
|Recalibrate touchpad (AKA [[Four finger salute]]); '''Fn''' should be pressed last. [[Image:Four finger salute.jpg|120px]]
|-
|Fn-UpArrow
|Page Up
|-
|Fn-DownArrow
|Page Down
|-
|Fn-LeftArrow
|Home
|-
|Fn-RightArrow
|End
|-
|Alt-BrightnessDown
|Backlight off black & white mode
|-
|Alt-BrightnessUp
|Full brightness color mode
|-
|Ctrl-VolumeDown
|Mute
|-
|Ctrl-VolumeUp
|Full volume

|-style="background: #e9e9e9;"
|colspan="2"|'''Equivalents for special keys (e.g. when [[emulating the XO]])'''
|-
|Alt-Shift-f
|Frame (the dedicated frame key)
|-
|Alt-Shift-o
|Open search
|-
|Alt-Shift-r
|Rotate (the rotate screen button)
|-
|Alt-Shift-s
|Say text
|-
|Alt-Shift-v
|View source (system wide, although not enabled in all applications yet)
|-
|-style="background: #e9e9e9;"
|colspan="2"|'''Special keys for [[emulating the XO]])'''
|-
|Alt-Shift-q
|quit emulation

|}

=== Not in terminal ===
A terminal window sends Ctrl+''key'' combinations to the program you are running, so most of these key combinations don't work.
In release [[8.1.0]] and subsequent releases, to copy or paste in the [[Terminal Activity]], press Shift-Ctrl-c or Shift-Ctrl-v.

==Using modifier keys in combination==
Note about the use of modifier keys: there are several (slightly) different ways in which key combinations are indicated in the wiki. Whenever you see combinations separated by either a - or + this means to press these keys together, starting with the modifier keys. The last key in the sequence should be pressed while holding down the modifier key(s). For example:

Shift-A (or Shift+A) means hold the Shift key down and ''then'' press the A key ''while holding down the Shift key''. This will create a capital letter A. (The order is important: if you press the A key first, the result will be a lower case a.)

Ctrl-Alt-Erase (or Ctrl+Alt+Erase) means hold down both the Ctrl and Alt keys and ''then'' press the Erase key. This will restart Sugar/X Windows. (Again, the order is important: if you press the Erase key first, the result will be a backspace.)

[[Category:Keyboard]]

Revision as of 12:34, 10 December 2010

It is a pity, that now I can not express - there is no free time. I will be released - I will necessarily express the opinion on this question.