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                                          
  • Aduentix@lemmy.worldOP
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

    I’ve replied this to a different comment as well, but wouldn’t this mean I couldn’t switch back? Because currently I can just select my DE in a dropdown on the login screen.

    • Wr4ith@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      2 years ago

      No you can always recover, uninstall it and reinstall later if you need it.

      Looks like you could just mv /usr/share/xdg-desktop-portal/portals/gnome.portal /home/<your-profile> and remove the associated env variable. This way you don’t mess with your packages. I’d start with the wiki linked in this thread.

      • Aduentix@lemmy.worldOP
        link
        fedilink
        arrow-up
        0
        ·
        2 years ago

        Okay, I uninstalled the gnome portal, which meant I had to uninstall gnome-shell, which lead to GMD crashing (that I was apparently using lol), which was scary at first, but I was able to start Hyperland from a TTY without issue, and don’t receive an error anymore, thanks!