So I finally switched my desktop from windows to EOS after years of running headless linux servers.

I’m having a good time of it but I want to be one of the cool kids and use a tiling windows manager. And ive been loving that too. Except I can’t get links to open from discord and steam can’t open the file browser. I could just boot into KDE or GNOME to add non-steam games to my library but I don’t want to goddamnit. What can I do to start fixing this issue? Haven’t found any solutions online.

Edit: looks like I found the solution, portal was installed but never ran at startup. A quick exec inside the sway config has solved my issues. Thank you everybody!

  • Chaser@lemmy.zip
    link
    fedilink
    arrow-up
    16
    ·
    2 days ago

    Welcome to Sway club! 😜 This sounds like you haven’t installed an xdg desktop portal (https://wiki.archlinux.org/title/XDG_Desktop_Portal) I personally installed the gnome ones. However you can pick any of these. They provide stuff like file pickers, etc. Regarding the links there was a command to set the default app for different mime types using xdg-open. Unfortunately I wasn’t able to find it.

    • Vendetta9076@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      5
      ·
      2 days ago

      Thanks! This fixed part of my problem lol. The “browse local files” button works but if I want to add a non steam game or customize said non steam game with images, that still doesnt work. Which is… Odd.

      • Chaser@lemmy.zip
        link
        fedilink
        arrow-up
        2
        ·
        1 day ago

        That’s odd 🤔

        Just for the protocol: besides installing it you also launched xdg-desktop-portal, right?

        /usr/lib/xdg-desktop-portal -r & /usr/lib/xdg-desktop-portal-gtk
        

        Also you need both, xdg-desktop-portal and xdg-desktop-portal-[your choice].