Skip to content

Instantly share code, notes, and snippets.

@muv
Last active May 22, 2019 11:17
Show Gist options
  • Save muv/6d866ab370c4d7e91dc37bdd7c64d030 to your computer and use it in GitHub Desktop.
Save muv/6d866ab370c4d7e91dc37bdd7c64d030 to your computer and use it in GitHub Desktop.
Running CintaNotes on Debian Linux with Wine

CintaNotes on Debian Linux with Wine

Tested on Debian 8.

Install wine-staging following their guide. I used 1.9.5. Regular debian packages wine or wine-development could work, but I have not tried.

Get CintaNotes binaries. I used 2.0.3.

Find riched20.dll and riched32.dll. I used ones from Windows XP with the following SHA256 hashes:

5daa7f6e1eea128aededcaf04eb83aed4bcf856bc123bc134e9fa634dc569c0b *riched20.dll
35b175e750b0efe45ecbbb692561f8d56368adf36fc7a61a2e9eb78ff8d649b9 *riched32.dll

Place these .dlls to the same folder as CintaNotes.exe.

Create a new 32-bit WINEPREFIX with WINEARCH=win32 (Wine FAQ). Let's say it will be in /home/username/.wine-cn

$ cd /opt/wine-staging/bin
$ env WINEARCH=win32 WINEPREFIX=/home/username/.wine-cn winecfg

Do not install Mono.

Add Library overrides of type Native (Windows) for riched20.dll and riched32.dll.

Winecfg library overrides

Find a good PNG icon. I used this one.

Create GNOME shortcut at /home/username/.local/share/applications/cintanotes.desktop adjusting Path and Icon:

[Desktop Entry]
Type=Application
Name=CintaNotes
Exec=env WINEPREFIX=/home/username/.wine-cn /opt/wine-staging/bin/wine CintaNotes.exe
Path=/path/to/cintanotes/directory
Terminal=false
StartupNotify=true
Icon=/path/to/icon.png

Known issues:

  • Paste of non-ASCII characters inserts Unicode escapes e.g. \u0430\u0431\u0432
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment