A Python 3 program that allows you to change the volume with the mouse wheel using it at the four corners of the screen.
Project description
volumouse
[DEPRECATED] This project works well, but unfortunately it is impossible to autostart volumouse when the computer starts, so it's useless. Use the GitHub project instead : GitHub Volumouse
A Python 3 program that allows you to change the volume with the mouse wheel using it at the four corners of the screen.
Run in a terminal volumouse -c
to configure and execute it with volumouse
command
Install the main package :
- Install dependancies :
You need x11-utils :
Debian, Ubuntu, Kali Linux, Raspbian :apt-get install x11-utils
Arch Linux :pacman -S xorg-xdpyinfo
CentOS : yum install xorg-x11-utils
Fedora : dnf install xorg-x11-utils
You also need pulseaudio-utils :
Debian, Ubuntu, Kali Linux, Raspbian : apt-get install pulseaudio-utils
Alpine : apk add pulseaudio-utils
Arch Linux : pacman -S libpulse
CentOS : yum install pulseaudio-utils
Fedora : dnf install pulseaudio-utils
- Install volumouse :
#########################################
On the next version of Python and Linux you will need to install in this way (using virtual env) :
sudo apt install pipx
pipx install volumouse
To update volumouse to the latest version :
pipx upgrade volumouse
If volumouse has been installed in ~/.local/bin you will need to add this file to the PATH : ~/.local/bin (if it's not already done) :
sudo echo 'export PATH=$PATH:~/.local/bin' >> ~/.bashrc
How to create a PATH on Linux ?
#########################################
Normal way to install on Linux :
sudo python3 -m pip install -U volumouse
!!! It's very important to use the sudo
command because like this volumouse will be in the PATH
Configure :
It's very easy to configure, there are just a simple command to execute, once for all, the first time :
All is explained in volumouse --help and volumouse --info
(sudo
command is required if you have installed volumouse with the sudo
command) :
Open a terminal and type :
sudo volumouse --configure
orsudo volumouse -c
Usage :
Just run the command volumouse
in a terminal or, for starting volumouse at startup (Enter which volumouse
in a terminal to know the installed directory of volumouse. Then as startup parameters,enter this command : sh -c 'result_of_which_command'
. For instance : sh -c '~/.local/bin/volumouse'
)
Create a PATH to volumouse :
If you have installed volumouse without the sudo
command on Linux you will need to create a PATH for starting volumouse with the volumouse
command.
Indead, to be able to run volumouse directly in the terminal, without going to the source package, you should add the volumouse's folder to the PATH :
On Linux, it can be permanently done by executing : sudo gedit ~/.bashrc
and adding, at the end of the document, this line :
export PATH=$PATH:/place/of/the/folder/volumouse
If you want to temporarily test it before, you can just execute this command in the terminal :
export PATH=$PATH:/place/of/the/folder/volumouse
It will be restored on the next reboot.
By doing this, instead of taping python3 '/place/of/the/folder/volumouse/volumouse.py'
,
you will be able to directly tape in the terminal : volumouse
.
- Licence MIT License Copyright (c) 2023 pzim-devdata
Created by @pzim-devdata - feel free to contact me!
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
Built Distribution
File details
Details for the file volumouse-0.0.9.tar.gz
.
File metadata
- Download URL: volumouse-0.0.9.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6362ae5ed8fbdc0d3e09dfe979a0fdbc5098e065f5a948235ad1904d9e05b28 |
|
MD5 | 88486d007980a2fd2d05f9cf26737c7a |
|
BLAKE2b-256 | a105205be9fff905028517d425776f87d6367e990cb258b9e28d4ef53ec7c4d8 |
File details
Details for the file volumouse-0.0.9-py3-none-any.whl
.
File metadata
- Download URL: volumouse-0.0.9-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8433c9133bfe018bae9dabf83af5b4d4be06bc9200bdb3d8be3081ad6e794497 |
|
MD5 | 6fe976d53ad6c6e681277915c2502984 |
|
BLAKE2b-256 | bd41a9adc262c34148c0cda8352785b9addf6638871816d21cc1d5e22647aad6 |