wazzup! So today we will troubleshoot Linux sounds.
I know this sucks when you are logged in as root in linux ubuntu and you can not listen the songs. So all you gotta do is to enable pulseaudio. Actually pulseaudio is (formerly Polypaudio) is a cross-platform, networked sound server commonly used on Linux and FreeBSD operating systems. So to enable this feature you need to enter following command at your terminal
/usr/bin/pulseaudio and then do not close the terminal. So now you can check whether your sounds are working or not. To test sounds you can enter this command
aplay /usr/share/sounds/alsa/Front_Center.wav
If it is still not working then you might need to check the settings to check some input output setting enter this command gnome-volume-control
If it is still not working then you have to click on output tab of gnome-volume-control panel you can try other detected available output media.
And now you are free to use sounds on Linux ubuntu. If you are using your root account daily then you can use this on startup of your linux. If it is ubuntu go to system>>preferences>>Startup applications click on Add button to add this command.
Enjoy & be open.
long live linux.
I know this sucks when you are logged in as root in linux ubuntu and you can not listen the songs. So all you gotta do is to enable pulseaudio. Actually pulseaudio is (formerly Polypaudio) is a cross-platform, networked sound server commonly used on Linux and FreeBSD operating systems. So to enable this feature you need to enter following command at your terminal
/usr/bin/pulseaudio and then do not close the terminal. So now you can check whether your sounds are working or not. To test sounds you can enter this command
aplay /usr/share/sounds/alsa/Front_Center.wav
If it is still not working then you might need to check the settings to check some input output setting enter this command gnome-volume-control
If it is still not working then you have to click on output tab of gnome-volume-control panel you can try other detected available output media.
And now you are free to use sounds on Linux ubuntu. If you are using your root account daily then you can use this on startup of your linux. If it is ubuntu go to system>>preferences>>Startup applications click on Add button to add this command.
Enjoy & be open.
long live linux.