this post was submitted on 03 Sep 2024
142 points (97.3% liked)
Linux
48186 readers
1830 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I'm on Linux mint 22 and my audio outputs don't change automatically. When I plug in USB headphones, audio won't output to them unless I manually change it in settings.
Also, why can't I interact with the panel applets (on the right side) while I'm in game? For example: I'm playing a game, I plug in my headphones, I have to manually change the audio output so I hit the "windows" key to bring up the panel, but I can't interact with any of the applets on the right side of the panel (I can't select the audio icon and change settings from there). I have to search audio settings in the panel then alt tab to it. It's really cumbersome
Can you try
"pactl load-module module-switch-on-connect"
?It says "no valid command specified"
Did you enter the command line (especially
load-module
) correctly?"Pactl load-module" outputs "you have to specify a module name and arguments."
I duck go'd that command and it seems like it's for pulseaudio. The latest mint release uses pipewire for the audio server. Is the command different for that?
As I said in earlier comment, please run
"pactl load-module module-switch-on-connect"
exactly. Note thatPactl
andpactl
are different commands and the former is invalid.As the name suggests,
pactl
is a command for PulseAudio. PipeWire supports application written for PulseAudio, includingpactl
. Try"man pipewire-pulse"
to get further info.That seems to have worked. Tbf, your original comment displayed as "pactl load-module module-switch-on-connect" Which indicates 2 seperate commands.