when attempting to boot minecraft-launcher i receive the following:
[maria@mariapc ~]$ minecraft-launcher
[19004:19035:0331/224029.699993:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.InvalidArgs: No such interface “org.freedesktop.portal.FileChooser”
[19004:19035:0331/224029.700026:ERROR:select_file_dialog_linux_portal.cc(287)] Failed to read portal version property
Created browser window for reuse: 0x800004
interestingly, if i killall minecraft-launcher then delete ~/.minecraft/webcache2 it will open the launcher correctly 1 time before being broken again
Environment
WM: hyprland
Linked issues
is duplicated by 1
relates to 1
Comments 5
I have the same issue, but I made a script that starts on login that automatically deletes the webcache2 folder for me after exit:
#!/bin/bash
# Path to the webcache2 folder
WEBCACHE2_DIR="$HOME/.minecraft/webcache2"
echo "Script started"
while true; do
# Check if the Minecraft Launcher process is running
if pgrep -f "$HOME/.minecraft/launcher/minecraft-launcher" > /dev/null; then
echo "Minecraft launcher is running"
# Wait until Minecraft launcher is no longer running
while pgrep -f "$HOME/.minecraft/launcher/minecraft-launcher" > /dev/null; do
sleep 1
done
echo "Minecraft launcher closed"
# Delete the webcache2 folder after launcher exits
rm -rf "$WEBCACHE2_DIR"
echo "webcache2 folder deleted."
fi
# Sleep for a short time before checking again
sleep 2
done
A more “permanent” solution is to delete the plasma-browser-integration
package, it’s also in the KDE Bugs Tracker (see Bug #501866)
Thank you for your report!
However, this issue has been temporarily closed as Awaiting Response.
Could you please provide a video for this issue?
Does the issue occurs on the newest Arch Linux update?
Does the issue occurs on the newest regular and legacy launcher version?
Can you also please uninstall the Launcher, delete .minecraft folder (copy its content elsewhere before deletion) and then reinstall, restart your computer. Then please try to boot the Launcher.
This ticket will automatically reopen when you reply.
Same thing in endeavour os (arch based distro) with KDE Plasma as WM