1

I've been observing an unusual behavior from Sway on Fedora 39 (which also has GNOME installed, and I need to keep GNOME installed). The desktop starts up, but any GTK apps I launch won't open until about 25 seconds have passed. Also, my waybar never appears until I reload the configuration after the 25 seconds have elapsed.

How do I prevent this delay?

Answers I've seen and tried:

Unfortunately, the delay persisted after a reboot with each of these changes. I'm posting this because I finally found a solution, but an explanation would be welcome (I don't really understand the solution).

1 Answer 1

1

Create a file ~/.config/xdg-desktop-portal/sway-portals.conf with the following contents:

[preferred]
default=wlr;gtk;

xdg-desktop-portal is indeed the problem. It requires a configuration file declaring which portals should be used and if it doesn't find one, it hangs for about 25 seconds before exiting. I found the right configuration here.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.