Scripting sound preferences?


 
Thread Tools Search this Thread
Operating Systems Linux Ubuntu Scripting sound preferences?
# 1  
Old 12-29-2009
Scripting sound preferences?

I'm finding myself changing sound preferences (specifically, output) frequently, and I'd like to write a shell script to do this for me. Does anyone know what command(s) to use?
# 2  
Old 12-29-2009
Could you clarify what you mean?

Is it output volume or output device, output mixer or output port that you change?

There are potentially different ways of doing differnt things.
# 3  
Old 01-03-2010
Output device.
# 4  
Old 02-20-2010
So any chance of doing this? Or at least, any ideas on where I can start to look for answers?
# 5  
Old 02-20-2010
We still don't know what you want since you didn't clarify your question at all, just repeated it.

What, exactly, do you want to do? What are you trying to automate -- what have you been doing already? In detail! "I click such and such in such a program" not "I change the output device".

You might be able to get what you want done by replacing your ~/.alsarc, maybe.
# 6  
Old 02-26-2010
I'm not sure what's unclear; I answered reborg's question. Here's a screenshot of the GUI version of what I want to change: the output device from "Internal Audio Analog Stereo" to something else.
Scripting sound preferences?-screenshot-sound-preferencespng
Login or Register to Ask a Question

Previous Thread | Next Thread

3 More Discussions You Might Find Interesting

1. OS X (Apple)

Locking Down Finder Command Preferences

I understand how to lock down things with the finder in workgroup manager, but for matching commands outside of the workgroup manager realm, what's the best way to insert script in order to disable any one of these features? Features workgroup manager highlights: -connect to server -shut... (4 Replies)
Discussion started by: unimachead
4 Replies

2. UNIX and Linux Applications

Bluefish: where are the preferences saved?

I have just tried out Bluefish as an alternative to my regular text editor. If I save the modified preferences and reboot, the preferences have to be reentered again. Does anyone know which file the preferences are saved in? The command find / -mmin -5 | grep bluefish yields zero hits. Thanks... (2 Replies)
Discussion started by: figaro
2 Replies

3. Shell Programming and Scripting

Bash shell: Creating Preferences

In OS X I'm currently writing a bash script that requires writing to preference file. I may eventually want to share it with users on other Unix-like OSs and would like to accommodate for that possibility ahead of time. Most OS X applications save preferences in xml-format plist files. These... (4 Replies)
Discussion started by: airsmurf
4 Replies
Login or Register to Ask a Question