Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to add custom commands to configuration #20

Open
CodingPenguin1 opened this issue Jul 18, 2021 · 1 comment
Open

Not able to add custom commands to configuration #20

CodingPenguin1 opened this issue Jul 18, 2021 · 1 comment

Comments

@CodingPenguin1
Copy link

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

@alesya-h
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants