Я добавил команду запуска в программу запуска приложений, чтобы отключить мой сенсорный экран при каждом запуске, так как иногда возникают проблемы, которые серьезно испортили вход:
xinput disable "ELAN Touchscreen" (Я не использую идентификаторы устройств поскольку они меняются после каждой перезагрузки).
Однако после нескольких пробуждений сенсорный экран снова включается. В любом случае, чтобы остановить эту проблему?
Отредактируйте файл с помощью
sudo nano /usr/share/X11/xorg.conf.d/10-evdev.conf
Измените MatchIsTouchscreen с «on» на «off», чтобы он выглядел следующим образом:
Section "InputClass"
Identifier "evdev touchscreen catchall"
MatchIsTouchscreen "off"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
Сохранить, Name и Exit nano [ ! d2]
«Сенсорный экран ELAN» отключен и больше не обнаружен в списке xinput.
Отредактируйте файл с помощью
sudo nano /usr/share/X11/xorg.conf.d/10-evdev.conf
Измените MatchIsTouchscreen с «on» на «off», чтобы он выглядел следующим образом:
Section "InputClass"
Identifier "evdev touchscreen catchall"
MatchIsTouchscreen "off"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
Сохранить, Name и Exit nano [ ! d2]
«Сенсорный экран ELAN» отключен и больше не обнаружен в списке xinput.
Отредактируйте файл с помощью
sudo nano /usr/share/X11/xorg.conf.d/10-evdev.conf
Измените MatchIsTouchscreen с «on» на «off», чтобы он выглядел следующим образом:
Section "InputClass"
Identifier "evdev touchscreen catchall"
MatchIsTouchscreen "off"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
Сохранить, Name и Exit nano [ ! d2]
«Сенсорный экран ELAN» отключен и больше не обнаружен в списке xinput.
Когда ваша система «просыпается» (восстанавливается из Suspend или Hibernate), она делает это через «Управление питанием». Прочитайте man pm-action, в котором, в частности, сказано:
/etc/pm/sleep.d, /usr/lib/pm-utils/sleep.d
Programs in these directories (called hooks) are combined and
executed in C sort order before suspend and hibernate with as
argument 'suspend' or 'hibernate'. Afterwards they are called in
reverse order with argument 'resume' and 'thaw' respectively. If
both directories contain a similar named file, the one in
/etc/pm/sleep.d will get preference. It is possible to disable a
hook in the distribution directory by putting a non-executable file
in /etc/pm/sleep.d, or by adding it to the HOOK_BLACKLIST
configuration variable.
Вы можете поместить исполняемую копию своего скрипта (готового обработать параметр «suspend», «hibernate», «resume» или «оттепель», ) в /etc/pm/sleep.d
Когда ваша система «просыпается» (восстанавливается из Suspend или Hibernate), она делает это через «Управление питанием». Прочитайте man pm-action, в котором, в частности, сказано:
/etc/pm/sleep.d, /usr/lib/pm-utils/sleep.d
Programs in these directories (called hooks) are combined and
executed in C sort order before suspend and hibernate with as
argument 'suspend' or 'hibernate'. Afterwards they are called in
reverse order with argument 'resume' and 'thaw' respectively. If
both directories contain a similar named file, the one in
/etc/pm/sleep.d will get preference. It is possible to disable a
hook in the distribution directory by putting a non-executable file
in /etc/pm/sleep.d, or by adding it to the HOOK_BLACKLIST
configuration variable.
Вы можете поместить исполняемую копию своего скрипта (готового обработать параметр «suspend», «hibernate», «resume» или «оттепель», ) в /etc/pm/sleep.d
Когда ваша система «просыпается» (восстанавливается из Suspend или Hibernate), она делает это через «Управление питанием». Прочитайте man pm-action, в котором, в частности, сказано:
/etc/pm/sleep.d, /usr/lib/pm-utils/sleep.d
Programs in these directories (called hooks) are combined and
executed in C sort order before suspend and hibernate with as
argument 'suspend' or 'hibernate'. Afterwards they are called in
reverse order with argument 'resume' and 'thaw' respectively. If
both directories contain a similar named file, the one in
/etc/pm/sleep.d will get preference. It is possible to disable a
hook in the distribution directory by putting a non-executable file
in /etc/pm/sleep.d, or by adding it to the HOOK_BLACKLIST
configuration variable.
Вы можете поместить исполняемую копию своего скрипта (готового обработать параметр «suspend», «hibernate», «resume» или «оттепель», ) в /etc/pm/sleep.d