Skip to content

Unable to launch Fresh Code Editor via hotkey in Niri with Arch Linux #2812

Description

@rsramkis

I've been trying to configure Niri to launch Fresh Code Editor as my preferred text editor (see sample below). When I try to launch Fresh with the hotkey <Super +n> it does not launch. I can launch other text editors like Geany.

Examples of configured hotkeys

Mod+T hotkey-overlay-title="Open a Terminal: alacritty" { spawn "alacritty"; } //Launch preferred Terminal
Mod+N hotkey-overlay-title="Text Editor" { spawn "fresh"; } //Launch preferred Text Editor

Troubleshoot:

  • Verified I could launch Fresh from Dock (launches in Ghostty)..
  • Verified I could launch from terminal (Alacritty).
  • Changed the hotkey to launch Geany.
  • Checked the journal and I can see the launch was initiated "Jul 27 00:54:29 mani systemd[1744]: Started app-niri-fresh-46363.scope.".

Environment:
OS: EndeavourOS x86_64
Kernel: Linux 7.1.4-zen1-1-zen
Shell: zsh 5.9.2
WM: niri 26.04 (Wayland)
Terminal: alacritty 0.17.0

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