Skip to content

Instantly share code, notes, and snippets.

@wesrog
Last active July 19, 2022 20:21
Show Gist options
  • Save wesrog/34c555bb7eebd44557e1 to your computer and use it in GitHub Desktop.
Save wesrog/34c555bb7eebd44557e1 to your computer and use it in GitHub Desktop.
Arch Linux setup steps on a Dell XPS 13 (L322X)

Get product name/model

❯ cat /sys/class/dmi/id/product_name
XPS L322X

Auto-connect to network

❯ pacman -S wpa_actiond
❯ systemctl enable netctl-auto@wlp1s0
❯ systemctl start netctl-auto@wlp1s0

Prevent screen tearing

❯ cat /etc/X11/xorg.conf.d/20-intel.conf

Section "Device"
   Identifier  "Intel Graphics"
   Driver      "intel"
   Option      "TearFree"    "true"
EndSection

Improve trackpad

❯ cat /etc/X11/xorg.d/50-synaptics.conf

Section "InputClass"
        Identifier "touchpad catchall"
        Driver "synaptics"
        MatchIsTouchpad "on"
        Option "TapButton1" "1"
        Option "TapButton2" "2"
        Option "TapButton3" "3"
	
	Option "PalmDetect" "1"
	Option "PalmMinWidth" "8"
	Option "PalmMinZ" "100"

	# Natural scrolling
	Option "VertEdgeScroll" "on"
	Option "VertTwoFingerScroll" "on"
	Option "VertScrollDelta" "-15"
	Option "HorizScrollDelta" "15"
	Option "HorizTwoFingerScroll" "on"
	Option "HorizEdgeScroll" "on"
	Option "EmulateTwoFingerMinZ" "40"
	Option "EmulateTwoFingerMinW" "8"

	# Increase sensitivity
	Option "MinSpeed" "0.5"
	Option "MaxSpeed" "10"
	Option "AccelFactor" "0.8"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment