Help needed installing anki on fedora (XFCE)

This is the output I get from running anki:

Anki starting…
Initial setup…
Preparing to run…
File “”, line 1, in
File “aqt”, line 519, in run
File “aqt”, line 592, in _run
File “aqt.profiles”, line 139, in setupMeta
File “aqt.profiles”, line 424, in _loadMeta
resetting corrupt _global
Qt warning: QGuiApplication::setDesktopFileName: the specified desktop file name ends with .desktop. For compatibility reasons, the .desktop suffix will be removed. Please specify a desktop file name without .desktop suffix
Qt warning: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
Qt info: Could not load the Qt platform plugin “xcb” in “” even though it was found.
Qt fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: linuxfb, wayland, vnc, xcb, eglfs, offscreen, minimalegl, minimal, vkkhrdisplay, wayland-egl.

Aborted (core dumped)

Based on the help I previously got from @stupid, I’ve been searching for xcb-cursor0 and libxcb-cursor0 on .

Any help would be really appreciated.

I see you mentioned the Fedora search. Are you on Fedora? If not, what distribution and version?

Someone had a similar issue on Ubuntu which was solved by installing libxcb-cursor-dev: c++ - from 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin - Stack Overflow That comment has a link to another discussion: Could not load the Qt platform plugin "xcb" in "" even though it was found." | Qt Forum

I’ll be able to spend some more time answering throughout this week, but not right now.

edit1: I see that I didn’t read the title all the way. I’ll look into this on Thursday.

Sorry, I didn’t read your title all the way through the first time. What version of Fedora are you on?

I didn’t get much time to look today. I’ll attempt again on Saturday if you don’t get a solution. I haven’t used Fedora, so it’ll take me some little extra time to learn.

The error includes an OR, so we just need to get one:

I haven’t found an exact match for xcb-cursor0 or libxcb-cursor0 yet.

Because of that, I’d see if the error goes away when installing xcb-util-cursor, which has, as an attempt to get libxcb-cursor0 covered despite it not being in the description exactly: xcb-util-cursor-0.1.4-4.fc40 - Fedora Packages

It’s Saturday! I’m now very confident in my last answer. Please let me know if installing xcb-util-cursor works.

For reference, below is the list of files for Ubuntu’s libxcb-cursor0 (link):


Fedora’s xcb-util-cursor (link) provides both and It’s essentially the same package as Ubuntu’s libxcb-cursor0.

There isn’t a xcb-cursor0 on Ubuntu to reference. However, the instructions on the Anki manual’s installation page (link) only shows libxcb-cursor0, not xcb-cursor0.

1 Like