LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-01-2005, 10:51 AM   #1
joncbl
LQ Newbie
 
Registered: Apr 2005
Posts: 4

Rep: Reputation: 0
Question KDE 3.4 Sound Notifications not working


Distro: Suse 9.1 Pro
Desktop: KDE 3.4.0 Level "a"
Kernel: 2.6.5-7.151-default

I'm having a problem hearing system sounds (e.g. KDE startup, or KMail notification)... The interesting thing is that I don't seem to have any problems listening to music using Xmms, or Juk. I can even load the sound file for the notification into Juk or Kaffeine and play it with no problem. As far as I can tell, all volume control has been set to as high as possible using KAMix.

Anyone have any ideas why system notification sounds aren't working?
 
Old 04-01-2005, 11:04 AM   #2
DaBlade
Member
 
Registered: Aug 2004
Distribution: Debian Sid
Posts: 381

Rep: Reputation: 30
Try doing the following, then tell me if it worked/failed:
run 'kcontrol'
Click on 'Sound and Multimedia'
Click on 'System Notifications'
Click on 'Player Settings'
Click on 'Use an external player'
Click on the textbar, and write in 'artsplay'
Click OK, apply, and close kcontrol. Try opening a few windows, try using apps that make sounds etc..see if it works basically.
 
Old 04-01-2005, 11:50 AM   #3
piscikeeper
Member
 
Registered: Jul 2003
Location: Pennsylvania USA
Distribution: SuSE
Posts: 430

Rep: Reputation: 30
this thread post #29
there are other issues from the 3.4 update covered here too.

Last edited by piscikeeper; 04-01-2005 at 11:52 AM.
 
Old 04-01-2005, 03:51 PM   #4
joncbl
LQ Newbie
 
Registered: Apr 2005
Posts: 4

Original Poster
Rep: Reputation: 0
changing player didn't work

DaBlade,

Thanks for the suggestion... Unfortunately, it didn't seem to help.

Are there other external players I can try?
 
Old 04-01-2005, 04:11 PM   #5
joncbl
LQ Newbie
 
Registered: Apr 2005
Posts: 4

Original Poster
Rep: Reputation: 0
piscikeeper,

I went to the link you suggested, tried to do what you suggested, but was having trouble understanding the output... You suggested in that thread to:

Quote:
for sounds,as root:
/opt/kde3/bin/startkde

test -n "$KDEWM"&&KDEWM="--windowmanager $KDEWM"
kdeinit +knotify
kwrapper ksmserver $KDEWM

-------add the kdeinit line,it's probably missing---------
So, I ran startkde, got some output:

./startkde: line 1: kde-config: command not found
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

xset: unable to open display ":0.0"
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

xsetroot: unable to open display ':0.0'
./startkde: line 192: lnusertemp: command not found
./startkde: line 196: lnusertemp: command not found
./startkde: line 200: lnusertemp: command not found
./startkde: line 203: dcopserver_shutdown: command not found
startkde: Starting up...
./startkde: line 232: ksplash: command not found
./startkde: line 242: kdeinit: command not found
startkde: Could not start kdeinit. Check your installation.
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Error: Can't open display: :0.0
./startkde: line 259: kwrapper: command not found
startkde: Shutting down...
./startkde: line 269: kdeinit_shutdown: command not found
./startkde: line 270: dcopserver_shutdown: command not found
./startkde: line 271: artsshell: command not found
startkde: Running shutdown scripts...
startkde: Done.


I then ran test -n "$KDEWM"&&KDEWM="--windowmanager $KDEWM",

no response

Then I ran kdeinit +knotify and got some more interesting output:

kdeinit: Shutting down running client.
---------------------------------
It looks like dcopserver is already running. If you are sure
that it is not already running, remove /root/.DCOPserver_nitrogen__0
and start dcopserver again.
---------------------------------

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

kded: cannot connect to X server :0.0
DCOP aborting call from 'anonymous-5427' to 'kded'
kded: ERROR: Communication problem with kded, it probably crashed.
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

kdeinit: Can't connect to the X Server.
kdeinit: Might not terminate at end of session.
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

knotify: cannot connect to X server :0.0
DCOP aborting call from 'anonymous-5429' to 'knotify'
ERROR: Communication problem with knotify, it probably crashed.


and finally I ran kwrapper ksmserver $KDEWM and got:

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

ksmserver: cannot connect to X server :0.0


I'm not sure what all of this means... but from first glance it doesn't look good! Can you help me decipher this?

Thanks!

Jon
 
Old 04-01-2005, 04:49 PM   #6
piscikeeper
Member
 
Registered: Jul 2003
Location: Pennsylvania USA
Distribution: SuSE
Posts: 430

Rep: Reputation: 30
just open startkde with a text editor(kwrite works) and scroll towards the bottom.after the test -n line add kdeinit +knotify.
 
Old 04-01-2005, 04:57 PM   #7
Radarman
LQ Newbie
 
Registered: Nov 2004
Posts: 4

Rep: Reputation: 0
Ok, this worked for me:-
As root, open : /opt/kde3/bin/startkde

Look for the line: LD_BIND_NOW=true kdeinit +kcminit

I changed it to:

LD_BIND_NOW=true
kdeinit +kcminit +knotify

The "kdeinit +kcminit" is now underneath, with +knotify added.

Save & close, then restart KDE.

HTH.

 
Old 04-04-2005, 08:51 AM   #8
joncbl
LQ Newbie
 
Registered: Apr 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Talking thanks, I can hear!

Thanks for the help. It worked like a charm!
 
Old 04-17-2005, 04:14 PM   #9
PredatorX
Member
 
Registered: Sep 2003
Location: The Hague
Distribution: Gentoo / Suse 9.2
Posts: 53

Rep: Reputation: 15
Thanks radarman, that seems to be the solution.

I saved my old startkde and appeared something like that.

Is this a typo from the developpers?
Pretty annoying, hope they'll fix it.

Thanks for your help
 
  


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
KDE System Notifications GibsonDL Linux - Newbie 2 07-25-2005 12:38 PM
All System Notifications except "KDE is Starting up" not working with Suse 9.0 nrowlan SUSE / openSUSE 0 11-09-2004 01:47 PM
KDE, wav, system notifications not working correctly webwolf70 Linux - Software 0 09-10-2004 11:40 AM
KDE System Notifications mykrob Linux - Software 0 08-31-2004 07:00 AM
system notifications not working hobylinux Linux - Newbie 0 07-20-2003 11:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:13 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