Skip to main content

ClipCommander

Clipboard selection monitor youtube-dl GUI front-end

Screenshots

Introduction

ClipCommander is a clipboard selection monitor. It is a productivity tool pre-configured to work as a GUI/front-end for youtube-dl. It can be considered a Firefox Plug-in without requiring integration into the add-on menu. Simply copy a YouTube video link to the clipboard and ClipCommander will pop-up with several download format options.

ClipCommander is highly configurable to execute any terminal/shell command based on a clipboard selection using Python RegEx string magic (Regular expressions). The actions are highly customizable.

For example text-to-speech festival, BitTorrent client transmission, custom clipboard logging operations and more. On Linux based systems you will get instant feedback based on your text selections (no Ctrl+c required!)

Installation

Package dependencies are kept to a minimum. The proper installation guides for your system can be found via these links:

  • Kivy & Pillow Version 1.10.1 with SDL2 window provider are required! (NOT 1.9 with PyGame). An updated Python Imaging Library is always recommended with a graphical Python program.

  • pip3 & setuptools These are Python 3 installation tools. Universally useful!

  • xclip & xterm Handy tools that work on almost all Linux flavors.

  • youtube-dl & ffmpeg All the magic required to get videos cleanly from YouTube. Must be very up-to-date to work!

Debian Linux

For most up-to-date Debian based systems like Ubuntu Linux and Linux Mint this should work as root:

add-apt-repository ppa:kivy-team/kivy
apt-get install python3-kivy python3-pip python3-setuptools xterm xclip ffmpeg
pip3 install --upgrade youtube-dl pillow clipcommander

Arch Linux

For the more up-to-date Arch Linux (Manjaro) simply run as root:

pacman -S python-kivy python-pillow python-pip python-setuptools xclip xterm youtube-dl ffmpeg
pip3 install clipcommander

Daemonize

It is easy to daemonize ClipCommander. That means it can run silently in the background. It can pop up only when the clipboard selection is matched against one of the user defined conditions. To accomplish this hidden modus, enable the option in the app (see screenshot above).

When in hidden modus, you can force showing the GUI by selecting the text !showyourself

To make ClipCommander start at system boot, simply add this app to the Startup Applications list on your desktop (e.g. Cinnamon).

How to launch

When finished, the shortcut icon can be found from your menu-bar in the Office category. If the icon does not show up, you may need to restart your desktop. Alternatively, open your graphical user terminal and type clipcommander.py

For developers, hackers and testers

Other ways to install are explained below. The above dependencies are still required! Only use the info below if you know what you are doing.

Option 1

You can install from tar.gz or the GitHub master tree. First, download and extract the archive from the releases page. Then run from within the extracted folder:

sudo pip3 install .

Option 2

Alternatively, you can run it without installing to the root filesystem. Again, extract the downloaded archive. Then run:

pip3 install --user -r requirements.txt
./clipcommander.py

More platforms

Other UNIX

Other flavors of Linux are untested but there is no reason for them not to work. Slackware, Gentoo, openSUSE, Fedora, Red Hat, Mandriva, CentOS, macOS,...

Android, iPhone and Windows

These platforms probably won't work as they feature different clipboard mechanisms and terminal emulators. If a strong desire exists, find a way to motivate me :-)

Contact info & donations

See the contact file.

Metadata

Release files for clipcommander 2019.1.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for clipcommander 2019.1.12
File Size Uploaded Provenance Actions
clipcommander-2019.1.12.tar.gz 21.9 kB Without provenance Details for clipcommander-2019.1.12.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for clipcommander 2019.1.12
File Interpreter ABI Platform Actions
clipcommander-2019.1.12-py3-none-any.whl Python 3 none any Details for clipcommander-2019.1.12-py3-none-any.whl

Total release size: 43.7 kB

Release files / clipcommander-2019.1.12.tar.gz

Download URL clipcommander-2019.1.12.tar.gz
Size 21.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c300172c68ae02a117afa05f4fe06ce2424913fc708975c61d2053f783d10de8
BLAKE2b-256 checksum
How to use checksums
bc605c17af671d90e1fefd4f2ec39a681555af6aa2320c2aedba8a7614725398
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

Release files / clipcommander-2019.1.12-py3-none-any.whl

Download URL clipcommander-2019.1.12-py3-none-any.whl
Size 21.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
71f153c06bb4bd3fecd7a5b0e2898eec872730d852c6c9e2fd9bfde58bdbc4be
BLAKE2b-256 checksum
How to use checksums
e98f6604e1898b731ffb034468fa87403767be5d2277c213aa19fd25beabfff0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

Security for clipcommander 2019.1.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2019.1.12 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page