✏️
wiki
  • Introduction
  • Career
    • Data Science
      • Machine Learning
      • Natural Language Processing
      • Datasets
      • Computer Vision
      • Data Engineering
      • Web Scraping
      • Data Visualisation
    • Robotics
      • Localisation
        • Kalman Filtering
    • Web Development
      • React
  • Tech
    • Apps
      • Mac OS
        • Magnet
        • PDF Expert
        • PixelSnap
        • Digital Colour Meter
        • Daisy Disk
        • Alfred
        • Bartender
        • iStat Menus
      • Linux
        • Playerctl
      • Terminal Emulators
      • Text Editors
      • Shell
    • CLI
      • Git & Github
      • Monitoring
    • Desktop Customisation
  • Lifestyle
    • In progress... :)
  • Blog
    • Why I Migrated from Windows to Linux
Powered by GitBook
On this page

Was this helpful?

  1. Tech
  2. Apps
  3. Linux

Playerctl

PreviousLinuxNextTerminal Emulators

Last updated 4 years ago

Was this helpful?

On my Corsair K55 keyboard, there were extra keys (AudioStop, AudioPrev, AudioPlay, AudioNext) that currently did nothing. I wanted to map these keys to do something useful.

Since I listened to music from a range of sources such as Spotify, Youtube Music, Youtube (on Firefox and Chrome), I wanted a tool that could allow me to control my media players. I discovered .

I incorporated keybindings with Playerctl's commandline commands such that I can press play/pause to automatically play/pause my most recent media player, whether it was Spotify, Youtube Music, or something else. Furthermore, I also made a custom music player widget to show me what song I am currently playing (along with other metadata). The details are .

Playerctl
here