2016年4月12日 星期二

ASUS zenbook Arch GNOME Multitouch gestures use touchegg

ASUS zenbook Arch  GNOME Multitouch gestures  use  touchegg


由於多指手勢被gnume 阻擋 [註1] /etc/X11/xorg.conf.d/50-synaptics.conf的設定也會失效, 再從touchegg 原始碼所理解是直接與底層驅動存取,此解法比起抽掉 GNOME 監聽touchpad 功能後重從編譯好很多  如:這裡的方法

1. Install  elantech-asustouchpad-dkms 4.0.2-1


2.Install xf86-input-synaptics and, from AUR, touchegg and touchegg-gce-git


    touchegg-gce-git為touchegg 的GUI設定工具。

3.Turn off touchpad: settings ->Mouse & Touchpad ->touchpad Off





4.新增 /etc/X11/xorg.conf.d/50-synaptics.conf


Section "InputClass"
        Identifier "touchpad catchall"
        Driver "synaptics"
        MatchIsTouchpad "on"
        Option "TapButton1" "1"
        Option "TapButton2" "0"
        Option "TapButton3" "0"
        Option "ClickFinger2" "0"
        Option "ClickFinger3" "0"

# 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-meta:ignore-configuration-errors.html
        MatchDevicePath "/dev/input/event*"


EndSection
可參考各型號 driver 設定雖然此葉面已經過有點時:
https://code.google.com/archive/p/touchegg/wikis/ConfigureDevices.wiki

參數設定: https://wiki.archlinux.org/index.php/Touchpad_Synaptics

5.要再進入桌面前啟動:

vi      /etc/profile.d/touchegg.sh


#!/bin/bash
touchegg  &  > /dev/null

6.reboot




Some of the content is thus to Multitouch gestures with the Dell XPS 13 on Arch Linux.
[註1]

xorg.conf.d/50-synaptics.conf does not seem to apply under GNOME and MATE

GNOME and MATE, by default, will overwrite various options for your touch-pad. This includes configurable features for which there is no graphical configuration within GNOME's system control panel. This may cause it to appear that /etc/X11/xorg.conf.d/50-synaptics.conf is not applied. Please refer to the GNOME section in this article to prevent this behavior.


可能有關係:


Console tools

  • Synclient (Recommended) — command line utility to configure and query Synaptics driver settings on a live system, the tool is developed by the synaptics driver maintainers and is provided with the synaptics driver
http://xorg.freedesktop.org/ || xf86-input-synaptics
  • xinput — small general-purpose CLI tool to configure devices
http://xorg.freedesktop.org/ || xorg-xinput

Graphical tools

  • GPointing Device Settings — provides graphical on the fly configuration for several pointing devices connected to the system, including your synaptics touch pad. This application replaces GSynaptics as the preferred tool for graphical touchpad configuration through the synaptics driver
https://wiki.gnome.org/Attic/GPointingDeviceSettings || gpointing-device-settings



參考:
Package Details: elantech-asustouchpad-dkms:https://aur.archlinux.org/packages/elantech-asustouchpad-dkms/
arch wiki Touchpad Synaptics:https://wiki.archlinux.org/index.php/Touchpad_Synaptics
arch wiki Touchegg:https://wiki.archlinux.org/index.php/Touchegg
Multitouch gestures with the Dell XPS 13 on Arch Linux:https://hroy.eu/tips/dell-xps-13-touchpad/

沒有留言:

張貼留言