Add Latte Dock support to HDMI script, add fix for touchscreen issues after suspend
This commit is contained in:
parent
e6eecb9dba
commit
6de645e71d
|
@ -1,7 +1,10 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
#xrandr-extend -x 2.0 hdmi
|
||||||
xrandr-extend hdmi
|
xrandr-extend hdmi
|
||||||
xinput --map-to-output 'IPTS Touch' eDP1
|
xinput --map-to-output 'IPTS Touch' eDP1
|
||||||
xinput --map-to-output 'IPTS Stylus Pen (0)' eDP1
|
xinput --map-to-output 'IPTS Stylus Pen (0)' eDP1
|
||||||
xinput --map-to-output 'IPTS Stylus Eraser (0)' eDP1
|
xinput --map-to-output 'IPTS Stylus Eraser (0)' eDP1
|
||||||
killall plasmashell
|
killall plasmashell
|
||||||
kstart5 plasmashell
|
kstart5 plasmashell
|
||||||
|
killall latte-dock
|
||||||
|
latte-dock
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Fix touchscreen on Surface after resume
|
||||||
|
After=suspend.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
User=root
|
||||||
|
Type=oneshot
|
||||||
|
ExecStart=/usr/bin/iptsd-reset-sensor
|
||||||
|
TimeoutSec=5
|
||||||
|
StandardOutput=syslog
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=suspend.target
|
Loading…
Reference in New Issue