Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Global hotkeys to control Banshee/Rhythmbox/etc volume with PulseAudio

  1. #1
    Join Date
    Apr 2009
    Beans
    57

    Global hotkeys to control Banshee/Rhythmbox/etc volume with PulseAudio

    For awhile now, I've been trying to set two global hotkeys to control my volume level in Banshee. Before anyone comes in here and says to use the Volume Up/Volume Down keybinds in gnome-keybinding-properties, that does not work. That controls the master volume. I'm looking for a global hotkeys that control JUST the application volume.

    I've been playing around now, and I think I might have found a way. Since 9.10, Pulseaudio is integrated and the default sound manager. It also allows controlling the application volume level. While changing the volume would be through Pulseaudio and not in the specific application, this would work.

    My question is if there's a way to set a keybind to control a specific application's volume within Pulseaudio? Or even a way to set a keybind to the event that happens when a specific application's volume is turned up or down within Pulseaudio.

  2. #2
    Join Date
    Apr 2009
    Beans
    57

    Re: Global hotkeys to control Banshee/Rhythmbox/etc volume with PulseAudio

    Bump.

  3. #3
    Join Date
    Apr 2009
    Beans
    57

    Re: Global hotkeys to control Banshee/Rhythmbox/etc volume with PulseAudio

    Bump.

  4. #4
    Join Date
    Apr 2009
    Beans
    57

    Re: Global hotkeys to control Banshee/Rhythmbox/etc volume with PulseAudio

    Bump.

  5. #5
    Join Date
    Apr 2009
    Beans
    57

    Re: Global hotkeys to control Banshee/Rhythmbox/etc volume with PulseAudio

    Bump.

  6. #6
    Join Date
    Apr 2009
    Beans
    57

    Re: Global hotkeys to control Banshee/Rhythmbox/etc volume with PulseAudio

    Bump.

  7. #7
    Join Date
    Apr 2009
    Beans
    57

    Re: Global hotkeys to control Banshee/Rhythmbox/etc volume with PulseAudio

    Bump.

  8. #8
    Join Date
    Apr 2009
    Beans
    57

    Re: Global hotkeys to control Banshee/Rhythmbox/etc volume with PulseAudio

    Bump.

  9. #9
    Join Date
    Feb 2007
    Beans
    2,339
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Global hotkeys to control Banshee/Rhythmbox/etc volume with PulseAudio

    I admire your persistence. And as a reward, I spend several hours time on Google to find a solution for you.

    Read here: http://pulseaudio.org/wiki/CLI

    The command you want to investigate are:

    1. list-sink-inputs
    This will let you identify Banshee application in the sink input lists. E.g.
    Code:
    pacmd "list-sink-inputs"
    2. set-sink-input-volume
    This will let you set the volume. E.g.
    Code:
    pacmd "set-sink-input-volume $index $volume"
    Unfortunately, I have Ubuntu Intrepid; the pacmd commands only appear to work properly in interactive mode. The example command above don't work but I got them from:
    http://ubuntuforums.org/showthread.php?t=1132200
    http://blog.robinpecha.cz/command-li...u-pulse-audio/

  10. #10
    Join Date
    Dec 2009
    Beans
    2

    Re: Global hotkeys to control Banshee/Rhythmbox/etc volume with PulseAudio

    It's not a pulseaudio way, but can be useful:

    Rhythmbox has a cli client application that you can use to control:

    Code:
    jv@eee:~$ rhythmbox-client --play-pause
    jv@eee:~$ rhythmbox-client --volume-up
    jv@eee:~$ rhythmbox-client --volume-down
    etc.
    So simply just set a keyboard shortcut (System=>Preferences=>Keyboard Shortcuts) to bind a key to these commands. It works for me

    jv

Page 1 of 2 12 LastLast

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
  •