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 thread.
View all comments View context
0 points

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.

permalink
report
parent
reply
0 points
*

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.

permalink
report
parent
reply
0 points

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!

permalink
report
parent
reply
1 point

Awesome! Glad it worked out

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

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

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

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

Community stats

  • 7.2K

    Monthly active users

  • 6.6K

    Posts

  • 179K

    Comments