Author Topic: (INSTALLED and SOLVED) Pulse Audio and LXDE  (Read 2364 times)

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10654
  • MLUs Forever!
Re: (INSTALLED and SOLVED) Pulse Audio and LXDE
« Reply #15 on: October 18, 2012, 11:34:49 AM »
Quote
the click on pavucontrol in the system menu gives me an error message " Connection failed: connection denied."

That means PulseAudio is not working or maybe installed correctly.

There are a couple of threads on the forum with suggestions on things to do if you meet this problem.

Please try those solutions and if you do not get it working please start your own thread providing your hardware details as well as details about what you have tried to do to fix the problem.

MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline Yankee

  • Hero Member
  • *****
  • Posts: 1483
  • In theory, theory=practice, in practice ???
Re: (INSTALLED and SOLVED) Pulse Audio and LXDE
« Reply #16 on: October 18, 2012, 12:06:10 PM »

Quote
Well CAPS is working fine globally this afternoon.

Anybody want the config file ?

Yes and thank you for that file, i'll see how it works, and please, what directory should i place that file in to? Thanks a lot
Loles

For the CAPS plugin the file reads :

#configure CAPS plugin for alsa sound
pcm.!default {
type plug
slave.pcm "equalized";
}
pcm.equalized {
type ladspa
slave.pcm "plug:dmix";
path "/usr/lib/ladspa";
plugins [
{
id 1773
input {
controls [ 0 0 5 5 -5 -5 -5 -5 -5 -5 ]
}
}
]
}

headphone.!default {
type plug
slave.headphone "equalized";
}
headphone.equalized {
type ladspa
slave.headphone "plug:dmix";
path "/usr/lib/ladspa";
plugins [
{
id 1773
input {
controls [ 0 0 5 5 -5 -5 -5 -5 -5 -5 ]
}
}
]
}

speaker.!default {
type plug
slave.speaker "equalized";
}
speaker.equalized {
type ladspa
slave.speaker "plug:dmix";
path "/usr/lib/ladspa";
plugins [
{
id 1773
input {
controls [ 0 0 5 5 -5 -5 -5 -5 -5 -5 ]
}
}
]
}


For the Alsa-EQ plugin the file reads :

# /etc/asound.conf file for terminal command: $alsamixer -D equal
ctl.equal {
 type equal;
}

pcm.plugequal {
  type equal;
  # Modify the line below if you do not
  # want to use sound card 0.
  #slave.pcm "plughw:0,0";
  #by default we want to play from more sources at time:
  slave.pcm "plug:dmix";
}
#pcm.equal {
  # If you don't want the equalizer to be your
  # default soundcard comment the following
  # line and uncomment the above line. (You can
  # choose it as the output device by addressing
  # it with specific apps,eg mpg123 -a equal 06.Back_In_Black.mp3)
pcm.!default {
  type plug;
  slave.pcm plugequal;
}


Alsa-EQ.desktop file to put in /usr/share/applications reads :

[Desktop Entry]
Name=AlsaMixer - EQ
Comment=Advanced Linux Sound Architecture (ALSA) Equalizer
Exec=alsamixer -D equal
Icon=sound_section
Terminal=true
Type=Application
Categories=Audio;Mixer;X-MandrivaLinux-Multimedia-Sound;



I included the Alsa-EQ because it can give a GUI interface.   CAPS you set once
and just forget about it.

/home/user/.asoundrc

or

/etc/asound.conf

are two places to use, but not both, and not both files preferably.
/etc/asound.conf is probably the best to put one of the files in.
The Alsa-EQ.desktop file goes into /usr/share/applications     only.
Should appear in the main menu under Sound then.

I gave up on Pulse, it only handled one media-player at a log-in.
Perhaps a symlink or something is missing in there, don't know.
Hooked up the Alsa-EQ thing with alsa sound and it works 100%.
It's in Synaptic to install.


Any question, just post back.

regards,


FF
ASUS EeePc 900HA netbook  1.6 Ghz Atom CPU  1GB RAM
160 GB internal HD    Seagate 250 GB USB portable drive 
Intel ‎Mobile 945GSE Integrated Graphics Controller
Atheros AR242x/AR542x Wireless Network Adapter
Intel (N10/ICH7 Family) High Definition Audio
Dynex 5-Button Wired Optical Mouse
LXDE