• 0 Posts
  • 5 Comments
Joined 2 years ago
cake
Cake day: July 24th, 2024

help-circle

  • I know you specifically want a hardware solution, but if you use pipewire I have something for you that took forever to figure out from the docs and does just what you want with a single static config file: https://pastebin.com/XigrzvfD

    Put this in ~/.config/pipewire/pipewire.conf.d/10-virtual-sinks.conf and restart pipewire once. It is safe to try this. Once you remove the file and restart pipewire everything is back to normal.

    This creates virtual output devices that you can assign applications to and control with e.g. pavucontrol. It’s mapped to use my specific output devices, if you uncomment the lines and remove the node name expressions then all USB/PCIe devices are used.

    It creates a setup of: virtual:[Games, Media, Comms] -> virtual:Main -> virtual:All Physical Outputs -> [output devices]

    I wanted all audio to always play on all devices. You can of course adapt it to your use case. In my case the virtual Main is my global mute for everything. I never touch volumes or mute of the actual output devices.

    I have the volume of these output nodes mapped to physical knobs to control games/voice/media independently globally.

    EDIT: To control the nodes I use this script: https://pastebin.com/pANNDvup

    Mute toggle: volume.sh set-mute virtual:Games toggle

    Volume: volume.sh set-volume virtual:Games %d

    You will have to adapt that slightly as I use it with OpenDeck and a stream deck clone for control. OpenDeck outputs [-]10 but wpctl needs 10-/10+. There is currently no way to set an absolute volume with that script since I didn’t have the need.


  • +1 for Fastmail

    Since anything but fully on-device encrypted/decrypted mails is still inherently insecure due to being unable to control the receiving end I consider email an insecure medium by default.

    That was my reason to go with fastmail when I moved away from Gmail a couple of years ago and I am very happy with their service and apps. I am also paying three years at a time and would like to pay even further ahead of time, but what can you do.

    I tried proton but didn’t like being locked into using their apps or hosting the SMTP bridge at which point I might as well use a less secure approach to begin with that is more comfortable to use.