I'm pretty sure I have tracked this problem down to a problem with pipewire and/or alsa.
After changing the notification sound from "default" to "none" in the Genome settings, the terminal hangs seem to be gone. Firefox still hangs, however (not surprisingly so, since it shouldn't be affected by Gnome settings at all). Gnome settings shows no audio output devices. "aplay -L", on the other hand, *does* show devices. So the problem seems to be caused by pipewire (which replaced pulseaudio in Ubuntu 24.04 as far as I know). Interestingly, running "alsamixer" in a terminal also hangs. I have checked pipewire-pulse and wireplumber with systemctl --user, and both services seem to be running. ** Also affects: pipewire (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2081281 Title: gnome terminal and other apps freezes for about 30 seconds To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/2081281/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs