Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-28-2003, 07:58 PM   #1
Registered: Jul 2003
Location: Ohio, USA
Distribution: Mandrake 9.2
Posts: 145

Rep: Reputation: 15
logout sound

This is a very minor problem, but it would still be cool to fix. I am running Mandrake 9.1 on my Inspiron 8200 with a Cirrus Logic Crystal WDM Audio Codec. My sound works fine--I can play mp3s, watch dvds, have system notifications working, etc. The only teeny tiny problem is that when I logout of KDE, the system notification sound for logging out always gets cut off. Is there any way to put a delay in the logout process long enough for the sound to finish playing? It just sounds kind of wierd like that, but I like having a logout sound.

Like I said, minor problem. Any help greatly appreciated.
Old 07-28-2003, 08:07 PM   #2
Registered: Jun 2003
Location: Springfield, MO
Distribution: RedHat/Slackware
Posts: 81

Rep: Reputation: 15
You could try using a shorter sound file........
Old 07-28-2003, 11:31 PM   #3
Registered: Jul 2003
Location: Ohio, USA
Distribution: Mandrake 9.2
Posts: 145

Original Poster
Rep: Reputation: 15
yeah, i thought of that. there are two problems, though.

1. sometimes it gets cut off after no more than a split second, so that even a really short sound would still get cut off.

2. i kind of like the one that i have now

thanks for the suggestion, though. if there's nothing else anyone can think of, i'll just go ahead and do that.
Old 07-29-2003, 09:24 PM   #4
Senior Member
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
The linux way of doing it (non-specific):

First, find out what happens when you log out.
--What files does KDE read for procedure?
I know that IceWM includes lines in the preferences file for logout options, commands to be run on logout, etc. Look for something like that in KDE or preferences.

--Find the appropriate place/file to insert a wait command after the soundfile is played, but before Xserver is killed. I wouldn't know the syntax, or whether KDE uses a file with scripts or lists of commands like this.

--Enjoy, knowing you did something the right way.

I'd consider using a shorter sound file to be an ugly workaround, something that would bug me for a long time

good luck!
Old 08-02-2003, 07:09 PM   #5
Registered: Jul 2003
Location: Ohio, USA
Distribution: Mandrake 9.2
Posts: 145

Original Poster
Rep: Reputation: 15

thanks a lot for the reply. unofortunately, i've been unsuccessful at finding out what kde reads for procedure when it logs out. i've looked around on this site and the rest of the internet, but i can't seem to figure it out. does anybody happen to know? i'm running kde 3.1.0 in mandrake 9.1

thanks a lot.
Old 08-03-2003, 08:12 PM   #6
LQ Newbie
Registered: Aug 2003
Location: Ohio, USA
Distribution: Slackware 9
Posts: 26

Rep: Reputation: 15

Hoby I have the same sound card as you unfortunatly I cant get it to work. Could you please possibly email me the driver you are using? I would greatly appriciate it
Old 02-05-2004, 08:12 PM   #7
LQ Newbie
Registered: Feb 2004
Posts: 1

Rep: Reputation: 0
I have the same problem. My sound works fine normally. I just want to hear the .wav file I have choosen to play at logout. Sometimes it will play a second or two but never the entire 3.7 second file. Is there anybody out there that has the answer. I went to "~/.kde/shutdown" and added a shell script named "delay5" which contained.
----------Start Script------------------------------------
sleep 5
exit 0
-----------End Script------------------------------------
It made no difference. Is there anyway to delay the shutdown to get the .wav to play?

Old 05-30-2006, 12:11 AM   #8
LQ Newbie
Registered: Feb 2006
Distribution: Fedora Core 5
Posts: 18

Rep: Reputation: 0
I also have the same problem, except with Gnome and Fedora Core 5. Most of the time, I either hear no logout sound or a split-second of it. Very rarely, however, the whole thing will play. Has anyone figured this out yet? I'd appreciate it if you could help me.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
"Crash"/logout and sound problem in SuSe 9.1 CircleSoft Linux - Software 0 09-03-2004 05:29 PM
Sound gurus: Keep sound running through logout / login? alar Linux - Software 4 02-05-2004 03:36 PM
On gnome / x logout run "logout" ?? once here Linux - Software 1 01-09-2004 03:53 PM
KDE Logout Notification killing sound server. glenns530 Mandriva 1 11-25-2003 05:06 PM
RH9 Gateway 2000 solo 5300 sound & logout problems vulture774 Linux - Laptop and Netbook 1 11-21-2003 05:22 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:16 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration