DankMaterialShell icon indicating copy to clipboard operation
DankMaterialShell copied to clipboard

ipc screenshots and systemupdater fail with only "Target not found"

Open Gemmstone opened this issue 1 month ago • 10 comments

Compositor

  • [x] niri
  • [ ] Hyprland
  • [ ] dwl (MangoWC)
  • [ ] sway
  • [ ] Other (specify)

Distribution

Arch

dms version

v0.3.4

Description

~ dms ipc call systemupdater updatestatus Target not found. ~ dms ipc call niri screenshot Target not found. ~ dms ipc call mpris playPause (this one works with no issue)

Error Messages/Logs

No logs related

Gemmstone avatar Nov 05 '25 07:11 Gemmstone

niri is not in the current release, will be the next one. Sorry that's not represented in the docs, currently. It also requires niri-git , which should be annotated.

systemupdater - only works if the widget is on the bar, and it kinda seems useless to me in that it just triggers an update. But the system updater as a whole needs some work.

bbedward avatar Nov 05 '25 14:11 bbedward

Hi! updated to the git version and while the command works, it's not taking neither satty nor swappy to edit the image, i do have niri-git

Gemmstone avatar Nov 06 '25 07:11 Gemmstone

I'm on version 0.4.0 yet I see the same issue.

mandarvaze avatar Nov 07 '25 04:11 mandarvaze

You might have to be on a newer niri-git? Not sure when it was added

bbedward avatar Nov 07 '25 04:11 bbedward

You might have to be on a newer niri-git? Not sure when it was added

I think niri-git is Arch-only think. I'm on Ubuntu 25.10 Let me know if niri-git can be installed on Ubuntu.

mandarvaze avatar Nov 07 '25 13:11 mandarvaze

If you installed with dankinstall, you can run dms , go to update, toggle niri for an update

bbedward avatar Nov 07 '25 13:11 bbedward

You might have to be on a newer niri-git? Not sure when it was added

I'm up to date afaik

Gemmstone avatar Nov 07 '25 13:11 Gemmstone

Noticed that the screenshot's namefile is something like "dms-screenshot-BUNCHOFNUMBERS.png" so DMS does know the namefile it's just not piping it to satty

Gemmstone avatar Nov 10 '25 07:11 Gemmstone

It needs niri's IPC to communicate when the screenshot was completed, then it needs the editor tool, like swappy installed.

And as said, it needs an unreleased version of niri. You can prove niri is new enough by running niri msg -j event-stream, taking a screenshot, and you should see something like this:

Image

If not, then niri isnt sending the event (probably because the build isnt new enough)

bbedward avatar Nov 10 '25 15:11 bbedward

I'm getting same error for all widget commands like dms ipc call widget list etc

deepu105 avatar Nov 29 '25 13:11 deepu105