I can't set lubuntu mouse/touchpad to left hand

I tried this:

bruno@lubuntu:~$ xinput list
⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad                id=10   [slave  pointer  (2)]
⎜   ↳  USB OPTICAL MOUSE                        id=12   [slave  pointer  (2)]
⎣ Virtual core keyboard                     id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Video Bus                                 id=7    [slave  keyboard (3)]
    ↳ Power Button                              id=8    [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=9    [slave  keyboard (3)]
    ↳ MSI WMI hotkeys                           id=11   [slave  keyboard (3)]
bruno@lubuntu:~$ xinput set-button-map 12 3 2 1
bruno@lubuntu:~$ xinput set-button-map 10 3 2 1

Ok, this works perfectly, but every time I shutdown or reboot I lose this config.

How keep it permanent?

1 Answer 1


I edited ~/.config/lxsession/Lubuntu/desktop.conf

It should look like this:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.