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!

  • communism@lemmy.ml
    link
    fedilink
    arrow-up
    5
    ·
    2 days ago

    The commenter talking about xdg desktop portal is correct for the file picker; you need to install a portal for that.

    I can’t get links to open from discord

    Are you using dbus? Display managers normally will launch graphical sessions with dbus for you, but if you’re manually launching from the tty, use dbus-run-session sway (or the name of the executable you want to run). dbus is used for applications to communicate with each other, e.g. Discord to communicate with your browser. And you need dbus installed and the daemon running, of course.

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

      I don’t know what dbus is but I am launching sway through ly so… maybe? I’ll check.

      Edit: a very brief google search with ly and dbus says no, it does not launch dbus correctly. So Ill go ahead and look into that

      • communism@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        1 day ago

        Not sure what ly is but basically I’m saying you should be using the dbus-run-session sway command to run sway instead of just sway. If dbus is installed and the daemon is running then this will allow you to e.g. open links in Discord.