I have an issue with my dual monitor setup: one is touchscreen and the other is not - the touch input correlates across both displays instead of just one. I can resolve the issue by mapping the input to the correct display using the following command:
xinput map-to-output 11 DP-1
I would like this command to fire up on startup automatically. I've tried adding it as a cron job in both my user and root crontabs as follows:
@reboot xinput map-to-output 11 DP-1
and I've also added it as a script:
Neither option worked. I also tried both options (without the
@reboot) in Ubuntu's startup applications gui.
Why isn't my command firing - where should I be looking to find the problem?