Add Make Symlink to Nemo’s Right-Click Menu

Because Nemo’s “add link” is just a desktop file, and the path is shown wrongly after following.

1. Create a Custom Script

Create a file in your Nemo scripts folder:

bash
mkdir -p ~/.local/share/nemo/scripts
nano ~/.local/share/nemo/scripts/make_symlink

Then paste this in:

#!/bin/bash

for TARGET in "$@"; do
    BASENAME=$(basename "$TARGET")
    LINK_NAME="Link to $BASENAME"
    # Make sure the link name is unique
    i=1
    while [ -e "$LINK_NAME" ]; do
        LINK_NAME="Link to $BASENAME ($i)"
        ((i++))
    done
    ln -s "$TARGET" "$LINK_NAME"
done

Then make it executable:

chmod +x ~/.local/share/nemo/scripts/make_symlink

2. Use It in Nemo

Right-click any file or folder in Nemo.

Go to Scripts → Make Symlink

A real symlink will appear in the same folder with the name Link to [original name] (just like “Make Link” does, but it’s a real symlink).