Here is my machine:

      ,g$$$$$$$$$$$$$$$P.        OS: Debian 9.8 stretch
    ,g$$P""       """Y$$.".      Kernel: x86_64 Linux 4.19.0-0.bpo.2-amd64
   ,$$P'              `$$$.      Uptime: 49m
  ',$$P       ,ggs.     `$$b:    Packages: 1759
  `d$$'     ,$P"'   .    $$$     Shell: bash 4.4.12
   $$P      d$'     ,    $$P     Resolution: 1920x1080
   $$:      $$.   -    ,d$$'     DE: XFCE
   $$\;      Y$b._   _,d$P'      WM: Xfwm4
   Y$$.    `.`"Y$$$$P"'          WM Theme: Moheli
   `$$b      "-.__               GTK Theme: Adwaita-dark [GTK2]
    `Y$$                         Icon Theme: Zafiro-icons
     `Y$$.                       Font: TeX Gyre Bonum 10
       `$$b.                     CPU: Intel Core i5-6440HQ CPU @ 3.5GHz
         `Y$$b.                  GPU: Mesa DRI Intel(R) HD Graphics 530 (Skylake GT2) 
            `"Y$b._              RAM: 4376MiB / 7599MiB

and I am using pulseaudio.

I would like to create a shortcut to switch between the port of my audio output device.

For now I do the following unproductive clicking: click to my audio mixer at the left bottom of my screen and to change the port from "headphones" to "speakers".

Is there a command which does this stuff so that I can create a shortcut to switch between "headphones" and "speakers"?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.