Difference between revisions of "Media keys and default keybindings"

From GalliumOS Wiki
Jump to: navigation, search
(Keyboard Shortcuts)
m (grammatical correction)
(14 intermediate revisions by 4 users not shown)
Line 1: Line 1:
GalliumOS includes five keyboard layouts customized for Chromebooks.
+
GalliumOS includes five keyboard layouts customized for Chromebooks. They can be configured from the GalliumOS/Whisker Menu, in Settings >> Keyboard >> Layout >> Keyboard Model.
  
 
Media keys and Function keys can be accessed either with or without pressing the "Overlay" key first, depending on your choice of keyboard layout.
 
Media keys and Function keys can be accessed either with or without pressing the "Overlay" key first, depending on your choice of keyboard layout.
Line 17: Line 17:
 
|-
 
|-
 
| Chromebook / Right alt overlay
 
| Chromebook / Right alt overlay
| Right-Alt
+
| <code>Right-Alt</code>
 
| Function keys
 
| Function keys
 
| Media keys
 
| Media keys
 
|-
 
|-
| style="background-color:#e0e8ff" | '''Chromebook / Right alt overlay / F keys mapped to media keys'''<br>'''** current default: 1.0beta2 **'''
+
| style="background-color:#e0e8ff" | '''Chromebook / Right alt overlay / F keys mapped to media keys'''<br>'''** default for GalliumOS 1.0 and later **'''
| style="background-color:#e0e8ff" | Right-Alt
+
| style="background-color:#e0e8ff" | <code>Right-Alt</code>
 
| style="background-color:#e0e8ff" | Media keys
 
| style="background-color:#e0e8ff" | Media keys
 
| style="background-color:#e0e8ff" | Function keys
 
| style="background-color:#e0e8ff" | Function keys
 
|-
 
|-
 
| Chromebook / Search overlay<br>previous default (1.0beta1), and Crouton default
 
| Chromebook / Search overlay<br>previous default (1.0beta1), and Crouton default
| Super (Search)
+
| <code>Super (Search)</code>
 
| Function keys
 
| Function keys
 
| Media keys
 
| Media keys
 
|-
 
|-
 
| Chromebook / Search overlay / F keys mapped to media key
 
| Chromebook / Search overlay / F keys mapped to media key
| Super (Search)
+
| <code>Super (Search)</code>
 
| Media keys
 
| Media keys
 
| Function keys
 
| Function keys
 
|}
 
|}
  
== Keyboard Shortcuts ==
+
These layouts are stored in /usr/share/X11/xkb/symbols/chromebook* . To modify the functionality of a key, one can make changes to the appropriate file (as root).<br>
 +
For instance, to remap the power key to Delete, add the following line in the appropriate file: <code>key <POWR> {[ Delete ]      };</code>, and set the power button to "Do nothing" in the Power Manager menu.
 +
 
 +
== Key Mappings ==
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 43: Line 46:
 
!Combination
 
!Combination
 
|-
 
|-
|F1-F9
+
|F1-F10
|Accessed directly or with Overlay, depending on Keyboard layout
+
|Accessed directly or with <code>Overlay</code>, depending on Keyboard layout
|-
 
|F10
 
|
 
 
|-
 
|-
 
|F11
 
|F11
Line 59: Line 59:
 
|-
 
|-
 
|End
 
|End
|[Overlay + Right]
+
|<code>Overlay</code> + <code>Right Arrow</code>
 
|-
 
|-
 
|Page Up
 
|Page Up
|[Overlay + Up]
+
|<code>Overlay</code> + <code>Up Arrow</code>
 
|-
 
|-
 
|Page Down
 
|Page Down
|[Overlay + Down]
+
|<code>Overlay</code> + <code>Down Arrow</code>
 
|-
 
|-
 
|Insert
 
|Insert
|[Overlay + . ]
+
|<code>Overlay</code> + <code>.</code>
 
|-
 
|-
 
|Delete
 
|Delete
|[Overlay + Backspace]
+
|<code>Overlay</code> + <code>Backspace</code>
 
|-
 
|-
 
|Caps Lock
 
|Caps Lock
|[Overlay + Alt] (unless Alt is Overlay)
+
|Right-Alt as Overlay: <code>Overlay</code> + <code>Left Alt</code> + <code>Right Shift</code><br>Super as Overlay: <code>Overlay</code> + <code>Left Alt</code>
 +
|}
 +
 
 +
Crouton keyboard layout: https://github.com/dnschneid/crouton/wiki/Keyboard
 +
 
 +
Other discussion: https://github.com/GalliumOS/galliumos-distro/issues/50
 +
 
 +
== Keyboard Shortcuts ==
 +
 
 +
{| class="wikitable"
 +
!Key
 +
!Combination
 
|-
 
|-
 
|Screenshot (fullscreen)
 
|Screenshot (fullscreen)
|[Ctrl + F5(display)]
+
|<code>Ctrl</code> + <code>F5(display)</code>
 
|-
 
|-
 
|Screenshot (window)
 
|Screenshot (window)
|[Ctrl + Shift + F5(display)]
+
|<code>Ctrl</code> + <code>Shift</code> + <code>F5(display)</code>
 
|-
 
|-
 
|Whisker Menu/Search
 
|Whisker Menu/Search
|[Super + M] (unless Super is Overlay)<br>[Alt + M] (unless Alt is Overlay)
+
|Right-Alt as Overlay: <code>Super</code> + <code>M</code><br>Super as Overlay: <code>Left-Alt</code> + <code>M</code>
 
|-
 
|-
 
|Keyboard Backlight Toggle
 
|Keyboard Backlight Toggle
|[Overlay + 0]
+
|<code>Overlay</code> + <code>0</code> '''(not working!)'''
 
|-
 
|-
 
|Keyboard Backlight Brightness Down
 
|Keyboard Backlight Brightness Down
|[Overlay + - ]
+
|<code>Overlay</code> + <code>-</code>
 
|-
 
|-
 
|Keyboard Backlight Brightness Up
 
|Keyboard Backlight Brightness Up
|[Overlay + = ]
+
|<code>Overlay</code> + <code>=</code>
 
|}
 
|}
 
 
Crouton keyboard layout: https://github.com/dnschneid/crouton/wiki/Keyboard
 
 
Other discussion: https://github.com/GalliumOS/galliumos-distro/issues/50
 

Revision as of 08:20, 23 April 2018

GalliumOS includes five keyboard layouts customized for Chromebooks. They can be configured from the GalliumOS/Whisker Menu, in Settings >> Keyboard >> Layout >> Keyboard Model.

Media keys and Function keys can be accessed either with or without pressing the "Overlay" key first, depending on your choice of keyboard layout.

Keyboard Layouts

Layout Name Overlay Key Top row keys (alone) Top row keys (with Overlay)
Chromebook / No overlay / F keys mapped to media keys None Media keys Media keys
Chromebook / Right alt overlay Right-Alt Function keys Media keys
Chromebook / Right alt overlay / F keys mapped to media keys
** default for GalliumOS 1.0 and later **
Right-Alt Media keys Function keys
Chromebook / Search overlay
previous default (1.0beta1), and Crouton default
Super (Search) Function keys Media keys
Chromebook / Search overlay / F keys mapped to media key Super (Search) Media keys Function keys

These layouts are stored in /usr/share/X11/xkb/symbols/chromebook* . To modify the functionality of a key, one can make changes to the appropriate file (as root).
For instance, to remap the power key to Delete, add the following line in the appropriate file: key <POWR> {[ Delete ] };, and set the power button to "Do nothing" in the Power Manager menu.

Key Mappings

Key Combination
F1-F10 Accessed directly or with Overlay, depending on Keyboard layout
F11
F12
Home Overlay + Left Arrow
End Overlay + Right Arrow
Page Up Overlay + Up Arrow
Page Down Overlay + Down Arrow
Insert Overlay + .
Delete Overlay + Backspace
Caps Lock Right-Alt as Overlay: Overlay + Left Alt + Right Shift
Super as Overlay: Overlay + Left Alt

Crouton keyboard layout: https://github.com/dnschneid/crouton/wiki/Keyboard

Other discussion: https://github.com/GalliumOS/galliumos-distro/issues/50

Keyboard Shortcuts

Key Combination
Screenshot (fullscreen) Ctrl + F5(display)
Screenshot (window) Ctrl + Shift + F5(display)
Whisker Menu/Search Right-Alt as Overlay: Super + M
Super as Overlay: Left-Alt + M
Keyboard Backlight Toggle Overlay + 0 (not working!)
Keyboard Backlight Brightness Down Overlay + -
Keyboard Backlight Brightness Up Overlay + =