How can I correct touchscreen configuration (inverted x and y) in 19.04?How to change touch screen functionality from a relative to an absolute pointing device?Touchscreen calibration with dual monitors (NVidia and xinput)Why does my login script only partially execute?How to rotate touch screen input on Ubuntu 16.04?Chuwi Hi10 Pro silead touchscreen

Why does Principal Vagina say, "no relation" after introducing himself?

How do I stop myself from always placing a monetary value on my time?

What fantasy book has twins (except one's blue) and a cloaked ice bear on the cover?

Is it unusual that English uses possessive for past tense?

First author doesn't want a co-author to read the whole paper

Does my protagonist need to be the most important character?

Was "Assassin's Creed" based on the 1907 book "Lord of the World"?

Which culture used no personal names?

Why is technology bad for children?

If we should encrypt the message rather than the method of transfer, why do we care about wifi security? Is this just security theatre?

defining destructor in a class derived from move-only type gives compile-time error when created with emplace_back or push_back of std::vector

Twelve Labours - Prologue

How many wires can safely be secured in a Marrette 33 wire nut?

Charges from Dollar General have never shown up on my debit card. How can I resolve this?

Is there any research on the development of attacks against artificial intelligence systems?

How are Aircraft Noses Designed?

Is the tap water in France safe to drink?

Trade a bishop in the opening

Car as a good investment

How does Data know about his off switch?

How can you tell apart the pronounciation at the end between the "meine" and "meiner" in the daily spoken situation?

Encountering former, abusive advisor at a conference

How can I communicate feelings to players without impacting their agency?

Shacharit on י"א תשרי



How can I correct touchscreen configuration (inverted x and y) in 19.04?


How to change touch screen functionality from a relative to an absolute pointing device?Touchscreen calibration with dual monitors (NVidia and xinput)Why does my login script only partially execute?How to rotate touch screen input on Ubuntu 16.04?Chuwi Hi10 Pro silead touchscreen






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









0

















I have an old windows tablet that I have managed to install Ubuntu on (a WinBook TW700) and it works pretty well. I originally installed 16.04 and was able to address the inverted axis through use of xinput-calibrator and editing the 99-configuration.conf file and had the screen working great. Then I made the mistake of upgrading to 19.04.



in 19.04 I am no longer able to configure the screen at all. touch is recognized (and now rotation works although this is also inverted) but if I touch the lower right corner the pointer appears in the upper left and vice versa. the 99-configuration.conf seems to have no effect. How and where can I make adjustments to get this configuration correct? It would be great if I could get both the inverted x and y settings and the screen rotation correct. Thank you for any help or advice.










share|improve this question



























  • Not a solution, just a suggestion: Try it with the Unity DE which was the default in 16.04.

    – GabrielaGarcia
    May 14 at 18:01











  • @GabrielaGarcia thank you for the suggestion. It was a good idea but unfortunately didn't solve the calibration problem. Interestingly though, there is no screen rotation in Unity so it did have some effect.

    – macacob
    May 14 at 18:24

















0

















I have an old windows tablet that I have managed to install Ubuntu on (a WinBook TW700) and it works pretty well. I originally installed 16.04 and was able to address the inverted axis through use of xinput-calibrator and editing the 99-configuration.conf file and had the screen working great. Then I made the mistake of upgrading to 19.04.



in 19.04 I am no longer able to configure the screen at all. touch is recognized (and now rotation works although this is also inverted) but if I touch the lower right corner the pointer appears in the upper left and vice versa. the 99-configuration.conf seems to have no effect. How and where can I make adjustments to get this configuration correct? It would be great if I could get both the inverted x and y settings and the screen rotation correct. Thank you for any help or advice.










share|improve this question



























  • Not a solution, just a suggestion: Try it with the Unity DE which was the default in 16.04.

    – GabrielaGarcia
    May 14 at 18:01











  • @GabrielaGarcia thank you for the suggestion. It was a good idea but unfortunately didn't solve the calibration problem. Interestingly though, there is no screen rotation in Unity so it did have some effect.

    – macacob
    May 14 at 18:24













0












0








0


1






I have an old windows tablet that I have managed to install Ubuntu on (a WinBook TW700) and it works pretty well. I originally installed 16.04 and was able to address the inverted axis through use of xinput-calibrator and editing the 99-configuration.conf file and had the screen working great. Then I made the mistake of upgrading to 19.04.



in 19.04 I am no longer able to configure the screen at all. touch is recognized (and now rotation works although this is also inverted) but if I touch the lower right corner the pointer appears in the upper left and vice versa. the 99-configuration.conf seems to have no effect. How and where can I make adjustments to get this configuration correct? It would be great if I could get both the inverted x and y settings and the screen rotation correct. Thank you for any help or advice.










share|improve this question















I have an old windows tablet that I have managed to install Ubuntu on (a WinBook TW700) and it works pretty well. I originally installed 16.04 and was able to address the inverted axis through use of xinput-calibrator and editing the 99-configuration.conf file and had the screen working great. Then I made the mistake of upgrading to 19.04.



in 19.04 I am no longer able to configure the screen at all. touch is recognized (and now rotation works although this is also inverted) but if I touch the lower right corner the pointer appears in the upper left and vice versa. the 99-configuration.conf seems to have no effect. How and where can I make adjustments to get this configuration correct? It would be great if I could get both the inverted x and y settings and the screen rotation correct. Thank you for any help or advice.







touchscreen 19.04






share|improve this question














share|improve this question











share|improve this question




share|improve this question










asked May 14 at 17:26









macacobmacacob

12 bronze badges




12 bronze badges















  • Not a solution, just a suggestion: Try it with the Unity DE which was the default in 16.04.

    – GabrielaGarcia
    May 14 at 18:01











  • @GabrielaGarcia thank you for the suggestion. It was a good idea but unfortunately didn't solve the calibration problem. Interestingly though, there is no screen rotation in Unity so it did have some effect.

    – macacob
    May 14 at 18:24

















  • Not a solution, just a suggestion: Try it with the Unity DE which was the default in 16.04.

    – GabrielaGarcia
    May 14 at 18:01











  • @GabrielaGarcia thank you for the suggestion. It was a good idea but unfortunately didn't solve the calibration problem. Interestingly though, there is no screen rotation in Unity so it did have some effect.

    – macacob
    May 14 at 18:24
















Not a solution, just a suggestion: Try it with the Unity DE which was the default in 16.04.

– GabrielaGarcia
May 14 at 18:01





Not a solution, just a suggestion: Try it with the Unity DE which was the default in 16.04.

– GabrielaGarcia
May 14 at 18:01













@GabrielaGarcia thank you for the suggestion. It was a good idea but unfortunately didn't solve the calibration problem. Interestingly though, there is no screen rotation in Unity so it did have some effect.

– macacob
May 14 at 18:24





@GabrielaGarcia thank you for the suggestion. It was a good idea but unfortunately didn't solve the calibration problem. Interestingly though, there is no screen rotation in Unity so it did have some effect.

– macacob
May 14 at 18:24










1 Answer
1






active

oldest

votes


















0


















This worked for me since kernel 4.20 which was the first time I had any touchscreen at all.I had to , and still have to run scripts to rotate and until kernel 5.0 I had to run this following script to calibrate the touch pen and screen.
The key line is:



xinput map-to-output $i eDP


where $1 is what you get from xinput and it is a number (which I found could change between boots, so I get it from the name with the deviceid= line, mine being ELAN0732:00). note I have to touch the screen to activate the pen to get it to show up in xinput. the number changes all the time.



I had an issue last week with the pen cursor being off where the pen was contacting, but this has, er, magically resolved itself, actually just checked and its back so I need to work on that one. I think my script just fixed it again.



This link helped with the rotations. I still don't have those showing in display settings, though I think it once did. Such is consistent with Ubuntu AMD experiences this year.
https://wiki.ubuntu.com/X/InputCoordinateTransformation



I made a script saved as RotateMapToOutputs.sh



# dont forget to touch the screen first with the pen.
touchscreen=""
pen=""

OIFS=$IFS
search=""ELAN0732:00""

# note that the pen didnt show up until I mapped the standard one or clicked the screen.
# so need to do that first
echo $search

list=$(xinput | grep $search | grep pointer)
echo "list $list"

# just a text file to work with the list.
if [ -f tempxinput.txt ]
then
echo " removing tempxinput"
rm tempxinput.txt
fi

device_id=$(echo "$list" | sed -n 's/.*ELAN0732:00.*id=([0-9]*).*/1/p')

for i in $device_id
do
echo "id is $i"
xinput map-to-output $i eDP

done


I then set a keyboard shortcut to do



bash "~/MyScripts/ RotateMapToOutputs.sh"


as it seems like you might have troubles with rotation, this is my rotate inverted script and I made a shortcut key as above. (note the maptoputput there might be in error as 14 is no longer that one, so I can then run the above maptooutputs after any rotation if it doesn't calibrate.



xrandr --output eDP --rotate inverted && xinput set-prop 'ELAN0732:00 04F3:2536 Pen (0)' --type=float "Coordinate Transformation Matrix" -1 0 1 0 -1 1 0 0 1 && xinput map-to-output 'ELAN0732:00 04F3:2536 Pen (0)' eDP && xinput map-to-output 14 eDP 


normal is:



xrandr --output eDP --rotate normal && xinput set-prop 'ELAN0732:00 04F3:2536 Pen (0)' --type=float "Coordinate Transformation Matrix" 0 0 0 0 0 0 0 0 0 && xinput map-to-output 'ELAN0732:00 04F3:2536 Pen (0)' eDP && xinput map-to-output 14 eDP 


left:



xrandr --output eDP --rotate left && xinput set-prop 'ELAN0732:00 04F3:2536 Pen (0)' --type=float "Coordinate Transformation Matrix" 0 -1 1 1 0 0 0 0 1 && xinput map-to-output 'ELAN0732:00 04F3:2536 Pen (0)' eDP && xinput map-to-output 14 eDP 


right:



xrandr --output eDP --rotate right && xinput set-prop 'ELAN0732:00 04F3:2536 Pen (0)' --type=float "Coordinate Transformation Matrix" 0 1 0 -1 0 1 0 0 1 && xinput map-to-output 'ELAN0732:00 04F3:2536 Pen (0)' eDP && xinput map-to-output 14 eDP





share|improve this answer





























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );














    draft saved

    draft discarded
















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1143232%2fhow-can-i-correct-touchscreen-configuration-inverted-x-and-y-in-19-04%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown


























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0


















    This worked for me since kernel 4.20 which was the first time I had any touchscreen at all.I had to , and still have to run scripts to rotate and until kernel 5.0 I had to run this following script to calibrate the touch pen and screen.
    The key line is:



    xinput map-to-output $i eDP


    where $1 is what you get from xinput and it is a number (which I found could change between boots, so I get it from the name with the deviceid= line, mine being ELAN0732:00). note I have to touch the screen to activate the pen to get it to show up in xinput. the number changes all the time.



    I had an issue last week with the pen cursor being off where the pen was contacting, but this has, er, magically resolved itself, actually just checked and its back so I need to work on that one. I think my script just fixed it again.



    This link helped with the rotations. I still don't have those showing in display settings, though I think it once did. Such is consistent with Ubuntu AMD experiences this year.
    https://wiki.ubuntu.com/X/InputCoordinateTransformation



    I made a script saved as RotateMapToOutputs.sh



    # dont forget to touch the screen first with the pen.
    touchscreen=""
    pen=""

    OIFS=$IFS
    search=""ELAN0732:00""

    # note that the pen didnt show up until I mapped the standard one or clicked the screen.
    # so need to do that first
    echo $search

    list=$(xinput | grep $search | grep pointer)
    echo "list $list"

    # just a text file to work with the list.
    if [ -f tempxinput.txt ]
    then
    echo " removing tempxinput"
    rm tempxinput.txt
    fi

    device_id=$(echo "$list" | sed -n 's/.*ELAN0732:00.*id=([0-9]*).*/1/p')

    for i in $device_id
    do
    echo "id is $i"
    xinput map-to-output $i eDP

    done


    I then set a keyboard shortcut to do



    bash "~/MyScripts/ RotateMapToOutputs.sh"


    as it seems like you might have troubles with rotation, this is my rotate inverted script and I made a shortcut key as above. (note the maptoputput there might be in error as 14 is no longer that one, so I can then run the above maptooutputs after any rotation if it doesn't calibrate.



    xrandr --output eDP --rotate inverted && xinput set-prop 'ELAN0732:00 04F3:2536 Pen (0)' --type=float "Coordinate Transformation Matrix" -1 0 1 0 -1 1 0 0 1 && xinput map-to-output 'ELAN0732:00 04F3:2536 Pen (0)' eDP && xinput map-to-output 14 eDP 


    normal is:



    xrandr --output eDP --rotate normal && xinput set-prop 'ELAN0732:00 04F3:2536 Pen (0)' --type=float "Coordinate Transformation Matrix" 0 0 0 0 0 0 0 0 0 && xinput map-to-output 'ELAN0732:00 04F3:2536 Pen (0)' eDP && xinput map-to-output 14 eDP 


    left:



    xrandr --output eDP --rotate left && xinput set-prop 'ELAN0732:00 04F3:2536 Pen (0)' --type=float "Coordinate Transformation Matrix" 0 -1 1 1 0 0 0 0 1 && xinput map-to-output 'ELAN0732:00 04F3:2536 Pen (0)' eDP && xinput map-to-output 14 eDP 


    right:



    xrandr --output eDP --rotate right && xinput set-prop 'ELAN0732:00 04F3:2536 Pen (0)' --type=float "Coordinate Transformation Matrix" 0 1 0 -1 0 1 0 0 1 && xinput map-to-output 'ELAN0732:00 04F3:2536 Pen (0)' eDP && xinput map-to-output 14 eDP





    share|improve this answer
































      0


















      This worked for me since kernel 4.20 which was the first time I had any touchscreen at all.I had to , and still have to run scripts to rotate and until kernel 5.0 I had to run this following script to calibrate the touch pen and screen.
      The key line is:



      xinput map-to-output $i eDP


      where $1 is what you get from xinput and it is a number (which I found could change between boots, so I get it from the name with the deviceid= line, mine being ELAN0732:00). note I have to touch the screen to activate the pen to get it to show up in xinput. the number changes all the time.



      I had an issue last week with the pen cursor being off where the pen was contacting, but this has, er, magically resolved itself, actually just checked and its back so I need to work on that one. I think my script just fixed it again.



      This link helped with the rotations. I still don't have those showing in display settings, though I think it once did. Such is consistent with Ubuntu AMD experiences this year.
      https://wiki.ubuntu.com/X/InputCoordinateTransformation



      I made a script saved as RotateMapToOutputs.sh



      # dont forget to touch the screen first with the pen.
      touchscreen=""
      pen=""

      OIFS=$IFS
      search=""ELAN0732:00""

      # note that the pen didnt show up until I mapped the standard one or clicked the screen.
      # so need to do that first
      echo $search

      list=$(xinput | grep $search | grep pointer)
      echo "list $list"

      # just a text file to work with the list.
      if [ -f tempxinput.txt ]
      then
      echo " removing tempxinput"
      rm tempxinput.txt
      fi

      device_id=$(echo "$list" | sed -n 's/.*ELAN0732:00.*id=([0-9]*).*/1/p')

      for i in $device_id
      do
      echo "id is $i"
      xinput map-to-output $i eDP

      done


      I then set a keyboard shortcut to do



      bash "~/MyScripts/ RotateMapToOutputs.sh"


      as it seems like you might have troubles with rotation, this is my rotate inverted script and I made a shortcut key as above. (note the maptoputput there might be in error as 14 is no longer that one, so I can then run the above maptooutputs after any rotation if it doesn't calibrate.



      xrandr --output eDP --rotate inverted && xinput set-prop 'ELAN0732:00 04F3:2536 Pen (0)' --type=float "Coordinate Transformation Matrix" -1 0 1 0 -1 1 0 0 1 && xinput map-to-output 'ELAN0732:00 04F3:2536 Pen (0)' eDP && xinput map-to-output 14 eDP 


      normal is:



      xrandr --output eDP --rotate normal && xinput set-prop 'ELAN0732:00 04F3:2536 Pen (0)' --type=float "Coordinate Transformation Matrix" 0 0 0 0 0 0 0 0 0 && xinput map-to-output 'ELAN0732:00 04F3:2536 Pen (0)' eDP && xinput map-to-output 14 eDP 


      left:



      xrandr --output eDP --rotate left && xinput set-prop 'ELAN0732:00 04F3:2536 Pen (0)' --type=float "Coordinate Transformation Matrix" 0 -1 1 1 0 0 0 0 1 && xinput map-to-output 'ELAN0732:00 04F3:2536 Pen (0)' eDP && xinput map-to-output 14 eDP 


      right:



      xrandr --output eDP --rotate right && xinput set-prop 'ELAN0732:00 04F3:2536 Pen (0)' --type=float "Coordinate Transformation Matrix" 0 1 0 -1 0 1 0 0 1 && xinput map-to-output 'ELAN0732:00 04F3:2536 Pen (0)' eDP && xinput map-to-output 14 eDP





      share|improve this answer






























        0














        0










        0









        This worked for me since kernel 4.20 which was the first time I had any touchscreen at all.I had to , and still have to run scripts to rotate and until kernel 5.0 I had to run this following script to calibrate the touch pen and screen.
        The key line is:



        xinput map-to-output $i eDP


        where $1 is what you get from xinput and it is a number (which I found could change between boots, so I get it from the name with the deviceid= line, mine being ELAN0732:00). note I have to touch the screen to activate the pen to get it to show up in xinput. the number changes all the time.



        I had an issue last week with the pen cursor being off where the pen was contacting, but this has, er, magically resolved itself, actually just checked and its back so I need to work on that one. I think my script just fixed it again.



        This link helped with the rotations. I still don't have those showing in display settings, though I think it once did. Such is consistent with Ubuntu AMD experiences this year.
        https://wiki.ubuntu.com/X/InputCoordinateTransformation



        I made a script saved as RotateMapToOutputs.sh



        # dont forget to touch the screen first with the pen.
        touchscreen=""
        pen=""

        OIFS=$IFS
        search=""ELAN0732:00""

        # note that the pen didnt show up until I mapped the standard one or clicked the screen.
        # so need to do that first
        echo $search

        list=$(xinput | grep $search | grep pointer)
        echo "list $list"

        # just a text file to work with the list.
        if [ -f tempxinput.txt ]
        then
        echo " removing tempxinput"
        rm tempxinput.txt
        fi

        device_id=$(echo "$list" | sed -n 's/.*ELAN0732:00.*id=([0-9]*).*/1/p')

        for i in $device_id
        do
        echo "id is $i"
        xinput map-to-output $i eDP

        done


        I then set a keyboard shortcut to do



        bash "~/MyScripts/ RotateMapToOutputs.sh"


        as it seems like you might have troubles with rotation, this is my rotate inverted script and I made a shortcut key as above. (note the maptoputput there might be in error as 14 is no longer that one, so I can then run the above maptooutputs after any rotation if it doesn't calibrate.



        xrandr --output eDP --rotate inverted && xinput set-prop 'ELAN0732:00 04F3:2536 Pen (0)' --type=float "Coordinate Transformation Matrix" -1 0 1 0 -1 1 0 0 1 && xinput map-to-output 'ELAN0732:00 04F3:2536 Pen (0)' eDP && xinput map-to-output 14 eDP 


        normal is:



        xrandr --output eDP --rotate normal && xinput set-prop 'ELAN0732:00 04F3:2536 Pen (0)' --type=float "Coordinate Transformation Matrix" 0 0 0 0 0 0 0 0 0 && xinput map-to-output 'ELAN0732:00 04F3:2536 Pen (0)' eDP && xinput map-to-output 14 eDP 


        left:



        xrandr --output eDP --rotate left && xinput set-prop 'ELAN0732:00 04F3:2536 Pen (0)' --type=float "Coordinate Transformation Matrix" 0 -1 1 1 0 0 0 0 1 && xinput map-to-output 'ELAN0732:00 04F3:2536 Pen (0)' eDP && xinput map-to-output 14 eDP 


        right:



        xrandr --output eDP --rotate right && xinput set-prop 'ELAN0732:00 04F3:2536 Pen (0)' --type=float "Coordinate Transformation Matrix" 0 1 0 -1 0 1 0 0 1 && xinput map-to-output 'ELAN0732:00 04F3:2536 Pen (0)' eDP && xinput map-to-output 14 eDP





        share|improve this answer
















        This worked for me since kernel 4.20 which was the first time I had any touchscreen at all.I had to , and still have to run scripts to rotate and until kernel 5.0 I had to run this following script to calibrate the touch pen and screen.
        The key line is:



        xinput map-to-output $i eDP


        where $1 is what you get from xinput and it is a number (which I found could change between boots, so I get it from the name with the deviceid= line, mine being ELAN0732:00). note I have to touch the screen to activate the pen to get it to show up in xinput. the number changes all the time.



        I had an issue last week with the pen cursor being off where the pen was contacting, but this has, er, magically resolved itself, actually just checked and its back so I need to work on that one. I think my script just fixed it again.



        This link helped with the rotations. I still don't have those showing in display settings, though I think it once did. Such is consistent with Ubuntu AMD experiences this year.
        https://wiki.ubuntu.com/X/InputCoordinateTransformation



        I made a script saved as RotateMapToOutputs.sh



        # dont forget to touch the screen first with the pen.
        touchscreen=""
        pen=""

        OIFS=$IFS
        search=""ELAN0732:00""

        # note that the pen didnt show up until I mapped the standard one or clicked the screen.
        # so need to do that first
        echo $search

        list=$(xinput | grep $search | grep pointer)
        echo "list $list"

        # just a text file to work with the list.
        if [ -f tempxinput.txt ]
        then
        echo " removing tempxinput"
        rm tempxinput.txt
        fi

        device_id=$(echo "$list" | sed -n 's/.*ELAN0732:00.*id=([0-9]*).*/1/p')

        for i in $device_id
        do
        echo "id is $i"
        xinput map-to-output $i eDP

        done


        I then set a keyboard shortcut to do



        bash "~/MyScripts/ RotateMapToOutputs.sh"


        as it seems like you might have troubles with rotation, this is my rotate inverted script and I made a shortcut key as above. (note the maptoputput there might be in error as 14 is no longer that one, so I can then run the above maptooutputs after any rotation if it doesn't calibrate.



        xrandr --output eDP --rotate inverted && xinput set-prop 'ELAN0732:00 04F3:2536 Pen (0)' --type=float "Coordinate Transformation Matrix" -1 0 1 0 -1 1 0 0 1 && xinput map-to-output 'ELAN0732:00 04F3:2536 Pen (0)' eDP && xinput map-to-output 14 eDP 


        normal is:



        xrandr --output eDP --rotate normal && xinput set-prop 'ELAN0732:00 04F3:2536 Pen (0)' --type=float "Coordinate Transformation Matrix" 0 0 0 0 0 0 0 0 0 && xinput map-to-output 'ELAN0732:00 04F3:2536 Pen (0)' eDP && xinput map-to-output 14 eDP 


        left:



        xrandr --output eDP --rotate left && xinput set-prop 'ELAN0732:00 04F3:2536 Pen (0)' --type=float "Coordinate Transformation Matrix" 0 -1 1 1 0 0 0 0 1 && xinput map-to-output 'ELAN0732:00 04F3:2536 Pen (0)' eDP && xinput map-to-output 14 eDP 


        right:



        xrandr --output eDP --rotate right && xinput set-prop 'ELAN0732:00 04F3:2536 Pen (0)' --type=float "Coordinate Transformation Matrix" 0 1 0 -1 0 1 0 0 1 && xinput map-to-output 'ELAN0732:00 04F3:2536 Pen (0)' eDP && xinput map-to-output 14 eDP






        share|improve this answer















        share|improve this answer




        share|improve this answer








        edited May 18 at 8:28









        Martin Thornton

        2,7607 gold badges21 silver badges32 bronze badges




        2,7607 gold badges21 silver badges32 bronze badges










        answered May 18 at 7:30









        pierrelypierrely

        1085 bronze badges




        1085 bronze badges































            draft saved

            draft discarded















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1143232%2fhow-can-i-correct-touchscreen-configuration-inverted-x-and-y-in-19-04%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown









            Popular posts from this blog

            Tamil (spriik) Luke uk diar | Nawigatjuun

            Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

            Where does the image of a data connector as a sharp metal spike originate from?Where does the concept of infected people turning into zombies only after death originate from?Where does the motif of a reanimated human head originate?Where did the notion that Dragons could speak originate?Where does the archetypal image of the 'Grey' alien come from?Where did the suffix '-Man' originate?Where does the notion of being injured or killed by an illusion originate?Where did the term “sophont” originate?Where does the trope of magic spells being driven by advanced technology originate from?Where did the term “the living impaired” originate?