Inkscape stopped working, assertion failed: display_wayland->cursor_theme_name
https://askubuntu.com/questions/1567879/inkscape-stopped-working-assertion-failed-display-wayland-cursor-theme-nameI'm on Ubuntu 25.10 with default everything. Until I tried xfce (briefly) then switched back.
Since then I can't run Inkscape. When I run it from the terminal I get
$ inkscape
(inkscape:399944): Gdk-WARNING **: 16:25:22.955: Failed to load cursor theme Yaru
(inkscape:399944): Gdk-WARNING **: 16:25:23.011: Failed to load cursor theme Yaru
**
Gdk:ERROR:../../../../../gdk/wayland/gdkdisplay-wayland.c:1141:_gdk_wayland_display_get_scaled_cursor_theme: assertion failed: (display_wayland->cursor_theme_name)
Bail out! Gdk:ERROR:../../../../../gdk/wayland/gdkdisplay-wayland.c:1141:_gdk_wayland_display_get_scaled_cursor_theme: assertion failed: (display_wayland->cursor_theme_name)
Emergency save activated!
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at https://inkscape.org/report
with a detailed description of the steps leading to the crash, so we can fix it.
**
Gdk:ERROR:../../../../../gdk/wayland/gdkdisplay-wayland.c:1141:_gdk_wayland_display_get_scaled_cursor_theme: assertion failed: (display_wayland->cursor_theme_name)
Bail out! Gdk:ERROR:../../../../../gdk/wayland/gdkdisplay-wayland.c:1141:_gdk_wayland_display_get_scaled_cursor_theme: assertion failed: (display_wayland->cursor_theme_name)
Aborted (core dumped)
I think xfce might have reset the cursor theme, or I might even have done it myself, I don't recall.
But using Tweaks I've set the cursor theme to Yaru.
That theme isn't listed when I run
$ sudo update-alternatives --config x-cursor-theme
There are 7 choices for the alternative x-cursor-theme (providing /usr/share/icons/default/index.theme).
Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/share/icons/Adwaita/cursor.theme 90 auto mode
1 /etc/X11/cursors/core.theme 30 manual mode
2 /etc/X11/cursors/handhelds.theme 20 manual mode
3 /etc/X11/cursors/redglass.theme 20 manual mode
4 /etc/X11/cursors/whiteglass.theme 20 manual mode
5 /usr/share/icons/Adwaita/cursor.theme 90 manual mode
6 /usr/share/icons/DMZ-Black/cursor.theme 30 manual mode
7 /usr/share/icons/DMZ-White/cursor.theme 50 manual mode
But /usr/share/icons/Yaru/cursor.theme does exist.
I have also tried running
$ dconf reset /org/gnome/desktop/interface/cursor-theme
but no luck.
Following this question I checked and these files exist:
/usr/share/icons/Yaru/cursors/default
/usr/share/icons/Yaru/cursors/left_ptr
Any ideas what's wrong, and how I can get Inkscape running again?





