Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 5706  / 2 Years ago, fri, may 27, 2022, 9:13:58

I want to use this





as this:





Specifically, I'm trying to enable scroll wheel emulation using the TrackPoint when the middle button 2 of the clickpad is pressed.



I've examined the xev output when a TrackPoint is used for scrolling with dedicated buttons (button 4 is recognised as a scroll up operation and button 5 is recognised as a scroll down operation) but the behaviour is different when using the clickpad buttons (button 2 is recognised in isolation). It appears that a modified driver is needed in order to enable scrolling using the middle button of the clickpad.



Such a driver appears to be available here:



https://aur.archlinux.org/packages/xf86-input-evdev-trackpoint/



How could this driver be installed in Ubuntu?


More From » drivers

 Answers
1

As suggested by mikewhatever, the driver for Arch created by Taegil Bae (esrevinu) can be packaged for Ubuntu and installed using a procedure described by dalcde. The procedure was updated by faf0, since a tar.gz file from the procedure by dalcde became unavailable in December 2015. The procedure is as follows:



#!/bin/bash

sudo apt-get install git
sudo apt-get build-dep xserver-xorg-input-evdev xserver-xorg-input-synaptics

mkdir tmp-trackpoint
cd tmp-trackpoint

git clone https://aur.archlinux.org/xf86-input-evdev-trackpoint.git
git clone git://git.debian.org/git/pkg-xorg/driver/xserver-xorg-input-evdev
git clone git://git.debian.org/git/pkg-xorg/driver/xserver-xorg-input-synaptics

mv xf86-input-evdev-trackpoint arch
mv xserver-xorg-input-evdev evdev
mv xserver-xorg-input-synaptics synaptics

cp synaptics/src/{eventcomm.c,eventcomm.h,properties.c,synaptics.c,synapticsstr.h,synproto.c,synproto.h} evdev/src
cp synaptics/include/synaptics-properties.h evdev/src
cp arch/*.patch evdev

cd evdev
patch -p1 -i 0001-implement-trackpoint-wheel-emulation.patch
patch -p1 -i 0004-disable-clickpad_guess_clickfingers.patch
patch -p1 -i 0006-add-synatics-files-into-Makefile.am.patch

dpkg-buildpackage -d

cd ..
sudo dpkg -i xserver-xorg-input-evdev_*.deb
sudo apt-get remove xserver-xorg-input-synaptics

sudo mkdir /etc/X11/xorg.conf.d/
sudo cp arch/90-evdev-trackpoint.conf /etc/X11/xorg.conf.d


The procedure above works on Ubuntu 14.04.


[#26185] Sunday, May 29, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
velelf

Total Points: 395
Total Questions: 115
Total Answers: 107

Location: Sudan
Member since Mon, Jun 1, 2020
4 Years ago
;