We'll try a different method to create the file. This time you will use the terminal, but you will also use a text editor that opens in its own window (and not inside of the terminal). Maybe that will be easier. I made the print large size when you switch from the terminal to the editor and then when you switch back to the terminal so you know when to expect the change.
Let's check to see if there is any file in the directory. Run the following in a terminal.
If it comes back with the prompt, then there is no file and you can continue. If it comes back with something, stop here and let me know what it says.
If it comes back with the prompt, run the following in a terminal to create the empty file.
Code: Select all
sudo touch /etc/X11/xorg.conf.d/99-disabletouchscreen.conf
It will come back with the prompt and you can check to see if the file was made by running the following in the terminal.
That will list the file name. Stop here and let me know if the file name is not listed.
Now you want to add code to the file. To do that, please run the following in a terminal which will open the text editor in a completely new window. (Unless you already had the text editor open. In that case it will open the empty file in a new tab.)
Code: Select all
xed admin:///etc/X11/xorg.conf.d/99-disabletouchscreen.conf
The text editor program will be launched in a new window at this point in time. The next set of instructions is done in the text editor.
You will have to enter your password and then you will see the empty file with the name
99-disabletouchscreen.conf
in the tab.
Now you want to copy the following lines and paste them into that empty file which is in the completely new window (and not in the terminal).
Code: Select all
Section "InputClass"
Identifier "touchscreen catchall"
MatchDriver "libinput"
MatchIsTouchscreen "off"
EndSection
When you paste those lines into the file, the name on the tab changes to
*99-disabletouchscreen.conf
.
That is all that will go in the file. You can now select File > Save. Once you save the file, the name in the tab changes back to
99-disabletouchscreen.conf
(no asterick at the beginning this time).
You can now do File > Quit to close the text editing program. That will close the window.
You will now return to the the terminal window because your work with the text editor is done.
Ignore any warning and critical messages on the terminal which relate to the xed (text editor) program. (I had one warning and two critical. I do not know what your version might have. You might have none.)
Now go to the terminal window and check to see if the file and its contents are there by running the following.
Code: Select all
cat /etc/X11/xorg.conf.d/99-disabletouchscreen.conf
It should list the lines in the file. If so, the file has been successfully created and should take effect the next time you boot the computer.