linux_detect_tablet_mode icon indicating copy to clipboard operation
linux_detect_tablet_mode copied to clipboard

Not able to add custom commands to configuration

Open CodingPenguin1 opened this issue 3 years ago • 1 comments

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

CodingPenguin1 avatar Jul 18 '21 18:07 CodingPenguin1

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.

alesya-h avatar Oct 21 '22 04:10 alesya-h