Skip to content

Nemo Context Menu: Copy full paths of files/folders to the clipboard.

Notifications You must be signed in to change notification settings

ForDefault/nemo_full_extension_path

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

My nemo_actions:

Installation Guide: Full_Ext_Path

This nemo_action:

enables users to copy the full paths of files and folders, including their names and extensions, directly to the clipboard.

Enabled Features

  • Full Path Copying: Copies the entire path of files and folders to the clipboard, including filenames and their extensions.
  • User-Friendly: Automatically adapts to the user's environment, requiring no manual configuration of file paths or usernames.
  • Self-Cleaning: Post-installation, the script engages in a thorough clean-up process, deleting the cloned repository from your home directory. This action ensures your workspace remains uncluttered, preserving the sanctity and available space of your home directory without leaving behind any residual files or folders.

Quick Start

SingleCommand Install

To install the Nemo action on Linux Mint, open a terminal and execute this SingleCommand:

REPO_URL="https://github.com/ForDefault/nemo_full_extension_path.git" && \
REPO_NAME=$(basename $REPO_URL .git) && \
git clone $REPO_URL && \
cd $REPO_NAME && \
full_path=$(pwd) && \
sudo apt-get update && sudo apt-get install -y xclip && \
sed -i "s|/home/\$USER|/home/$USER|g" $full_path/Full_Ext_Path.nemo_action && \
mv $full_path/Full_Ext_Path.sh /home/$USER/.local/share/nemo/actions/ && \
mv $full_path/Full_Ext_Path.nemo_action /home/$USER/.local/share/nemo/actions/ && \
chmod +x /home/$USER/.local/share/nemo/actions/Full_Ext_Path.sh && \
chmod +x /home/$USER/.local/share/nemo/actions/Full_Ext_Path.nemo_action && \
cd .. && rm -rf $REPO_NAME

Usage

Right-click on any file or folder within Nemo, and select "Full_Ext_Path" from the context menu. The complete path of the selected item will be copied to your clipboard.

Post-Installation

To ensure the changes take effect, you may need to restart Nemo with the following command:

 nemo -q

Troubleshooting

If the action does not appear in Nemo's context menu or doesn't function as expected, please check the following:

  • Ensure xclip is installed and operational.
sudo apt install xclip
  • Verify that the action script has the correct permissions and is located at
cd /home/$USER/.local/share/nemo/actions/
  • Restart Nemo using to apply the changes.
nemo -q

About

Nemo Context Menu: Copy full paths of files/folders to the clipboard.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages