"config option does not exist" for device:enabled despite being defined in config #12191
Replies: 2 comments
-
|
see https://wiki.hypr.land/Configuring/Keywords/#per-device-input-configs
touch is for touchscreen computer. a trackpad is a mouse |
Beta Was this translation helpful? Give feedback.
-
|
Hello, Thank you, @aphelei. Your suggestion was correct and solved the problem. The issue was a syntax error on my end. I was incorrectly using colons to separate the device name from the parameter ( For anyone else facing this issue, the correct command to toggle the touchpad is: # To disable
hyprctl keyword "device[elan1203:00-04f3:307a-touchpad]:enabled" false
# To enable
hyprctl keyword "device[elan1203:00-04f3:307a-touchpad]:enabled" trueI am closing this issue now. Thanks again for the help |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am unable to dynamically toggle my touchpad using
hyprctl keyword. The command fails with the errorconfig option ... does not exist, even though the device is explicitly defined with anenabledstate in myhyprland.conf.This issue is reproducible with a minimal configuration and persists after full system reboots.
The Bug
deviceblock forelan1203:00-04f3:307a-touchpadis present inhyprland.conf.enabledstate viahyprctlfails.Command executed:
Error received:
Key Observation
During troubleshooting, I noticed that
hyprctl deviceslists my touchpad under themice:category. TheTouch:category is empty. I am including this data point as it may be relevant to how Hyprland is processing the device's configuration.mice: Mouse at 555b7c7b4b10: elan1203:00-04f3:307a-touchpad Touch: (empty)Expected Behavior
The
hyprctl keywordcommand should successfully modify theenabledstate of the device as defined in the configuration.System Information
Hyprland Version:
Operating System:
Kernel Version:
GPU Information:
Full
hyprctl devicesoutput:mice: Mouse at 555b7c7b4760: hid-1241:1177 default speed: 0.00000 scroll factor: -1.00 Mouse at 555b7c7b5270: asus-keyboard-3 default speed: 0.00000 scroll factor: -1.00 Mouse at 555b7c7b4ec0: elan1203:00-04f3:307a-mouse default speed: 0.00000 scroll factor: -1.00 Mouse at 555b7c7b4b10: elan1203:00-04f3:307a-touchpad default speed: 0.00000 scroll factor: -1.00 Keyboards: Keyboard at 555b7c4ab860: power-button rules: r "", m "", l "es", v "", o "" active layout index: 0 active keymap: Spanish capsLock: no numLock: no main: no Keyboard at 555b7c4bb470: asus-wireless-radio-control rules: r "", m "", l "es", v "", o "" active layout index: 0 active keymap: Spanish capsLock: no numLock: no main: no Keyboard at 555b7d0c68e0: video-bus rules: r "", m "", l "es", v "", o "" active layout index: 0 active keymap: Spanish capsLock: no numLock: no main: no Keyboard at 555b7d0f85c0: video-bus-1 rules: r "", m "", l "es", v "", o "" active layout index: 0 active keymap: Spanish capsLock: no numLock: no main: no Keyboard at 555b7d12ba40: power-button-1 rules: r "", m "", l "es", v "", o "" active layout index: 0 active keymap: Spanish capsLock: no numLock: no main: no Keyboard at 555b7d17b830: sleep-button rules: r "", m "", l "es", v "", o "" active layout index: 0 active keymap: Spanish capsLock: no numLock: no main: no Keyboard at 555b7d19afc0: asus-keyboard rules: r "", m "", l "es", v "", o "" active layout index: 0 active keymap: Spanish capsLock: yes numLock: no main: yes Keyboard at 555b7d1cec40: asus-keyboard-1 rules: r "", m "", l "es", v "", o "" active layout index: 0 active keymap: Spanish capsLock: no numLock: no main: no Keyboard at 555b7d204080: asus-keyboard-2 rules: r "", m "", l "es", v "", o "" active layout index: 0 active keymap: Spanish capsLock: no numLock: no main: no Keyboard at 555b7d250820: asus-wmi-hotkeys rules: r "", m "", l "es", v "", o "" active layout index: 0 active keymap: Spanish capsLock: no numLock: no main: no Keyboard at 555b7d270a50: at-translated-set-2-keyboard rules: r "", m "", l "es", v "", o "" active layout index: 0 active keymap: Spanish capsLock: no numLock: no main: no Tablets: Touch: Switches: Switch Device at 555b7d0aaf00: Lid SwitchMinimal
hyprland.confUsed for TestingLogs
The standard log file is not created. A TTY startup log was captured, which shows Hyprland terminating during the config parsing stage. The full log is available if needed, but the primary bug occurs in a stable graphical session where Hyprland is otherwise running correctly.
Thank you for your time.
Beta Was this translation helpful? Give feedback.
All reactions