Ask Your Question

Touchscreen rotation and pointer orientation

asked 2014-09-06 09:55:56 -0500

JosephL gravatar image

updated 2014-09-06 10:31:03 -0500

I am trying to get the touchscreen on my new HP Envy x360 2-in-1 working correctly in Fedora 20 running Cinnamon. I've tried using MagickRotate, but I could not get it to automatically rotate my screen in tablet mode. After some searching and many failed attempts at other solutions, I came across this script. It rotates the screen fine, but the pointer orientation is so far off that it is completely unusable. How can I correct this?

Here is the output of xinput list if it helps:

joseph@localhost ~$ xinput list
⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ SYNAPTICS Synaptics Touch Digitizer V04   id=13   [slave  pointer  (2)]
⎜   ↳ SYNAPTICS Synaptics Touch Digitizer V04 Pen   id=14   [slave  pointer  (2)]
⎜   ↳ Logitech Unifying Device. Wireless PID:1017   id=9    [slave  pointer  (2)]
⎜   ↳ Logitech Unifying Device. Wireless PID:1025   id=10   [slave  pointer  (2)]
⎜   ↳ Logitech Unifying Device. Wireless PID:200a   id=11   [slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad                id=16   [slave  pointer  (2)]
⎣ Virtual core keyboard                     id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Video Bus                                 id=7    [slave  keyboard (3)]
    ↳ Power Button                              id=8    [slave  keyboard (3)]
    ↳ HP Truevision HD                          id=12   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=15   [slave  keyboard (3)]
    ↳ HP Wireless hotkeys                       id=17   [slave  keyboard (3)]
    ↳ HP WMI hotkeys                            id=18   [slave  keyboard (3)]


Some more searching turned up this script, while sets the orientation correctly when rotated, but destroys the normal orientation. I'm gonna play with it and see if I can make it work for both cases.

edit retag flag offensive close merge delete



You can try out . I'm not proposing as an answer because it isn't tested on the Envy or with Cinnamon, but it works great here with my yoga2pro and GNOME.

randomuser gravatar imagerandomuser ( 2014-09-07 12:48:41 -0500 )edit

Thanks @randomuser! I will look into that.

JosephL gravatar imageJosephL ( 2014-09-07 13:44:19 -0500 )edit

1 Answer

Sort by » oldest newest most voted

answered 2014-09-06 11:20:18 -0500

JosephL gravatar image

This script did what I was looking for, but only after I ran xinput_calibrator --output-type xorg.conf.d and copied the config lines to the file /etc/X11/xorg.conf.d/99-calibration.conf. I had previously ran xinput_calibrator with no parameters and copied the xinput command into a start up launcher.

edit flag offensive delete link more

Question Tools


Asked: 2014-09-06 09:55:56 -0500

Seen: 2,205 times

Last updated: Sep 06 '14