- tuxalarm.sh - alarm clock
- vctags.sh - vorbis tags editing tool
- cmkinst.sh - generic cmake compiler/installer
tuxalarm.sh - alarm clock
This 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.
Download
Just 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)!
README
To replace the paths to your alarms, open the script with a text editor and change the content
of the alarm1, alarm2 and alarm3 variables:
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).
ChangeLog
- v0.2.0 (Feb 20, 2014) - initial release, using either avplay or ogg123 (default avplay), plays mp3 or ogg formats
vctags.sh - vorbis tags editing tool
WIP
cmkinst.sh - generic cmake compiler/installer
This 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