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