Failed to run trash: 'test' [Errno 2] no such file or directory: 'shelly'

I brought my ranger config files from my old Xubuntu installation to my new arch system and encounter now this issue if I try to trash files (trash-cli is installed).

One of my GOG Games also dosen’t start, so I ran it via gdb. One of the messages I get is “warning: Cannot exec shelly”

WTF is this ‘shelly’ thing? And how do I fix it?

It’s generally a bad idea to transplant config files from one distro to the next as they parse the data differently. Hence, purge ranger from your system, re-install it and reconfigure manually.

Shelly is a dependency for your game, find out which package it’s in then install that package.