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

Touchscreen goes crazy after idle #26

Open
fabiocarneiro opened this issue Jul 20, 2018 · 10 comments
Open

Touchscreen goes crazy after idle #26

fabiocarneiro opened this issue Jul 20, 2018 · 10 comments

Comments

@fabiocarneiro
Copy link

For some reason I wasn't able to identify, almost everytime ubuntu goes to lock screen, the touchscreen starts to randomly click everywhere. It eventually brings the on-screen keyboard and start typing whatever thing and keeps trying to log in.

At first, I got really scared because it really looks like a macro trying to authenticate and trying random passwords. But eventually, I realized it clicks in places that don't make sense and closes and open the keyboard several times.

I also thought it was just my screen being dirty, but I've been keeping it very clean and it happens multiple times immediately after cleaning and letting it idle. The issue was also being solved by cleaning but I think its just because in the process of cleaning I provide actual input, so it made me realize I can make it stop even without cleaning the screen by just touching somewhere.

I'm on Ubuntu 18.04. I usually run on Wayland because of the partial scaling and wasn't able to identify if it happens also on Xorg. Anyway, it usually happens on the lock screen, so I'm not sure whatever user initiated can influence that.

@rolandguelle
Copy link
Owner

Touchscreen or Touchpad? I never had this issue.

@fabiocarneiro
Copy link
Author

Touchscreen

@BBBob
Copy link

BBBob commented Aug 8, 2018

I met this problem too. I use a script to disable the touchscreen before I close the lip on archlinux.

@fabiocarneiro
Copy link
Author

@BBBob please share

@BBBob
Copy link

BBBob commented Aug 8, 2018

@fabiocarneiro

#!/bin/sh
declare -i ID
ID=`xinput | grep -Eio 'Touchscreen\s*id\=[0-9]{1,}' | grep -Eio 'id\=[0-9]{1,}'| grep -Eo '[0-9]{1,}'`
#ID=100
#echo ID:$ID
declare -i STATE
STATE=`xinput list-props $ID|grep 'Device Enabled'|awk '{print $4}'`
if [ $STATE -eq 1 ]
then
    xinput disable $ID
    echo "Touchscreen disabled."
    #notify-send 'Touchpad' 'Disabled' -i /usr/share/icons/Adwaita/48x48/devices/input-touchpad.png
    notify-send 'Touchscreen' 'Disabled' 
else
    xinput enable $ID
    echo "Touchscreen enabled."
    notify-send 'Touchscreen' 'Enabled' 
    #notify-send 'Touchpad' 'Enabled' -i /usr/share/icons/Adwaita/48x48/devices/input-touchpad.png
fi

maybe you need to modify something for your environment.

@jacobperron
Copy link

I am also experiencing this issue. Random touches are registered after going to the lock screen. Continues to happen after logging in and can sometimes be stopped by touching the screen.

@halfbyte
Copy link

Oh, interesting. I just recently started to experience this and was quite unsure about the origin, but I have to admit I never assumed it could be the touchscreen. I'll disable it to figure out if that's the culprit and will report back!

(Early 2018 Model, running stock Ubuntu 18.10)

@victorhearnyeates
Copy link

I also had this issue, easy fix was closing and reopening the lid

@Cethy
Copy link

Cethy commented Sep 19, 2019

Same here.
Solved by cycling between suspended and active state (I use the power button, but closing the lid like @victorhearnyeates suggests works too for me).

@jacobperron
Copy link

FWIW, I noticed this issue happening on Windows too. Closing the lid works for me.

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

7 participants