21
submitted 2 weeks ago by sag@ani.social to c/linux@programming.dev

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 2 weeks 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)

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

Linux

7270 readers
225 users here now

A community for everything relating to the GNU/Linux operating system

Also check out:

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

founded 2 years ago
MODERATORS