alessivs / supermemo-wine Goto Github PK
View Code? Open in Web Editor NEWProject to make SuperMemo for Windows editions runnable with Wine
Project to make SuperMemo for Windows editions runnable with Wine
In windows I had disabled anti-aliasing.
Now in the wine -version of Supermemo, the GUI is also anti-aliasing free, but in the Items the texts have anti-aliasing.
How can we disable anti-aliasing in the whole Supermemo? Is there any possibility?
Please note: To see exactly how the picture looks, right click with your mouse on it, choose "save picture". Open it in nomacs. Choose menu->view->disable anti-aliasing. Click the symbol 1:1
Now you see, what I saw.
Thank you.
It looks like I have found a Bug in the Lutris version of SM 18.05:
When I change the font in my plain text component, then automatically SM checks the checkbox in menu -> Toolkit -> Options -> Fonts "use question and answer fonts in HTML".
This only happens, when I use the Lutris version, but not when I make the same in Windows.
How to reproduce:
My expectation was, that the checkbox is still unchecked. This is the case in windows, but not in Lutris.
Strange!
SuperMemo 17 installed with supermemo17.verb on up-to-date Arch Linux
uname -rom
5.5.2-zen1-1-zen x86_64 GNU/Linux
wine --version
wine-5.0 (Staging)
Cannot change the calendar view to a date in the past. (negative interval in the interval dialog)
Future dates seems to be working correctly.
1. Open Sleep Chart from Tools (or F12)
2. Click on Calendar icon
3. Select a date in the past or enter negative interval
4. Click "OK"
002c:fixme:win:WINNLSEnableIME hwnd 0x3021c enable -1: stub!
On a side note, I want to thank you for this superb guide and work you have put into this.
Do you use Goldendict together with Lutis-wine-Supermemo?
http://goldendict.org/wiki/index.php/Main_Page
If yes: Can you confirm that the scan function does not work, only Ctrl+C+C works?
If yes: I guess there is no way to change that? Is it?
Thank you.
After the successful install of SM in wine with your verb I moved my old collection from windows into the SM "systems" folder.
Most of my Items use sound. When I now open such an item there is a message:
I have tried "Pulseaudio" and "Internes Audio Analog Stereo" in audio-tab in winecfg. Both does not solve the issue. But when I perform the test "test sound"-button in winecfg I can here the sound. This test is successful.
(?)
I have tried to install SuperMemo 18 Lutris variant.
Everything went as expected, but the sound does not work:
Message: "Cannot open player devic"
How did I install SM 18?
System: Linux MX 19.4
Started sm18 with Lutris "play"
What I have tried to solve the issue:
Pressed the configure button in Lutris.
In the tab "runner options" I have added this:
Then I have tried again.
-> Same message
After I have started Winetricks from Lutris and installed "quartz".
Tried again. Still the same.
After I have change the wine version in Lutris "Runner options".
I have tried:
-Lutris-5.0
-Wine HQ (Stagging (6.5)
-System (6.5 (Stagging))
It's still the same.
I had the same issue, when I was installing SM 17 1.5 years ago.
With your help I was then successful. You have said, that you will make a Lutris install variant. I took it for granted, that in this Lutris Install the fix for "sound" is already included, because it takes another wine (Lutris wine) that contains all what is necessary to also bring the sound to work. (?)
Isn't this so?
Thank you.
SuperMemo 15.4 verb.
uname -rom
5.15.13-zen1-1-zen x86_64 GNU/Linux
wine --version
wine-7.0-rc5 (Staging)
winetricks --version
20210206-next
Downloading https://ftp.hp.com/pub/softlib/software/msi/InstMsiW.exe to /home/wineuser/.cache/winetricks/msls31
warning: sha256sum mismatch! Rename /home/wineuser/.cache/winetricks/msls31/InstMsiW.exe and try again. Alternatively, use --force to ignore this check.
Notice that the URL returns 404 and file
gives /home/wineuser/.cache/winetricks/msls31/InstMsiW.exe: HTML document, ASCII text
I'm having issues getting https images to display and import properly in SuperMemo 18 and I'm a bit stumped. I do the following:
$ rm -fr /home/user/.wine/ /home/user/.local/share/wineprefixes/
$ wget https://archive.archlinux.org/packages/w/wine/wine-5.2-1-x86_64.pkg.tar.zst
$ wget https://archive.archlinux.org/packages/w/wine-gecko/wine-gecko-2.47.1-1-x86_64.pkg.tar.xz
$ wget https://archive.archlinux.org/packages/w/wine-mono/wine-mono-4.9.4-1-any.pkg.tar.xz
$ sudo pacman -U wine-5.2-1-x86_64.pkg.tar.zst wine-gecko-2.47.1-1-x86_64.pkg.tar.xz wine-mono-4.9.4-1-any.pkg.tar.xz
$ env WINEARCH=win32 sh winetricks arch=32 prefix=sm18
$ cp sm18inst.exe /home/user/.cache/winetricks/supermemo18/sm18inst.exe
$ sh winetricks prefix=sm18 supermemo18.verb
No obvious errors. But now, running $ env WINEPREFIX=/home/user/.local/share/wineprefixes/sm18 wine ~/.local/share/wineprefixes/sm18/drive_c/SuperMemo/sm18.exe
gives me a version of SuperMemo 18 that does not show https images in HTML components. Editing the https <img>
tag to http (where available) works correctly, so it must be the issue.
I attempt the fix here to patch in a verb to winetricks to add support for TLS 1.1/1.2 to IE8. I followed these steps and attempted to mess around with enabling Mixed content and various other things in the IE8 security settings to no avail; images will not load.
Any advice on how to proceed would be appreciated.
$ uname -rom
5.10.60-1-MANJARO x86_64 GNU/Linux
$ wine --version
wine-5.2
$ winetricks --version
20210206-next - sha256sum: 354ea7faad1b0e77d5e96453c263a1ab23ab502c87ae2aee60a82ec820d0058e
Hi there,
Do you have any experience setting up Incremental Video and PDF functionality with SuperMemo Wine?
I've heard its possible with help of the Emacs package org-noter for PDF and org-media-note, mpv and IPV handlers for Incremental Video.
On the Emacs side it should be straight forward but I wouldn't know what to do on the SuperMemo end.
I would love to set this up and any help would be greatly appreciated!
How to reproduce:
However: It does not freeze, when making this:
Edit:
It happens only if "virtual desktop resolution" is checked:
However: When "virtual desktop resolution" is unchecked, then the window with the "yes" button is hidden behind another window:
supermemo18
uname -rom
5.10.10-arch1-1 x86_64
wine --version
wine-6.0
winetricks --version
20201206
use sm18inst.exe to install the supermemo18 need to check out the latest version,but can't connect to the internet. And enven though wait timed out, it still try to connect, so it became an endless loop like:
So it makes me stuck on the installation.
I think I need to edit ahk script to click the canncel button, but I don't know how it works.
I don't need to do anything may be you should unplug your network cable?
0100:err:ntdll:RtlpWaitForCriticalSection section 7BC62360 "../wine/dlls/ntdll/loader.c: loader_section" wait timed out in thread 0100, blocked by 00fc, retrying (60 sec)
010c:err:ntdll:RtlpWaitForCriticalSection section 7BC62360 "../wine/dlls/ntdll/loader.c: loader_section" wait timed out in thread 010c, blocked by 00fc, retrying (60 sec)
00f8:err:ntdll:RtlpWaitForCriticalSection section 7BC62360 "../wine/dlls/ntdll/loader.c: loader_section" wait timed out in thread 00f8, blocked by 00fc, retrying (60 sec)
0100:err:ntdll:RtlpWaitForCriticalSection section 7BC62360 "../wine/dlls/ntdll/loader.c: loader_section" wait timed out in thread 0100, blocked by 00fc, retrying (60 sec)
010c:err:ntdll:RtlpWaitForCriticalSection section 7BC62360 "../wine/dlls/ntdll/loader.c: loader_section" wait timed out in thread 010c, blocked by 00fc, retrying (60 sec)
00f8:err:ntdll:RtlpWaitForCriticalSection section 7BC62360 "../wine/dlls/ntdll/loader.c: loader_section" wait timed out in thread 00f8, blocked by 00fc, retrying (60 sec)
0100:err:ntdll:RtlpWaitForCriticalSection section 7BC62360 "../wine/dlls/ntdll/loader.c: loader_section" wait timed out in thread 0100, blocked by 00fc, retrying (60 sec)
010c:err:ntdll:RtlpWaitForCriticalSection section 7BC62360 "../wine/dlls/ntdll/loader.c: loader_section" wait timed out in thread 010c, blocked by 00fc, retrying (60 sec)
...
18
uname -rom
5.11.0-38-generic x86_64 GNU/Linux
wine --version
wine-6.20 (Staging)
winetricks --version
20210206-next - sha256sum: 35438443042d8c140e5981a0921c0e8d3b4a0e8f820d3c8b2ba76776d48d54c6
Import article is very slow.
[enter text here]
[enter text here]
I found that when I select article and Alt + X make notes, sm18 use nearly 1minutes on each operation. Then I talk to someone who use sm18, he said XP is very slow.
I have tried changing the display using winecfg per the supermemo linux wiki page recommendation, however that does not work.
Screenshot of Problem:
Furthermore, I am unable to change the interface font size to over 14 (although I can change the other types of font sizes). Maybe this has something to do with the issue?:
Any help is appreciated, thanks!
I get this error after running the second script.
Also - do I need to place sm18inst.exe somewhere specific?
I'm running Arch 64-bit, wine-6.6, winetricks: 20210206 - sha256sum
Thanks very much!
As for use of IE with SM - I've managed to open it with: WINEPREFIX=~/.local/share/wineprefixes/supermemo18 wine ~/.local/share/wineprefixes/supermemo18/drive_c/Program\ Files/Internet\ Explorer/iexplore.exe
I read that you can't do mass imports, or have a running instance of IE - in that case: how do you use in conjunction with SM?
With regards to windows managing - I imagine it takes some experimentation to find what windows setting (under winecfg/Graphics) works depending on the WM/DEs used - but if you have general advice, that'd be helpful - I haven't found setting that allow me to be able to switch between tags (alt+tab) in dwm that's worked yet - perhaps you know of a specific patch that can help?
Thanks again!
MX Linux 19 (Debian, Xfce)
supermemo17.verb
Wine 5.2
Winetricks 0.0+20181203-3
When I open my terminal and type in :
env WINEARCH=win32 sh winetricks arch=32 prefix=supermemo17
I get the following Output:
sh: 0: Can't open winetricks
Seems not to work. (?)
First of all, thanks very much for SuperMemo Wine - I've been using it for some time and its been working very well.
A few things I'd love to sort out:
?
uname -rom
4.15.0-99-generic x86_64 GNU/Linux
wine --version
[wine-3.6 (Ubuntu 3.6-1)]
winetricks --version
[20180217 - sha256sum: 1b156c616174f41df79d72a90c52eb2b110c63a6e8ecb865d303a8f9f0908924]
[I first got the same error message in a closed issue:
sh: Can't open winetricks
I changed the command to
env WINEARCH=win32 sh /usr/bin/winetricks arch=32 prefix=supermemo17
and then got output:
"wine cmd.exe /c echo '%ProgramFiles%' returned empty string, error message "wine: WINEARCH set to win32 but '/home/user/.wine' is a 64-bit installation.""
sh /usr/bin/winetricks prefix=supermemo17 supermemo17.verb
Output:
You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
Using winetricks 20180217 - sha256sum: 1b156c616174f41df79d72a90c52eb2b110c63a6e8ecb865d303a8f9f0908924 with wine-3.6 (Ubuntu 3.6-1) and WINEARCH=win64
You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
/usr/bin/winetricks: 7: ./supermemo17.verb: Syntax error: newline unexpected]
Installation process stopped with the above error.
The content of the html component with shift+Ctrl+F6:
<HTML><HEAD></HEAD>
<BODY BORDER-BOTTOM: blue thin solid; BORDER-LEFT: blue thin solid; OVERFLOW: auto; BORDER-TOP: blue thin solid; BORDER-RIGHT: blue thin solid">Cyprus <SPAN style="WIDOWS: 2; TEXT-TRANSFORM: none; BACKGROUND-COLOR: rgb(255,255,255); TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: 14px Tahoma, Verdana, 'Lucida Sans Unicode', 'Segoe UI', 'Palatino Linotype', 'Arial Unicode MS', sans-serif; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" class=Apple-style-span>[Lgdt: 'sa<FONT face="lucida sans unicode">ɪ</FONT>prəs]<SPAN class=Apple-converted-space> </SPAN></SPAN></BODY></HTML>
I use your Lutris variant of SM 17. I use the installation I have made about 1.5 years ago.
What's the problem? Answer: SM17 freezes.
How to reproduce:
Thank you for reproducing this.
No person carries two umbrellas for themselves. Dissuades others from lending their own.
Interactive multi-edition installer. Single entry point to all installers.
Highlights:
winecfg
and regedit
tools, etc. in the scope of the wine prefixNormally I can press CTRL+ALT+D to minimize all open programs, so that the desktop appears.
This does not work when SM from Lutris-Wine is open. I also can not minimize SM itself.
Can you reproduce this?
Document partial success. Requirements, bugs, interactions, etc.
$ env WINEARCH=win32 sh winetricks arch=32 prefix=supermemo17
sh: 0: Can't open winetricks
$ uname -rom
5.4.0-42-generic x86_64 GNU/Linux
$ wine --version
wine-5.0 (Ubuntu 5.0-3ubuntu1)
$ winetricks --version
20200412 - sha256sum: 7651c93e39fcb080483c38836513bf912273a87ea97d137f6b958ed3d9628c3d
I see there is a closed issue with a similar error message but that user is using a different linux distribution so not sure if the solution is the same.
I'm new on Linux.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.