FadeoutToSleep
About
A program to fade out volume linearly and put the computer to standby mode (sleep). It's similar to "Final Countdown" program on Windows (with less features). I made this for my own use, but I hope it helps other people to fall asleep easier also.
Installation
Use command: sudo python3 -m pip install FadeoutToSleep
Or if you downloaded the source code yourself, extracted it and changed to its directory: sudo python3 -m pip install .
Not using "sudo" may install the program to a place where it can't be found automatically and you have to add path to there manually.
You may need to install pip before that:
For examble on Linux Mint or Ubuntu: sudo apt install pip
And on EndeavourOS: sudo pacman -S python-pip
Usage
Run using command FadeoutToSleep as a normal user.
Add a shortcut to your desktop environment if you like. The way it's done varies so much that I won't give instructions here.
Depencies
- Python >=3.4 with PIP (I'm not actually sure what specific version is the lower limit)
- PyGObject
- pulsectl (python-pulse-control)
And:
- Linux with PulseAudio
- Sound output on your computer
Notes
Tested with only Linux Mint 20-21 Cinnamon, Ubuntu 22 and EndeavourOS 22.9. Should work on anything Gtk capable and using PulseAudio.
Metadata
Release files for FadeoutToSleep 1.0
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 |
|---|---|---|---|---|
| FadeoutToSleep-1.0.tar.gz | 22.9 kB | Without provenance | Details for FadeoutToSleep-1.0.tar.gz |
Release files / FadeoutToSleep-1.0.tar.gz
| Download URL | FadeoutToSleep-1.0.tar.gz |
|---|---|
| Size | 22.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5e73e1ed1726bc8faeb8a32f9c7f74c9cf569d9e14558031dbf9bdae46e073b3
|
|
BLAKE2b-256 checksum How to use checksums |
485fc3cee8ed6dec5d783de22e6ee4f7ec968e46d0799a729237f8cc84fe7535
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|
Security for FadeoutToSleep 1.0
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.