When I plug in my headset into my computer, there is no sound output through headset nor speakers. The speakers without the headset plugged in work fine.
A few things that might cause this:
The speakers get muted by hardware, and Open SUSE doesn’t automatically redirect sound output to headset.
The headset sound output is muted.
How do I fix this, preferably without having to change my audio configuration every time I plug in or plug out my headset?
If the headset is just speakers, its function is determined by the built-in sound. If its a typical headphone jack, its likely just a speaker. If its a USB connector, then its an extra add-in sound device and you must select the active sound device in PulseAudio when you plug in the USB headphones. See my blog on PulseAudio here:
It’s a regular male headset jack. It works on both Ubuntu and Windows, although on Ubuntu I had problems because it was muted before. I have no idea how to check that on OpenSUSE. Google isn’t giving much useful results.
The PulseAudio mixer may have a headphone output selection. So I opened up the PulseAudio Volume Control on my laptop and it does indeed have a headphone output selection. Have a look here:
“PulseAudio Volume Control” doesn’t want to work. If I run it through terminal it gives me the following errors:
jeroen@Jeroen-Laptop:~> pavucontrol
(process:3179): GLib-GObject-CRITICAL **: gtype.c:2720: You forgot to call g_type_init()
(process:3179): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed
(process:3179): GLib-GObject-CRITICAL **: gtype.c:2720: You forgot to call g_type_init()
(process:3179): GLib-GObject-CRITICAL **: gtype.c:2720: You forgot to call g_type_init()
(process:3179): GLib-GObject-CRITICAL **: g_type_interface_add_prerequisite: assertion `G_TYPE_IS_INTERFACE (interface_type)' failed
(process:3179): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed
(process:3179): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
(process:3179): GLib-GObject-CRITICAL **: gtype.c:2720: You forgot to call g_type_init()
After that the application doesn’t close, but rather does nothing indefinitely. When I run it through the launcher the icon pops up for about half a minute in the task bar, then disappears. No GUI pops up.
If you have factory mixed in you have things broken. Factory is an unstable repo and unless you understand it you should not use it. You probably have pulled in other things from factory and it is hard to say what is causing the problem now.
You should NOT install the Pulse control from factory. The right version was in your standard repos already. You may have messed up everything doing it that way. Always search in YaST first before taking any other steps. I would uninstall it from factory and go back to the included version if you can.