afreeze
Freeze ALSA configuration settings.
Getting Started
afreeze may be installed via PyPi via:
pip install afreeze[daemon] --user
Or afreeze may be installed via git:
git clone https://github.com/Alexhuszagh/afreeze
cd afreeze
python setup.py install --user
Once installed, you can freeze various alsa configuration settings via various commands. For example, to force the audio to stay at 75%, you may use:
afreeze --command "'Master' 75%"
To list all controls available and current content settings, use:
afreeze --list-controls
afreeze --list-contents
afreeze supports custom devices and sound cards. To specify a custom device, use:
afreeze --device default ...
To specify a custom sound card, use:
afreeze --card 0 ...
To enable auto-mute mode (muting speakers when headphones are plugged in), use:
afreeze --card 0 "'Auto-Mute Mode' Enabled"
Daemon
This script may also be run as a daemon, requiring python-daemon. To launch afreeze as a daemon, use:
afreeze --daemon ...
License
This is free and unencumbered software released into the public domain.
Contributing
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in afreeze by you, will be unlicensed (free and unencumbered software released into the public domain).
Metadata
Release files for afreeze 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| afreeze-0.1.1.tar.gz | 4.2 kB | Without provenance | Details for afreeze-0.1.1.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| afreeze-0.1.1-py3.9.egg | Legacy Egg format | - | - | Details for afreeze-0.1.1-py3.9.egg |
| afreeze-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for afreeze-0.1.1-py3-none-any.whl |
Total release size: 13.5 kB
Release files / afreeze-0.1.1.tar.gz
| Download URL | afreeze-0.1.1.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eb30898f89d2f522e34d81796f79f9cec8ceabe65ec2c5df3f658af699ab5a83
|
|
BLAKE2b-256 checksum How to use checksums |
475c95aea73a4d9340825aa5580c458a170174d1c5059ef54db06ff5e16d26da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
|
Release files / afreeze-0.1.1-py3.9.egg
| Download URL | afreeze-0.1.1-py3.9.egg |
|---|---|
| Size | 4.2 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
5c45a10c6f03619be4170478aaa5f759ea8c0ce41c28ead7fc06b6f4e0248ab0
|
|
BLAKE2b-256 checksum How to use checksums |
e38baa3a0b6b354250fe014449b26ee8ff3246073f64fc1967dca1921f0916e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
|
Release files / afreeze-0.1.1-py3-none-any.whl
| Download URL | afreeze-0.1.1-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
105efcb638022d6586e6efa3fae1128cae095e53783479fc06e23788d330f2dd
|
|
BLAKE2b-256 checksum How to use checksums |
1447ad598e999f0367823436392a3371db7018f90ddec660897dc850e757b63c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
|
Security for afreeze 0.1.1
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.