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.
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 run:
$ git clone https://github.com/SpotlightKid/jack-select $ cd jack-select $ [sudo] make PREFIX=/usr install
This will install the jack-select program, the jackselect Python package 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
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. In addition to this, 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.
Python 2 is not supported.
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-0.5b1.zip
.
File metadata
- Download URL: jack-select-0.5b1.zip
- Upload date:
- Size: 117.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 359a81d9f5353ab62588d25aebcdfdfbf9942a772392038e22157510e8fde9f2 |
|
MD5 | eb0f2e6570bdf96a6e64b27e56ae2402 |
|
BLAKE2b-256 | ae8383b559bf838d3f983b62531c431de708e28e706ebfd8c8342bce60a6df1c |
File details
Details for the file jack-select-0.5b1.tar.bz2
.
File metadata
- Download URL: jack-select-0.5b1.tar.bz2
- Upload date:
- Size: 113.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f153b0239846049708c52721a73746f67b5b40230097047c7f44719f942b7be8 |
|
MD5 | 183afa85407617e2baf7a887b98b050e |
|
BLAKE2b-256 | 27a15578f3ee527d0c41bf8980970d0e59c747782fe88adefefecfd571695a70 |
File details
Details for the file jack_select-0.5b1-py3-none-any.whl
.
File metadata
- Download URL: jack_select-0.5b1-py3-none-any.whl
- Upload date:
- Size: 14.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95f493c3937a5f2300868083e54509f81a73da8a963a84753d90a59425799276 |
|
MD5 | cfe9795197e7f6ae9f322cb3fcb7e431 |
|
BLAKE2b-256 | 8e85d9afb8cf9ece175d183cfe3be1c35686a3286f7160e39f7cfe916dd8f90c |