Where do I have to paste an "xinput" command so that it executes it when GNOME is started?
        Posted  
        
            by 
                michuk
            
        on Ask Ubuntu
        
        See other posts from Ask Ubuntu
        
            or by michuk
        
        
        
        Published on 2011-11-14T16:04:45Z
        Indexed on 
            2011/11/14
            18:12 UTC
        
        
        Read the original article
        Hit count: 514
        
On my Thinkpad I need to execute something like this in the terminal:
xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Middle Button Emulation" 8 1
so that my the 2 buttons on my touchpad emulate the middle mouse click. Now I need this line to be executed each time I start GNOMe or X or whatever, so that it "just works".
I tried ~/.xsession or ~/.bashrc but to no avail. Should I put it in GNOME start scripts or in /etc/X somewhere?
I'm using Ubuntu 11.10.
© Ask Ubuntu or respective owner