Giter Site home page Giter Site logo

supermemo-wine's Issues

making Supermemo anti-aliasing free

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.
Anti-Aliasing in wine

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.

Bug with Toolkit -> Options -> Fonts "use question and answer fonts in HTML"

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:

  1. Go to menu -> Toolkit -> Options -> Fonts
  2. uncheck "use question and answer fonts in HTML"
  3. Bring an Item with a plain text component into the Element window
  4. right click -> text-> Font -> Edit Font
  5. change the font
  6. Go to menu -> Toolkit -> Options -> Fonts "use question and answer fonts in HTML"
  7. Result: The checkbox "use question and answer fonts in HTML" is checked.

My expectation was, that the checkbox is still unchecked. This is the case in windows, but not in Lutris.
Strange!

Sleep chart calendar does not work with negative intervals

Platform information

SuperMemo 17 installed with supermemo17.verb on up-to-date Arch Linux

Output of uname -rom

5.5.2-zen1-1-zen x86_64 GNU/Linux

Output of wine --version

wine-5.0 (Staging)

Problem Description

Cannot change the calendar view to a date in the past. (negative interval in the interval dialog)
Future dates seems to be working correctly.

Steps to reproduce

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"

Program output (if applicable)

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.

Sound does not work

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:
SM17 Player fehler

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.
(?)

SM18: Error: "Cannot open player device"

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

  1. started Lutris 0.5.7.1
  2. searched for supermemo "search Lutis net"
  3. selected SM 18
  4. pressed the install button
  5. provided the folder for the prefix and the path to the sm18 installer

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:
ksnip_20220111-160445

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.

URL of file needed for install returns 404 error -> Install fails

Platform information

Name of checkout or release of supermemo-wine used

SuperMemo 15.4 verb.

Output of uname -rom

5.15.13-zen1-1-zen x86_64 GNU/Linux

Output of wine --version

wine-7.0-rc5 (Staging)

Output of winetricks --version

20210206-next

Problem Description

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

HTTPS image issue with SuperMemo 18

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

Incremental Video and PDF functionality

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!

SM freezes when using a particular function

How to reproduce:

  1. Bring an Item with html-Components into the Element Window
  2. press Ctrl+Shift+p
  3. press the "history" button
  4. right click->delete
  5. You can not confirm with "OK" now.
  6. SM is friezed

However: It does not freeze, when making this:

  1. Bring an Item with html-Components into the Element Window
  2. press Ctrl+Shift+h
  3. right click->delete
  4. Confirmation works

Edit:
It happens only if "virtual desktop resolution" is checked:
ksnip_20220119-225925

However: When "virtual desktop resolution" is unchecked, then the window with the "yes" button is hidden behind another window:
ksnip_20220120-172623

Stuck on check out lates version when installing sm18inst.exe

Platform information

Name of checkout or release of supermemo-wine used

supermemo18

Output of uname -rom

5.10.10-arch1-1 x86_64

Output of wine --version

wine-6.0

Output of winetricks --version

20201206

Problem Description

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.

Steps to reproduce

I don't need to do anything may be you should unplug your network cable?

Program output (if applicable)

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)
...

Update all installers

  • Verbs with consistent unattended operation
  • Verbs with publicly downloadable commercial installers
  • Incorporate non-winetricks installers
  • Add instructions

Is it possible to use win7 or higher version of wine? xp + ie8 is very slow.

Platform information

Name of checkout or release of supermemo-wine used

18

Output of uname -rom

5.11.0-38-generic x86_64 GNU/Linux

Output of wine --version

wine-6.20 (Staging)

Output of winetricks --version

20210206-next - sha256sum: 35438443042d8c140e5981a0921c0e8d3b4a0e8f820d3c8b2ba76776d48d54c6

Problem Description

Import article is very slow.

Steps to reproduce

[enter text here]

Program output (if applicable)

[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.

Font size too small on HiDPI

I have tried changing the display using winecfg per the supermemo linux wiki page recommendation, however that does not work.
Screenshot of Problem:
Screenshot from 2021-02-16 20-57-05
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?:
Screenshot from 2021-02-16 20-57-14
Any help is appreciated, thanks!

Internet Explorer and windows managing

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!

sh: Can't open winetricks

Platform information

MX Linux 19 (Debian, Xfce)

Name of checkout or release of supermemo-wine used

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. (?)

Screen-size problems/AHK scripts/problems with the toolbar

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:

  • right-clicking a topic near the bottom or top of the screen will not re-adjust so that I can see all of the options but instead will disappear of the side of the screen (this means I can't use the process branch at all). Also some windows (The Element Priority window for example) opens far to the right and closer to the bottom that usual - I don't have any other screen-size related issues on my machine
  • two of my older collections that I made on a previous Linux installation wont display '-' but instead displays ' ' (I made a new collection that doesn't share this problem) any ideas on how to remedy this?
  • I've heard it's possible to use AHK scripts with SM Wine. Could you explain how it's possible to have them run alongside SM?
  • on the toolbar there is a lot of text next to some of the icons which mean that many of the icons further to right (such as the concept registry) are not seen. The text next to Icons: ReplaceB; ToolsBtn; Command; Layout
  • Is it possible to run SM directly from eshell? I run SM in Bash with: 'WINEPREFIX=~/.local/share/wineprefixes/supermemo18 wine ~/.local/share/wineprefixes/supermemo18/drive_c/SuperMemo/sm18.exe'
  • just to let you know (this doesn't bother me at all) when navigating through the options in the drop down menus (File, Edit etc) the theme of the options that my cursor has passed over turns to a light theme

/usr/bin/winetricks: 7: ./supermemo17.verb: Syntax error: newline unexpected

Desktop Linux Mint 19

Name of checkout or release of supermemo-wine used

?

Output of uname -rom

4.15.0-99-generic x86_64 GNU/Linux

Output of wine --version

[wine-3.6 (Ubuntu 3.6-1)]

Output of winetricks --version

[20180217 - sha256sum: 1b156c616174f41df79d72a90c52eb2b110c63a6e8ecb865d303a8f9f0908924]

Problem Description

[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.

Improve README

  • Explicitly mention compatibility table
  • Mention manual steps for commercial edition installers (#7)
  • Mention winetricks warning about outdated Ubuntu/Debian winetricks packages

phonetic font is not displayed correctly

How it looks:
SM phonetic font

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">&#618;</FONT>pr&#601;s]<SPAN class=Apple-converted-space>&nbsp;</SPAN></SPAN></BODY></HTML>

[Bug] changing default stylesheet: SM17 freezes

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:

  1. Press "add new" so that a new blank element is created using the default template "Item" and "default Style"
  2. Type in some text in both html Components
  3. menu->Tools->Optins->Fonts
  4. uncheck "use question and anwer fonts in html"
  5. press stylesheet
  6. choose text
  7. press the font button
  8. change font size (choose a greater size)
  9. press OK
  10. and again OK
    Result: SM is frozen.

Thank you for reproducing this.

.
.
Lutris: 0.5.7.1
ksnip_20220110-215526

Multi-edition installer

Interactive multi-edition installer. Single entry point to all installers.

Highlights:

  • Installation of several editions with no conflicts
  • Multiple installations of a given SM edition
  • Automatic downloading of freely available installers (i.e. non-commercial ones)
  • Permisiveness of checksum verifications with user-provided installers
  • Support for applying patches
  • Easy access to winecfg and regedit tools, etc. in the scope of the wine prefix

sh: 0: Can't open winetricks

$ 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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.