Gentoo Archives: gentoo-amd64

From: Duncan <1i5t5.duncan@×××.net>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] Re: Re: arts
Date: Tue, 12 Jul 2005 11:18:47
Message-Id: pan.2005.07.12.11.16.23.621135@cox.net
In Reply to: Re: [gentoo-amd64] Re: arts by Luigi Pinna
Luigi Pinna posted <200507111804.06064.mailing-gentoo@××××××××××××.com>,
excerpted below,  on Mon, 11 Jul 2005 18:04:01 +0200:

> Alle 14:01, sabato 09 luglio 2005, Duncan ha scritto: > >> Run kcontrol and switch to Sound and Multimedia, System Notifications >> (or run kcmshell kcmnotify, to get the specific applet directly), click >> the Player Settings button, then the Use an external player radiobutton >> in the resulting dialog. Enter or browse to the player you want to use, >> hit apply, and test the results. Note that you may have to play around >> with command line options such as volume and the like, for your selected >> player. > > I tried it but it doesn't work. > I selected alsaplayer (like you) and I tested alsaplayer alone, but with > KDE no chance... > What did you do? Only selected the player? Can you help me? Thanks,
I expect something else has claimed exclusive use of the sound system at the same time. That could be ARTS itself if you haven't entirely disabled it (try "ps aux|grep artsd" at the konsole to see), since arts is KNOWN to hog exclusive control of the sound system. If it's not arts, and you have the sys-process/psmisc package merged, try using the "fuser /dev/dsp" command to see what if anything has the file open. If a process is using it, it will return the PID. You can then use ps aux and grep again, to find the commandline of the process belonging to that PID. BTW, with both ps/grep commands above, note that the grep command is also returned -- no surprise that a grep of a ps listing returns the grep command in that ps listing. <g> ... It's also possible that it's not all that, but a different config option in KDE that has it silent. In the same kcmshell kcmnotify module I mentioned earlier, check that you don't have all sound turned off. Also check in kcmshell bell that you don't have "use system bell instead of system notification" turned on. Finally, I've never tried merging kde with USE=-arts, so I don't know exactly what that removes. Possibly, that turns off the entire notify framework, in which case you'll have to compile with arts enabled, and just tell KDE not to run it (using kcmshell arts), before setting up an external player for KDE system notification events. -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman in http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html -- gentoo-amd64@g.o mailing list