My laptop's keyboard is arranged such that when my index fingers are on the normal F and J keys for typing my right palm is resting on the upper right coer of the touchpad. This causes random pastes to take place when typing because of the synaptic RTBottomCoer setting. In Xubuntu 14.04 I had a startup script that tued that option off, but the same doesn't work in Xubuntu 16.04. It is getting overridden somewhere.
The script
Code:
#!/bin/bash /usr/bin/synclient PalmDetect=1 /usr/bin/synclient PalmMinWidth=5 /usr/bin/synclient RTCoerButton=0 /usr/bin/synclient RBCoerButton=0 /usr/bin/synclient ClickFinger1=0 /usr/bin/synclient ClickFinger2=0 /usr/bin/synclient VertEdgeScroll=0 /usr/bin/synclient HorizEdgeScroll=0 now=`date` echo "ran at $now" > /home/keith/touchpad.txt
Next, I tried putting the commands in the xorg config files. I copied /usr/share/X11/xorg.conf.d/50-synaptics.conf to /etc/X11/xorg.conf.d/51-synaptics_overrides.conf (had to create the /etc/X11/xorg.conf.d directory) and inserted the options:
Code:
# Example xorg.conf.d snippet that assigns the touchpad driver
# to all touchpads. See xorg.conf.d(5) for more information on
# InputClass.
# DO NOT EDIT THIS FILE, your distribution will likely overwrite
# it when updating. Copy (and rename) this file into
# /etc/X11/xorg.conf.d first.
# Additional options may be added in the form of
# Option "OptionName" "value"
#
Section "InputClass"
Identifier "touchpad catchall"
Driver "synaptics"
MatchIsTouchpad "on"
# This option is recommend on all Linux systems using evdev, but caot be
# enabled by default. See the following link for details:
# http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html
MatchDevicePath "/dev/input/event*"
EndSection
Section "InputClass"
Identifier "touchpad ignore duplicates"
MatchIsTouchpad "on"
MatchOS "Linux"
MatchDevicePath "/dev/input/mouse*"
Option "Ignore" "on"
EndSection
# This option enables the bottom right coer to be a right button on clickpads
# and the right and middle top areas to be right / middle buttons on clickpads
# with a top button area.
# This option is only interpreted by clickpads.
Section "InputClass"
Identifier "Keith clickpad buttons"
MatchDriver "synaptics"
Option "SoftButtonAreas" "0 0 0 0 0 0 0 0"
Option "SecondarySoftButtonAreas" "0 0 0 0 0 0 0 0"
Option "RTCoerButton" "0"
Option "RBCoerButton" "0"
EndSection
# This option disables software buttons on Apple touchpads.
# This option is only interpreted by clickpads.
Section "InputClass"
Identifier "Disable clickpad buttons on Apple touchpads"
MatchProduct "Apple|bcm5974"
MatchDriver "synaptics"
Option "SoftButtonAreas" "0 0 0 0 0 0 0 0"
EndSection
Code:
[ 16.439] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event7) [ 16.439] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall" [ 16.439] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchscreen catchall" [ 16.439] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall" [ 16.439] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "Default clickpad buttons" [ 16.439] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall" [ 16.439] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "Keith clickpad buttons" [ 16.439] (II) LoadModule: "synaptics" [ 16.439] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so [ 16.439] (II) Module synaptics: vendor="X.Org Foundation" [ 16.439] compiled for 1.18.1, module version = 1.8.2 [ 16.439] Module class: X.Org XInput Driver [ 16.439] ABI class: X.Org XInput driver, version 22.1 [ 16.439] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad' [ 16.439] (**) SynPS/2 Synaptics TouchPad: always reports core events [ 16.439] (**) Option "Device" "/dev/input/event7" [ 16.496] (II) synaptics: SynPS/2 Synaptics TouchPad: ignoring touch events for semi-multitouch device [ 16.496] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5692 (res 66) [ 16.496] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4680 (res 102) [ 16.496] (--) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 - 255 [ 16.496] (--) synaptics: SynPS/2 Synaptics TouchPad: finger width range 0 - 15 [ 16.496] (--) synaptics: SynPS/2 Synaptics TouchPad: buttons: left right double triple [ 16.496] (--) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7 [ 16.496] (**) Option "RTCoerButton" "0" [ 16.496] (**) Option "RBCoerButton" "0" [ 16.496] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found [ 16.496] (**) SynPS/2 Synaptics TouchPad: always reports core events [ 16.536] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio2/input/input12/event7" [ 16.536] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 13) [ 16.536] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5 [ 16.536] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MaxSpeed is now 1.75 [ 16.536] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) AccelFactor is now 0.037 [ 16.536] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1 [ 16.536] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1 [ 16.536] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000 [ 16.536] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4 [ 16.536] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found [ 16.536] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0) [ 16.536] (**) SynPS/2 Synaptics TouchPad: Ignoring device from InputClass "touchpad ignore duplicates"
Code:
RTCoerButton = 2
RBCoerButton = 3
What do I need to change in order to get my desired touchpad options to be set at startup and STAY SET?
برچسب:
نویسنده: استخدام کار