If your system is 64 bit, enable 32 bit architecture (if you haven't already):
sudo dpkg --add-architecture i386
Download and add the repository key:
wget -O - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -
Add the repository:
For Ubuntu 20.04
sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
Update packages:
sudo apt update
Then install one of the following packages:
Stable branch
sudo apt install --install-recommends winehq-stable
Development branch
sudo apt install --install-recommends winehq-devel
Staging branch
sudo apt install --install-recommends winehq-staging
Install sourceinsight
wine sourceinsight40124-setup.exe
wine winecfg
wine winecfg
set below setting to set full screen for wine windows on ubuntu with 1920x1080, 125 scaling
Reference:
https://www.youtube.com/watch?v=Wx8NbZEAPNM&ab_channel=ProgrammingKnowledge