Skip to content

Instantly share code, notes, and snippets.

@sevkin
Last active January 9, 2022 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sevkin/fe6134613c9b2de8901c114a5ed0bd89 to your computer and use it in GitHub Desktop.
Save sevkin/fe6134613c9b2de8901c114a5ed0bd89 to your computer and use it in GitHub Desktop.
diptrace ubuntu tricks
# 1. install wine (from winehq site, not repo)
# 2. wine dipfree_en.exe
# 3. apt install winbind to resolve ntlm_auth
# 4. add MESA_GL_VERSION_OVERRIDE=4.5COMPAT in .desktop files to resolve GLXBadFBConfig (on my intel video)
# 5. follow https://askubuntu.com/questions/323437/how-to-prevent-wine-from-adding-file-associations
# to back xdg-open <url> in browser
# ( rm ~/.local/share/appliations/wine-extension-htm; update-mime-database ~/.local/share/mime/ )
# 5.1. check it
# xdg-settings get default-web-browser
# this file only as sample (repeat it for each diptrace .desktop)
# /home/sevkin/.local/share/applications/wine/Programs/DipTrace/Schematic.desktop
[Desktop Entry]
Name=Schematic
Exec=env WINEPREFIX="/home/sevkin/.wine" MESA_GL_VERSION_OVERRIDE=4.5COMPAT wine C:\\\\windows\\\\command\\\\start.exe /Unix /home/sevkin/.wine/dosdevices/c:/ProgramData/Microsoft/Windows/Start\\ Menu/Programs/DipTrace/Schematic.lnk
Type=Application
StartupNotify=true
Path=/home/sevkin/.wine/dosdevices/c:/Program Files (x86)/DipTrace
Icon=20D5_Schematic.0
StartupWMClass=schematic.exe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment