- tuxalarm.sh - alarm clock
- vctags.sh - vorbis tags editing tool
- cmkinst.sh - generic cmake compiler/installer
tuxalarm.sh - alarm clockThis is a simple script to automatically play a song until stopped with Ctrl+C. It can use either avplay or ogg123, so make sure you have one of these installed on your system.
Note that you will have to edit the three paths inside the script and enter the paths to where your actual alarm audio files are.
DownloadJust download the script tuxalarm.sh and run it as ./tuxalarm.sh.
Don't forget to modify the path to your alarm files inside the script (e.g. $HOME/Music/alarm.mp3 or similar)!
READMETo replace the paths to your alarms, open the script with a text editor and change the content of the alarm1, alarm2 and alarm3 variables:
The first two need to be audio files, while the last should be a directory. If you choose this option for the alarm when you run the script, then it will play all the .mp3 and .ogg files inside that directory. When the song is over, the alarm will start over indefinitely until stopped with Ctrl+C.
alarm1="Replace this with the absolute path to an audio file (e.g. $HOME/Music/alarm.mp3)." alarm2="Replace this with the absolute path to an audio file (e.g. $HOME/Music/alarm.mp3)." alarm3="Replace this with the absolute path to a directory containing audio files."
Make sure you have the libav-tools (for avplay) or vorbis-tools (for ogg123) packages installed, or the alarm will not work (avplay is installed by default in Mint).
- v0.2.0 (Feb 20, 2014) - initial release, using either avplay or ogg123 (default avplay), plays mp3 or ogg formats
cmkinst.sh - generic cmake compiler/installerThis is a generic cmake compiler/installer, which will compile and install source code using cmake and $HOME/usr as the default installation prefix. Make sure you're in the right directory when running it. It will run the following commands:
mkdir -p build && cd build && cmake .. -DCMAKE_INSTALL_PREFIX=$DIR_INST && make && make install