xkeyboard-config with custom mapping for Chromebooks.
- F1-F3,F6-F10 keys mapped to the same keysyms as in ChromeOS.
- F5 mapped to Print keysym (PrintScreen key).
English(US, Chromebook)layout was added as a replacement of
English(US)layout with Alt_R mapped to AltGR.
- Alt+Shift+Arrows (Up, Down, Left, Right) mapped to the same keysyms as Alt[+Ctrl]+Arrows in ChromeOS (PgUp, PgDown, Home, End).
- AltGR+Backspace mapped to Delete.
- F1-F10 keysyms with modifiers are the same (e.g. ALT+F4 still close a window).
- Get the keysyms of F1-F10 with AltGR (e.g. AltGR+F2 for rename in Nautilus).
- Suitable when multiple layouts are used (superior to xmodmap as its settings purged when changing layout/language).
- Works with GTK3 apps like Epiphany and Nautilus (xbindkeys+xvkbd doesn't).
- Gnome's drop-down-terminal extension: get the backtick/grave character with AltGR+` on the English (US, Chromebook) layout.
- Works well in a Gnome Wayland session.
- Chromium, Firefox and LibreOffice aren't respecting Alt+Shift mapping. Alt+Shift+Arrows (PgUp, PgDown, Home, End) not working properly for navigation in Chromium and Firefox but do work when writing in a text box with these applications, it also works in any other application (perfect in Epiphany).
- Alt+Shift+Down hotkey (set as
PgDown) conflicts with Nautilus hotkey mapping to the action
OpenCloseParent. It's recommended to clear the hotkey mapping by adding the following line to
(gtk_accel_path "<Actions>/DirViewActions/OpenCloseParent" "")
- Firefox doesn't respect XF86Reload (F3 key set as Reload). If Firefox is your default browser then you can comment out the patch that set F3 as XF86Reload and use another method to set it as 'Ctrl+R', see example in xbindkeys_sample.
###Other recommended hotkeys tweaks
- Nautilus: set Alt+Backspace as send-to-trash action and Shift+Backspace as delete by adding the following lines to
(gtk_accel_path "<Actions>/DirViewActions/Trash" "<Alt>BackSpace") (gtk_accel_path "<Actions>/DirViewActions/Delete" "<Shift>BackSpace")
With the extension Hotkeys map Alt+Shift+Arrows to the same actions as the Alt[+Ctrl]+Arrows in ChromeOS (preferable as Alt+Left/Right already used for Back/Forward).
- Install the extension Key Config.
- Extract the file keyconfig.js from the xpi package (it's just a zip) and open it, replace the two occurence of the function of scrollByLine to scrollByPages and limit the argument to 1.
- Update the xpi with our keyconfig.js.
- Start Firefox and map Alt+Shift+Arrows to the same actions as the Alt[+Ctrl]+Arrows in ChromeOS (preferable as Alt+Left/Right already used for Back/Forward).
Sample configuration file is supplied (xbindkeys_sample) as users might like having extra hotkeys (I don't).
The main difference between the sample config to ChromeOS is the use of Ctrl+Arrows instead of Alt+Arrows.