How to configure the touchscreen of my laptop

For issues with MX that has been modified from the initial install. Example: adding packages that then cause issues.
Message
Author
User avatar
CharlesV
Global Moderator
Posts: 7314
Joined: Sun Jul 07, 2019 5:11 pm

Re: How to configure the touchscreen of my laptop

#11 Post by CharlesV »

@Stefmx In my notes I have the following for touchegg:
touchegg daemon doesnt start automatically unless your using systemd. But you can start the daemon with the following bash:

Code: Select all

touchegg --daemon
Then in a second window touchegg will run and properly connect.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
m_pav
Developer
Posts: 1780
Joined: Sun Aug 06, 2006 3:02 pm

Re: How to configure the touchscreen of my laptop

#12 Post by m_pav »

+1 on what j2mcgreg said re SystemD, and one more thing to add.

Have a look at the site below first, then consider adding the content in the code section below into your 30-touchpad-libinput.conf file.

Touchégg
https://github.com/JoseExposito/touchegg#readme

Add to /etc/X11/xorg.conf.d/30-touchpad-libinput.conf

Near the bottom, underneath
Option "Tapping" "on"

Add the following line
Option "TappingButtonMap" "lrm"

You therefore should end up with this block

Code: Select all

Section "InputClass"
  Identifier "touchpad"
  Driver "libinput"
  MatchIsTouchpad "on"
  Option "Tapping" "on"
  Option "TappingButtonMap" "lrm"
EndSection
Save the changes, refresh your Desktop or logout / login and test. It's very unlikely you'll get the same touch functionality you spoke of in Windows when you're operating in Linux and this has been reported both here and in other distro forums. This little add does assist with a handful of click to touch interpretations.

Because I fix and repair customer machines, I remaster the flagship Xfce ISO to include Touchégg and what I have above. It provides no harm to any non-touch system, but I use a portable monitor with touch on many of the Desktop and some laptop machines I work on, and there are times where a screen tap is a better option than a mouse, therefore, the option is available to me whereas it otherwise would not have been. Mind you, when there are two or more display devices and the Extended Desktop option is used, sometimes the touch mapping is applied to the whole desktop area, which is the same behaviour I see with Windows, so I can at least say we are on an ever par on this count.
Mike P

Regd Linux User #472293
(Daily) Lenovo T560, i7-6600U, 16GB, 2.0TB SSD, MX_ahs
(ManCave) AMD Ryzen 5 5600G, 32G, 8TB mixed, MX_ahs
(Spare)2017 Macbook Air 7,2, 8GB, 256GB SSD, MX_ahs

Stefmx
Posts: 7
Joined: Mon Jun 02, 2025 2:03 am

Re: How to configure the touchscreen of my laptop

#13 Post by Stefmx »

Thanks for your help and sorry for the wrong forum. I am a newbie to Linux and took my old laptop to get my first experience with Linux. At first I used an original MX Linux 23.1 live version. But after the installation the laptop did not boot properly. Then I asked for help in the German MX Linux forum and a member gave me his modified version of MX Linux 21.3. My laptop started up and I was able to take my first steps with Linux.

Could you please explain to me what SystemD is? I will try to implement all your suggestions. But I don't know if I will succeed. I am not necessarily fixated on this Linux version. If another version would be more suitable for my laptop with touch screen, I would install another version.

As written, this is not my daily driver but my old laptop to try out and get to know Linux.

User avatar
DukeComposed
Posts: 1392
Joined: Thu Mar 16, 2023 1:57 pm

Re: How to configure the touchscreen of my laptop

#14 Post by DukeComposed »

Stefmx wrote: Thu Jun 05, 2025 8:45 pm Could you please explain to me what SystemD is?
systemd is Fedora's init system. It was developed by the guy who wrote PulseAudio and stems from his thoughts on Rethinking PID 1. What PID 1 is is probably beyond the scope of this answer, but you'll figure it out as you learn more about the UNIX architecture.

Stefmx
Posts: 7
Joined: Mon Jun 02, 2025 2:03 am

Re: How to configure the touchscreen of my laptop

#15 Post by Stefmx »

@CharlesV
I write touchegg --deamon in terminal but no second windows opend. I get the massage I already send.

$ touchegg --deamon
Touchégg v2.0.17.
Starting Touchégg in client mode
Parsing your configuration file...
Using configuration file "/usr/share/touchegg/touchegg.conf"
Configuration parsed successfully
Connecting to Touchégg daemon...
Error connecting to Touchégg daemon: Could not connect: Connection refused
Reconnecting in 5 seconds...

User avatar
CharlesV
Global Moderator
Posts: 7314
Joined: Sun Jul 07, 2019 5:11 pm

Re: How to configure the touchscreen of my laptop

#16 Post by CharlesV »

Stefmx wrote: Thu Jun 05, 2025 8:55 pm @CharlesV
I write touchegg --deamon in terminal but no second windows opend. I get the massage I already send.

$ touchegg --deamon
Touchégg v2.0.17.
Starting Touchégg in client mode
Parsing your configuration file...
Using configuration file "/usr/share/touchegg/touchegg.conf"
Configuration parsed successfully
Connecting to Touchégg daemon...
Error connecting to Touchégg daemon: Could not connect: Connection refused
Reconnecting in 5 seconds...
You mistyped.

Code: Select all

touchegg --daemon

and it will not open another window, it will just launch the daemon. Once that daemon is running, then you will open another window and can use the touch egg controls etc. (but you may not have too open the second window... once the touchegg daemon is running, you may have all you need. )
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
CharlesV
Global Moderator
Posts: 7314
Joined: Sun Jul 07, 2019 5:11 pm

Re: How to configure the touchscreen of my laptop

#17 Post by CharlesV »

If you want to try out systemd, all you have to do is one of these
1) MX Boot options, Choose the Boot To drop down and choose under Advanced Options the first line with ( systemd ) at the end of it. ( Most likely the SECOND line in that Advanced Options list. )

2) at the grub screen after turning on your laptop, hit an up or down arrow key and then go to Advanced and choose the linux line with systemd at the end of it
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

Stefmx
Posts: 7
Joined: Mon Jun 02, 2025 2:03 am

Re: How to configure the touchscreen of my laptop

#18 Post by Stefmx »

@CharlesV
OK I try it on monday and give a feedback than. I have to travel now to the end of this weekend.

Post Reply

Return to “MX Modified”