sound indicator is missing [duplicate]

my sound indicator in the panel suddenly disappeared. My sound works perfectly accept that I have to run the following script to enable my built-in JBL sound in good quality. I don't if it has anything to do with it (and would be another question how to solve this issue, but it works for me) I have to run this once when reboot/login to my system to get the sound to work in good quality. Sound settings are all right. The only thing is that the indicator in the panel is missing. How can I get it back?

So here is the script I run everytime I start my system:

#!/bin/bash

pulseaudio -k
sudo modprobe -r snd-hda-intel
sudo modprobe snd-hda-intel model=asus-model4
pulseaudio --start

I am using ubuntu 14.04 with unity.


Solution 1:

For some reason, the soundmenu seems be set to invisible. To correct, run in a terminal:

gsettings set com.canonical.indicator.sound visible true

You can do it with dconf editor as well (but you would have to install it from the repositories). Open dconf editor, browse to com > canonical > indicator > sound,and check "visible"

enter image description here