Skip to main content

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).

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)

Source distribution for afreeze 0.1.1
File Size Uploaded
afreeze-0.1.1.tar.gz 4.2 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for afreeze 0.1.1
File Interpreter ABI Platform
afreeze-0.1.1-py3.9.egg Legacy Egg format - - Details
afreeze-0.1.1-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.1.1 This release

3 release files

0.1.0

3 release files

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