So I’ve recently made the move and switched from DEs like GNOME or KDE to hyprland. It seems to work great, but every time I initially launch it, I see the error / warning: you have one or more incomparable xdg-desktop-portal-impls installed please remove incomparable ones to avoid issues. I’ve looked online a bunch, but I’ve only found posts offering solutions specifically for arch linux, and I am on Fedora. I understand that I have some duplicate implementations of portals (?), but I don’t feel comfortable to just yoink random packages. Obviously, I would be happy if I get the solution for fedora, but optimally I would like a solution, that would let me figure out the redundant / incompatible package myself next time, not matter the distribution.

I hope it’s okay to ask questions like this here :)

Here is the output of sudo dnf list | grep portal if that helps:

libportal.x86_64                                                                         0.6-6.fc38                                                       @fedora                                         
libportal-gtk3.x86_64                                                                    0.6-6.fc38                                                       @fedora                                         
libportal-gtk4.x86_64                                                                    0.6-6.fc38                                                       @fedora                                         
xdg-desktop-portal.x86_64                                                                1.16.0-3.fc38                                                    @fedora                                         
xdg-desktop-portal-gnome.x86_64                                                          44.1-1.fc38                                                      @updates                                        
xdg-desktop-portal-gtk.x86_64                                                            1.14.1-2.fc38                                                    @fedora                                         
xdg-desktop-portal-wlr.x86_64                                                            0.7.0-1.fc38                                                     @updates                                        
kodi-pvr-mediaportal-tvserver.x86_64                                                     1:20.3.0-1.fc38                                                  rpmfusion-free                                  
libportal.i686                                                                           0.6-6.fc38                                                       fedora                                          
libportal-devel.i686                                                                     0.6-6.fc38                                                       fedora                                          
libportal-devel.x86_64                                                                   0.6-6.fc38                                                       fedora                                          
libportal-devel-doc.noarch                                                               0.6-6.fc38                                                       fedora                                          
libportal-gtk3.i686                                                                      0.6-6.fc38                                                       fedora                                          
libportal-gtk3-devel.i686                                                                0.6-6.fc38                                                       fedora                                          
libportal-gtk3-devel.x86_64                                                              0.6-6.fc38                                                       fedora                                          
libportal-gtk4.i686                                                                      0.6-6.fc38                                                       fedora                                          
libportal-gtk4-devel.i686                                                                0.6-6.fc38                                                       fedora                                          
libportal-gtk4-devel.x86_64                                                              0.6-6.fc38                                                       fedora                                          
libportal-qt5.i686                                                                       0.6-6.fc38                                                       fedora                                          
libportal-qt5.x86_64                                                                     0.6-6.fc38                                                       fedora                                          
libportal-qt5-devel.i686                                                                 0.6-6.fc38                                                       fedora                                          
libportal-qt5-devel.x86_64                                                               0.6-6.fc38                                                       fedora                                          
python3-portalocker.noarch                                                               2.7.0-1.fc38                                                     fedora                                          
tmt-report-reportportal.noarch                                                           1.24.1-1.fc38                                                    updates                                         
xdg-desktop-portal.i686                                                                  1.16.0-3.fc38                                                    fedora                                          
xdg-desktop-portal-devel.i686                                                            1.16.0-3.fc38                                                    fedora                                          
xdg-desktop-portal-devel.x86_64                                                          1.16.0-3.fc38                                                    fedora                                          
xdg-desktop-portal-kde.x86_64                                                            5.27.5-1.fc38                                                    updates                                         
xdg-desktop-portal-lxqt.x86_64                                                           0.3.0-2.fc38                                                     fedora                                          
  • X3I
    link
    fedilink
    5
    edit-2
    1 year ago

    Your problem is the coexistence of these three portals:

    xdg-desktop-portal-{wlr,gnome,gtk}

    You can remove the unused one to get rid of the warning (e.g. keep wlr and potenially also gtk for hyprland). Their main functionality is opening file and screensharing dialogues. Could be that you have to install the gnome one again if you switch to that DE. Read more here:

    https://wiki.archlinux.org/title/XDG_Desktop_Portal

    Hope it helps!

    • @AduentixOP
      link
      11 year ago

      Thanks! So I have to uninstall the portals of all the other DEs I have installed? Because currently, I have a handy dandy DE selector on my login screen. I mean, I didn’t really intend to set it up like this, but it’s nice to have :)