Updated shell script to launch g13d with a .bind file (markdown)

Vangamar 2016-04-28 18:15:27 -05:00
parent 8be97fac83
commit d40bac0636

@ -31,9 +31,14 @@ If you disagree with this approach, delete the two **sudo chmod** lines, or neve
exit 1
fi
# This /tmp config file is read in by g13d at startup
cat "$bindFile" > /tmp/g13-0
# Fixes no write access to usb device
sudo chmod a+rw -R /dev/bus/usb/*
sudo chmod a+rw /dev/uinput
# works but prints messier output
#./g13d --config "$bindFile"
# cleaner output than passing in via '--config' above
# This /tmp config file is read in by g13d at startup
cat "$bindFile" > /tmp/g13-0
./g13d