LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-12-2014, 08:12 AM   #121
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055

Rep: Reputation: Disabled

Quote:
Originally Posted by amaro View Post
I created new user
Why? Didn't you create a regular user already?

Last edited by Didier Spaier; 08-12-2014 at 08:13 AM.
 
Old 08-12-2014, 09:28 AM   #122
amaro
Member
 
Registered: Jun 2014
Distribution: Slackware 14.1 on HP 6910p
Posts: 50

Rep: Reputation: 2
No, I was running everything as root. When I first installed Slackware a couple of months ago I created an user but couldn't login at all, so I removed it and left it that way. But this time it seems to work except for the sound.
 
Old 08-12-2014, 09:53 AM   #123
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055

Rep: Reputation: Disabled
Quote:
Originally Posted by amaro View Post
No, I was running everything as root. When I first installed Slackware a couple of months ago I created an user but couldn't login at all, so I removed it and left it that way. But this time it seems to work except for the sound.
First check that you made it a member of the "audio" and "video" groups. I don't know how you created it, but the easiest way is to use the "adduser" command. You can generally accept the default answers and when asked, press the UP arrow key to add/select/edit additional groups. It will propose you this list: audio cdrom floppy plugdev video power netdev lp scanner. Just accept that pressing [Enter] and continue to answer other questions.
 
Old 08-12-2014, 10:40 AM   #124
amaro
Member
 
Registered: Jun 2014
Distribution: Slackware 14.1 on HP 6910p
Posts: 50

Rep: Reputation: 2
Thank you, Didier! Added the user to the groups and the sound is working! The only problem remains 'pavucontrol'. Uploaded shot.
Attached Thumbnails
Click image for larger version

Name:	06:36:05.png
Views:	34
Size:	36.2 KB
ID:	16117  
 
Old 08-12-2014, 11:37 AM   #125
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Quote:
Originally Posted by amaro View Post
Thank you, Didier! Added the user to the groups and the sound is working! The only problem remains 'pavucontrol'. Uploaded shot.
The only time I get that for pavucontrol is when I run pulseaudio -k with alsa-plugins set to load.
and my /etc/pulse/client.conf is set to
Quote:
; autospawn = yes
/etc/pulse/default.pa
Quote:
### Make some devices default
#set-default-sink output
#set-default-source input
load-module module-alsa-sink device=dmix
load-module module-alsa-source device=dsnoop
but if I do this.to the
/etc/pulse/default.pa
Quote:
### Make some devices default
set-default-sink output 0
set-default-source input 1
then after a reboot I am able to restart pulseaudio.
; autospawn = yes
with autospawn = yes pulseaudio -k restarts pulseaudio.

so this tells me if you do not have a default ouput and input pulseaudio
crashes till you got to run level 1 or reboot. it has to restart
the xserver in order to update. one pid at a time.
right or wrong I am just learning this thing.

Last edited by Drakeo; 08-12-2014 at 11:53 AM.
 
Old 08-12-2014, 11:40 AM   #126
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055

Rep: Reputation: Disabled
Amaro: then I'd just reboot and see what I come up with.
 
Old 08-12-2014, 12:37 PM   #127
amaro
Member
 
Registered: Jun 2014
Distribution: Slackware 14.1 on HP 6910p
Posts: 50

Rep: Reputation: 2
There was no '/etc/pulse/default.pa'. I didn't want to bother you and copied one from here https://forums.gentoo.org/viewtopic-...4-start-0.html.
After that added at the end of it
Code:
### Make some devices default
set-default-sink output 0
set-default-source input 1 
load-module module-alsa-sink device=dmix
load-module module-alsa-source device=dsnoop
Rebooted, then the command
Code:
pavucontrol
gives the same results as on the shot I uploaded earlier

and the command
Code:
pulseaudio -k
gives
Code:
bash: /usr/bin/pulseaudio: cannot execute binary file
Hope I got everything right!
 
Old 08-12-2014, 02:08 PM   #128
kentandre
LQ Newbie
 
Registered: Apr 2014
Location: Germany
Distribution: Slackware ( 8 ... 14.1
Posts: 2

Rep: Reputation: Disabled
slack 14.1 32-bit and skype 4.3

It takes me few days to understand why skype 4.3 always 'aborted'.
It's the CPU. You need sse2 Flag to get skype 4.3 working.
I have an old PC, with an old CPU that only have sse, not sse2.

So i switched to an old Laptop, this one has sse2, installed Slackware 14.1 (32-bit).
Now skype 4.3 works perfect.
Build and installed these packages, in that order:
speex
json-c
libsigc++
glibmm
cairomm
pangomm
atkmm
mm-common
libasyncns

then made the pulse in Terminal:
groupadd -g 216 pulse
useradd -u 216 -g pulse -d /var/lib/pulse pulse

After that build and installed
pulseaudio
gtkmm3
pavucontrol
and finally skype

All without any error.

Then, as my regular user, made a script:
(sorry, don't know how to make these 'Code' box)
#!/bin/bash
pulseaudio --start
skype
pulseaudio --kill

made it +x and copied it to my Desktop.

Then edited /etc/pulse/default.pa on lines 44 and 45,
(as root)
they look now:
load-module module-alsa-sink device=hw:0,0
load module module-alsa-source device=hw:0,0

I started skype with the script,
logged in, gone to options,
in audio devices pulseaudio is present,
opened the pulse volume control.
The only thing i needed to change was the output device.

I pressed the testvoice, sound came up.
Made the test call, all went ok.

Never opened the pavucontrol directly.
Never used the original start button from skype,
only the script.

After closing skype, pulseaudio is killed by the script.

This solution work for me.
I must say, i use skype not often. But this way, it works.
I have no need for pulseaudio except the new skype.

(btw, i was not happy when first the only message from skype was 'aborted'.
I wanted to make it to work. Finally i got it, on the right CPU.)

Maybe this is useful for some people with older hardware.
And sorry for the missing quotes around the Code. I will learn it.
 
3 members found this post helpful.
Old 08-12-2014, 03:11 PM   #129
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
That was a great first post kentandre, thank you and welcome to LQ
 
Old 08-12-2014, 03:20 PM   #130
recan
Member
 
Registered: Jan 2014
Distribution: Slackware64-15
Posts: 41

Rep: Reputation: Disabled
Hi I think Msoft make another realy mess with the new skype 4.3, plz report if any one get the skype locked any other programs when he is running ; I m not able to solve this , every time I used skype he locked the sound , when he finish then other programs make sound like they was waiting.
using Slackware 14.1 x32.with Kde desktop.
 
Old 08-12-2014, 06:26 PM   #131
RafaBR
LQ Newbie
 
Registered: Aug 2014
Location: Brazil
Distribution: Slackware Current_x64
Posts: 25

Rep: Reputation: Disabled
Hi, if anyone need to continue using old version of skype (4.2.x), these steps works for me:

* remove skype 4.2.x version
* install skype 4.3.x version
* connect and mark to "auto connect" on next time
* click Exit (don't disconnect)
* remove skype 4.3.x
* install again skype 4.2.x version
* now the skype will connect automatically
* NEVER DISCONNECT when exit

* This is my first post, sorry for anything.

Rafael
 
1 members found this post helpful.
Old 08-12-2014, 09:34 PM   #132
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
to amaro
Quote:
bash: /usr/bin/pulseaudio: cannot execute binary file
two reasons it is not actually installed or you have the installed a built copy of the wrong arch build of pulse audio for your. slackware.

ls /usr/bin/pulseaudio
what is your output?

to kentandre
Quote:
load-module module-alsa-sink device=hw:0,0
load module module-alsa-source device=hw:0,0
this tell pulse audo to use your alsa mixer settings

Last edited by Drakeo; 08-12-2014 at 09:39 PM.
 
Old 08-12-2014, 09:38 PM   #133
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 914

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
Hi kentandre,

Quote:
#!/bin/bash
pulseaudio --start
skype
pulseaudio --kill
You probably don't need to explicitly start pulseaudio like that before running skype. It should already be started by /etc/xdg/autostart/pulseaudio.desktop (or pulseaudio-kde.desktop) when you log in - you can check whether its running with 'ps -ef |grep pulse'. That means you can just launch skype directly from the Applications Menu/Internet menu and its pavucontrol button will just work.

Of course if you definitely want to kill pulseaudio after using skype, then thats a different matter. However, having had to use it myself for a while now, I've found pulseaudio is not as evil as some people claim.

chris
 
Old 08-12-2014, 09:45 PM   #134
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Quote:
Of course if you definitely want to kill pulseaudio after using skype, then thats a different matter. However, having had to use it myself for a while now, I've found pulseaudio is not as evil as some people claim.
you need to turn off in your /etc/pulse/client.conf
autospawn=yes to autospawn=no to for kill to work.
 
Old 08-12-2014, 10:52 PM   #135
amaro
Member
 
Registered: Jun 2014
Distribution: Slackware 14.1 on HP 6910p
Posts: 50

Rep: Reputation: 2
@Drakeo

Quote:
Originally Posted by Drakeo View Post
ls /usr/bin/pulseaudio
what is your output?
Code:
ls /usr/bin/pulseaudio 
/usr/bin/pulseaudio

@kentandre

Since I have done all this
Quote:
speex
json-c
libsigc++
glibmm
cairomm
pangomm
atkmm
mm-common
libasyncns

then made the pulse in Terminal:
groupadd -g 216 pulse
useradd -u 216 -g pulse -d /var/lib/pulse pulse

After that build and installed
pulseaudio
gtkmm3
pavucontrol
and finally skype
I tried this
Code:
load-module module-alsa-sink device=hw:0,0
load module module-alsa-source device=hw:0,0
plus this
Code:
#!/bin/bash
pulseaudio --start
skype
pulseaudio --kill
It doesn't work for me.


@RafaBR

This worked!

Quote:
Originally Posted by RafaBR View Post
* remove skype 4.2.x version
* install skype 4.3.x version
* connect and mark to "auto connect" on next time
* click Exit (don't disconnect)
* remove skype 4.3.x
* install again skype 4.2.x version
* now the skype will connect automatically
* NEVER DISCONNECT when exit
but for my Skype it looks like

Code:
* remove skype 4.2.x version
* install skype 4.3.x version
* connect with mark to "Sign me in when Skype starts"
* click Quit (don't Sign Out)
* remove skype 4.3.x
* install again skype 4.2.x version
* now the skype will connect automatically
* NEVER SIGN OUT, ALWAYS ONLY QUIT
Thank you very much, RafaBR!


This is for everyone Deep Purple - Strangeways!
Thank you guys!

Last edited by amaro; 08-12-2014 at 11:51 PM.
 
1 members found this post helpful.
  


Reply

Tags
pulse audio, skype, skype slackware



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Interruptions during Skype to Skype audio calls glupa4e Slackware 6 05-22-2013 02:46 PM
skype: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by skype Xeratul Debian 6 11-24-2012 02:12 AM
latest skype Skype 2.2.0.25 and Slackware --current anti_user Slackware 10 04-07-2011 02:22 PM
qt4-x11 >= 4.2 is needed by skype-2.1.0.47-fc10.i586 (From Installation of SKYPE)RHEL miaomiaoga Linux - Software 8 08-28-2010 07:15 AM
noise in skype to skype calls in skype v2.1 beta for fedora mq15 Linux - Software 0 01-20-2010 12:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration