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 ;)

-- 

Kind regards,                /                 War is Peace.
                             |            Freedom is Slavery.
Alexander Wagner            |         Ignorance is Strength.
                             |
                             | Theory     : G. Orwell, "1984"
                            /  In practice:   USA, since 2001

------------------------------------------------------------------------------
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