this post was submitted on 27 Apr 2025
21 points (100.0% liked)

Linux

10801 readers
564 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS
 

I just want a simple music player with Sleep Timer like Spotify. Thanks

you are viewing a single comment's thread
view the rest of the comments
[–] insomniac_lemon@lemmy.cafe 2 points 8 months ago

alarm-clock-applet allows custom commands. So put systemctl suspend into a timer, bingo.

rtcwake to wake the computer up, for-better-or-worse the music will still be playing.

Someone else mentioned android, VLC there does have a sleep timer (just to stop the music) I didn't see an equivalent option in the desktop version (at a quick glance) though.

In SMPlayer I do see the option 'shut down computer' as a sub-option for `close when finished playback' (general options)