Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-02-2005, 04:15 AM
|
#1
|
|
Member
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 704
Rep:
|
Flash Player, Firefox: sound in blackbox but not KDE
Hello, everybody.
I'm setting up a Slackware 10.1 box for a friend, using old components (233MHz P2, Dell OptiPlex GXa). Everything is working pretty well now, except that I don't get any sound when watching flash animations (such as www.homestarrunner.com) from firefox in KDE. In BlackBox everything works fine.
Things I've tried:
Code:
# ln -s /usr/lib/libesd.so.0 /usr/lib/libesd.so.1
Clues:
When I try to do:
Code:
# cat /dev/urandom > /dev/audio
while in KDE, it tells me that the resource is busy and won't let me do it. It works fine in BlackBox (spits static out of the speakers). This suggests that something is hogging the sound card; the problem is that I don't know what!
Any help you can give me would be well-appreciated.
Thanks!
--Dane
|
|
|
|
07-02-2005, 04:27 AM
|
#2
|
|
Member
Registered: Apr 2004
Location: India
Distribution: Ubuntu
Posts: 364
Rep:
|
Try going to the KDE Control Center (kcontrol) and check out the "Sound & Multimedia" section. It may have a few options that you may need to adjust.
|
|
|
|
07-02-2005, 05:32 AM
|
#3
|
|
Member
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 704
Original Poster
Rep:
|
Thank-you for your post!
I messed around with a lot of stuff in the KDE Control Center, but to no avail. Do you have any other suggestions?
Thanks.
--Dane
|
|
|
|
07-04-2005, 02:39 AM
|
#4
|
|
Member
Registered: Apr 2004
Location: India
Distribution: Ubuntu
Posts: 364
Rep:
|
Have a look at the processes running by doing ps -A. If you notice anything that may be hogging /dev/audio, kill it.
Also try fuser /dev/audio
Edit: Here is a better idea. Do:
Code:
fuser -v /dev/snd/*
and
and
Code:
fuser -v /dev/mixer*
and
Code:
fuser -v /dev/audio*
I'm sure you'll find the process blocking sound.
For some reason I think its going to be "artsd" (Just a dumb guess)
Last edited by akudewan; 07-04-2005 at 02:59 AM.
|
|
|
|
07-04-2005, 04:25 AM
|
#5
|
|
Member
Registered: Jul 2004
Distribution: Slackware
Posts: 388
Rep:
|
If you run KDE, it starts artsd sound daemon by default and it open sound devices in exclusive mode. If some application can't use arts for audio and requires direct access to sound devices, starting it with artsdsp wrapper may do the job.
|
|
|
|
07-07-2005, 12:41 AM
|
#6
|
|
Member
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 704
Original Poster
Rep:
|
artsdsp fixed it! The command to use on firefox is:
Thanks a bunch to everybody who posted!
--Dane
|
|
|
|
04-25-2006, 09:30 AM
|
#7
|
|
Member
Registered: Aug 2005
Location: Arizona
Distribution: Slackware 13, Arch Linux
Posts: 85
Rep:
|
Hi,
Sorry to resurrect an old thread, but I've been scratching my head in regards to flash sound using KDE and Firefox.
I am running current, KDE 3.5 and the latest Firefox, flash 7.
I can get sound when I run from wmaker, but not KDE, at least not reliably. I tried the suggestion here, and have seen it other places. But, when I run I get an error that says artsdsp only works with binaries.
Thx in advance for any advice or support. Silly to be so frustrated over such a simple thing.
|
|
|
|
04-25-2006, 10:50 AM
|
#8
|
|
Member
Registered: Oct 2002
Posts: 81
Rep:
|
I'm going to guess that your firefox command is not actually named firefox but something else like mozilla-firefox. from a terminal if you try to launch firefox manually using firefox, what happens?
Another thing to check is to righ click and view the properties for your launcher icon and see what command is actually being executed.
|
|
|
|
04-25-2006, 11:16 AM
|
#9
|
|
Member
Registered: Aug 2005
Location: Arizona
Distribution: Slackware 13, Arch Linux
Posts: 85
Rep:
|
Thx for the reply!
The command is executing from (could be /bin), but I didn't check to see if it was a script or binary file. I'll have a look at that when I get home.
|
|
|
|
11-18-2006, 12:33 PM
|
#10
|
|
LQ Newbie
Registered: Nov 2006
Location: Ontario, Canada
Distribution: Slackware
Posts: 24
Rep:
|
Quote:
|
Originally Posted by desertViking
Hi,
Sorry to resurrect an old thread, but I've been scratching my head in regards to flash sound using KDE and Firefox.
I am running current, KDE 3.5 and the latest Firefox, flash 7.
I can get sound when I run from wmaker, but not KDE, at least not reliably. I tried the suggestion here, and have seen it other places. But, when I run I get an error that says artsdsp only works with binaries.
Thx in advance for any advice or support. Silly to be so frustrated over such a simple thing.
|
I ran into the same error message, however my firefox is run from /usr/bin/firefox (which is a symlink that points to /usr/lib/firefox-1.5.0.7/firefox... and yes, the symlink works)
I've tried: and
Code:
$ artsdsp /usr/bin/firefox
and
Code:
$ artsdsp /usr/lib/firefox-1.5.0.7/firefox
All three produce the same error.
|
|
|
|
11-21-2006, 01:41 PM
|
#12
|
|
LQ Newbie
Registered: Nov 2006
Posts: 1
Rep:
|
This line works on Ubuntu:
$ export FIREFOX_DSP=artsdsp
$ firefox
If not, you could edit /usr/bin/firefox. Near the end of the file, you'll find something like "exec ${MOZ_PROGRAM}". Inserting artsdsp after exec should work.
Last edited by amueller; 11-21-2006 at 01:53 PM.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:00 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|