Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Notes for Chromebook keyboard settings
- ## Make the search key an additional Escape
- The chromebook search key sends the keycode 133, or `LWIN`. This can be mapped
- as an additional escape key (useful for vim users) using XKB.
- Create the file `/usr/share/X11/xkb/symbols/chromebook` with the following:
- // Make LWIN an additional Escape
- hidden partial modifier_keys
- xkb_symbols "lwin_escape" {
- key <LWIN> { [ Escape ] };
- modifier_map Mod4 { <LWIN> };
- };
- Edit `/usr/share/X11/xkb/rules/evdev` and add a new line in the
- `! option = symbols` section:
- chromebook:lwin_escape = +chromebook(lwin_escape)
- Edit `/usr/share/X11/xkb/evdev.lst` and addl
- chromebook:lwin_escape Make Chromebook search key (LWIN) an additional Escape
- Then, run dconf-editor, and add the `'chromebook:lwin_escape'` xkb option for
- Gnome under `org.gnome.desktop.input-sources`.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement