Skip to content

GTK: Allow specifying working directory with +new-window #10716

Description

@pluiedev

Discussed in #8043

Originally posted by andresilva July 24, 2025
As I understand --working-directory is ignored when starting a new window in daemon mode (ghostty +new-window). I think it would be very useful to have this feature working even for new windows. As I launch new ghostty windows through my window manager (rather than from within ghostty itself), this makes it so that daemon mode is essentially unusable, since new windows will always default to ~ (or whatever path the systemd unit was started from).

Activity

  1. added this to the 1.3.0 milestone on Feb 14, 2026
  2. added
    cli`ghostty` command-line interface
    gtkIssues exclusive to GTK which are not OS-specific
    on Feb 14, 2026
  3. added theissue type on Feb 14, 2026
  4. pluiedev commented on Feb 14, 2026

    @pluiedev
    MemberAuthor

    For now we should just add this to +new-window subcommand as a temporary fix. My vision for a better IPC system would allow the action of new_window (and new_tab, new_split, etc.) to take the working directory as a direct parameter, so we won't have to build this into every IPC command in this vein.

  5. self-assigned this
    on Feb 18, 2026
  6. 16 remaining items

  7. added a commit that references this issue on Mar 4, 2026
    46522a8
  8. added 2 commits that reference this issue on Mar 5, 2026
    794bc64
    2181fca
  9. added a commit that references this issue on Mar 10, 2026
    1dd0c81
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

cli`ghostty` command-line interfacegtkIssues exclusive to GTK which are not OS-specific

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions