Tiny Core Linux

Tiny Core Base => CorePlus => Topic started by: Kj4bnh on April 04, 2015, 09:23:15 AM

Title: Which xorg
Post by: Kj4bnh on April 04, 2015, 09:23:15 AM
Hi, which xorg app do I need to enable the touchpads scrolling capabilities?  There are only about 11 different ones.  Thanks in advance.  Jim
Title: Re: Which xorg
Post by: Juanito on April 04, 2015, 10:29:28 AM
xf86-input-synaptics
Title: Re: Which xorg
Post by: Kj4bnh on April 04, 2015, 12:34:44 PM
Thanks for the reply, not working, any other ideas? ;)  Jim
Title: Re: Which xorg
Post by: Juanito on April 04, 2015, 07:58:55 PM
Did you exit X and restart after loading the extension?

What make of touchpad do you have?

What does Xorg.0.log say?
Title: Re: Which xorg
Post by: Kj4bnh on April 04, 2015, 11:01:47 PM
Hi-hi,  yes I did restart the machine several times to no avail. 

Windows Vista says it is a Synaptics TouchPad v7.0 on PS/2 port.

I could not locate the Xorg.0.log file, although I did find it on a different distro that the touchpad works on.
Title: Re: Which xorg
Post by: Juanito on April 04, 2015, 11:24:46 PM
It's at /var/log/Xorg.0.log

If you have a synaptics touchpad then xf86-input-synaptics should work with Xorg-7.7
Title: Re: Which xorg
Post by: Kj4bnh on April 04, 2015, 11:32:21 PM
Negative result.  2 files at that location and they are autologin and wtmp.
Title: Re: Which xorg
Post by: Juanito on April 05, 2015, 12:15:36 AM
in that case Xorg-7.7 is not running - is it possible you're using Xvesa (the default with CorePlus)?

What does this give:
Code: [Select]
$ ps aux | grep X
Title: Re: Which xorg
Post by: Kj4bnh on April 05, 2015, 08:07:51 AM
in that case Xorg-7.7 is not running - is it possible you're using Xvesa (the default with CorePlus)?

Yes

What does this give:
Code: [Select]
$ ps aux | grep X

Title: Re: Which xorg
Post by: Juanito on April 05, 2015, 09:03:02 AM
You need to use Xorg-7.7 for the touchpad driver to work.

Download and load the Xorg-7.7 extension using the apps gui or "tce-load", exit to the prompt and then "startx"
Title: Re: Which xorg
Post by: Kj4bnh on April 05, 2015, 09:10:59 AM
You need to use Xorg-7.7 for the touchpad driver to work.

Download and load the Xorg-7.7 extension using the apps gui or "tce-load", exit to the prompt and then "startx"

Done, still not scrolling, can tap=left button.
Title: Re: Which xorg
Post by: Juanito on April 05, 2015, 09:17:22 AM
Sounds like you need to create a conf file in /etc/X11/xorg.conf.d

You can either use synclient/syndaemon or google one to enter manually.
Title: Re: Which xorg
Post by: Juanito on April 05, 2015, 09:18:55 AM
..you might also want to check that the files in /usr/local/share/X11/xorg.conf.d are not interfering
Title: Re: Which xorg
Post by: Kj4bnh on April 05, 2015, 09:20:47 AM
ok
Title: Re: Which xorg
Post by: Kj4bnh on April 11, 2015, 10:29:55 AM
Ok, I have the scrolling function working, how do I get the tapping function back? 
Title: Re: Which xorg
Post by: Kj4bnh on April 11, 2015, 11:09:34 AM
OK synclient TapButton1=1 does it, now to load it at boot.
Title: Re: Which xorg
Post by: Kj4bnh on April 12, 2015, 04:57:02 PM
Sounds like you need to create a conf file in /etc/X11/xorg.conf.d

You can either use synclient/syndaemon or google one to enter manually.

OK, I did the mkdir /etc/X11/xorg.cong.d thing, and it was gone when I rebooted, a little direction please.
Title: Re: Which xorg
Post by: Rich on April 12, 2015, 06:29:47 PM
Hi Kj4bnh
Add:
Code: [Select]
etc/X11to your  tce/filetool.lst  file and run a backup.
Title: Re: Which xorg
Post by: Kj4bnh on April 12, 2015, 08:10:01 PM
Hi Kj4bnh
Add:
Code: [Select]
etc/X11to your  tce/filetool.lst  file and run a backup.

That worked.  Thanks Jim
Title: Re: Which xorg
Post by: h2sammo on February 01, 2019, 02:08:27 AM
I am having a similar problem. I added input-synaptics to boot and i have touchpad scrolling but no tapping function. I did not understand from this post how to enable it.
Title: Re: Which xorg
Post by: Juanito on February 01, 2019, 02:20:58 AM
see:

https://wiki.archlinux.org/index.php/Touchpad_Synaptics
Title: Re: Which xorg
Post by: h2sammo on February 01, 2019, 05:40:48 PM
i read the arch linux link. it advises to modify xorg.conf but i dont have an xorg.conf generated on my installation. even though i use xorg, last time i tried to generate an xorg.conf i had problems starting X so I am worried to generate an xorg.conf again.

is this the only way to do it?
the graphical tools mentioned on the archlinux link are not available in our repository.
Title: Re: Which xorg
Post by: Rich on February 01, 2019, 06:57:04 PM
Hi h2sammo
i read the arch linux link. it advises to modify xorg.conf ...
I think you may just need to create a  /etc/X11/xorg.conf.d/  directory containing a  70-synaptics.conf  file. Try this:
Code: [Select]
sudo mkdir -p /etc/X11/xorg.conf.d
sudo touch /etc/X11/xorg.conf.d/70-synaptics.conf
sudo chown tc:staff /etc/X11/xorg.conf.d/70-synaptics.conf
chmod 664 /etc/X11/xorg.conf.d/70-synaptics.conf
echo etc/X11/xorg.conf.d/70-synaptics.conf >> /opt/.filetool.lst
Now edit the file  /etc/X11/xorg.conf.d/70-synaptics.conf  and paste in the following:
Code: [Select]
Section "InputClass"
    Identifier "touchpad"
    Driver "synaptics"
    MatchIsTouchpad "on"
        Option "TapButton1" "1"
        Option "TapButton2" "3"
        Option "TapButton3" "2"
        Option "VertEdgeScroll" "on"
        Option "VertTwoFingerScroll" "on"
        Option "HorizEdgeScroll" "on"
        Option "HorizTwoFingerScroll" "on"
        Option "CircularScrolling" "on"
        Option "CircScrollTrigger" "2"
        Option "EmulateTwoFingerMinZ" "40"
        Option "EmulateTwoFingerMinW" "8"
        Option "CoastingSpeed" "0"
        Option "FingerLow" "30"
        Option "FingerHigh" "50"
        Option "MaxTapTime" "125"
 EndSection
Save the file. Run a backup, restart X, and see how the touchpad behaves now.
Title: Re: Which xorg
Post by: h2sammo on February 01, 2019, 07:14:28 PM
thank you Rich!

this worked. now, if there would only be an automated script or GUI driven app to perform this action... then noobs like me could adopt this more easily.
Title: Re: Which xorg
Post by: Rich on February 01, 2019, 07:46:49 PM
Hi h2sammo
thank you Rich!
You're welcome.

... this worked. now, if there would only be an automated script ...
Here you go:
Code: [Select]
#!/bin/sh

# Create the xorg path.
sudo mkdir -p /etc/X11/xorg.conf.d

# Create an empty config file.
sudo touch /etc/X11/xorg.conf.d/70-synaptics.conf

# Adjust owner and permissions so user tc can edit it.
sudo chown tc:staff /etc/X11/xorg.conf.d/70-synaptics.conf
chmod 664 /etc/X11/xorg.conf.d/70-synaptics.conf

# Add the config filename to the backup list.
echo etc/X11/xorg.conf.d/70-synaptics.conf >> /opt/.filetool.lst

# This adds the text to the config file.
cat << CONFIGFILE > /etc/X11/xorg.conf.d/70-synaptics.conf
Section "InputClass"
    Identifier "touchpad"
    Driver "synaptics"
    MatchIsTouchpad "on"
        Option "TapButton1" "1"
        Option "TapButton2" "3"
        Option "TapButton3" "2"
        Option "VertEdgeScroll" "on"
        Option "VertTwoFingerScroll" "on"
        Option "HorizEdgeScroll" "on"
        Option "HorizTwoFingerScroll" "on"
        Option "CircularScrolling" "on"
        Option "CircScrollTrigger" "2"
        Option "EmulateTwoFingerMinZ" "40"
        Option "EmulateTwoFingerMinW" "8"
        Option "CoastingSpeed" "0"
        Option "FingerLow" "30"
        Option "FingerHigh" "50"
        Option "MaxTapTime" "125"
 EndSection
CONFIGFILE

# Backup the changes.
filetool.sh -b

# Display message to the user.
echo "Restart X for the changes to take effect."