Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have the S305 Motorola bluetooth headset. I can control other music players (like Audacious or Goggles) from my headset but not VLC.

Is there some way to control VLC with a BT headset?

share|improve this question
    
Can you use the keyboard multimedia keys? Maybe this is the problem: askubuntu.com/a/48398/153260 –  Leo Jun 10 '13 at 22:16
    
Thank you very much for your response Leopoldo but the solution in that question doesn't seem to work. The answer about global hotkeys is interesting but I need it to work even if VLC doesn't have focus (and that didn't seem to work either). –  Darin Jun 10 '13 at 23:19

1 Answer 1

up vote 2 down vote accepted
+50
  1. First download some packages

    sudo apt-get install bluez-utils bluez-gnome bluez-alsa
    
  2. Find the MAC of the headset

    sudo hcitool scan
    

    The output will look something like this:

    $ sudo hcitool scan
    Scanning ...
            XX:XX:XX:XX:XX:XX       Stereo Headset
    
  3. Setup ~/.asoundrc file

    pcm.bluetooth {
            type bluetooth
            device "XX:XX:XX:XX:XX:XX"
            profile "auto"
    }
    
  4. Reboot

    sudo reboot
    
  5. Connect Bluetooth Headset

  6. Change alsa-audio-device in ~/.config/vlc/vlcrc:

    gedit ~/.config/vlc/vlcrc
    

    Find:

    # Audio output device (string)
    # alsa-audio-device=default
    

    And change it to

    # Audio output device (string)
    alsa-audio-device=bluetooth
    

Hope this help.

share|improve this answer
    
BiggJJ I am accepting your answer because I won't have time to test it before the bounty times out and if it works I want you to get the full bounty. Thank you so much for taking the time to give a step by step and clear answer :) –  Darin Jun 20 '13 at 15:28
    
That's not a problem @Darin. Thanks –  BiggJJ Jun 21 '13 at 13:58
    
@Darin Did you ever try this? –  BiggJJ Jun 23 '13 at 0:05
    
Not yet but I'll try to make time this weekend. I'm using a different laptop at the moment. –  Darin Jun 23 '13 at 13:53

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.