How to perform a right-click when holding a left-click

I tried to set up a convertible Laptop and I want to perform a right-click when holding a left-click for long enough. I installed "evdev-right-click-emulation" through the chaotic-AUR and it showed up in the Garuda Assitent under the Settings tab. I enabled all options under Right Click Emulation. After a reboot i used the command:


The output was:

Found touch screen at /dev/input/event17: ELAN0511:00 04F3:303F Touchpad
Found touch screen at /dev/input/event11: ELAN Touchscreen
Found touch screen at /dev/input/event10: ELAN Touchscreen Stylus

Instead of performing a right-click it entered Edit Mode when used on desktop and it would be nice if somebody could tell me how to deactivate this feature. It also did not work in any application.

Welcome :slight_smile:
Why don't you post your garuda-inxi as required by the template?



I don't have a direct solution for you, but maybe you could pursue researching xinput and find something to help within. Posting xinput list results would be probably be good.

As SGS beat me to, always post your garuda-inxi :slight_smile:


You could also try launching it with sudo, as suggested on upstream site.

If not working, maybe give a look at the issues there...

Kernel: 5.19.7-zen2-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=5a8ffac4-c0c6-4fe8-929f-d65ffe401e6b rw rootflags=subvol=@
quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
Desktop: KDE Plasma v: 5.25.5 tk: Qt v: 5.15.6 info: latte-dock
wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Type: Convertible System: Acer product: Spin SP515-51N v: V1.07
serial: <superuser required>
Mobo: KBL model: Buzz_KL v: V1.07 serial: <superuser required>
UEFI: Insyde v: 1.07 date: 03/05/2018
ID-1: BAT0 charge: 42.5 Wh (96.8%) condition: 43.9/50.8 Wh (86.4%)
volts: 16.2 min: 15.3 model: SMP-SDI3320 AC14B7K type: Li-ion
serial: <filter> status: discharging
Device-1: hid-0003:04F3:25A1.0003-battery model: ELAN Touchscreen
serial: N/A charge: N/A status: N/A
Info: model: Intel Core i7-8550U bits: 64 type: MT MCP arch: Coffee Lake
gen: core 8 built: 2017 process: Intel 14nm family: 6 model-id: 0x8E (142)
stepping: 0xA (10) microcode: 0xF0
Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
L3: 8 MiB desc: 1x8 MiB
Speed (MHz): avg: 3300 high: 3301 min/max: 400/4000 scaling:
driver: intel_pstate governor: powersave cores: 1: 3300 2: 3300 3: 3299
4: 3300 5: 3301 6: 3300 7: 3300 8: 3300 bogomips: 31999
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
Type: retbleed mitigation: IBRS
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
Type: spectre_v2 mitigation: IBRS, IBPB: conditional, RSB filling,
PBRSB-eIBRS: Not affected
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Device-1: Intel UHD Graphics 620 vendor: Acer Incorporated ALI driver: i915
v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports:
active: eDP-1 empty: DP-1,HDMI-A-1,HDMI-A-2 bus-ID: 00:02.0
chip-ID: 8086:5917 class-ID: 0300
Device-2: Chicony HD WebCam type: USB driver: uvcvideo bus-ID: 1-7:5
chip-ID: 04f2:b5f7 class-ID: 0e02
Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.3
compositor: kwin_x11 driver: X: loaded: modesetting
alternate: fbdev,intel,vesa gpu: i915 display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
s-diag: 582mm (22.93")
Monitor-1: eDP-1 model: ChiMei InnoLux 0x15d7 built: 2015 res: 1920x1080
hz: 60 dpi: 142 gamma: 1.2 size: 344x193mm (13.54x7.6") diag: 394mm (15.5")
ratio: 16:9 modes: 1920x1080
OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2) v: 4.6 Mesa
22.1.7 direct render: Yes
Device-1: Intel Sunrise Point-LP HD Audio vendor: Acer Incorporated ALI
driver: snd_hda_intel v: kernel alternate: snd_soc_skl,snd_soc_avs
bus-ID: 00:1f.3 chip-ID: 8086:9d71 class-ID: 0403
Sound Server-1: ALSA v: k5.19.7-zen2-1-zen running: yes
Sound Server-2: PulseAudio v: 16.1 running: no
Sound Server-3: PipeWire v: 0.3.57 running: yes
Device-1: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter
vendor: Lite-On driver: ath10k_pci v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 bus-ID: 02:00.0 chip-ID: 168c:003e class-ID: 0280
IF: wlp2s0 state: up mac: <filter>
Device-1: Lite-On type: USB driver: btusb v: 0.8 bus-ID: 1-5:3
chip-ID: 04ca:3016 class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 1 state: up address: <filter>
Local Storage: total: 238.47 GiB used: 85.9 GiB (36.0%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Micron model: 1100 MTFDDAV256TBN
size: 238.47 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
type: SSD serial: <filter> rev: A020 scheme: GPT
ID-1: / raw-size: 237.97 GiB size: 237.97 GiB (100.00%) used: 85.9 GiB
(36.1%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%) used: 608 KiB
(0.1%) fs: vfat dev: /dev/sda2 maj-min: 8:2
ID-3: /home raw-size: 237.97 GiB size: 237.97 GiB (100.00%) used: 85.9
GiB (36.1%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
ID-4: /var/log raw-size: 237.97 GiB size: 237.97 GiB (100.00%) used: 85.9
GiB (36.1%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
ID-5: /var/tmp raw-size: 237.97 GiB size: 237.97 GiB (100.00%) used: 85.9
GiB (36.1%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 7.68 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
System Temperatures: cpu: 89.0 C pch: 70.0 C mobo: N/A
Fan Speeds (RPM): N/A
Processes: 279 Uptime: 3m wakeups: 4 Memory: 7.68 GiB used: 2.91 GiB
(37.9%) Init: systemd v: 251 default: graphical tool: systemctl
Compilers: gcc: 12.2.0 clang: 14.0.6 Packages: pacman: 1894 lib: 536
Shell: Zsh v: 5.9 running-in: konsole inxi: 3.3.20
Garuda (2.6.7-1):
System install date:     2022-09-06
Last full system update: 2022-09-13
Is partially upgraded:   No
Relevant software:       NetworkManager
Windows dual boot:       No/Undetected
Snapshots:               Snapper
Failed units:            auto-cpufreq.service

I'm very sorry that I forgot to add garuda-inxi, it won't happen again.

Deinstalling evdev-right-click-emulation wont solve the problem that i enter edit mode because it is a feature that is preconfigured in KDE and evdev-right-click-emulation just does nothing at all. And I did not find an option to add a delay to the right-click if i perform a left-click.

  • Check Settings -> Hardware -> Input Devices -> Touchpad. I don't have a touchpad, so I can't see what may be there.

  • Try turning off any mouse-related (accessibility) effects in Settings -> Workspace Behavior -> Desktop Effects?

  • Try altering repeat interval within Settings -> Accessibility -> Mouse Navigation

I'm not sure where else would be feasible to find related settings, since I'm led to believe they're there by this: libinput - ArchWiki


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.