Skip to main content

Freeze alsa configuration settings.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

afreeze-0.1.1.tar.gz (4.2 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

afreeze-0.1.1-py3.9.egg (4.2 kB view details)

Uploaded Egg

afreeze-0.1.1-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file afreeze-0.1.1.tar.gz.

File metadata

  • Download URL: afreeze-0.1.1.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for afreeze-0.1.1.tar.gz
Algorithm Hash digest
SHA256 eb30898f89d2f522e34d81796f79f9cec8ceabe65ec2c5df3f658af699ab5a83
MD5 c6450fe3f9a836853b0df05707b51900
BLAKE2b-256 475c95aea73a4d9340825aa5580c458a170174d1c5059ef54db06ff5e16d26da

See more details on using hashes here.

File details

Details for the file afreeze-0.1.1-py3.9.egg.

File metadata

  • Download URL: afreeze-0.1.1-py3.9.egg
  • Upload date:
  • Size: 4.2 kB
  • Tags: Egg
  • Uploaded using 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

File hashes

Hashes for afreeze-0.1.1-py3.9.egg
Algorithm Hash digest
SHA256 5c45a10c6f03619be4170478aaa5f759ea8c0ce41c28ead7fc06b6f4e0248ab0
MD5 7b7e94a6696df78471ae154ae287ddbe
BLAKE2b-256 e38baa3a0b6b354250fe014449b26ee8ff3246073f64fc1967dca1921f0916e4

See more details on using hashes here.

File details

Details for the file afreeze-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: afreeze-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for afreeze-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 105efcb638022d6586e6efa3fae1128cae095e53783479fc06e23788d330f2dd
MD5 c8fc81a8cf373b8b15e037148c7501dd
BLAKE2b-256 1447ad598e999f0367823436392a3371db7018f90ddec660897dc850e757b63c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page