this post was submitted on 24 Jun 2023
2 points (75.0% liked)

Linux

48144 readers
617 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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                                          
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 year ago* (last edited 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!