Topic: startup sound on openbox

Aello
I know it is possible I just could not find how.
I want to know how to make start up sound on openbox for login.
I want that sound that Americans have on their TV's. I think it is called an ex-box.

The following statement is false.
The above statement is true.
Now solve for X

Re: startup sound on openbox

http://ubuntuforums.org/showthread.php?t=751843
This seems like what you want.

Re: startup sound on openbox

Ja!
Fantastic! It works great.
Thank you very much.

What i did :
I installed youtube-dl and downloaded the video at
http://www.youtube.com/watch?v=3nFLoWlUIa0

Then I used ffmpeg with the commands:
ffmpeg -i name_of_video.flv -acodec copy output.mp3

Then I used audacity to convert the file to Ogg Vorbis.
And the rest in in the wonderful tutorial you provided.

The following statement is false.
The above statement is true.
Now solve for X

Re: startup sound on openbox

thanks for the great idea, I have now at the top of my autostart.sh

aplay ~/comp1.wav &

so I get the same sound at login as when gdm came up in 9.04 =3

Meh. Interested for a Dropbox alternative? Go to https://launchpad.net/tart

Re: startup sound on openbox

no, put it at the end

The following statement is false.
The above statement is true.
Now solve for X

Re: startup sound on openbox

^ Since the autostart.sh commands are all followed by ampersands, does it really matter where aplay goes?

while ( ! ( succeed = try() ) );

Re: startup sound on openbox

andrews, why? When X is started and openbox appears (the desktop) I get my sound, seems logical to me. I could also put it in a lot of times tongue

Meh. Interested for a Dropbox alternative? Go to https://launchpad.net/tart

Re: startup sound on openbox

I thought you wanted the sound to load last, after everything else, no?

The following statement is false.
The above statement is true.
Now solve for X

Re: startup sound on openbox

andrews,

when you have an ampersand "&" behind an entry in autostart.sh the command is launched and the next command in the list comes as next without delay. & doesn't wait for a command to be 'finished', so you can change the order as you wish.

Life's not what it used to be. *

Re: startup sound on openbox

ohhhhhh
I did not know this.
so then in crunchbang 9.xx....
what dows lxsession do? I took it out of the autostart and havn't noticed any difference.

The following statement is false.
The above statement is true.
Now solve for X

Re: startup sound on openbox

andrews

hehe, quite a lot of people don't know this. it would be the (lxde) session-manager, but actually openbox-session already does handle this. nothing would break if you keep lxsession or take it out.

Life's not what it used to be. *

Re: startup sound on openbox

http://crunchbanglinux.org/forums/post/23769/#p23769

I noticed that putting my piece in it a lot of times, it just plays them at the same time like expected tongue So if you want to hear it after everything, you should build in a delay with sleep.

Meh. Interested for a Dropbox alternative? Go to https://launchpad.net/tart

Re: startup sound on openbox

^^ I don't think lxsession is doing anything at all. Even with that line in autostart.sh there doesn't seem to be any lxsession process running...

John
------------------------
( a boring Japan blog , and idle twitterings )
“There is more Unix-nature in one line of shell script than there is in ten thousand lines of C.” - Master Foo

Re: startup sound on openbox

So then why was it put in crunchbang?

The following statement is false.
The above statement is true.
Now solve for X

Re: startup sound on openbox

I'm not sure. Maybe there's a historical reason, maybe there's something I've missed ( that happens a lot roll ).

John
------------------------
( a boring Japan blog , and idle twitterings )
“There is more Unix-nature in one line of shell script than there is in ten thousand lines of C.” - Master Foo