From e1e8b63fc3fee5db003feb2cde926e85076d34a3 Mon Sep 17 00:00:00 2001 From: makefu Date: Mon, 24 Aug 2015 11:04:17 +0200 Subject: makefu/x200: fix issue broken vlc, wheel on middle click --- makefu/2configs/tp-x200.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'makefu/2configs/tp-x200.nix') diff --git a/makefu/2configs/tp-x200.nix b/makefu/2configs/tp-x200.nix index aed6d6448..ed46875d8 100644 --- a/makefu/2configs/tp-x200.nix +++ b/makefu/2configs/tp-x200.nix @@ -11,4 +11,11 @@ with lib; }; services.thinkfan.enable = true; + + # only works on tp-x200 , not x220 + services.xserver.displayManager.sessionCommands = '' + xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation" 1 + xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Button" 2 + xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Timeout" 200 + ''; } -- cgit v1.2.3