Simple app to control audio in linux
Ensure you have the necessary dependencies installed. The Makefile will verify this for you, but you can install them beforehand:
sudo apt install build-essential pkg-config libgtk-4-dev libpulse-dev libx11-devSimply run:
makeThis will check for dependencies and compile the bam binary.
./bam- Edit the file ending with
.desktopin this directory. - Replace
Exec&Iconpaths with the correct absolute paths on your system. - Copy the modified file to your applications folder:
cp org.barakadax.audioManager.desktop ~/.local/share/applications/ - Update the desktop database to see immediate results:
update-desktop-database ~/.local/share/applications/
This project includes a manual page bam.1.
To view the manual without installing:
man ./bam.1To install the manual system-wide (requires sudo):
sudo mkdir -p /usr/local/share/man/man1/ # If directory doesn't exist
sudo cp bam.1 /usr/local/share/man/man1/
sudo mandbThen you can run man bam from anywhere.
To style the app, create a file called style.css in the ~/.config/bam/ directory. The app will look for this file and apply the styles to the window.
There is an example file style_template.css
- Add a button to the OS top bar so it's easy access to run the binary, use gs_logo
- Validate behavior on different resolutions
- Make sure always in the center of the screen
- Fix so logo will be also in
~/.config/bam/and the.desktopfile will point to it or un/install scripts - Make sure to use the best practices of gtk and pulseaudio
- Redesign to use design pattern and enforce better memory handling and memory leaks than runtime performance
- Rewrite, make sure naming of structures, functions and variables are self explanatory
- Make sure clean code standards are followed, functions no longer than 20 lines and no comments in code
- GitHub actions