LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi
User Name
Password
Bodhi This forum is for the discussion of Bodhi Linux.

Notices


Reply
  Search this Thread
Old 06-26-2020, 06:36 PM   #1
questionsBot
Member
 
Registered: Jun 2020
Posts: 68

Rep: Reputation: Disabled
Question Possible to temporarily disable the touchscreen on my laptop?


I use an app called touchpad-indicator to disable the touchpad when I type and when I have an actual mouse plugged in.

Is there anything like that for my actual touchSCREEN? I would like a GUI thing I can run from the start menu, but happy for a terminal command if it exists to turn it off and on.. What would be perfect is an application like touchpad-indicator that will automatically turn it off when typing.

thanks!

(Last time I was asked to make a new post each question..)
 
Old 06-26-2020, 11:26 PM   #2
tinfoil3d
Member
 
Registered: Apr 2020
Location: Japan/RJCC
Distribution: debian, lfs, whatever else i need in qemu
Posts: 167

Rep: Reputation: Disabled
WOW, how do you type and touch your screen at the same time? Can you teach me that trick please, I want to do more things simultaneously too!
Anyways, from google "xinput disable touchscreen"
Quote:
Originally Posted by google
Use xinput --list to get the list of your input devices and use their id to disable any of them: xinput disable <id number> . It works fine, it finds the id number of the touchscreen device (it can change at boot) using its name (Atmel Atmel maXTouch Digitizer - from xinput list) and disables it.
This works for me, I actually wrote an acpid-bound script to disable keyboard and touchpad upon screen 180 degrees flipping. From xinput point of view they're all the same, touchscreen too is an input device.

Just note that this would not do any powersaving for you, it would simply cause x server to ignore any events from a particular input device. Same as disabling your usb optical mouse in xinput won't turn it's led off.

Last edited by tinfoil3d; 06-26-2020 at 11:28 PM.
 
Old 06-26-2020, 11:43 PM   #3
questionsBot
Member
 
Registered: Jun 2020
Posts: 68

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by tinfoil3d View Post
Anyways, from google "xinput disable touchscreen"
Is there a way to make a command in linux so it runs by just typing it into the terminal.. like a batfile in windows.. so I can just type touchscreen off or touchscreen on?

Quote:
Originally Posted by tinfoil3d View Post
how do you type and touch your screen at the same time?
I often click and clack in bed... but the wife dose not like the light, so it is on my chest above my tummy near my head with the lid closed as much as I can.. so I sometimes brush the screen with the back of my hands if I am pressing buttons at the top of the keyboard.
 
1 members found this post helpful.
Old 06-27-2020, 12:01 AM   #4
tinfoil3d
Member
 
Registered: Apr 2020
Location: Japan/RJCC
Distribution: debian, lfs, whatever else i need in qemu
Posts: 167

Rep: Reputation: Disabled
ok i see.
yes, just write a shell script that greps/awks out the id of your touchscreen device name and toggles that. you can then bind that script to your window manager keyboard shortcuts.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
3.0 touchscreen works. 5.0 upgrade touchscreen does not work Stonetablet Bodhi 4 12-08-2019 09:39 AM
Dual head setup with one touchscreen stretching over non-touchscreen display gutaker Linux - Hardware 0 03-13-2012 04:06 PM
looking for touchscreen drivers for mandriva 2008, touchscreen working with windows inder_18nec Linux - Software 3 02-20-2010 05:11 PM
Touchscreen Drivers - Toughbook CF-19 w/Red Hat 5.3 (Fujitsu USB Touchscreen) bsheridan Linux - Laptop and Netbook 0 11-17-2009 10:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi

All times are GMT -5. The time now is 05:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration