play/pause/next song keys?

This page summarizes the projects mentioned and recommended in the original post on /r/thinkpad

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • actkbd

    A keyboard shortcut daemon

  • Without knowing what your distribution or at least DE is, I can only recommend actkbd (or, if you know how to program, interception tools)

  • playerctl

    🎧 mpris media player command-line controller for vlc, mpv, RhythmBox, web browsers, cmus, mpd, spotify and others.

  • Now on to what to run when actkbd receives the keycode. On Linux, your music players are controlled with an interface called MPRIS. It's described here: https://specifications.freedesktop.org/mpris-spec/latest/ and there's a simple CLI implementation called playerctl. To use it from actkbd, you will have to connect to your user's session bus, most likely with something like machinectl shell --uid=YOUR_USER -- playerctl pause .

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts