Results 1 to 4 of 4

Thread: KDE, change sound to HDMI Headphones Speaker via script?

  1. #1

    Default KDE, change sound to HDMI Headphones Speaker via script?

    Hi,

    on Leap KDE, changing sound output is still too many clicks away.
    I have heard that situation will improve in later KDE versions (LEAP) , but haven't seen it till now n Leap

    so I wounder, this is for sure just some simple dbus commands, or something similar

    if there is a command to change the output device, I could put them on keyboard shortcuts or do something else more comfortable then the current situation

  2. #2

    Default Re: KDE, change sound to HDMI Headphones Speaker via script?

    In xfce there is a pulseaudio plugin that you can put in the panel that makes it easier
    to switch the sound output.
    Wonder if there is a the same one in plasma.
    People who do not break things first will never learn to create anything

  3. #3
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,698
    Blog Entries
    1

    Default Re: KDE, change sound to HDMI Headphones Speaker via script?

    if there is a command to change the output device, I could put them on keyboard shortcuts or...
    Get the sink names via
    Code:
    pactl list sinks
    then create keyboard shortcuts to execute the required commands eg
    Code:
    pactl set-sink-port 1 analog-output-speaker

  4. #4

    Default Re: KDE, change sound to HDMI Headphones Speaker via script?

    Quote Originally Posted by deano_ferrari View Post
    Get the sink names via
    Code:
    pactl list sinks
    then create keyboard shortcuts to execute the required commands eg
    Code:
    pactl set-sink-port 1 analog-output-speaker
    thanks!
    will try to wrap this + greping form pactl info the default, than it should be easy to make something everyone at home can use

Posting Permissions

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