LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 08-22-2003, 04:07 AM   #1
Twigathy
LQ Newbie
 
Registered: Aug 2003
Location: UK
Distribution: Mandrake 10 [Dead]
Posts: 25

Rep: Reputation: 15
Setting volume in a startup script


Mandrake 9.1 starts up with the volume on all channels and outputs set to 0, and I want to know how to change this automatically on startup to be, for example, 25%. How do i write a Linux startup script, what language is required and where do i put the scripts I wish to run at startup?
 
Old 08-22-2003, 08:16 AM   #2
LordOfAtlantis
LQ Newbie
 
Registered: Apr 2003
Location: Belgium
Distribution: SuSE, Mandrake
Posts: 3

Rep: Reputation: 0
did you install alsa?

In that case you can try using alsamixer instead of a startup script.

Open a terminal.
Run as root 'alsamixer', adjust volumes as you like and then do (also as root) 'alsactl store' which stores the volumes you just adjusted.

Maybe you need to install alsa-utils before you can do this.

Hope this helps. On my computer it works, only KMix (docking applet in KDE) can't remember the right volume.
 
Old 08-22-2003, 02:03 PM   #3
Twigathy
LQ Newbie
 
Registered: Aug 2003
Location: UK
Distribution: Mandrake 10 [Dead]
Posts: 25

Original Poster
Rep: Reputation: 15
Where can i get these alsa-utils you speak of? Im a n00b to linux (4 days and counting from install)
 
Old 08-25-2003, 07:25 AM   #4
LordOfAtlantis
LQ Newbie
 
Registered: Apr 2003
Location: Belgium
Distribution: SuSE, Mandrake
Posts: 3

Rep: Reputation: 0
In KDE or Gnome or ..., you go to the menu -> Configuration -> Packaging -> Install Software

You have to type the root passwd. Then you get a window where you have a search bar. Type in this bar: 'alsa'. The computer searches for all the available packages with alsa in the name. So alsa-utils-... should be there. Mark it for installation and click 'Install'. You probably will be asked for a couple of installation CDs but this is obvious.

Now get along the instructions of my previous reply and everything should be fine.

Please check if you have installed alsa, otherwise all these replies are useless.
 
  


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
volume at startup matrixon Linux - Software 1 05-13-2005 07:47 PM
Setting DMA for DVD on startup? Script? Iron Monkey Linux - Newbie 2 07-17-2004 09:05 PM
arts volume too loud after startup tessx Linux - Software 0 07-14-2004 08:16 AM
Activating LVM Volume Groups at startup TomF Linux - Newbie 0 05-05-2004 05:05 PM
alsa in new kernel 2.6 volume 0 at startup demmylls Linux - General 9 01-20-2004 03:02 PM


All times are GMT -5. The time now is 09:45 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