Alternate Touchpad Configuration for XPS 9343 Developer Edition Running Ubuntu 15.04

September 30, 2015

Here is information addressing the lack of palm detection with Ubuntu 15.04.  A big shout out to Pilot6 who developed the steps below and shared them with the community on Ask Ubuntu

Some customers have reported frustration with the lack of palm detection due to limitations with the Synaptics driver currently implemented in current stable versions of the Linux Kernel. This walkthrough is intended for advanced users who would like to experiment with the alternate libinput input device driver. This has only been tested to work in the XPS 13 9343 using Ubuntu 15.04 and 15.10 beta.

Note: these steps are not supported by Dell support and you are performing this at your own risk. Compatibility issues could arise and result in your operating system being rendered unable to boot.

  1. Install some needed packages by running the following commands.

sudo apt-get install git build-essential autoconf automake pkg-config libtool

sudo apt-get install libmtdev1 libmtdev-dev libudev-dev libevdev-dev xutils-dev

  1. Install xserver-xorg-dev.

sudo apt-get install xserver-xorg-dev

  1. Clone libinput and xf86-input-libinput.

git clone http://cgit.freedesktop.org/wayland/libinput/

git clone http://cgit.freedesktop.org/xorg/driver/xf86-input-libinput/

  1. Build and install both packages.

cd libinput

./autogen.sh –prefix=/usr

make && sudo make install

cd ../xf86-input-libinput

./autogen.sh –prefix=/usr

make && sudo make install

  1. Now we need to create the config file in /usr/share/X11/xorg.conf.d named 99-libinput.conf using your favorite text editor (the following example will be using gedit).

Sudo gedit /usr/share/X11/xorg.conf.d/99-libinput.conf

  1. Add the following to the blank file you just opened, these options should cause the touchpad to perform similar to an Apple Mac touchpad.

Section “InputClass”

Identifier “libinput”

Driver “libinput”

MatchDevicePath “/dev/input/event*”

MatchIsTouchpad “true”

Option “Tapping” “true”

Option “TappingDragLock” “true”

Option “ClickMethod” “none”

Option “NaturalScrolling” “true”

EndSection

  1. There are many more options available. Not all options are supported, if the option is not supported than the default will be used. In the above example “Natural Scrolling” is set to “true”. If you don’t like natural scrolling just set that option to “false”. Follow the below link for an explanation of the many options that are able to be adjusted in the 99-libinput.conf

https://www.mankier.com/4/libinput

HTH

Pau for now…


%d bloggers like this: