playerctl
🎧 mpris media player command-line controller for vlc, mpv, RhythmBox, web browsers, cmus, mpd, spotify and others. (by altdesktop)
Dotfiles.system
By rizzini
playerctl | Dotfiles.system | |
---|---|---|
24 | 15 | |
2,335 | 1 | |
0.9% | - | |
0.0 | 7.6 | |
about 1 month ago | over 1 year ago | |
C | QML | |
GNU Lesser General Public License v3.0 only | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
playerctl
Posts with mentions or reviews of playerctl.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-07-17.
-
Spotify is back on the aur
if you dont mind setting up command shortcuts, look into playerctl https://github.com/altdesktop/playerctl
- How do I make Play/Pause media keys ignore Firefox if Spotify is running?
-
Idle & Lock screen configuration in nwg-shell
The latest nwg-shell-config update brings a new tab, to configure idle and lock screen settings. Under the hood, it provides the nwg-lock command, which is a wrapper around gtklock or swaylock. It adds a random image background, either local, or downloaded from https://unsplash.com. You may also display an overlay window to control mpris media player with playerctl.
-
Is it possible to use terminal or ncurses output elsewhere?
Yes it would be possible to pipe the output into a script/program and parse it to extract the information, but in my opinion not the best solution. Instead you can query information from media players that support MPRIS https://wiki.archlinux.org/title/MPRIS via tools like playerctl https://github.com/altdesktop/playerctl
-
How to control current MPRIS client with bluetooth?
Playerctl can control the currently active media player.
-
Is there an easy way to Pause media over ssh?
I think both firefox and vlc support MPRIS, which can be controlled from the command line using playerctl, if you have that installed: ssh name@host playerctl play-pause
-
How do I pause/play audio with an sxhkd keybind?
You can use playerctl for browsers, spotify and similar players.
-
mpsyt + cvlc, control via shortcuts
VLC (and therefore cvlc as well, I suppose) can be controlled via MPRIS (using playerctl, for example).
-
What are some of your self made scripts that you're proud of
My super-duper simple playerctl script that works flawlessly for years to prioritize my media keys to work on Spotify or ncspot over anything else. If I'm listening to Spotify or ncspot, why do I need to control any other stuff with my media keys, right?! Without it, if I have any other mpris player open, which can be a lot of things some not even related to media, my keyboard media keys won't focus on the music players I use for actually listening to music. ncspot doesn't respond to playerctl --player=ncspot play-pause, so I have to detect if it is playing or paused, so I can run playerctl --player=ncspot play or playerctl --player=ncspot pause separately. Script.
-
Redirect keys to other window (Herbstluft WM)
Try playerctl.
Dotfiles.system
Posts with mentions or reviews of Dotfiles.system.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-06.
-
Best Practices For Using BTRFS
Probably using BTRBK. I'm using it for some time now, and it never failed on me. Here are my BTRBK config files for it: https://github.com/rizzini/Dotfiles.system/tree/master/etc/btrbk
-
What do people think of rEFInd
My full refind.conf for better visualization.
-
Accidentally deleted my system wide cron job file
At least here, root's cron jobs are stored at /var/spool/cron/root. https://github.com/rizzini/Dotfiles.system/blob/master/var/spool/cron/root
- Symlinks in the OS to a git repository
- What's the best way to have a dotfiles repo?
- Where do you guys store your dot files
-
Is there an app that can clear tmp/cache weekly by itself?
PKG_subvol.conf - Clean every 3 days.
-
fstrim going through way too much of the disk every time it runs on boot
Good catch. You really, really should change that behavior. It's not healthy for your SSD. Do it manually or even better, use continuous TRIM setting the discard flag on your fstab like this.
-
What are some of your self made scripts that you're proud of
Anbox script bound to META + A keys. I don't need to open some third-party software, like Waydroid's case, so I start it directly using a Systemd service unit configuration file. Besides that unit file, I made a simple script that opens Anbox and closes it if I run the script again. Script. anbox.service file.
-
Backup Software for BTRFS
BTRBK on the other hand, it's super flexible and holds lots of possibilities. You can, for example, automatically copy the snapshots to another storage device. You can do that even though SSH if you're into that. Here you can find how I set it up on my environment for my ROOT and HOME subvolumes.
What are some alternatives?
When comparing playerctl and Dotfiles.system you can also consider the following projects:
ncspot - Cross-platform ncurses Spotify client written in Rust, inspired by ncmpc and the likes.
yadm - Yet Another Dotfiles Manager
sn - Simple Notes using fzf
plasma-applet-commandoutput
rcon - Source RCON client for command line
.dotfiles - My personal dotfiles
gnome-shell-extension-mpris-indicator-button - A full featured MPRIS indicator button extension for GNOME Shell 3.38+
Dotfiles
vlc-pause-click-plugin - Plugin for VLC that pauses/plays video on mouse click
awesome-dotfiles - A curated list of dotfiles resources.
mpdart - A simple X application that shows mpd album art. Mirror of https://git.depsterr.com/mpdart
dotfiles - My personal dotfiles and dotfiles installer project
playerctl vs ncspot
Dotfiles.system vs yadm
playerctl vs sn
Dotfiles.system vs plasma-applet-commandoutput
playerctl vs rcon
Dotfiles.system vs .dotfiles
playerctl vs gnome-shell-extension-mpris-indicator-button
Dotfiles.system vs Dotfiles
playerctl vs vlc-pause-click-plugin
Dotfiles.system vs awesome-dotfiles
playerctl vs mpdart
Dotfiles.system vs dotfiles