LinuxQuestions.org
Review your favorite Linux distribution.
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 06-05-2005, 10:49 PM   #1
killahsmurf
Member
 
Registered: Mar 2005
Distribution: Slackware
Posts: 50

Rep: Reputation: 15
fluxbox issues (part 2)


wow, talk about annoying...
lets start with this: in /etc/rc.d i have a script called rc.artsd (which is obvious what it does). this script runs correctly when i run kde. but in fluxbox, i have to keep starting it manually. could it be only an issue of permissions?? if so, why is that not happening in kde.

second problem: when i finally start artsd manually, skype will tell me that theres another program using /dev/dsp1, which is bogus. when i first ran flux, i was able to run arts and talk in skype with no problems at all. it seems to be very strange because last night, after about 30 mins of just sitting here, the issue of me being able to run artsd and talk in skype suddenly became non-existant...
i really have a tough time trying to pinpoint where the problem might be. but any help here would be greatly appreciated.
 
Old 06-05-2005, 11:04 PM   #2
killahsmurf
Member
 
Registered: Mar 2005
Distribution: Slackware
Posts: 50

Original Poster
Rep: Reputation: 15
allow me to rephrase that first part. i just recently created that /etc/rc.d/artsd script due to that fact that arts wasnt starting in flux as it does in kde. so, that means that kde will run artsd at startup with no script (that i wrote) telling it to do so.

thanks for your time fellas.
 
Old 06-05-2005, 11:16 PM   #3
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
Just because an executable script exists in /etc/rc.d does not mean it will be automatically run. It has to be referenced by some other script. That's the way all the scripts in /etc/rc.d work.

My advice would to be to add a Slackware style call to the script in /etc/rc.d/rc.local. Like so:

Code:
if [ -x /etc/rc.d/rc.alsa ]; then
  . /etc/rc.d/rc.artsd
fi
Then, rc.M will call rc.local which will call rc.artsd. Make rc.local or rc.artsd -x to disable them.

About the second problem... Artsd will release /dev/dsp after a certain amount of sound inactivity. Default is 60 seconds I believe. You have these options: make skype use artsd, start skype with artswrapper, or disable artsd before starting skype.

--Shade


Last edited by Shade; 06-05-2005 at 11:18 PM.
 
Old 06-05-2005, 11:56 PM   #4
killahsmurf
Member
 
Registered: Mar 2005
Distribution: Slackware
Posts: 50

Original Poster
Rep: Reputation: 15
cheers Shade. as far as my skype problem goes, 'artsdsp skype' works great as ive just found out a few minutes ago. i guess it basically redirects all its sound to arts, therefore im able to run mp3s in xmms (given that it uses arts) and skype at the same time .

as for the first part about the scripts in your response... i must ask now. before i wrote that /etc/rc.d/rc.artsd script, kde was starting artsd right at startup. what was it using to do that, and how can i get flux to do the same without having to write a script. or will i have to write one now??
if thats the case, then can we explain why flux started artsd yesterday morning for me? there was no script at that time telling it to do so. unless there is another script somewhere else??

thanks for your response though, it does help alot
 
Old 06-06-2005, 12:17 AM   #5
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
A application could also start arts.
KDE always starts it by default unless you tell it not to (there's an option to do this), it just runs it, no science there.
As far as I remember Fluxbox has a file where you can put things to be started when it does, try putting arts there.
 
Old 06-06-2005, 09:10 PM   #6
killahsmurf
Member
 
Registered: Mar 2005
Distribution: Slackware
Posts: 50

Original Poster
Rep: Reputation: 15
thanks for your help guys, ill let you know in a while how i turned out . im so happy i found out about that 'artsdsp' command, now i will never have sound issues.. EVERYTHING arts weeee! -_-

hehe, thanks again
 
Old 06-07-2005, 01:05 PM   #7
killahsmurf
Member
 
Registered: Mar 2005
Distribution: Slackware
Posts: 50

Original Poster
Rep: Reputation: 15
Alright fellas. getting artsd to startup isnt an issue at all now. however the problem of getting skype to run correctly when artsd is running is a huge problem. im not sure where to start on getting a fix for this. but i do know for a fact that this problem does not exist in kde. so i guess i could figure out what kde is doing that my fluxbox isnt doing, then go from there. however, ive tried that before and i received no love.

the error i get is basically telling me that /dev/dsp-1 is already in use or is busy, is there a way to find out what application is using /dev/dsp1? i tried ps -aux | grep /dev/dsp, and again, received no love.

Note: running artsdsp (application here) works fine for skype as far as receiving sound, but for talking (using the mic) that sound will not go through.

if anyone has any idea on how to go about correcting this. please feel free to post i hate foolish liddew prollems like these.


Last edited by killahsmurf; 06-07-2005 at 01:37 PM.
 
Old 06-07-2005, 01:55 PM   #8
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
try :
lsof | grep /dev/dsp
 
Old 06-07-2005, 04:11 PM   #9
killahsmurf
Member
 
Registered: Mar 2005
Distribution: Slackware
Posts: 50

Original Poster
Rep: Reputation: 15
ofcourse theres nothing using it. why in the world would it be so easy?! on neither command did i receive any love. something so simple is becoming tougher than i thought it would be.
 
Old 06-07-2005, 04:34 PM   #10
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
You need to start artsd in full-duplex mode. KDE settings probably already have that option enabled, but starting artsd from command line probably does not.

man artsd ?

--Shade
 
Old 06-07-2005, 07:52 PM   #11
killahsmurf
Member
 
Registered: Mar 2005
Distribution: Slackware
Posts: 50

Original Poster
Rep: Reputation: 15
wow. yeah, i thought the same... artsd -d = full duplex, and its the same problem as before. more or less, i would just like to know what the hell is using /dev/dsp 0_o . the lsof command didnt help. maybe its just lying to me?

whats kde doing that flux isnt?
 
Old 06-07-2005, 11:12 PM   #12
killahsmurf
Member
 
Registered: Mar 2005
Distribution: Slackware
Posts: 50

Original Poster
Rep: Reputation: 15
arts wasnt auto suspending properlly, what confused me is that kde was auto suspending automatically (some setting in the control panel). i cant believe i forgot about that. anyway, thanks for the help guys. "artsd -ds 1" helped alot.

im an idiot some days, and often forget the small stuff, forgive me.

Last edited by killahsmurf; 06-07-2005 at 11:18 PM.
 
  


Reply



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
Fluxbox issues? killahsmurf Slackware 5 06-29-2005 06:00 AM
Fluxbox help and RAM issues AltUlster Linux - Newbie 7 05-14-2005 09:32 PM
debian issues, part deux (PCMCIA Linksys Wireless card) kokoba Linux - Newbie 5 01-14-2005 01:01 AM
FluxBox Developmental 0.9 Issues Crashed_Again Linux - Software 6 11-01-2003 04:31 PM
Fluxbox/freezing issues Wynd Linux - General 3 04-28-2003 07:45 PM

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

All times are GMT -5. The time now is 02:29 PM.

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