That’s surprising to me!
I found it at /usr/local/share/applications/anki.desktop
. I looked in all the wrong spots before that. I’m not knowledgeable about .desktop
files, but I can try to figure something out if you’ve got a guess. Here are the contents of mine:
[Desktop Entry]
Name=Anki
Comment=An intelligent spaced-repetition memory training program
GenericName=Flashcards
Exec=anki %f
TryExec=anki
Icon=anki
Categories=Education;Languages;KDE;Qt;
Terminal=false
Type=Application
Version=1.0
MimeType=application/x-apkg;application/x-anki;application/x-ankiaddon;
#should be removed eventually as it was upstreamed as to be an XDG specification called SingleMainWindow
X-GNOME-SingleWindow=true
SingleMainWindow=true
edit:
I just checked via my terminal. I get the same warning, but Anki launches anyway. So that can probably be safely ignored on your end too.
Now that you’ve checked the dependencies, I’ll give my unfortunate suspicion. Files that should have execution permissions don’t have them.
Here’s my output from checking the execution permissions on that file:
$ ls -lh /usr/local/share/anki/lib/PyQt6/Qt6/libexec/QtWebEngineProcess
-rwxr-xr-x 1 root root 24K 12月 7 22:25 /usr/local/share/anki/lib/PyQt6/Qt6/libexec/QtWebEngineProcess
If yours doesn’t have execution permissions on it, it’s likely that there are many others without them. For example, here’s my output when checking how many files have execution permission set for any of user, group, or other in the directory /usr/local/share/anki
:
$ find /usr/local/share/anki -perm /111 | wc -l
248
If your situation looks different, I recommend reinstalling Anki. I could give you the list of files, but that’s a bit much for around 250 files. And it wouldn’t guarantee a solution.
For uninstalling, if you had something else install Anki, use it again to uninstall.
If not, your uninstall.sh
needs to be given execution permission: your prior results gave -rw-r–r-- 1 root root 380 Feb 22 2023 uninstall.sh
. So the steps would be a bit different:
cd /usr/local/share/anki/
sudo chmod +x uninstall.sh
sudo ./uninstall.sh
For installing, redownload Anki from https://apps.ankiweb.net and then reinstall by following the directions in the installation section of Install & Upgrade - Anki Manual