LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 05-05-2010, 02:08 PM   #1
abakhiet
Member
 
Registered: Apr 2010
Location: Assiut, Egypt
Posts: 166

Rep: Reputation: 15
Cool Nmixer


hola my friends,
Really i need to introduce my thanks for poeples whom manage that amazing forum
i need to ask about some way on how i can change my volume up using my nmixer tool, really i find that i can make some commands like :
Code:
nmixer -q -s pcm=70
nmixer -q -s pcm=100
so, here i put pcm and pcm2 volume to 70% and 100% respectively.
but when i make some cronjob to this commands but some of bash scripts it doesn't deployed yet, here is my script :
Code:
#!/bin/bash
nmixer -q -s pcm=100
nmixer -q -s pcm2=70
#END
when i see my log, i finds this :
Code:
Error opening terminal: unknown.
Error opening terminal: unknown.
please help me solving that, thanks in advance
 
Old 05-07-2010, 04:58 PM   #2
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,074

Rep: Reputation: 59
Maybe you want to try alsa utils with OSS support and use alsamixer and alsactl store to save your volumes.

So basically you set your volumes with alsamixer. Then runing alsactl store saves those volumes across reboots, so you don't have to put it into cron.
 
  


Reply



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



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

All times are GMT -5. The time now is 09:30 AM.

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