Skip to content

Instantly share code, notes, and snippets.

@bmcbm
Created October 22, 2024 09:01
Show Gist options
  • Save bmcbm/91d92395c5b26f9dcd76b47dd3161fa0 to your computer and use it in GitHub Desktop.
Save bmcbm/91d92395c5b26f9dcd76b47dd3161fa0 to your computer and use it in GitHub Desktop.
Ubuntu - Reverse stereo output on a sink
# Reverse stereo output
# Get the sinks:
pacmd list-sinks | grep name: | sed -E 's/.*name: <(.*)>/\1/'
# Set switched stereo channels for the desired sink (here "alsa_output.pci-0000_28_00.3.analog-stereo")
# Set name Ombyt-Stereo
pacmd load-module module-remap-sink master=alsa_output.pci-0000_28_00.3.analog-stereo sink_name=Ombyt-Stereo sink_properties=device.description=Ombyt-Stereo channels=2 channel_map=front-left,front-right master_channel_map=front-right,front-left
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment