linux_detect_tablet_mode
linux_detect_tablet_mode copied to clipboard
Not able to add custom commands to configuration
I have a Dell XPS 13 2-in-1 (9310) running Artix Linux. I have installed [detect-tablet-mode-git](https://aur.archlinux.org/packages/detect-tablet-mode-git/)
.
Here is my configuration file (~/.config/watch_tablet.yml
):
input_device: /dev/input/by-path/platform-INTC1051:00-event
modes:
laptop:
- xinput enable "AT Translated Set 2 keyboard"
- xinput enable "SynPS/2 Synaptics TouchPad"
tablet:
- xinput disable "AT Translated Set 2 keyboard"
- xinput disable "SynPS/2 Synaptics TouchPad"
- /usr/bin/onboard show
- touch /home/stark/TABLET
The xinput commands run properly, but the onboard and touch commands do not
You can try running the script manually from the terminal (rather than from .xinitrc or something like that) and look for outputs of those commands that you have specified in the config - it is likely that you will see what is wrong.