Am Montag, 7. April 2014, 08:01:13 schrieb Alexander Wagner:
> On 27/03/14 11:40, parafin wrote:
> 
> Hi!
> 
> >>> trackpoint on the road. Now, the trackpoint does not have a wheel...
> >> 
> >> Middle mouse button + trackpoint movement. Might require to be set up in
> >> some Xorg config first.
> 
> To fill this in:
> 
> ------------------------------------------------------------------------
> #!/bin/bash
> 
> # extract device id
> s=`xinput | grep TrackPoint`
> s="${s#*id=}"
> id=${s:0:2}
> 
> xinput --set-prop --type=int --format=8 "$id" "Evdev Wheel Emulation" 1
> xinput --set-prop --type=int --format=8 "$id" "Evdev Wheel Emulation
> Button" 2
> xinput --set-prop --type=int --format=8 "$id" "Evdev Wheel Emulation
> Axes" 6 7 4 5
> ------------------------------------------------------------------------
> 
> does the trick. (cf. http://okomestudio.net/biboroku/?p=1816)
> 
> This seems quite high level and clean without "hacking" xorg.conf which
> is generated on the fly on most installations these days. And it doesn't
> need root permissions ;)

I have this in /etc/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|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
---------------------

Tobias

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees_APR
_______________________________________________
Darktable-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-users

Reply via email to