Skip to content

Trying to safely kill processes doesn't work if spawed with Niri #2112

@scientiac

Description

@scientiac

If I launch a program, e.g. Firefox from the terminal and use pkill firefox from the terminal, it kills the process.
But, If I launch the program firefox from wofi or rofi or fuzzel or niri msg action spawn -- firefox or using a keybind, pkill cannot kill the program.

pkill or kill <pid> both doesn't work except for kill -9 which I am currently using in my config.

config

System Information

  • niri version: niri 25.05.1 (v25.05.1-66-g7b065f86)
  • Distro: Arch Linux
  • GPU: AMD Radeon 780M Graphics [Integrated]
  • CPU: AMD Ryzen 7 8840HS (16) @ 3.30 GHz

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions