Skip to content

Instantly share code, notes, and snippets.

@tymm
tymm / gist:bf2aba9e3164b1311c56aef0cb76bb20
Created January 20, 2019 16:10
/usr/share/X11/xkb/symbols/us-custom
default partial alphanumeric_keys
xkb_symbols "basic" {
name[Group1]= "Custom US Layout";
include "us"
key <AC01> { [ a, A, adiaeresis, Adiaeresis ] };
key <AD07> { [ u, U, udiaeresis, Udiaeresis ] };
key <AD09> { [ o, O, odiaeresis, Odiaeresis ] };
@tymm
tymm / gist:549c9a4250f06d5cd8c59c68341c22c9
Last active January 20, 2019 21:08
/etc/default/keyboard
XKBMODEL="pc105"
XKBLAYOUT="us-custom"
XKBVARIANT=""
XKBOPTIONS="lv3:lalt_switch,terminate:ctrl_alt_bksp,ctrl:nocaps"
BACKSPACE="guess"
@tymm
tymm / gist:f2e26b33b1b4a98c1f7079d83300f8e8
Last active January 20, 2019 21:09
/etc/X11/xorg.conf.d/00-keyboard.conf
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "us-custom"
Option "XkbModel" "pc105"
Option "XkbVariant" ""
Option "XkbOptions" "lv3:lalt_switch,terminate:ctrl_alt_bksp,ctrl:nocaps"
EndSection
@tymm
tymm / gist:c2771d1d0dd256471b7082b4f11063b1
Created January 20, 2019 16:31
/etc/X11/xorg.conf.d/20-nvidia.conf
Section "Module"
Load "modesetting"
EndSection
Section "Device"
Identifier "Device NVIDIA GPU"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "AllowEmptyInitialConfiguration"