答案1
# Check current Mono version
mono -V
#
sudo apt install gnupg ca-certificates
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb https://download.mono-project.com/repo/ubuntu stable-bionic main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
sudo apt update
#
# Check the new Mono version
mono -V
从官方 Ubuntu 仓库安装 Pinta
sudo apt install pinta
禁用本地化只需使用envar
启动 .desktop 启动器即可启动 PintaLANG='en_GB.UTF-8'
sed -i.BACKUP 's|Exec=pinta %F|Exec=sh -c "LANG='"'"'en_GB.UTF-8'"'"' /usr/bin/pinta %F"|g' /usr/share/applications/pinta.desktop
# Or edit the file and replace
# Exec=pinta %F #by:
# Exec=sh -c "LANG='en_GB.UTF-8' /usr/bin/pinta %F"