mwyborski / Linux-Magic-Trackpad-2-Driver

499 stars 84 forks source link

How to integrate usr/share/X11/xorg.conf.d/90-magictrackpad.conf #57

Closed EarlOfBurton closed 3 years ago

EarlOfBurton commented 3 years ago

Hello,

I'm fairly new to the linux world. Thanks a lot for the repo! my trackpad2 works, but I don't know how to integrate the 90-magictrackpad.conf into my system. I copied it with sudo in the corresponding folder usr/share/X11/xorg.conf.d/90-magictrackpad.conf And did a system reboot. But the tap to click function is not working.

Do I need to add the 90-magictrackpad.conf somewhere to be loaded? Thanks for your help in advance.

adam-h commented 3 years ago

You likely need to copy it to /etc/X11/xorg.conf.d/90-magictrackpad.conf as /usr/share is just where the template lives, /etc is where it will be loaded from.

EarlOfBurton commented 3 years ago

Hi @adam-h , thanks for your reply and excuse my stupidity: in my /etc/X11/ there are just those folders:

app-defaults             rgb.txt  Xreset.d    Xsession.options
cursors                  xinit    Xresources  xsm
default-display-manager  xkb      Xsession    XvMCConfig
fonts                    Xreset   Xsession.d  Xwrapper.config
EarlOfBurton commented 3 years ago

@adam-h sorry for disturbing you, I noticed that my ubuntu supports those features natively, no need for that script. thanks anyway.

paul-vd commented 3 years ago

Is it normal that the device does not persist settings?

I had to edit my ~/.xsessionrc to include the set prop, that way it will get set each time I restart.

xinput --set-prop "Illia Danko’s Mouse" "libinput Scroll Method Enabled" 0 0 1

But then I noticed that it does not persist if I reconnect the device, so I'm going to try to do something similar in the conf?