Linux-Headphones v4.1
linux-headphones v4.1 Release Notes
This version adds a smarter way to detect whether to use line-out or speaker ports as a secondary audio output for exiting headphones:
- If line-out is plugged in, it’ll use that as the secondary output.
- If line-out isn’t connected but speaker is available, it falls back to the speaker.
- If neither is found, the script will throw an error and won’t run — no silent fails here.
Tested and working well on GNOME and KDE, with both PulseAudio and PipeWire.
Packages
-
DEB package:
Grab thelinux-headphones.debif you’re on Ubuntu, Debian, or any distro with PulseAudio/PipeWire. It’s fully tested and should “just work.” -
RPM package:
For Fedora, Red Hat, and RPM-based distros — heads up: this one is untested.
After installing, you must runenable-headphones-jackedin.shin the terminal to finish the setup.
Manual Setup (For the brave)
If you want to DIY or the packages don’t fit your setup:
- Set up a systemd user service, init.d script, or something similar to run
headphones-jackedin.shon boot. - Or just run the script manually whenever you need it.
If something’s off...
Try running ./headphones-jackedin.sh manually from the terminal to see if it’s a packaging issue or script incompatibility.
Make sure your system actually supports PulseAudio or PipeWire properly—no voodoo magic here.