Thinkpad yoga

Aus Vosp.info
Wechseln zu:Navigation, Suche


linux rotation - ScreenRotator

  • Installation
sudo apt install -y git cmake build-essential qtbase5-dev libxrandr-dev libxi-dev libqt5x11extras5-dev libqt5sensors5-dev 
git clone https://github.com/GuLinux/ScreenRotator
mkdir ScreenRotator/build
cd ScreenRotator/build
cmake ..
make all
sudo make install
  • screenrotator starten bzw zum autostart hinzufügen



linux touch screen - xinput

<source lang=bash> xinput list ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ Wacom Pen and multitouch sensor Finger touch id=9 [slave pointer (2)] ⎜ ↳ Wacom Pen and multitouch sensor Pen stylus id=10 [slave pointer (2)] ⎜ ↳ AlpsPS/2 ALPS DualPoint TouchPad id=12 [slave pointer (2)] ⎜ ↳ AlpsPS/2 ALPS DualPoint Stick id=13 [slave pointer (2)] ⎜ ↳ Wacom Pen and multitouch sensor Pen eraser id=15 [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)]
   ↳ Sleep Button                              id=8    [slave  keyboard (3)]
   ↳ AT Translated Set 2 keyboard              id=11   [slave  keyboard (3)]
   ↳ ThinkPad Extra Buttons                    id=14   [slave  keyboard (3)]

xinput enable 'Virtual core pointer' </source lang=bash>