Cannot launch the Flatpak version on Fedora KDE 43

Operating system

Linux

Joplin version

3.3.12

Sync target

Dropbox

What issue do you have?

The app automatically closes without even launching.
Launching it through terminal returns the following:

LaunchProcess: failed to execvp: xdg-settings Sentry: Initialized with autoUploadCrashDumps: false

In the meantime, rpm -q xdg-utils returns:
xdg-utils-1.2.1-4.fc43.noarch

What should I do to fix this?

One thing to try is removing ~/.config/joplin-desktop/ files, as described here:

Let us know if it works for you.

I have already done this and it fixed the problem, for a few days, at least. Now the issue is different, unfortunately.

However, performing a system update somehow fixed it again, hopefully, for good this time.

It came back again. This is what I had to do to fix it:

sudo rm /usr/local/bin/xdg-settings
hash -r # Clear shell cache
which xdg-settings # Now shows /usr/bin/xdg-settings
flatpak override --user --filesystem=/usr/bin net.cozic.joplin_desktop