had to do a symbolic link between sudo ln -s /etc/profile.d/vte-2.91.sh /etc/profile.d/vte.sh to get this working in Linux Mint 21.3 cinnamon 6.0.4 because i kept geting and error every time i clicked Tilix preferences. Then i edited the vte-2.91.sh which is replicated to the symolic link clone as instructed. looks like the package has a hard coded vte.sh link whlie the installed sudo apt install libvte-common installed the vte file as vte-2.91.sh in my instance