Xfce Forum

Sub domains
 

You are not logged in.

#1 2020-07-04 00:32:31

Ski-lleR
Member
Registered: 2019-12-31
Posts: 18

[Solved] Keeping touch screen mapping after reboot

Hi,

I recently bought a Asus Zenscreen MB16AMT to use for different purpose, completing a dual head setup.

I connected the screen, the pure multi head thing worked out of the box with xfce, no problem so far in settings everything with gui (just like with 2 screen, but with 3 ^^).

I'm not going to use the touch screen heavily, but i will use it sometime, so i expect it to work. Actually everything was somewhat broken, when i touch the screen it seem the surface of the 3 screen is taken in account for input.

After digging a bit, i found that i have to map input to screen, listed the input with xinput --list, so i endup with the command below :
# xinput --map-to-output "eGalax Inc. eGalaxTouch EXC3200-2505-09.00.00.00" HDMI-A-1

Well one command and everything is working, that's pretty cool ^^

My question is what's the best way to keep this after reboot ? Assuming my screen / graphics card / display+hmdi cable are not meant to change regulary, so the command will remain the same (speaking about the HDMI-A-1).

Thanks

Last edited by Ski-lleR (2020-07-05 11:53:17)

Offline

#2 2020-07-04 01:37:52

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,488

Re: [Solved] Keeping touch screen mapping after reboot

The easiest method would be to add it to your autostart applications. However, keep in mind that it might get overwritten during the startup, so you should add a delay of sorts. Something like:

bash -c 'xinput --map-to-output "eGalax Inc. eGalaxTouch EXC3200-2505-09.00.00.00" HDMI-A-1'

Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2020-07-04 07:33:14

Ski-lleR
Member
Registered: 2019-12-31
Posts: 18

Re: [Solved] Keeping touch screen mapping after reboot

Hi ToZ,

Got it thank smile

Offline

#4 2020-07-04 11:48:32

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,488

Re: [Solved] Keeping touch screen mapping after reboot

Sorry, I just realized I forgot to add the delay. Try this instead:

bash -c 'sleep 5 && xinput --map-to-output "eGalax Inc. eGalaxTouch EXC3200-2505-09.00.00.00" HDMI-A-1'

Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2020-07-05 11:52:02

Ski-lleR
Member
Registered: 2019-12-31
Posts: 18

Re: [Solved] Keeping touch screen mapping after reboot

Don't worry i just understand  your response and set a delay wink
Thanks anyway

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.021 seconds, 8 queries executed - Memory usage: 533.43 KiB (Peak: 534.27 KiB) ]