linux not detected plugged headphones code example Example: earphones not working in ubuntu sudo apt-get install pavucontrol