Page 1 of 1

How to configure the touchscreen of my laptop

Posted: Mon Jun 02, 2025 10:03 pm
by Stefmx
I have a fujitsu T4310 laptop with a touchscreen and mx linux 21.3 on it. Touchscreen work with one and 2 fingers but not like i would.
Is there a way to customize the touchscreen? Under microsoft windows i scroll in a browser windows with 1 finger tip and i can zoom in and out with 2 finger tips.
Under mx linux i have to take 2 finger tips to scroll in a browser and i don´t know how to zoom in and out. And i have to wait 2 second before i can scroll with a 2 finger tip. If i swipe to early with the 2 finger, nothing will happend.
Maybe i have to take another driver for the touchsreen. But i don´t know how.
Hope anybody can give me a tip.

Here comes my mx quick info:

Code: Select all

Snapshot created on: 20250602_0100
System:    Kernel: 5.10.0-35-amd64 [5.10.237-1] x86_64 bits: 64 compiler: gcc v: 10.2.1 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.10.0-35-amd64 root=UUID=<filter> ro quiet splash 
           Desktop: Cinnamon 4.8.6 wm: muffin 4.8.1 vt: 7 dm: LightDM 1.26.0 
           Distro: MX-21.3_x64 Wildflower August 11  2023 base: Debian GNU/Linux 11 (bullseye) 
Machine:   Type: Laptop System: FUJITSU SIEMENS product: LifeBook T4310 v: 10601155984 
           serial: <filter> Chassis: type: 10 v: LifeBook T4310 serial: <filter> 
           Mobo: FUJITSU model: FJNB206 v: K5 serial: <filter> BIOS: FUJITSU // Phoenix 
           v: Version 1.05 date: 09/30/2009 
Battery:   ID-1: CMB2 charge: 36.9 Wh (90.0%) condition: 41.0/41.0 Wh (100.0%) volts: 12.2 
           min: 10.8 model: Fujitsu CP384590-01 type: Li-ion serial: <filter> status: Unknown 
CPU:       Info: Dual Core model: Intel Core2 Duo T6570 bits: 64 type: MCP arch: Penryn family: 6 
           model-id: 17 (23) stepping: A (10) microcode: A0B cache: L2: 2 MiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 ssse3 vmx bogomips: 8378 
           Speed: 1243 MHz min/max: 1200/2101 MHz boost: enabled Core speeds (MHz): 1: 1243 
           2: 1242 
           Vulnerabilities: Type: gather_data_sampling status: Not affected 
           Type: itlb_multihit status: KVM: VMX disabled 
           Type: l1tf mitigation: PTE Inversion; VMX: EPT disabled 
           Type: mds status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled 
           Type: meltdown mitigation: PTI 
           Type: mmio_stale_data status: Unknown: No mitigations 
           Type: reg_file_data_sampling status: Not affected 
           Type: retbleed status: Not affected 
           Type: spec_rstack_overflow status: Not affected 
           Type: spec_store_bypass status: Vulnerable 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 
           mitigation: Retpolines, STIBP: disabled, RSB filling, PBRSB-eIBRS: Not affected 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel Mobile 4 Series Integrated Graphics vendor: Fujitsu Limited. 
           driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:2a42 class-ID: 0300 
           Device-2: Chicony FJ Camera type: USB driver: uvcvideo bus-ID: 3-4:4 chip-ID: 04f2:b186 
           class-ID: 0e02 
           Display: x11 server: X.Org 1.20.11 driver: loaded: intel display-ID: :0 screens: 1 
           Screen-1: 0 s-res: 1280x800 s-dpi: 96 s-size: 338x211mm (13.3x8.3") 
           s-diag: 398mm (15.7") 
           Monitor-1: LVDS1 res: 1280x800 hz: 60 
           OpenGL: renderer: Mesa DRI Mobile Intel GM45 Express (CTG) v: 2.1 Mesa 20.3.5 
           direct render: Yes 
Audio:     Device-1: Intel 82801I HD Audio vendor: Fujitsu Limited. driver: snd_hda_intel 
           v: kernel bus-ID: 00:1b.0 chip-ID: 8086:293e class-ID: 0403 
           Sound Server-1: ALSA v: k5.10.0-35-amd64 running: yes 
           Sound Server-2: PulseAudio v: 14.2 running: yes 
Network:   Device-1: Broadcom NetLink BCM57780 Gigabit Ethernet PCIe vendor: Fujitsu Limited. 
           driver: tg3 v: kernel port: 1c00 bus-ID: 08:00.0 chip-ID: 14e4:1692 class-ID: 0200 
           IF: eth0 state: down mac: <filter> 
           Device-2: Qualcomm Atheros AR928X Wireless Network Adapter vendor: Fujitsu Limited. 
           driver: ath9k v: kernel modules: wl port: 1c00 bus-ID: 18:00.0 chip-ID: 168c:002a 
           class-ID: 0280 
           IF: wlan0 state: up mac: <filter> 
Bluetooth: Device-1: Askey [hex] type: USB driver: btusb v: 0.8 bus-ID: 6-2:3 chip-ID: 1690:0741 
           class-ID: e001 
           Report: hciconfig ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 1.2 lmp-v: 2.1 
           sub-v: 149c hci-v: 2.1 rev: 149c 
           Info: acl-mtu: 310:10 sco-mtu: 64:8 link-policy: rswitch hold sniff park 
           link-mode: slave accept service-classes: rendering, capturing, object transfer, audio 
Drives:    Local Storage: total: 232.89 GiB used: 13.41 GiB (5.8%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/sda maj-min: 8:0 vendor: Crucial model: CT250BX100SSD1 size: 232.89 GiB 
           block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s type: SSD serial: <filter> 
           rev: MU01 scheme: MBR 
Partition: ID-1: / raw-size: 105.37 GiB size: 103.15 GiB (97.90%) used: 13.41 GiB (13.0%) fs: ext4 
           dev: /dev/sda6 maj-min: 8:6 
Swap:      Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 4 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sda5 
           maj-min: 8:5 
Sensors:   System Temperatures: cpu: 52.0 C mobo: 26.8 C 
           Fan Speeds (RPM): N/A 
Repos:     Packages: 2316 note: see --pkg apt: 2302 lib: 1124 flatpak: 14 
           No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian bullseye-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian bullseye main contrib non-free
           2: deb http://security.debian.org/debian-security bullseye-security main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://ftp.halifax.rwth-aachen.de/mxlinux/packages/mx/repo/ bullseye main non-free
           Active apt repos in: /etc/apt/sources.list.d/tmiland.list 
           1: deb [arch=amd64 signed-by=/usr/share/keyrings/tmiland-archive-keyring.gpg] https://deb.tmiland.com/debian ./
Info:      Processes: 218 Uptime: 20h 54m wakeups: 3 Memory: 3.76 GiB used: 1.89 GiB (50.2%) 
           Init: SysVinit v: 2.96 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 10.2.1 
           alt: 10 Client: shell wrapper v: 5.1.4-release inxi: 3.3.06 
Boot Mode: BIOS (legacy, CSM, MBR)

Re: How to configure the touchscreen of my laptop

Posted: Mon Jun 02, 2025 11:04 pm
by CharlesV
Welcome in!

On MX21 for my HP's I believe I had to install touchegg, run the daemon ( touchegg --daemon ) and then I had touch screen.

On mx23, libinput does quite a bit, once I installed liquorix kernel's. If I want to setup more gestures, then touchegg is the way.

I dont recall if installing touchegg added the configuration or if I had already done it, but you can find more information here:
https://www.baeldung.com/linux/touchpad-gestures

Re: How to configure the touchscreen of my laptop

Posted: Tue Jun 03, 2025 4:25 pm
by Stefmx
Thank you for your answer CharlesV. I am not sure if we mean the same. Touchegg is a programm to control the behavior of the touchpad.
I want to control the behavior of my touchscreen. Or does touchegg can control a touchscreen too? Than i would gave it a try.

Re: How to configure the touchscreen of my laptop

Posted: Tue Jun 03, 2025 4:32 pm
by CharlesV
Stefmx wrote: Tue Jun 03, 2025 4:25 pm Thank you for your answer CharlesV. I am not sure if we mean the same. Touchegg is a programm to control the behavior of the touchpad.
I want to control the behavior of my touchscreen. Or does touchegg can control a touchscreen too? Than i would gave it a try.
Touchegg works both.
https://github.com/JoseExposito/touchegg

Re: How to configure the touchscreen of my laptop

Posted: Wed Jun 04, 2025 1:53 am
by Stefmx
OH great. Thanks for the quick reply CharlesV. I will try but it takes time. I am newbie in linux and habe to learn a lot how to do simple things.

Re: How to configure the touchscreen of my laptop

Posted: Wed Jun 04, 2025 11:00 am
by CharlesV
Your very welcome and no worries.. we all had to start at 'the beginning" :-)

Re: How to configure the touchscreen of my laptop

Posted: Thu Jun 05, 2025 12:39 am
by Stefmx
I try to install touchegg.
the command sudo apt install touchegg didn´t work because touchegg can´t be find.
Then I install it over mx package installer. The installation run successfully. But if I run touchegg in terminal to test
the installation I get a error massage:

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...
Error connecting to Touchégg daemon: Could not connect: Connection refused

Any suggestion how to solve the problem connection refused I would be very gradeful for

Re: How to configure the touchscreen of my laptop

Posted: Thu Jun 05, 2025 2:59 am
by m_pav
Stefmx wrote: Mon Jun 02, 2025 10:03 pm

Code: Select all

           Desktop: Cinnamon 4.8.6 wm: muffin 4.8.1 vt: 7 dm: LightDM 1.26.0 
           Distro: MX-21.3_x64 Wildflower August 11  2023 base: Debian GNU/Linux 11 (bullseye) 
Is this post in the right forum location, e.g., in MX Modified considering OP uses a different WM and DE ?

Re: How to configure the touchscreen of my laptop

Posted: Thu Jun 05, 2025 7:10 am
by j2mcgreg
m_pav wrote: Thu Jun 05, 2025 2:59 am
Stefmx wrote: Mon Jun 02, 2025 10:03 pm

Code: Select all

           Desktop: Cinnamon 4.8.6 wm: muffin 4.8.1 vt: 7 dm: LightDM 1.26.0 
           Distro: MX-21.3_x64 Wildflower August 11  2023 base: Debian GNU/Linux 11 (bullseye) 
Is this post in the right forum location, e.g., in MX Modified considering OP uses a different WM and DE ?
I agree with you. Moved to MX Modified.

Re: How to configure the touchscreen of my laptop

Posted: Thu Jun 05, 2025 7:18 am
by j2mcgreg
Stefmx wrote: Thu Jun 05, 2025 12:39 am I try to install touchegg.
the command sudo apt install touchegg didn´t work because touchegg can´t be find.
Then I install it over mx package installer. The installation run successfully. But if I run touchegg in terminal to test
the installation I get a error massage:

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...
Error connecting to Touchégg daemon: Could not connect: Connection refused

Any suggestion how to solve the problem connection refused I would be very gradeful for
Since you are using Cinnamon and Muffin, you probably should also be using SystemD.

Re: How to configure the touchscreen of my laptop

Posted: Thu Jun 05, 2025 12:21 pm
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.

Re: How to configure the touchscreen of my laptop

Posted: Thu Jun 05, 2025 4:52 pm
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.

Re: How to configure the touchscreen of my laptop

Posted: Thu Jun 05, 2025 8:45 pm
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.

Re: How to configure the touchscreen of my laptop

Posted: Thu Jun 05, 2025 8:50 pm
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.

Re: How to configure the touchscreen of my laptop

Posted: Thu Jun 05, 2025 8:55 pm
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...

Re: How to configure the touchscreen of my laptop

Posted: Thu Jun 05, 2025 9:35 pm
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. )

Re: How to configure the touchscreen of my laptop

Posted: Thu Jun 05, 2025 9:39 pm
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

Re: How to configure the touchscreen of my laptop

Posted: Fri Jun 06, 2025 3:18 am
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.