parent
e6eecb9dba
commit
6de645e71d
2 changed files with 17 additions and 1 deletions
@ -1,7 +1,10 @@ |
||||
#!/bin/bash |
||||
#xrandr-extend -x 2.0 hdmi |
||||
xrandr-extend hdmi |
||||
xinput --map-to-output 'IPTS Touch' eDP1 |
||||
xinput --map-to-output 'IPTS Stylus Pen (0)' eDP1 |
||||
xinput --map-to-output 'IPTS Stylus Eraser (0)' eDP1 |
||||
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