Arch linux tap to click

Arch Linux

You are not logged in.

#1 2015-06-16 14:07:36

Tap-click not working on touchpad

I can’t left-click by tapping with a single finger on my touchpad. My touchpad buttons are working correctly and my touchscreen too.

Here’s my (unmodified) /usr/share/X11/xorg.conf.d/50-synaptics.conf :

Any idea how to fix this?
Thanks

#2 2015-06-16 18:10:10

Re: Tap-click not working on touchpad

Have you installed xf86-input-synaptics ??

pacman -S —needed xf86-input-synaptics

Seems like someone has a similar issue if you have.. https://bbs.archlinux.org/viewtopic.php … 5#p1537455

#3 2015-06-16 19:11:14

Re: Tap-click not working on touchpad

Here’s my (unmodified) /usr/share/X11/xorg.conf.d/50-synaptics.conf

Do you have a file at /etc/X11/xorg.conf.d/50-synaptics.conf?

Check if the settings have been applied with:

Which desktop environment or window manager are you using?

#4 2015-06-16 19:55:55

Re: Tap-click not working on touchpad

rlees85 > xf86-input-synaptics is installed.
Head_on_a_stick > I’m on i3. Just installed it, so it’s as plain as it could be. Synclient outputs

Same results if I delete my .xinitrc and go back to X’s default window manager.

#5 2015-06-16 21:02:37

Re: Tap-click not working on touchpad

#6 2015-06-16 21:28:00

Re: Tap-click not working on touchpad

No it’s not a Thinkpad, it’s a Toshiba Satellite Z. I checked your link and my /usr/share/X11/xorg.conf.d/10-evdev has no commented section:

(Btw I didn’t answer your other question: /etc/X11/xorg.conf.d/ is empty)

#7 2015-06-16 21:30:07

Re: Tap-click not working on touchpad

What is the output of:

#8 2015-06-16 21:42:19

Re: Tap-click not working on touchpad

Yeah I was about to edit my post since I found that

Notice the line libinput Tapping Enabled (291):0 . This doesn’t make sense with my xorg.conf.d/50-synaptics.conf which enables tapping.

Here’s my xinput’s output:

#9 2015-06-17 03:55:57

Re: Tap-click not working on touchpad

What is the output of synclient

Edit: Never mind. Posting before reading

Last edited by ewaller (2015-06-17 03:56:51)

Nothing is too wonderful to be true, if it be consistent with the laws of nature — Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. — Alan Turing

How to Ask Questions the Smart Way

Источник

SYNOPSIS

It is recommended that libinput devices are configured through the InputClass directive (refer to xorg.conf(5)) instead of manual per-device configuration. Devices configured in the xorg.conf(5) are not hot-plug capable.

The following driver Options are supported:

Option «AccelProfile» «string« Sets the pointer acceleration profile to the given profile. Permitted values are adaptive, flat. Not all devices support this option or all profiles. If a profile is unsupported, the default profile for this device is used. For a description on the profiles and their behavior, see the libinput documentation. Option «AccelSpeed» «float« Sets the pointer acceleration speed within the range [-1, 1] Option «ButtonMapping» «string« Sets the logical button mapping for this device, see XSetPointerMapping(3). The string must be a space-separated list of button mappings in the order of the logical buttons on the device, starting with button 1. The default mapping is «1 2 3 . 32». A mapping of 0 deactivates the button. Multiple buttons can have the same mapping. Invalid mapping strings are discarded and the default mapping is used for all buttons. Buttons not specified in the user’s mapping use the default mapping. See section BUTTON MAPPING for more details. Option «CalibrationMatrix» «string« A string of 9 space-separated floating point numbers, in the order «a b c d e f g h i». Sets the calibration matrix to the 3×3 matrix where the first row is (abc), the second row is (def) and the third row is (ghi). Option «ClickMethod» «string« Enables a click method. Permitted values are none, buttonareas, clickfinger. Not all devices support all methods, if an option is unsupported, the default click method for this device is used. Option «DisableWhileTyping» «bool« Indicates if the touchpad should be disabled while typing on the keyboard (this does not apply to modifier keys such as Ctrl or Alt). Option «Device» «string« Specifies the device through which the device can be accessed. This will generally be of the form «/dev/input/eventX», where X is some integer. When using InputClass directives, this option is set by the server. The mapping from device node to hardware is system-dependent. Property: «Device Node» (read-only). Option «DragLockButtons» «L1 B1 L2 B2 . « Sets «drag lock buttons» that simulate a button logically down even when it has been physically released. To logically release a locked button, a second click of the same button is required. If the option is a single button number, that button acts as the «meta» locking button for the next button number. See section BUTTON DRAG LOCK for details. If the option is a list of button number pairs, the first number of each number pair is the lock button, the second number the logical button number to be locked. See section BUTTON DRAG LOCK for details. For both meta and button pair configuration, the button numbers are device button numbers, i.e. the ButtonMapping applies after drag lock. Option «HorizontalScrolling» «bool« Disables horizontal scrolling. When disabled, this driver will discard any horizontal scroll events from libinput. Note that this does not disable horizontal scrolling, it merely discards the horizontal axis from any scroll events. Option «LeftHanded» «bool« Enables left-handed button orientation, i.e. swapping left and right buttons. Option «MiddleEmulation» «bool« Enables middle button emulation. When enabled, pressing the left and right buttons simultaneously produces a middle mouse button click. Option «NaturalScrolling» «bool« Enables or disables natural scrolling behavior. Option «RotationAngle» «float« Sets the rotation angle of the device to the given angle, in degrees clockwise. The angle must be between 0.0 (inclusive) and 360.0 (exclusive). Option «ScrollButton» «int« Designates a button as scroll button. If the ScrollMethod is button and the button is logically down, x/y axis movement is converted into scroll events. Option «ScrollButtonLock» «bool« Enables or disables the scroll button lock. If enabled, the ScrollButton is considered logically down after the first click and remains down until the second click of that button. If disabled (the default), the ScrollButton button is considered logically down while held down and up once physically released. Option «ScrollMethod» «string« Enables a scroll method. Permitted values are none, twofinger, edge, button. Not all devices support all options, if an option is unsupported, the default scroll option for this device is used. Option «ScrollPixelDistance» «int« Sets the movement distance, in «pixels», required to trigger one logical wheel click. This option only applies to the scroll methods twofinger, edge, button. See section SCROLL PIXEL DISTANCE for more details. Option «SendEventsMode» «(disabled|enabled|disabled-on-external-mouse)« Sets the send events mode to disabled, enabled, or «disable when an external mouse is connected». Option «TabletToolPressureCurve» «x0/y0 x1/y1 x2/y2 x3/y3« Set the pressure curve for a tablet stylus to the bezier formed by the four points. The respective x/y coordinate must be in the [0.0, 1.0] range. For more information see section TABLET STYLUS PRESSURE CURVE. Option «TabletToolAreaRatio» «w:h« Sets the area ratio for a tablet tool. The area always starts at the origin (0/0) and expands to the largest available area with the specified aspect ratio. Events outside this area are cropped to the area. The special value «default» is used for the default mapping (i.e. the device-native mapping). For more information see section TABLET TOOL AREA RATIO. Option «Tapping» «bool« Enables or disables tap-to-click behavior. Option «TappingButtonMap» «(lrm|lmr)« Set the button mapping for 1/2/3-finger taps to left/right/middle or left/middle/right, respectively. Option «TappingDrag» «bool« Enables or disables drag during tapping behavior («tap-and-drag»). When enabled, a tap followed by a finger held down causes a single button down only, all motions of that finger thus translate into dragging motion. Tap-and-drag requires option Tapping to be enabled. Option «TappingDragLock» «bool« Enables or disables drag lock during tapping behavior. When enabled, a finger up during tap-and-drag will not immediately release the button. If the finger is set down again within the timeout, the dragging process continues.

Читайте также:  Pci ven 10ec dev c821 cc 0280 windows 10

For all options, the options are only parsed if the device supports that configuration option. For all options, the default value is the one used by libinput. On configuration failure, the default value is applied.

SUPPORTED PROPERTIES

Most properties have a libinput

Default equivalent that indicates the default value for this setting on this device.

BUTTON MAPPING

Traditionally, a device was set to left-handed button mode by applying a button mapping of «3 2 1 . « On systems using the libinput Xorg input driver it is recommended to use the LeftHanded option instead.

The libinput Xorg input driver does not use the button mapping after setup. Use XSetPointerMapping(3) to modify the button mapping at runtime.

BUTTON DRAG LOCK

If in «meta» mode, a meta button click activates drag lock for the next button press of any other button. A button click in the future will keep that button held logically down until a subsequent click of that same button. The meta button events themselves are discarded. A separate meta button click is required each time a drag lock should be activated for a button in the future.

If in «pairs» mode, each button can be assigned a target locking button. On button click, the target lock button is held logically down until the next click of the same button. The button events themselves are discarded and only the target button events are sent.

This feature is provided by this driver, not by libinput.

TABLET TOOL PRESSURECURVE

The pressure curve is a cubic Bezier curve, drawn within a normalized range of 0.0 to 1.0 between the four points provided. This normalized range is applied to the tablet’s pressure input so that the highest pressure maps to 1.0. The points must have increasing x coordinates, if x0 is larger than 0.0 all pressure values lower than x0 are equivalent to y0. If x3 is less than 1.0, all pressure values higher than x3 are equivalent to y3.

Читайте также:  Установить safari для linux

The input for a linear curve (default) is «0.0/0.0 0.0/0.0 1.0/1.0 1.0/1.0»; a slightly depressed curve (firmer) might be «0.0/0.0 0.05/0.0 1.0/0.95 1.0/1.0»; a slightly raised curve (softer) might be «0.0/0.0 0.0/0.05 0.95/1.0 1.0/1.0».

This feature is provided by this driver, not by libinput.

TABLET TOOL AREA RATIO

To avoid this skew of input data, an area ratio may be set to match the ratio of the screen device. For example, a ratio of 4:3 will reduce the available area of the tablet to the largest available area with a ratio of 4:3. Events within this area will scale to the tablet’s announced axis range, the area ratio is thus transparent to the X server. Any events outside this area will send events equal to the maximum value of that axis. The area always starts at the device’s origin in it’s current rotation, i.e. it takes left-handed-ness into account.

This feature is provided by this driver, not by libinput.

SCROLL PIXEL DISTANCE

libinput provides scroll data in pixels. The ScrollPixelDistance option defines the amount of movement equivalent to one wheel click. For example, a value of 50 means the user has to move a finger by 50 pixels to generate one logical click event and each pixel is 1/50th of a wheel click.

AUTHORS

SEE ALSO

xf86-input-libinput 1.2.0 X Version 11

Powered by archmanweb, using mandoc for the conversion of manual pages.

The website is available under the terms of the GPL-3.0 license, except for the contents of the manual pages, which have their own license specified in the corresponding Arch Linux package.

Читайте также:  Отключить verifier windows 10

Источник

Linux и тачпад. Прикосновение для клика «tap to click»

Дата 22.04.2018 Автор Alex Рубрика iT

На ноутбуках некоторые дистрибутивы Linux отказываются устанавливать для тачпада опцию «tap to click» («клик при нажатии»). Эта опция настолько же востребованная, насколько и скролл двумя пальцами. Но можно активировать её из консоли, если нет возможности включить через панель управления.

Открываем консоль и проверяем какие средства ввода есть в системе командой xinput list:

$ xinput list
⎡ Virtual core pointer [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer [slave pointer (2)]
⎜ ↳ ETPS/2 Elantech Touchpad style=»color: #0000ff;»>12 [slave pointer (2)]
⎣ Virtual core keyboard [master keyboard (2)]
↳ Virtual core XTEST keyboard [slave keyboard (3)]
↳ Power Button [slave keyboard (3)]
↳ Video Bus [slave keyboard (3)]
↳ Power Button [slave keyboard (3)]
↳ Sleep Button [slave keyboard (3)]
↳ VGA WebCam: VGA WebCam [slave keyboard (3)]
↳ AT Translated Set 2 keyboard [slave keyboard (3)]
↳ Acer WMI hotkeys [slave keyboard (3)]

Находим тачпад. В моём случае он называется ETPS/2 Elantech Touchpad [slave pointer (2)]. Из этой строки нам нужно только значение style=»color: #0000ff;»>12 .

Теперь посмотрим какими параметрами обладает устройство с style=»color: #0000ff;»>12 . Пишем в консоли «xinput list-props 12 «:

$ xinput list-props 12
Device ‘ETPS/2 Elantech Touchpad’:
Device Enabled (140): 1
Coordinate Transformation Matrix (142): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Tapping Enabled ( 277 ): 0
libinput Tapping Enabled Default (278): 0
libinput Tapping Drag Enabled (279): 1
libinput Tapping Drag Enabled Default (280): 1
libinput Tapping Drag Lock Enabled (281): 0
libinput Tapping Drag Lock Enabled Default (282): 0
libinput Accel Speed (283): 0.000000
libinput Accel Speed Default (284): 0.000000
libinput Natural Scrolling Enabled (285): 0
libinput Natural Scrolling Enabled Default (286): 0
libinput Send Events Modes Available (261): 1, 1
libinput Send Events Mode Enabled (262): 0, 0
libinput Send Events Mode Enabled Default (263): 0, 0
libinput Left Handed Enabled (287): 0
libinput Left Handed Enabled Default (288): 0
libinput Scroll Methods Available (289): 1, 1, 0
libinput Scroll Method Enabled (290): 1, 0, 0
libinput Scroll Method Enabled Default (291): 1, 0, 0
libinput Click Methods Available (292): 1, 1
libinput Click Method Enabled (293): 1, 0
libinput Click Method Enabled Default (294): 1, 0
libinput Middle Emulation Enabled (295): 0
libinput Middle Emulation Enabled Default (296): 0
libinput Disable While Typing Enabled (297): 1
libinput Disable While Typing Enabled Default (298): 1
Device Node (264): «/dev/input/event6»
Device Product ID (265): 2, 14
libinput Drag Lock Buttons (299):
libinput Horizonal Scroll Enabled (266): 1

Обратим внимание на одну из первых настроек:

libinput Tapping Enabled ( 277 ): 0

Она отвечает за восприятие прикосновения в качестве клика «tap to click». Именно она нам и нужна. Сейчас стоит значние «0». Необходимо перевести в «1». Для этого вводим команду:

sudo xinput set-prop 12 277 1

12 — id устройства

277 — номер свойства

1 — значение, которое будет задано

Вводим команду и можно протестировать. Прикосновение к тачпаду будет считаться за клик «tap to click». Нет необходимости перезагружать систему, чтобы изменения вступили в силу.

Чтобы убедиться в правильности установки параметра, посмотрим список свойств устройства ещё раз:

$ xinput list-props 12
Device ‘ETPS/2 Elantech Touchpad’:
Device Enabled (140): 1
Coordinate Transformation Matrix (142): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Tapping Enabled ( 277 ): 1
.

P.S.

Особенно часто «tap to click» не работает в окружении Xfce. А в графическом интерфейсе настроек тачпада Xfce нет пункта, который бы активировал эту опцию.

Источник

Оцените статью