A collection of useful shell scripts used on Debian based Linux distros.
A script to enable or disable the touchpad of a laptop.
- Identify the input devices by running the following command:
xinput list
- Find the ID of the device you want to disable from the list. EG:
↳ SynPS/2 Synaptics TouchPad id=11 [slave pointer (2)]
- Edit the script to use the device ID by changing the line identifying device variable and save it: eg
device=11
- Optionally, you can assign the command to a custom keyboard shortcut. This process varies depending on your Linux distro.
http://askubuntu.com/questions/65951/how-to-disable-the-touchpad
http://unix.stackexchange.com/questions/120199/how-to-detect-global-key-presses
A script to produce white noise similar to the Enterprise in Star Trek The Next Generation
- download engines.sh to a location of your choice. Make sure that permissions are appropriat to run:
chmod 755 engines.sh
- Run engines.sh with one of the options (there are currently 4 options, and to use them you simply append the number to the end of the command call):
./engines.sh 2
This is a script to setup and install various components on Linux Mint, primarily to aid with development but there are some custom utils included. Edit before running to see what's happening.