- resp=$(xinput --list --long);
- if [[ $resp =~ .*disabled.* ]];
- then xinput --enable "AT Translated Set 2 keyboard";
- else
- xinput --disable "AT Translated Set 2 keyboard";
- fi
SHARE
TWEET
Untitled
a guest
Aug 10th, 2015
166
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data
