PDA

View Full Version : Why no system sound as user...only root



rrfish72
09-19-2004, 04:14 AM
I've tried everything to get the system sounds to click, beep, whistle.... and still no luck. They only appear when I log into root. Anyone know how to get these sounds to work in my acct.

gruntbuggly
09-19-2004, 10:10 AM
Have you tried


# adduser whatever audio

where whatever is the username.

Markus
09-19-2004, 01:12 PM
Try this: http://www.knoppix.net/forum/viewtopic.php?t=13366 or the link in the link. You can even use links :)

rrfish72
09-19-2004, 04:07 PM
Still nothing. Changed to external player aplay and now the option of changing to a different player is grayed out. Where is this external player. Do I have to specify exactly where the player is? When I shut down I see a line that says unable to save alsa settings.

Markus
09-19-2004, 04:50 PM
Are you using alsa? You need it for aplay. This is my ~/.kde/share/config/knotifyrc:
markus@fujibox:~/.kde/share/config$ cat knotifyrc
[Misc]
External player=aplay
LastConfiguredApp=Konsole
Use external player=true
Volume=100

[StartProgress]
Arts Init=false
KNotify Init=true
Use Arts=false

You can also use Arts and choose artsplay as the external player. If the option is now grayed out, try changing it in knotifyrc to something like:
[Misc]
External player=artsplay
LastConfiguredApp=Konsole
Use external player=true
Volume=100

[StartProgress]
Arts Init=true
KNotify Init=true
Use Arts=true

rrfish72
09-19-2004, 05:13 PM
[Misc]
External player=artsplay
LastConfiguredApp=Konsole
Use external player=true
Volume=100

[StartProgress]
Arts Init=true
KNotify Init=true
Use Arts=true

It was aplay then I changed it to artsplay.

Markus
09-19-2004, 06:29 PM
Mmm, it works now?

rrfish72
09-19-2004, 07:26 PM
No, sorry. Had to reboot to see if that changed anything. Still nothing.

Markus
09-19-2004, 07:36 PM
Sorry, perhaps something with knoppix again, worked like a charm with kanotix.
You do have arts running, that is, have enabled KDE sound system and get sound when you click "test sound"?

rrfish72
09-19-2004, 08:21 PM
Running Kanotix BH4. Nothing from test soound either.

Markus
09-19-2004, 08:40 PM
You might want to try the Kanotix forum as well.
Can you get any sound as user? Try: play /usr/share/sounds/startup.ogg
Did you do what gruntbuggly said?
Try running alsamixer and kmix and cranking up the volume.

CrashedAgain
09-19-2004, 09:46 PM
Have you tried this procedure:

Testing: try to open /usr/share/sounds/startup.ogg using xmms. If it works, your sound card setup & user permissions should be OK. If xmms tries to start, then freezes & won't shutdown properly & won't restart on next attempt, probably the arts daemon is interfering with it. Do step 4 below then retry.

To set up sound notifications in KDE:

1.In KDE controlcenter->enable sounds;turn on system notifications.

2.Then go to /home/user/.KDE/share/config/knotifyrc (hidden file folder...set konqueror to view hidden files) and set all three entries to true.

You should now have event sounds but maybe not sounds from websites (if using konqueror as a browser). So,

3. Go to configure konqueror->plugins->plugins; then enable 'pipe plugin sounds through arts'

You should now have sounds from websites.

4. You will also need the xmms-arts plugin to prevent the arts daemon from interfereing with xmms: Apt-get install xmms-arts, then in xmms->options->preferences set output plugin to aRTs instead of OSS.

rrfish72
09-19-2004, 09:46 PM
root@rrfish:/home/rrfish72# play /usr/share/sounds/startup.ogg
playing /usr/share/sounds/startup.ogg

I can hear that. I also did what grunt said.

Card config from the info center says:

Dummy 1

Audio Devices:
0: Dummy PCM (duplex)

Synth Devices: Not enabled
Midi Devices: Not enabled
Mixers: Not enabled