playerctl
Utility to control different media players. More information: https://github.com/altdesktop/playerctl.
- Toggle play:
playerctl play-pause
- Next media:
playerctl next
- Previous media:
playerctl previous
- List all players:
playerctl --list-all
- Send a command to a specific player:
playerctl --player={{player_name}} {{command}}
- Send a command to all players:
playerctl --all-players {{command}}
- Show now playing:
playerctl metadata --format "Now playing: {{artist}} - {{album}} - {{title}}"
This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.