Create the file /etc/X11/xorg.conf.d/50-touchpad.conf and add the following to it:
Section "InputClass" Identifier "touchpad" MatchIsTouchpad "on" Option "FingerHigh" "5" Option "FingerLow" "5" EndSection
pacman -S alsa-utils
Install acpid and pm-utils:
pacman -S acpid pm-utils
Edit /etc/acpi/handler.sh and near the bottom you'll see the button/lid section. Add pm-suspend to the close section to look like:
button/lid) case "$3" in close) logger 'LID closed' pm-suspend ;;
Enable and start acpid:
systemctl enable acpid systemctl start acpid
Closing the lid will now trigger a suspend, and opening it will wake the system.
To allow all users to modify the backlight control at /sys/class/backlight/pwm-backlight.0/brightness, create and edit the file /etc/tmpfiles.d/brightness.conf with these contents:
f /sys/class/backlight/pwm-backlight.0/brightness 0666 - - - 800
On boot, systemd will now set the permissions of that control file to be world writable. Acceptable values are 0-2800.
Copyright ©2009-2017 Arch Linux ARM
The registered trademark Linux® is used pursuant to a sublicense from LMI, the exclusive licensee of Linus Torvalds, owner of the mark on a world-wide basis.
The Arch Linux™ name and logo are used under permission of the Arch Linux Project Lead.