Results 1 to 2 of 2

Thread: Play me a song, Ubuntu.

  1. #1
    Join Date
    Nov 2008
    Toronto Canada
    Ubuntu Mate 18.04 Bionic Beaver

    Play me a song, Ubuntu.

    My machine is a Ryzen 7, 16GB of RAM with an NVIDIA 750ti running Ubuntu MATE 18.04.
    What I'd like to do is have this system play a song, one specific song, once every day at a specific time of the day. It's an 8 MB .mp3 file.I typically listen to audio files with VLC or Audacious.

    How can I automate the playing of one song as a schedule? Thank you.

  2. #2
    Join Date
    Jun 2007

    Re: Play me a song, Ubuntu.

    The first few sections here should get you up to speed on cron:

    As for the command, mpg123 is a simple program that should do what you want:
    sudo apt-get install mpg123
    mpg123 <path to file>


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts