Sound on Startup

I’m looking to install some ear candy :wink: at startup. I read a post that reminded me of the startup sound that Knoppix used which, I think, they stole from Star Trek. It is the “Initiating Startup Sequence” file. How early in the boot or login process can I get it going?

Searching it on google, it was recommended to make a script with just this line: mplayer startup.ogg However, I don’t know how to make a proper script or where to place it. Right now, I can’t find the place that I changed the setting from in the first place. I thought it was under “Configure Desktop” but it’s not. As it is, the sound comes after I have a completely functioning desktop. In other words, it is the last thing to happen.

In KDE it’s in "Configure Desktop/Applications and System Notifications/KDE Workspace. No need for a script. Can’t help with that particular sound.

Thanks. I couldn’t find that again because I missed the drop down list that had KDE Workspace in it. However, the issue still remains. I have the sound, and it works, but it comes as the last thing in start up. For example: I have a terminal and the BOINC program open automatically at startup. Both of these are running before the sound notifier on the KDE workspace. Can I get it earlier?

If I open Configure Desktop->Startup and Shutdown->Autostart, I have BOINC and a Google Chrome Service listed under “Desktop File” but not the terminal that opens automatically. So, the terminal is started someplace else. Below that is a place to add scripts. I’m guessing that a valid script would be something like

#! /bin/bash
mplayer startup.ogg
and the file would not need an extension but would have to be executable. Do I place it in this Autostart list or do I put it somewhere else? Also, does that look like a script that would work?

I’m no scripting expert so can’t really help there. The issue is where in the startup process the sound is played? I don’t know when pulseaudio is started, so that may figure into this too.

On 2012-02-11 19:06, oboedad55 wrote:
> I’m no scripting expert so can’t really help there. The issue is where
> in the startup process the sound is played? I don’t know when pulseaudio
> is started, so that may figure into this too.

You are confusing the system start up sequence with the desktop startup
sequence. Where do you want the sound to play?


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)