edit: I have gotten used to simply enabling the shuffle and adding my songs when I start up rmpc. Interestingly enough, when you press play with randomise on, it selects a random song just like that! Much faster compared to selecting the first song before enabling randomise, then using the hotkey for going to the next track to get a random song.

Having the speakers muted by default means loud music won’t be broadcasted to everyone when my headphones disconnect, and that works well enough for me given that I don’t regularly use my laptop speakers anyways.

original post:

I love MPD and RMPC, it’s probably the closest I have gotten to a “perfect” music player, it is super customisable and functional, but there are just a few things that I need to figure out how to change.

First, after each restart, the queue is cleared. How do I make sure that the queue by default is all the songs in my music directory?

Second, after each restart, shuffle (randomise) is reset to off, how do I change it so that shuffle is enabled by default?

Thirdly, is there a way to make MPD pause when headphones are disconnected?

Finally, how do I make MPD block screen lock when music is playing?

For your information, I am running EndeavourOS with KDE Plasma