Public bug reported: The following desktop file works in 22.04 and 24.04, but it does not work in 24.10.
/usr/share/applications/temurin-11-jre.desktop Code: [Desktop Entry] Name=Temurin Java 11 Runtime Comment=Temurin Java 11 Runtime Keywords=java;runtime Exec=cautious-launcher %f /usr/lib/jvm/jdk-11.0.25+9-jre/bin/java -jar Terminal=false Type=Application Icon=openjdk-11 MimeType=application/x-java-archive;application/java-archive;application/x-jar; NoDisplay=true Error message Code: sudo xdg-mime default /usr/share/applications/temurin-11-jre.desktop application/x-java-archive [sudo] password for user: qtxdg.mimeapps.glib: Failed to load GDesktopAppInfo for '/usr/share/applications/temurin-11-jre.desktop' Could not set '/usr/share/applications/temurin-11-jre.desktop' as default for 'application/x-java-archive' ProblemType: Bug DistroRelease: Ubuntu 24.10 Package: xdg-utils 1.2.1-0ubuntu1 ProcVersionSignature: Ubuntu 6.11.0-9.9-generic 6.11.0 Uname: Linux 6.11.0-9-generic x86_64 ApportVersion: 2.30.0-0ubuntu4 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: LXQt Date: Tue Nov 12 16:07:25 2024 InstallationDate: Installed on 2024-11-11 (0 days ago) InstallationMedia: Lubuntu 24.10 "Oracular Oriole" - Release amd64 (20241007.1) PackageArchitecture: all SourcePackage: xdg-utils UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: xdg-utils (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug oracular -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xdg-utils in Ubuntu. https://bugs.launchpad.net/bugs/2087918 Title: [24.10] Got "Failed to load GDesktopAppInfo" error in custom created desktop file Status in xdg-utils package in Ubuntu: New Bug description: The following desktop file works in 22.04 and 24.04, but it does not work in 24.10. /usr/share/applications/temurin-11-jre.desktop Code: [Desktop Entry] Name=Temurin Java 11 Runtime Comment=Temurin Java 11 Runtime Keywords=java;runtime Exec=cautious-launcher %f /usr/lib/jvm/jdk-11.0.25+9-jre/bin/java -jar Terminal=false Type=Application Icon=openjdk-11 MimeType=application/x-java-archive;application/java-archive;application/x-jar; NoDisplay=true Error message Code: sudo xdg-mime default /usr/share/applications/temurin-11-jre.desktop application/x-java-archive [sudo] password for user: qtxdg.mimeapps.glib: Failed to load GDesktopAppInfo for '/usr/share/applications/temurin-11-jre.desktop' Could not set '/usr/share/applications/temurin-11-jre.desktop' as default for 'application/x-java-archive' ProblemType: Bug DistroRelease: Ubuntu 24.10 Package: xdg-utils 1.2.1-0ubuntu1 ProcVersionSignature: Ubuntu 6.11.0-9.9-generic 6.11.0 Uname: Linux 6.11.0-9-generic x86_64 ApportVersion: 2.30.0-0ubuntu4 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: LXQt Date: Tue Nov 12 16:07:25 2024 InstallationDate: Installed on 2024-11-11 (0 days ago) InstallationMedia: Lubuntu 24.10 "Oracular Oriole" - Release amd64 (20241007.1) PackageArchitecture: all SourcePackage: xdg-utils UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xdg-utils/+bug/2087918/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp