Created
September 12, 2015 21:05
-
-
Save nilsnh/e3243e3296fbe497e7fc to your computer and use it in GitHub Desktop.
How to activate / deactivate the internal laptop keyboard when connecting an
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# How to disable the internal keyboard | |
http://askubuntu.com/questions/160945/is-there-a-way-to-disable-a-laptops-internal-keyboard | |
# How to fire script on usb connect | |
http://unix.stackexchange.com/questions/65891/how-to-execute-a-shellscript-when-i-plug-in-a-usb-device | |
# Todo | |
1. Is now able to grab the right numbers from xinput. | |
2. Bash script need to react on connect or disconnect script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment