I have a configuration with 2 touch screens that I want to run independently.
When I run these commands from the command line:
$ xinput map-to-output "input ID" "Output Device"
It works fine.
When I try to make the change permanent (at boot) by either putting those commands in ./˜profile or by adding it to .xsessionrc:
echo xinput map-to-output "input ID" "Output Device" >> ~/.xsessionrc
It doesn't work properly.