47

I'm confused,how can I change the sound output in LXDE? There's not even a single option anywhere unlike other environments.

I've tried doing anything with alsamixerbut still nothing, the output device is the HDMI audio of a Radeon HD card.

Edit: As it Turns out i was able to change the ouput device, but i had to use Gnome for that and its Gnome Sound applet, that is log out and log in once in Gnome change the device, log out and log back in LXDE.

Now the question becomes Why can't i do this in LXDE?

5 Answers 5

45

xfce4-mixer

Lubuntu shares many components with XFCE. My suggestion would be to use the XFCE4-Mixer. This still gives you a lightweight solution compatible with the lxde ethos.

enter image description here

to install

sudo apt-get install xfce4-mixer gstreamer0.10-alsa

This installs the following limited number of xfce packages -

exo-utils libgarcon-1-0 libgarcon-common libwnck-common libwnck22 libxres1
  xfce4-mixer xfce4-panel

to run

type xfce4-mixer in a lxterminal

In Options Auto-Mute Mode

It should be set as Disabled.

xfce - Auto Mute Option

pavucontrol

Slightly more heavyweight - you could install pulseaudio and thus use the pulseaudio packages such as pavucontrol

enter image description here

to install

sudo apt-get install pulseaudio pavucontrol

This installs the following pulseaudio packages:

gstreamer0.10-pulseaudio libasound2-plugins libspeexdsp1
  pulseaudio-esound-compat pulseaudio-module-x11 pulseaudio-utils rtkit

to run

type pavucontrol in a lxterminal

6
  • 1
    Didn't knew that but do i have to install all of XFCE to have it? Nov 18, 2011 at 18:58
  • 2
    it only installs a limited number of extra packages - see the edit of my answer.
    – fossfreedom
    Nov 18, 2011 at 19:02
  • ... alternatively - if you also want to use pulseaudio you can use pavucontrol ... do you want me to update the answer to say how to do this?
    – fossfreedom
    Nov 18, 2011 at 19:08
  • Please :D, i would like to see more alternatives. Nov 18, 2011 at 19:12
  • 3
    done.... have fun!
    – fossfreedom
    Nov 18, 2011 at 19:24
3

First of all, try lspci and lsusb to check if the device you need is seen by the system.

Secondly in alsamixer try pressing F6, which will let you choose the sound card (I really don't know if this is needed tbh).

And another tip for alsamixer: it doesn't show all parameters when u start it, some are hidden on the right so you just have to go to the right to see them all, I believe there is an output chooser. And also in alsa see if you are viewing the needed items (F5 will show all parameters available).

Hope this helps.

4
  • Yes the device is listed in lspci as alsamixer detects it, selecting the output device only brings a S/PDIF entry but nothing can be done except Mute and unmute. Nov 18, 2011 at 9:09
  • 1
    Well this might be also drivers problem, the fact of device being listed in lspci does not mean it has the needed firmware. But , unfortunately I don't know how to check this.
    – foxy
    Nov 18, 2011 at 9:19
  • Nope drivers work fine, it's just LXDE that can't change the output device or doesn't have any options for it, see my edit. Nov 18, 2011 at 17:15
  • Thanks for the "F6" tip! Volume control for my USB speakers now work :)
    – nano
    Mar 7, 2014 at 22:02
3

This is what i did to fix the no audio issue in my ASUS laptop:

sudo apt-get install xfce4-mixer gstreamer0.10-alsa

This installs the following limited number of xfce packages:

exo-utils libgarcon-1-0 libgarcon-common libwnck-common libwnck22 libxres1 xfce4-mixer xfce4-panel

To run, type xfce4-mixer in a lxterminal.

In Options:

Auto-Mute Mode : Disabled (changed enabled to disabled)

3

I am using Ubuntu 12.04 64bits and I recently installed XFCE-4 Desktop. When I first logged in xfce-4 I noticed there was no sound at all (Rythmbox, games, etc). And I found no icon anywhere to adjust the sound.

This is how I did to fix the problem :

1) Go to the applications menu > Sound & Video > Mixer.

2) In the Sound Card option menu, select Playback: Built-in Audio Analog Stereo (PulseAudio Mixer).

3) The playback window may be empty. Click on "Select Controls..." , enable/check Master then close.

4) Unmute the sound icon just under the volume bar.

I guess you need to check whether you are using PulseAudio or Alsa drivers. This should not change the fact you need to uncheck mute icon in your "Playback: Audio stereo" in Mixer.

I hope this can help :-)

PS : I am a newbie in linux stuff, so please correct me if I said something wrong.

0

Lubuntu recently switched from the LXDE desktop environment to LXQt. So while not literally answering this LXDE question, in the spirit of it here's an answer for Lubuntu ≥18.10:

 

You can use pavucontrol-qt, a Qt based implementation of the pavucontrol PulseAudio mixer mentioned in the other answer here. This fits nicely into the Qt-based desktop environment LXQt of the recent Lubuntu versions.

pavucontrol-qt is the default mixer application that can be opened via the volume adjustment panel widget (though you can also configure a different one there). For some reason, it was not installed on my system (maybe because I always install Ubuntu first and then Lubuntu packages on top?). Anyway, you can install it with:

sudo apt install pavucontrol-qt

In the application, you can choose the sound output device under "Output Devices → Port".

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .