Write scripts for setting up wacom tablet and maptool

This commit is contained in:
2021-04-16 14:38:33 +01:00
parent 6516ff47b9
commit 4c6652a20f
4 changed files with 50 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
#! /bin/bash
# Scale up the GUI by 2 times for HiDPI screens
sed -i '/\[JavaOptions\]/a -Dsun.java2d.uiScale=2' /opt/maptool/lib/app/MapTool.cfg

View File

@@ -0,0 +1,5 @@
#! /bin/bash
tee /etc/udev/rules.d/99-wacom.rules <<EOF
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="056a", TAG+="systemd". ENV{SYSTEMD_USER_WANTS}+="wacom.service"
EOF