A systray app to set the JACK configuration from QjackCtl presets via DBus
Project description
A systray application to quickly change the JACK configuration from QjackCtl presets via DBus.
Homepage
jack-select is available from the source code repository on Github:
https://github.com/SpotlightKid/jack-select
There you can report issues and suggest new features or contribute via pull requests. Releases can be downloaded from the Python Package Index (PyPI). jack-select is also available as an Arch Linux package from the Arch User Repository (AUR).
Overview
This application displays an icon in the system tray (also known as notification area) of your desktop, which shows the status of the JACK audio server and when you click on it, a menu pops up, which lets you quickly select from the JACK configuration presets you created with QjackCtl. When you select a preset, its JACK engine and driver configuration settings are loaded via DBus into JACK and then the server is restarted. This allows you to switch between different audio setups with just two mouse clicks.
When you hover with the mouse pointer over the systray icon and JACK is running, a tooltip will show you the name of the active preset (if known), the most important parameters of the current setup and some server statistics.
Lastly, there are menu entries to stop the JACK server and to quit the application.
To create or edit presets, just use the QjackCtl configuration dialog and make sure you close it with “Ok” so the changes are saved. jack-select will pick up the changes automatically.
DBus Interface
jack-select also has a DBus interface, which means you can use any generic DBus client to tell jack-select to open its menu, activate a preset by name or to terminate itself. You can also run the jack-select command while another instance is already running, to access some of the DBus service methods.
When jack-select starts up, it first checks whether there is already an existing application providing the jack-select DBus service. If yes, when called with no command argument arguments, it tells the running jack-select instance to open its menu. If a preset name is given as the first command line argument, it tells the running jack-select instance to activate this preset. An invalid preset name is silently ignored.
For details about the DBus interface, please use DBus introspection facilities to examine the de.chrisarndt.JackSelectService service on the session bus.
Installation
To install jack-select on your system for everybody, check and install the requirements below and then get jack-select by either downloading a release archive from the Python Package Index (PyPI) and unpack it or clone the source code repository from Github:
$ git clone https://github.com/SpotlightKid/jack-select
Then change into the directory created by unpacking the release archive or cloning the repository and run make install:
$ cd jack-select $ [sudo] make PREFIX=/usr install
This will install the jack-select program, the jackselect Python package, the jack-select.1 man page and the jack-select.desktop file and the jack-select.png icon to provide a desktop start menu entry. It will also install the required Python dependencies if they haven’t been installed yet. Installing PyGObject probably won’t work this way, so make sure it is installed some other way beforehand, e.g. via your distributions package management.
If you want to install jack-select only for the current user, replace the last command above with:
$ make install-user
This will not install the man page.
You can start jack-select from your desktop’s XDG-compatible start menu or add it to your autostart folder (e.g. ~/.config/autostart) to have it started along your with your desktop.
Requirements
This application works with the DBus-version of JACK only. It written in Python 3 using the PyGObject bindings for GTK 3. Python 2 is not supported.
In addition to PyGObject, the following third-party Python libraries are required:
These may be available from the package repository of your distribution as python-gobject, python-xdg and python-dbus respectively.
If you want to install jack-select from a Git repository clone, you’ll also need the Python docutils to build the man page from the ReST source. If you want to create the ReST version of the README from the Markdown source, you’ll also need pandoc (only neccessary when you want to create a source distribution archive).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file jack-select-1.0.zip
.
File metadata
- Download URL: jack-select-1.0.zip
- Upload date:
- Size: 121.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f01b6a1822c230b4ecb6da07b88473a063259385254d22d0b712200f1880f03 |
|
MD5 | b82a6a20b051427db0ef900c98f3c45e |
|
BLAKE2b-256 | c7e6df3ad7dd9d1e928f7d115625f86ed0ac6eb4967cfe9dd4934a4ddd563d46 |
File details
Details for the file jack-select-1.0.tar.bz2
.
File metadata
- Download URL: jack-select-1.0.tar.bz2
- Upload date:
- Size: 116.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 597ae54f08370a4f416fb6413e53bf0450ef177c01867ee8b1c1474834ba6955 |
|
MD5 | 0735839515d5f119ba8bea82f66811da |
|
BLAKE2b-256 | 3836ab1dbfe110d2b5def014dea79ad975704c646d596337c7d9ba7b38a1544b |
File details
Details for the file jack_select-1.0-py3-none-any.whl
.
File metadata
- Download URL: jack_select-1.0-py3-none-any.whl
- Upload date:
- Size: 14.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3144392d224e39d6a5a1825f50d405ff34ca652e8af9030522c1a6b9cafd2e5d |
|
MD5 | a2d38ed817c5c7072cb4c663055ab832 |
|
BLAKE2b-256 | 5af7441bbf20c9616f5efafee9951ba955717d0a4ee60ac2236b7264bc81befb |