Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Bash script for remote control of clementine music player

License

NotificationsYou must be signed in to change notification settings

Yohannfra/clementine-remote-bash

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Bash script for remote control of clementine music player

About Clementine Remote Bash

clementine-remote enables you to remote control Clementine from a bash terminal on the same computer clementine is running on. This is useful for automation tasks.

Installation

Prerequisites

  • qdbus

Debian / Ubuntu

sudo apt-get install qdbus

Usage

usage: clementine-remote-bash.sh -g <info-to-get>OPTIONS:  -c    command    commands can be:      play      pause      next      prev  -g    get info  -h    list all commandsexamples:  clementine-remote-bash.sh -c play  clementine-remote-bash.sh -g title  clementine-remote-bash.sh -g status

How i use it

I use this script along with i3wm to be able to control clementine from shortcuts.

In my i3/config:

bindsym $mod+Home exec --no-startup-id clementine-remote -c prevbindsym $mod+End exec --no-startup-id clementine-remote -c playpausebindsym $mod+Insert exec --no-startup-id clementine-remote -c next

I also use it to display the name of the song currently playing in my i3status bar.https://github.com/Yohannfra/dotfiles/blob/master/i3/my_new_status

Useful links and background info

about dbus

License

clementine-remote-bash is free software, available under theGNU General Public License, Version 3.

Authors and Acknowledgments

Based on thebash script ofmgafner

About

Bash script for remote control of clementine music player

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell100.0%

[8]ページ先頭

©2009-2025 Movatter.jp