New answers tagged software-rec
There is a great way to do this if you have the luxury of having two computers. Two computers can be especially practical if you install one (the one that is driving the video) near the projector which could be in an inconvenient location, and the other one (call it the remote control, it can be a cheap laptop) where you need to run the show. On the video ...
logkeys should fit your needs. The manual is here.
You can use pavucontrol to set the default (and fallback) audio output device. But this needs pulseaudio (one of the reasons pulse was developed).
Top 50 recent answers are included