You are not logged in.

#1 2013-06-17 03:50:33

tsuujin
Member
Registered: 2013-05-31
Posts: 7

/etc/X11/xorg.conf.d/50-synaptics.conf not honored.

I'm having an issue getting my touchpad to configure properly on boot that I'm hoping to get some help with. I can get every feature that I want working properly if I issue individual commands from the console using synclient; however if I try to get those same settings to work in /etc/X11/xorg.conf.d/50-synaptics.conf they are simply ignored.

I'm hoping that there is a simple way to get Arch to recognize that 50-synaptics.conf needs to be read in... or that I'm putting the options in the wrong place and can be corrected. Here's a copy of my 50-synaptics.conf:

# 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"
	# One finger: left, Two fingers: right, Three: middle
        Option "TapButton1" "1"
        Option "TapButton2" "3"
        Option "TapButton3" "2"
	# Circular scrolling, top edge trigger
	Option "CircularScrolling" "on"
 	Option "CircScrollTrigger" "1"
	# Natural scrolling
	Option "VertScrollDelta" "-111"
	Option "HorizScrollDelta" "-111"
	# Palm Detection
	Option "PalmDetect" "on"
	Option "PalmMinWidth" "5"
	Option "PalmMinZ" "200"
# This option is recommend on all Linux systems using evdev, but cannot 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 corner to be a right button on
# non-synaptics clickpads.
# This option is only interpreted by clickpads.
Section "InputClass"
        Identifier "Default clickpad buttons"
        MatchDriver "synaptics"
        Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
#       To disable the bottom edge area so the buttons only work as buttons,
#       not for movement, set the AreaBottomEdge
#       Option "AreaBottomEdge" "82%"
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

Offline

#2 2013-06-17 04:06:48

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,660

Re: /etc/X11/xorg.conf.d/50-synaptics.conf not honored.

Do you have something else in /etc/X11/xorg.conf.d that might be overriding it?

Offline

#3 2013-06-17 05:58:25

tsuujin
Member
Registered: 2013-05-31
Posts: 7

Re: /etc/X11/xorg.conf.d/50-synaptics.conf not honored.

Possibly, if not probably.

tsuujin@arch> ls /etc/X11/xorg.conf.d                                         ~
10-evdev.conf  10-quirks.conf  50-synaptics.conf

10-evdev.conf:

#
# Catch-all evdev loader for udev-based systems
# We don't simply match on any device since that also adds accelerometers
# and other devices that we don't really want to use. The list below
# matches everything but joysticks.

Section "InputClass"
        Identifier "evdev pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev tablet catchall"
        MatchIsTablet "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

10-quirks.conf:

# Collection of quirks and blacklist/whitelists for specific devices.


# Accelerometer device, posts data through ABS_X/ABS_Y, making X unusable
# http://bugs.freedesktop.org/show_bug.cgi?id=22442 
Section "InputClass"
        Identifier "ThinkPad HDAPS accelerometer blacklist"
        MatchProduct "ThinkPad HDAPS accelerometer data"
        Option "Ignore" "on"
EndSection

So it looks like 10-evdev.conf is probably overloading it, but I thought that the priority ran lowest to highest in number (meaning that 50-* would be run after 10-*, overriding it)? Am I wrong about that?

Offline

#4 2013-06-17 10:49:59

andy123
Member
Registered: 2011-11-04
Posts: 169
Website

Re: /etc/X11/xorg.conf.d/50-synaptics.conf not honored.

I always assumed the lower numbers are more important and higher number don't override the settings.
You could try changing this:

Section "InputClass"
        Identifier "evdev touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

to this:

#Section "InputClass"
#        Identifier "evdev touchpad catchall"
#        MatchIsTouchpad "on"
#        MatchDevicePath "/dev/input/event*"
#        Driver "evdev"
#EndSection

in /etc/X11/xorg.conf.d/10-evdev.conf or even delete the whole section. At least that's how mine is and I think the settings in my 50-synaptics.conf work.


i'm sorry for my poor english wirting skills…

Offline

#5 2013-06-17 18:00:28

cookies
Member
Registered: 2013-01-17
Posts: 253

Re: /etc/X11/xorg.conf.d/50-synaptics.conf not honored.

Do you use a DE? Those usually ignore the settings in 50-synaptics.conf and use their own.

And BTW, the files in xorg.conf.d are read from 00-* to 99-* and everything you configure in a later file will overwrite anything set in an earlier one.

Offline

#6 2013-06-17 22:39:04

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: /etc/X11/xorg.conf.d/50-synaptics.conf not honored.

cookies wrote:

And BTW, the files in xorg.conf.d are read from 00-* to 99-*

I just want to point out that while this is true, it is not quite teh whole story.  The conf files are actually read lexicographically.

@OP, I acree with cookies that this is probably your DE doing whatever the hell it wants with respect to this configuration file.

Offline

#7 2013-06-18 01:25:13

tsuujin
Member
Registered: 2013-05-31
Posts: 7

Re: /etc/X11/xorg.conf.d/50-synaptics.conf not honored.

I am running Gnome 3.8. Is gnome just crushing my config? If so, that's irritating... because the current settings are terrible.

Is there a way to get Gnome to respect 50-synaptics.conf.. or some alternate way that I can configure this? I know I can just run a script on login, but I feel like that's a hacky way of doing something that should be handled more elegantly.

Offline

#8 2013-06-18 01:27:09

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: /etc/X11/xorg.conf.d/50-synaptics.conf not honored.

I know very little about gnome.  But I would say that you are going to have to figure out how to configure this in gnome itself.  I think it is the gconf manager... but it has been a long time.  Unfortunately, I do not think there is a way to get it to repect your actual xorg.conf.d file.

Offline

#9 2013-06-18 07:04:40

Isildur
Member
Registered: 2009-05-26
Posts: 96

Re: /etc/X11/xorg.conf.d/50-synaptics.conf not honored.

Offline

#10 2013-06-18 08:31:28

David Batson
Member
Registered: 2011-10-13
Posts: 640

Re: /etc/X11/xorg.conf.d/50-synaptics.conf not honored.

In Arch I am using XFCE and have the following file that I created for controlling features of my TrackPoint (idea from elsewhere).  I have this file set to run on system startup (under Settings > Session and Startup for XFCE).  I also have a 10-evdev.conf file same as you that was system created.

~/Default.sh

#!/bin/sh

xinput list | sed -ne 's/^[^ ][^V].*id=\([0-9]*\).*/\1/p' | while read id
do
        case `xinput list-props $id` in
        *"Middle Button Emulation"*)
                xinput set-int-prop $id "Evdev Wheel Emulation" 8 1
                xinput set-int-prop $id "Evdev Wheel Emulation Button" 8 2
                xinput set-int-prop $id "Evdev Wheel Emulation Timeout" 8 200
                xinput set-int-prop $id "Evdev Wheel Emulation Axes" 8 6 7 4 5
                xinput set-int-prop $id "Evdev Middle Button Emulation" 8 0
                ;;
        esac
done


# disable middle button
xmodmap -e "pointer = default"

In Fedora Gnome to accomplish the same thing I put the following in /etc/X11/xorg.conf.d/20-thinkpad-trackpoint.conf

Section "InputClass"
	Identifier	"Trackpoint Wheel Emulation"
	MatchProduct	"TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with TrackPoint|USB Trackpoint pointing device|Composite TouchPad / TrackPoint"
	MatchDevicePath	"/dev/input/event*"
	Option		"EmulateWheel"		"true"
	Option		"EmulateWheelButton"	"2"
	Option		"Emulate3Buttons"	"false"
	Option		"XAxisMapping"		"6 7"
	Option		"YAxisMapping"		"4 5"
EndSection

Just throwing this out there in case it gives you any ideas.  Of course the files above are for a TrackPoint, not a TouchPad.

EDIT:  Maybe this link will help.
http://www.thinkwiki.org/wiki/Synaptics … iver_for_X

Last edited by David Batson (2013-06-18 08:35:06)

Offline

#11 2013-08-01 13:14:54

Condomitti
Member
Registered: 2013-05-21
Posts: 25

Re: /etc/X11/xorg.conf.d/50-synaptics.conf not honored.

Not sure if you are still having this issue.... but you need to prevent gnome settings deamon from overriding your settings in xorg.conf.d/ (through dconf-editor) . The link Isildur provided has the correct information for that.

Cheers,

Last edited by Condomitti (2013-08-01 13:24:31)

Offline

Board footer

Powered by FluxBB