Scripts written for various purposes
Use this script to create a pause/resume button for any process by sending STOP or CONT signal to active window process. Script file can be bonded with any method to keyboard shortcut and can be used to pause any application including games cannot pause normally. Script automatically detects state of process and sends signals according to its state, it also changes active window title to " *** Stopped *** " when paused and restores original title after it resumes.
To use;
sudo sh -c "apt install xdotool || dnf install xdotool"
chmod +x StartStop.sh
Then bind the script to any keyboard shortcut.
This script toggles enabled/disabled state of touchpad device in xinput.
Can be used as;
bash TouchpadToggle.sh
This script changes and reflects sound to loop device.
To use;
sudo apt-get install sox libsox-fmt-pulse pavucontrol
chmod +x VoiceChanger.sh
./VoiceChanger.sh -start
./VoiceChanger.sh -anonym
To stop;
./VoiceChanger.sh -stop
To help;
./VoiceChanger.sh --help
This script enables or disables auto panel hide feature on XFCE4.
To use;
bash XFCEAutoHide.sh
This script mounts Gentoo Linux partition and changes root for it.
To use;
bash GentooCHROOT.sh
It needs root privileges