Rename option grayed out in right-click context menu in Nemo (Ubuntu Unity 21.04)

The option is there but grayed out. Current version of Nautilus allows bulk renaming.

A non-perfect workaround is to install gprename and follow these steps (found at https://forums.linuxmint.com/viewtopic.php?t=325441)

sudo tee /usr/local/bin/gprename-nemo <<'EOB'
#!/bin/bash
function urldecode() { : "${*//+/ }"; echo -e "${_//%/\\x}"; }
filePath=$(urldecode "$1")
gprename "$(dirname "$filePath")"
EOB

Make wrapper script executable

sudo chmod +x /usr/local/bin/gprename-nemo

Set the wrapper script as the bulk-renamer

dconf write /org/nemo/preferences/bulk-rename-tool "b'gprename-nemo'"

I say non-perfect because this simply launches gprename when you select rename in the menu or press F2. Not sure of a better way to do this :)

Edited by Joe Carey