Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: stzero on May 04, 2020, 12:10:00 PM

Title: Xorg Configure Touchpad
Post by: stzero on May 04, 2020, 12:10:00 PM
Is there a reliable way to configure the touchpad with Xorg? I added a 50-synaptics.conf file to /usr/local/share/X11/xorg.conf.d. I then added that file to /opt/.filelist.lst. The file remains after reboot, but the configuration changes are not implemented. Also, the file in Bash is not sky-blue (it does not link to a file in /tmp, as do the other files in /usr/local/share/X11/xorg.conf.d). What am I doing wrong?
Title: Re: Xorg Configure Touchpad
Post by: Juanito on May 04, 2020, 01:17:07 PM
Which version of tinycore are you using?

As from 11.x Xorg uses libinput instead of evdev, so the touchpad configuration would be different.
Title: Re: Xorg Configure Touchpad
Post by: Juanito on May 06, 2020, 02:15:41 AM
You can take a look here for some tips on configuration:

https://wiki.archlinux.org/index.php/libinput#Via_xinput

..or if you prefer, you can modify your Xorg-7.7 dep file locally "xf86-input-libinput.tcz" -> "xf86-input-evdev.tcz" to use your existing config.
Title: Re: Xorg Configure Touchpad
Post by: stzero on May 07, 2020, 05:31:47 PM
Thanks! I am using TinyCore 11.1. I was able to use the 'xinput set-prop' command to reconfigure the touchpad, but I get a BadAccess error when trying to change the default configurations. So my changes do not persist after reboot.

I therefore created an xorg.conf.d directory at /usr/share/X11, and added the file 40-libinput.conf with the following content:

Section "InputClass"
   Identifier "libinput touchpad catchall"
   Driver "libinput"
   MatchIsTouchpad "on"
   Option "Tapping" "true"
EndSection
       
I then added the line usr/share/X11/xorg.conf.d to opt/.filetool.lst

I am new to TinyCore and linux, and am not sure what I am doing wrong.

Title: Re: Xorg Configure Touchpad
Post by: Juanito on May 08, 2020, 12:25:10 AM
You need to use /usr/local/share/X11/xorg.conf.d
Title: Re: Xorg Configure Touchpad
Post by: stzero on May 11, 2020, 11:52:22 AM
Thanks! That worked. /usr/local/share/X11/xorg.conf.d/40-libinput.conf already existed and was read only, so I created a 50-libinput.conf file with the relevant changes.
Title: Re: Xorg Configure Touchpad
Post by: Rich on May 11, 2020, 12:27:39 PM
Hi stzero
... /usr/local/share/X11/xorg.conf.d/40-libinput.conf already existed and was read only, so I created a 50-libinput.conf file ...

You can make it writable like this if you wish:
Code: [Select]
sudo busybox cp -f /usr/local/share/X11/xorg.conf.d/40-libinput.conf /usr/local/share/X11/xorg.conf.d/40-libinput.conf
Then make your changes and add it to your backup.
Title: Re: Xorg Configure Touchpad
Post by: stzero on May 14, 2020, 09:04:10 AM
Thanks, that's good to know.