WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Which xorg  (Read 14471 times)

Offline Kj4bnh

  • Newbie
  • *
  • Posts: 24
Re: Which xorg
« Reply #15 on: April 11, 2015, 02:09:34 PM »
OK synclient TapButton1=1 does it, now to load it at boot.

Offline Kj4bnh

  • Newbie
  • *
  • Posts: 24
Re: Which xorg
« Reply #16 on: April 12, 2015, 07: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.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11569
Re: Which xorg
« Reply #17 on: April 12, 2015, 09:29:47 PM »
Hi Kj4bnh
Add:
Code: [Select]
etc/X11to your  tce/filetool.lst  file and run a backup.

Offline Kj4bnh

  • Newbie
  • *
  • Posts: 24
Re: Which xorg
« Reply #18 on: April 12, 2015, 11:10:01 PM »
Hi Kj4bnh
Add:
Code: [Select]
etc/X11to your  tce/filetool.lst  file and run a backup.

That worked.  Thanks Jim

Offline h2sammo

  • Jr. Member
  • **
  • Posts: 80
    • Best podcast on LI-ion
Re: Which xorg
« Reply #19 on: February 01, 2019, 05: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.
Thank you for your help!

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14785
Re: Which xorg
« Reply #20 on: February 01, 2019, 05:20:58 AM »

Offline h2sammo

  • Jr. Member
  • **
  • Posts: 80
    • Best podcast on LI-ion
Re: Which xorg
« Reply #21 on: February 01, 2019, 08: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.
Thank you for your help!

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11569
Re: Which xorg
« Reply #22 on: February 01, 2019, 09: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.
« Last Edit: February 01, 2019, 09:59:24 PM by Rich »

Offline h2sammo

  • Jr. Member
  • **
  • Posts: 80
    • Best podcast on LI-ion
Re: Which xorg
« Reply #23 on: February 01, 2019, 10: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.
Thank you for your help!

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11569
Re: Which xorg
« Reply #24 on: February 01, 2019, 10: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."