I'm not sure who else has battled this but Qt in their infinite wisdom
decided they need a random name for the audio connection to PulseAudio
which means it will NEVER remember the volume level you set.

I did some digging on PA command line options and came up with a script to
start wsjtx:

launch-wsjtx:
#!/bin/bash
$(which wsjtx) &
sleep 15
pactl set-source-volume alsa_input.pci-0000_00_14.2.analog-stereo 21000

of course you need to substitute the correct sound card device. Something
like:

$ pacmd list-cards | grep alsa_input

The last option is the volume level, you can specify it in multiple ways
but I settled on figuring out what integer input seemed to work well.

If you create your own script don't forget to mark it executable!

$ chmod +x launch-wsjtx


Thanks,
Richard
------------------------------------------------------------------------------
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to