#!/usr/bin/sh # Start VARA via wine # lastmod: 2025-01-24T00:32:09+0100 # # Author: Dominic Reich (OE7DRT) # VARA itself can only select COM ports up to COM16, so we manually # edit the config file so it gets to use the first USB device (/dev/ttyUSB0) sed -i '/^PTTPort=/s/=.*$/=COM33/' ~/.wine-winlink/drive_c/VARA\ FM/VARAFM.ini WINEPREFIX=/home/dominic/.wine-winlink wine "C:\\VARA FM\\VARAFM.exe" & # We should not need rigctl because VARA will use the PTTPort COM33 # (which *must* be ttyUSB0 - otherwise our script will fail) #alacritty -o font.size=9 --title=Rigctld -e rigctld -m 1 -p /dev/ttyUSB0 -P RTS -s 9600 -vvvv &