Skip to content

Instantly share code, notes, and snippets.

@Koronen
Last active January 7, 2020 20:04
Show Gist options
  • Save Koronen/f95ff48d26f6d0c26023 to your computer and use it in GitHub Desktop.
Save Koronen/f95ff48d26f6d0c26023 to your computer and use it in GitHub Desktop.
Thinkpad X220 tweaks
# /usr/share/X11/xorg.conf.d/20-thinkpad.conf
Section "InputClass"
Identifier "Trackpoint Wheel Emulation"
MatchProduct "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with TrackPoint|ThinkPad Compact USB Keyboard with TrackPoint|USB Trackpoint pointing device"
MatchDevicePath "/dev/input/event*"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "2"
Option "Emulate3Buttons" "false"
Option "XAxisMapping" "6 7"
Option "YAxisMapping" "4 5"
EndSection
# /etd/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 i915.lvds_downclock=1 i915.semaphores=1 acpi_osi=Linux"
#!/bin/sh
sudo apt-get install powertop xbacklight
echo "Now run \"sudo powertop\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment