6/2/2023 0 Comments Apt get spotifyWhen the alarm activates in the morning and starts playing your playlist, there are a number of ways to stop the alarm: Play an album in shuffle mode, assuming you do not keep Spotify in shuffle mode: spotify-rise -ts spotify:track:0I2kwvXCLolYQ4nZQcF6EQ Play an album in shuffle mode, assuming you keep Spotify in shuffle mode: spotify-rise -s spotify:track:0I2kwvXCLolYQ4nZQcF6EQ Play an album/track, starting with specified track URI: spotify-rise spotify:track:0I2kwvXCLolYQ4nZQcF6EQ Sudo install spotify-rise /usr/local/bin/spotify-rise Great! Now to focus on setting up the alarm! Install the alarm scheduler and dependencies: sudo apt-get install alarm-clock-applet wmctrl xautomationĪnd install the Spotify Rise plugin that integrates Spotify with the alarm scheduler: cd ~/Downloads/ If your speakers are connected via a USB soundcard, you may need to configure this according to the Ubuntu USB audio guide. Start the Spotify app, login or create a Spotify account, test that the audio output is working correctly, and then close it. Install Spotify: sudo apt-get install spotify-client Update the list of available packages: sudo apt-get update Let’s go ahead and install Spotify for Linux…Īdd the Spotify repository signing key to be able to verify the download: sudo apt-key adv -keyserver hkp://:80 -recv-keys BBEBDCB318AD50EC6865090613B00F1FD2C19886Īdd the Spotify repository: echo deb stable non-free | sudo tee /etc/apt//spotify.list Note that you will need to leave your computer on overnight so that the alarm can activate. To get started, you will need a Ubuntu Linux computer (with the common amd64 64-bit or i386 32-bit architecture), some speakers (laptop speakers will do), and a Spotify Free or Premium account. Hate your boring alarm clock? Here’s how to wake up to your favourite Spotify songs using your Ubuntu Linux laptop, desktop, or home theatre PC.
0 Comments
Leave a Reply. |