I have installed gnome pomodoro plugin, so it have action capability by every task like this:

enter image description here

So I like to play music from one saved playlist with random selection shuffle during pomodoro time. And i have this kind of playlist with VLC like this:

enter image description here

How can I do this work?



for example my play list file path is /home/pratap/Downloads/VLC/myPlaylist.xspf

replace your playlists file path in below command and test it.

vlc --random --playlist-autostart /home/pratap/Downloads/VLC/myPlayList.xspf

Once you are sure it is working.. Then add the command to pomodoro

enter image description here

Tested in Ubuntu 20.04

enter image description here

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.