Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 34

Thread: Audio device switch

  1. #11
    Join Date
    Apr 2005
    Location
    Berlin, Germany
    Beans
    1
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Audio device switch

    Thanks!

    Exactly what I was looking for. Works like charm!

    Cheers J.

  2. #12
    Join Date
    Nov 2008
    Beans
    3
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Audio device switch

    Finding and implementing this script made my night.

  3. #13
    Join Date
    Feb 2009
    Beans
    307

    Re: Audio device switch

    Awesome! Thank you. Note: I did have to install libnotify-bin in order for the popup notification to work.

  4. #14
    Join Date
    May 2010
    Location
    Finland
    Beans
    4
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Audio device switch

    The script works just fine by itself, but the keyboard shortcut won't function in my 10.10, it only says "launching the application attached to the keyboard shortcut failed". Anyone have ideas for a workaround?

    For the time being I put a launcher to Gnome panel and it works from there.

  5. #15
    Join Date
    Mar 2011
    Beans
    13
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Audio device switch

    Installing libnotify-bin and getting the popup was the icing on the cake (I was testing it by looking at the radio buttons in Preferences > Sound jump up and down).

    Rimus: It worked for me in 10.10. Have you done the very stupidly obvious thing of checking the path in the shortcut, and file permissions?

  6. #16
    Join Date
    Mar 2010
    Beans
    3

    Re: Audio device switch

    Great script, that is what I was looking for, thanks a lot! But is there any way to implement an OSD notification quickly showing the name of the device which just got activated? Best regards.

  7. #17
    Join Date
    Mar 2011
    Beans
    13
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Audio device switch

    Quote Originally Posted by Chodid View Post
    Great script, that is what I was looking for, thanks a lot! But is there any way to implement an OSD notification quickly showing the name of the device which just got activated? Best regards.
    Have you installed libnotify-bin?

  8. #18
    Join Date
    Oct 2007
    Beans
    11

    Re: Audio device switch

    My script was not working, because I was using only
    pacmd "set-default-sink ..."

    this is what I was missing:
    pacmd "move-sink-input $app $next_sink_index"

    thanks A LOT!

  9. #19
    Join Date
    Feb 2007
    Beans
    23

    Re: Audio device switch

    Works great!

    Ubuntu developers, please do this automatically when an HDMI cable is plugged/unplugged!! PLEASE!

  10. #20
    Join Date
    Sep 2010
    Beans
    3

    Re: Audio device switch

    Really great, thx for this script. Also works on Natty and with my Bluetooth-Headset

    PS: This would be awesome for the sound indicator

Page 2 of 4 FirstFirst 1234 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •