Adding item to right click menu in nautilus

I’d like to add a script to the right click menu in nautilus on a debian 12 app vm.
I’m using the script to add watermarks to images before I post them online. I can run it from terminal, but I’d like a way to do this from gnome.

I’m not sure where I would get that to work in Qubes 4.2. I tried following the advice on this blog, but I cant find the correct location. Can anyone provide insight?

I’ve tried it and it worked for me in qube based on debian-12 template with GNOME.
I’ve created script /home/user/.local/share/nautilus/scripts/test, set its permissions chmod 744 /home/user/.local/share/nautilus/scripts/test and it showed up in the context menu → Scripts.

1 Like