Skip to content
This repository was archived by the owner on Feb 2, 2026. It is now read-only.
This repository was archived by the owner on Feb 2, 2026. It is now read-only.

Gnome-terminal won't stay running on first launch when called from Windows shortcut #138

Description

@dcharlespyle

The program gnome-terminal won't stay running on first launch, when called from Windows shortcut created by WSLg. It will run if I launch it from within a bash prompt, or another terminal, or from Windows Terminal. But if I launch some programs using a shortcut, gnome-terminal will launch, and stay loaded, so long as the program first launched continued to run. Otherwise, it automatically closes when the program that first was opened is closed. Once launched from another terminal, it will continue to run each time opened, until signing off. And then it will return to the behavior of not appearing and staying running using WSLg.

Expected behavior is to run whenever called, without fail. It may be related to a DBus issue. So long as a DBus session is running that is associated with gnome-terminal is running after gnome-terminal exits, gnome-terminal will run on each launch. As soon as the DBus session that is associated with gnome-terminal ends, gnome-terminal goes back to the errant behavior of not staying running and not displaying more than a fraction of a second.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions