LinuxQuestions.org
Review your favorite Linux distribution.
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 11-14-2003, 12:11 AM   #1
fclifton
Member
 
Registered: Oct 2003
Posts: 40

Rep: Reputation: 15
Question How to make speaker sounds at boot?


I am running RH9 server with Gnome. I have no monitor, keyboard, mouse connected, doing all administration using VNC. Because I am using VNC, I can't tell when the system is ready for a login when I restart it.

I would like to have the speaker make sounds when the system is ready for a login. I am a Linux newbie, so need somewhat specific help.

BTW, the system has sound capability, but I have no speakers hooked up, which is why I want to use the speaker.

Thanks,
Frank
 
Old 11-14-2003, 06:40 AM   #2
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
You could make a file

beep.sh

with this in it


#!/bin/bash

echo -e '\007'
sleep 1
echo -e '\007'
sleep 1
echo -e '\007'
sleep 1
echo -e '\007'




chmod +x beep.sh

add to rc.local file the line

/path/to/beep.sh



This should give you 4 beeps when you've booted
 
Old 11-14-2003, 10:47 AM   #3
fclifton
Member
 
Registered: Oct 2003
Posts: 40

Original Poster
Rep: Reputation: 15
Thanks Looking_Lost, I'll try that tonight.

I know there are a lot of rc. files. Is there someplace that shows which ones get processed when?

Frank
 
Old 11-15-2003, 10:17 AM   #4
fclifton
Member
 
Registered: Oct 2003
Posts: 40

Original Poster
Rep: Reputation: 15
Looking_Lost,

I made my first script! And it worked! Thanks, it is just what I needed.

Frank
 
  


Reply


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
How to make pc speaker beep in slackware vrillusions Linux - Hardware 5 03-02-2010 10:15 PM
PC speaker going crazy while running make? BajaNick Linux - General 7 07-19-2004 08:40 PM
Howling speaker during Mandrake 10 boot on Dell Inspiron 8500 allanhn Mandriva 4 05-07-2004 07:35 PM
Recorded audio sounds horrible, but the untouched line-in sounds ok? justin218 Linux - Newbie 1 10-14-2003 05:11 PM
Cannot Boot Linux - forgot to make boot floppy marsial Linux - Newbie 3 08-23-2003 12:39 PM


All times are GMT -5. The time now is 11:50 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration