Fix xdg-desktop-portal issue on Ubuntu 25.04 development version

As of today there is a rotten issue in Ubuntu 25.04 regarding several features not working due to problems with xdg-desktop-portal. Apps won’t open by clicking, menus not working, download problems, etc.

BUT NOW ALL YOUR PROBLEMS ARE GONE LADIES!

Clone from the official repos, the three problematic packages

  • xdg-desktop-portal
  • xdg-desktop-portal-gtk
  • xdg-desktop-portal-gnome

https://github.com/flatpak/xdg-desktop-portal

https://github.com/flatpak/xdg-desktop-portal-gtk

https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome


git clone <repo>

cd <package>
meson build –prefix=/usr

ninja -C build

sudo ninja -C build install

You will probably need to install lotsa dependencies the script will complain, with that I cannot help specifically, but usually you put the name of the complained lib prefixed with lib<name>-dev and sudo apt install <lib package name>;

After doing the above process for all three packages, Just reboot, things will work again.

Comments

Deixe um comentário

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *