Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Absolute Beginner Talk
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Absolute Beginner Talk
The perfect starting place to find out more about computers, Linux and Ubuntu.

 
Thread Tools Display Modes
Old November 21st, 2008   #1
Kosimo
100% Pure Ubuntu
 
Kosimo's Avatar
 
Join Date: Jun 2007
Location: Barcelona - Catalonia
Beans: 910
Ubuntu 9.04 Jaunty Jackalope
I've got a USB headphones

So, I've got a USB headphones and well... I know there is a mass with ALSA, OSS, PulseAudio and all the "preferences" any single app has...
I could setup skype to use those headphones, but not all apps allow to do it. (Flash player for example, and many others...)

I would love to connect my USB Headphones and have all sound automatically sent to the headphones... Then once disconnect, everything back to normal...

Do I am dreaming too much?
__________________
Catalonia ////
Kosimo is offline   Reply With Quote
Old November 22nd, 2008   #2
Kosimo
100% Pure Ubuntu
 
Kosimo's Avatar
 
Join Date: Jun 2007
Location: Barcelona - Catalonia
Beans: 910
Ubuntu 9.04 Jaunty Jackalope
Re: I've got a USB headphones

up
__________________
Catalonia ////
Kosimo is offline   Reply With Quote
Old November 22nd, 2008   #3
kostkon
Chocolate-Covered Ubuntu Beans
 
kostkon's Avatar
 
Join Date: Apr 2005
Location: EU - UK
Beans: 2,269
Ubuntu 8.04 Hardy Heron
Send a message via ICQ to kostkon Send a message via MSN to kostkon Send a message via Yahoo to kostkon Send a message via Skype™ to kostkon
Re: I've got a USB headphones

Quote:
Originally Posted by Kosimo View Post
So, I've got a USB headphones and well... I know there is a mass with ALSA, OSS, PulseAudio and all the "preferences" any single app has...
I could setup skype to use those headphones, but not all apps allow to do it. (Flash player for example, and many others...)

I would love to connect my USB Headphones and have all sound automatically sent to the headphones... Then once disconnect, everything back to normal...

Do I am dreaming too much?
What version of Ubuntu do you have?
kostkon is online now   Reply With Quote
Old November 22nd, 2008   #4
Kosimo
100% Pure Ubuntu
 
Kosimo's Avatar
 
Join Date: Jun 2007
Location: Barcelona - Catalonia
Beans: 910
Ubuntu 9.04 Jaunty Jackalope
Re: I've got a USB headphones

Quote:
Originally Posted by kostkon View Post
What version of Ubuntu do you have?
Intrepid
__________________
Catalonia ////
Kosimo is offline   Reply With Quote
Old November 22nd, 2008   #5
kostkon
Chocolate-Covered Ubuntu Beans
 
kostkon's Avatar
 
Join Date: Apr 2005
Location: EU - UK
Beans: 2,269
Ubuntu 8.04 Hardy Heron
Send a message via ICQ to kostkon Send a message via MSN to kostkon Send a message via Yahoo to kostkon Send a message via Skype™ to kostkon
Re: I've got a USB headphones

Quote:
Originally Posted by Kosimo View Post
Intrepid
Good, good...

Then you can do exactly what you want easily.

Just install the PulseAudio Device Chooser (its package is called padevchooser)

Run it (it will create a menu entry in Application → Sound & Video) and it will put its icon in your taskbar.

Left-click on its icon and select Volume Control. In the Playback tab you should see the audio streams of the various applications (the one that produce sound, that is) you are running (e.g. Totem, Flash, etc.). Left click on the stream you want, select Move Stream... and a list will appear listing your audio devices (in your case your soundcard and USB headset). You can then select the audio device you want this application to use to send its sound to. And so on...

PulseAudio will remember the audio device you have selected the next time you run this application.

Thus, you are having great flexibility on deciding what audio device each of your applications to use. Plus, you are getting individual volume levels per application.

In the Output Devices tab you can set the audio device you want to be used as the default by right-clicking on it and enabling the Default option. The same for the Input Devices.

You can set the PulseAudio Device Chooser to start every time you login from its preferences (i.e. left-click on its icon and select Preferences).

Hope you like it. I think it is exactly what you want, right?
kostkon is online now   Reply With Quote
Old November 22nd, 2008   #6
Kosimo
100% Pure Ubuntu
 
Kosimo's Avatar
 
Join Date: Jun 2007
Location: Barcelona - Catalonia
Beans: 910
Ubuntu 9.04 Jaunty Jackalope
Re: I've got a USB headphones

Quote:
Originally Posted by kostkon View Post
Good, good...

Then you can do exactly what you want easily.

Just install the PulseAudio Device Chooser (its package is called padevchooser)

Run it (it will create a menu entry in Application → Sound & Video) and it will put its icon in your taskbar.

Left-click on its icon and select Volume Control. In the Playback tab you should see the audio streams of the various applications (the one that produce sound, that is) you are running (e.g. Totem, Flash, etc.). Left click on the stream you want, select Move Stream... and a list will appear listing your audio devices (in your case your soundcard and USB headset). You can then select the audio device you want this application to use to send its sound to. And so on...

PulseAudio will remember the audio device you have selected the next time you run this application.

Thus, you are having great flexibility on deciding what audio device each of your applications to use. Plus, you are getting individual volume levels per application.

In the Output Devices tab you can set the audio device you want to be used as the default by right-clicking on it and enabling the Default option. The same for the Input Devices.

You can set the PulseAudio Device Chooser to start every time you login from its preferences (i.e. left-click on its icon and select Preferences).

Hope you like it. I think it is exactly what you want, right?
Thank you for the detailed explanation. Yes, it is exactly what I want and in fact I'm gonna give it a try right now.
I'll write here in a couple of minutes
__________________
Catalonia ////
Kosimo is offline   Reply With Quote
Old November 22nd, 2008   #7
Kosimo
100% Pure Ubuntu
 
Kosimo's Avatar
 
Join Date: Jun 2007
Location: Barcelona - Catalonia
Beans: 910
Ubuntu 9.04 Jaunty Jackalope
Re: I've got a USB headphones

Ok. It works, so for now on I can finally use my USB headphones for almost everything The only problem is: PulseAudio doesn't remember my settings, and each time I connect the headphones I must go to padevchooser and change settings to the USB device. It is annoying, but at least works.

Thank you for your advice
__________________
Catalonia ////
Kosimo is offline   Reply With Quote
Old November 22nd, 2008   #8
kostkon
Chocolate-Covered Ubuntu Beans
 
kostkon's Avatar
 
Join Date: Apr 2005
Location: EU - UK
Beans: 2,269
Ubuntu 8.04 Hardy Heron
Send a message via ICQ to kostkon Send a message via MSN to kostkon Send a message via Yahoo to kostkon Send a message via Skype™ to kostkon
Re: I've got a USB headphones

Quote:
Originally Posted by Kosimo View Post
Ok. It works, so for now on I can finally use my USB headphones for almost everything The only problem is: PulseAudio doesn't remember my settings, and each time I connect the headphones I must go to padevchooser and change settings to the USB device. It is annoying, but at least works.

Thank you for your advice
That's strange.

Do you have your sound playbacks in your sound preferences (System → Preferences → Sound) set to Autodetect?
kostkon is online now   Reply With Quote
Old November 22nd, 2008   #9
Kosimo
100% Pure Ubuntu
 
Kosimo's Avatar
 
Join Date: Jun 2007
Location: Barcelona - Catalonia
Beans: 910
Ubuntu 9.04 Jaunty Jackalope
Re: I've got a USB headphones

Quote:
Originally Posted by kostkon View Post
That's strange.

Do you have your sound playbacks in your sound preferences (System → Preferences → Sound) set to Autodetect?
Yes it is.
Actually I am happy with it as I couldn't use my USB Headphones before and now I can...
There are only two "issues": As I said, I need to change settings each time I connect my headphones. And I need to set up every single app manually.

Thank you again for your help!
__________________
Catalonia ////
Kosimo is offline   Reply With Quote

Bookmarks

Tags
alsa, oss, pulseaudio, usb headphones

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:26 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry