mirror of
https://github.com/ecraven/g13.git
synced 2025-06-20 09:13:43 -04:00
Updated shell script to launch g13d with a .bind file (markdown)
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
|
||||
|
Loading…
Reference in New Issue
Block a user