No Sound and Volume Applet in Lxpanel on Lubuntu 14.10

After a fresh installation of Lubuntu 14.10, I noticed the sound isn’t working. Also, there’s wasn’t any volume applet in LxPanel. These can be fixed with some workarounds. That’s no hard-nut-to-crack. The procedure is simple enough.

  • Install pulseaudio and pavucontrol to get the sound working.

sudo apt-get install pulseaudio pavucontrol

  • Restart your computer. The sound should be up and working fine and there would be volume applet in LxPanel. Now, you may notice that the volume button in the keyboard isn’t working. That’s fine. You can make it work rather easily. You see, LXDE uses openbox as the window manager. Openbox is very flexible and fully customizable. Open the rc.xml file and replace the following code with their counterparts present in the rc.xml file. Don’t worry, it’s safe.
  • Open rc.xml file with the following:

nano .config/openbox/lubuntu-rc.xml

  • Now search for ‘Keybinding for Volume management’. There you would find the key-bindings for volume raise and lower as below with slightly different key-bindings. Just replace those two (only those two) with the key-bindings below.

<keybind key=”XF86AudioRaiseVolume”>
      <action name=”Execute”>
        <command>amixer -q -D pulse sset Master 3%+ unmute</command>
      </action>
    </keybind>
    <keybind key=”XF86AudioLowerVolume”>
      <action name=”Execute”>
        <command>amixer -q -D pulse sset Master 3%- unmute</command>
      </action>
    </keybind>

  •  Reboot your computer and everything should be working fine.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s