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

Linux

7138 readers
152 users here now

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

Also check out:

Original icon base courtesy of [email protected] 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
[โ€“] [email protected] 6 points 5 days ago (1 children)

Maybe a better alternative is to coordinate with sleep timers for your suspend, or use commands to do so: https://askubuntu.com/questions/651414/how-to-get-ubuntu-gnome-to-suspend-after-5-minutes

[โ€“] [email protected] 2 points 5 days 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)