Reply
Thread Tools
Posts: 1,950 | Thanked: 1,174 times | Joined on Jan 2008 @ Seattle, USA
#1
I don't like having a startup sound since sometimes I'm somewhere I want to be quiet and there's no choice if you left sound on when you last shutdown (except for plugging something into the headset port).

So I replaced my wake-up tune with silence.

EDIT: SEE POST #6 BELOW, which accomplishes the same thing more simply. (I've left in what follows of this post so that the next 4 posts still make sense should someone read them.)

This is almost certainly an inelegant way of accomplishing it, since I'm not a Linux user, but I thought someone else might want to do it, too.

So here's what I did.

I used maemo-recorder to make a silent wav file by recording nothing very quickly (0.75 seconds).

I saved it at /media/mmc1 as silent.wav

Then I went into Xterm and moved the original start-up sound file:

sudo gainroot [you need becomeroot installed for this, I believe]
mv /usr/share/sounds/ui-wake_up_tune.wav /media/mmc1

Then I moved the original wave file (ui-wake_up_tune.wav) in File Manager (or you could trash it, but I'm a cautious type); and then renamed my silent.wav file to ui-wake_up_tune.wav

Then back in Xterm, at root, I entered:

mv /media/mmc1/ui-wake_up_tune.wav /usr/share/sounds

Along the way Xterm was telling me I lacked permissions, but it did everything anyway. I know that because I checked what was happening in emelFM2.

Everything works and my N800 now wakes up silently.

(I know that to a more capable NIT user, it must look awkward to use File Manager, Xterm, and emelFM2 just to accomplish this small task. Feel free to provide more straightforward directions.)

Last edited by GeraldKo; 2008-04-10 at 18:15.
 

The Following 3 Users Say Thank You to GeraldKo For This Useful Post:
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#2
You lack permissions because you are moving from a fs that supports them (jffs?) to vfat(16) which doesn't. I don't think they really matter for smething like thiis tho.
 
mrlanrat's Avatar
Posts: 292 | Thanked: 46 times | Joined on Oct 2007
#3
I just deleted the files (I also removed ui-shutdown.wav) But I made a backup just in case.
 

The Following User Says Thank You to mrlanrat For This Useful Post:
mooler's Avatar
Posts: 213 | Thanked: 27 times | Joined on Oct 2007 @ Detroit, MI
#4
Can this same method be applied to the rest of the ui sounds? I just tried to replace my ui-key_press.wav and it didnt work
 
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#5
Yes, should be able to replace any sound this way.

Gerald, it looks awkward indeed; here's a tip:
mv can simultaneously rename files; the last argument can be the new filename with path, instead of just the path. (Of course, when moving multiple files at once, it must be a path to dump them all in, as moving them into the same file is not sense.) So you don't need the file manager.

You seem already aware that emelfm2 was an optional monitoring method, so you could skip that.

Then you'd be doing it exactly how I would.
 

The Following User Says Thank You to Benson For This Useful Post:
Posts: 1,950 | Thanked: 1,174 times | Joined on Jan 2008 @ Seattle, USA
#6
EASIER METHOD TO SILENCE THE STARTUP SOUND

Launch Xterm

Code:
sudo gainroot
mv /usr/share/sounds/ui-wake_up_tune.wav /home/user/MyDocs/.documents/ui-wake_up_tune-Orig.wav
This will remove the wake-up sound from its usual directory altogether and make a backup of it in your Documents folder, renamed to ui-wake_up_tune-Orig.wav, should you ever want it again.

Thanks to mrlanrat and Benson for helping me clean this up.
__________________
.
. .

Help Save This Forum
for N8x0/Diablo Users! Register and Vote for Solution #1 on this Brainstorm. (The Solution will let you see New Posts with any threads you choose -- like the N900 and Maemo5/Fremantle threads -- filtered out.) (To understand the Solution better, see these posts #17, #18, and #19.)
 

The Following 2 Users Say Thank You to GeraldKo For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 11:19.