Use SourcceInsight on openSUSE

  1. install wine
sudo zypper install wine
  1. Get SourceInsight in place
ls tools/source\ insight\ 4 
si4.pediy.lic  si4.pediy.lic.rar  sourceinsight4086.rar  sourceinsight4086-setup.exe  sourceinsight4.exe
  1. Install SourceInsight
$cd ~/tools/source insight 4
$ wine sourceinsight4086-setup.exe

It will be installed in ~/.wine/drive_c/Program\ Files\ \(x86\)/Source\ Insight\ 4.0.app

  1. workaround the license
$cp sourceinsight4.exe ~/.wine/drive_c/Program\ Files\ \(x86\)/Source\ Insight\ 4.0/
$ cd ~/.wine/drive_c/Program\ Files\ \(x86\)/Source\ Insight\ 4.0/
$ wine sourceinsight4.exe

Import the license file below on the prompt window:code

ll tools/source\ insight\ 4/si4.pediy.lic
  1. the toolbar doesn't display properly, so close it by:
View -> Toolbar -> Main Toolbar
  1. create App link by putting the file "wine.desktop" below under /usr/share/applications/
[Desktop Entry]
Name=SourceInsight
Comment=Source Insight
Exec=sh -c "cd /${HOME}/.wine/drive_c/Program\ Files\ (x86)/Source\ Insight\ 4.0; wine sourceinsight4.exe"
Icon=wine
Terminal=false
Type=Application
Categories=Wine;
StartupNotify=true
相關文章
相關標籤/搜索