<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: lupetto3</title>
    <description>The latest articles on DEV Community by lupetto3 (@lupetto3).</description>
    <link>https://dev.to/lupetto3</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F860214%2Ff8f47007-fc07-433e-bd3e-8a6516a63a65.png</url>
      <title>DEV Community: lupetto3</title>
      <link>https://dev.to/lupetto3</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/lupetto3"/>
    <language>en</language>
    <item>
      <title>How To Disable your Touch screen in Linux</title>
      <dc:creator>lupetto3</dc:creator>
      <pubDate>Tue, 24 Jun 2025 10:17:12 +0000</pubDate>
      <link>https://dev.to/lupetto3/how-to-disable-your-touch-screen-in-linux-4dg1</link>
      <guid>https://dev.to/lupetto3/how-to-disable-your-touch-screen-in-linux-4dg1</guid>
      <description>&lt;p&gt;One of the beautiful things about Linux is the fact that it helps you breathe new life into old tech, or reduce e-waste by giving laptops and desktops the possibility to stay in use. &lt;/p&gt;

&lt;p&gt;For this reason, I ended up needing to find out how to disable the touch screen on my Thinkpad X1. The screen had a small crack in the top right, that made the screen have sporadic touches, and made using it a nightmare. In windows, you could disable the touchscreen in the hardware, but in Linux I had to find out 2-3 ways according to the desktop environment I was using. I don't know who this could help, and for what other reason one would need to disable their touch screen, but here are my findings centralized into one:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;Budgie or other DE's still on X11&lt;/u&gt;&lt;/strong&gt;&lt;br&gt;
Budgie was easy, and at the time of this article, it's still using mostly X11.&lt;/p&gt;

&lt;p&gt;First you need to find out what your touchscreen device is, so you run:&lt;br&gt;
&lt;code&gt;sudo xinput list&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;it should spit out something like this:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb2tbw2yj64ndnebdfxjj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb2tbw2yj64ndnebdfxjj.png" alt="Image description" width="800" height="274"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;From this list you can see that the touch screen is item 9 on the list. So you would need to run this command:&lt;br&gt;
&lt;code&gt;xinput disable 9&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;and done!&lt;/p&gt;

&lt;p&gt;The issue here was running this every time you login, but luckily, Budgie, and a few other DE's have a list of "startup applications", and usually you can choose a command to run on startup too. Just add the above script, hit save, and done.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;Gnome - Wayland Session&lt;/u&gt;&lt;/strong&gt;&lt;br&gt;
For Gnome, things get a little more complicated, but luckily i was able to find this link of the Zorin Forum that worked well for me, you can read the original guide &lt;a href="https://forum.zorin.com/t/how-to-disable-touchscreen-wayland/37144" rel="noopener noreferrer"&gt;here&lt;/a&gt;. So thanks to user "bon0706" for this solution.&lt;/p&gt;

&lt;p&gt;It basically requires making a udev rule, and if you follow the methods from the zorin forum carefully, you'll achieve your goal!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;KDE - Wayland Session&lt;/u&gt;&lt;/strong&gt;&lt;br&gt;
This one is the most intuitive one, and only a recent discovery for me, since I've mostly used Gnome and Budgie desktops because those have been my preference. But KDE, in a wayland session, has a simple toggle to turn off your touch screen in the settings of the distro.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fiar1t60odqe9dc22ma7w.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fiar1t60odqe9dc22ma7w.png" alt="Image description" width="800" height="580"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And there we have it! I hope this is helpful to someone out there.&lt;/p&gt;

</description>
      <category>linux</category>
      <category>howto</category>
      <category>ubuntu</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
