Back

linux configuration for touchpad and keyboard

linux configuration for touchpad and keyboard
linux

create file in /etc/x11/xorg.conf.d/30-touchpad.conf

txt
Section "InputClass"
	Identifier "touchpad"
	MatchIsTouchpad "on"
	Driver "libinput"
	Option "Tapping" "on"
	Option "Drag" "true"
	Option "TapAndDragGesture" "true"
EndSection

this configuration will enable tapping and drag with tap gesture, just double tap then drag

create file in /etc/x11/xorg.conf.d/00-keyboard.conf

txt
Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "us"
        Option "XkbModel" "pc105"
	Option "XkbOptions" "ctrl:swap_lwin_lctl"
EndSection

this configuration will swap super/win/cmd button with ctrl

Back

© Copyright 2015 Fajar SP
Code snippets are MIT licensed

Enjoy the rest of your Tuesday!