LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-27-2004, 11:38 AM   #1
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Rep: Reputation: 87
Startup sound


Hey does anyone know how to play a sound when the computer boots. <-- Im not talking about doing it in kde or gnome but rather when you get the login prompt ?
 
Old 11-27-2004, 11:45 AM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
When booting into KDE to play a sound.

Goto your Control Center/Sound & Multimedia/System Notifacations. Go to KDE System Notifactions in the Event source tab. Click on KDE is starting and click Play a sound at the bottom and enter the location of the wave.

Brian1

Last edited by Brian1; 11-27-2004 at 11:46 AM.
 
Old 11-28-2004, 09:51 AM   #3
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Original Poster
Rep: Reputation: 87
No not with kde or gnome. I want to play a sound with the computer starts up or a user logs onto the consol.
 
Old 11-28-2004, 12:44 PM   #4
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
You can play a wav at login to a console terminal as it starts by adding the play command and the wav location to your ~/.bashrc. file.

Example: Of my ./bashrc file with play command added

Code:
# .bashrc

# User specific aliases and functions
play /storage1/Multimedia/PinkyBrain/narf.wav

# Source global definitions
if [ -f /etc/bashrc ]; then
	. /etc/bashrc
fi
I think this is what you are looking for.
Brian1
 
Old 11-29-2004, 09:10 AM   #5
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Original Poster
Rep: Reputation: 87
Possibly its just funny how slackware doesent have anything in the skel directory so i dont have a bashrc file. No worries tho cause i can make one.
 
Old 11-29-2004, 09:54 AM   #6
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Original Poster
Rep: Reputation: 87
That dident work but its ok cause i really dont care anymore. I just wanted to have it so i could know sound was working on boot.


On a off note knoppix does this so maybe i can ask there developers.
 
  


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
No sound at startup MegaByll Linux - Newbie 21 12-22-2007 08:46 AM
Startup Sound Works... CD Sound Doesn't Work... GNewbie MEPIS 8 01-02-2006 10:35 PM
no sound at startup MegaByll Linux - Software 4 12-18-2005 01:06 AM
no sound at startup jwijesundra Linux - General 1 01-28-2005 09:30 AM
fluxbox startup sound ! Paxmaster Slackware 3 12-11-2004 06:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:48 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration