Skip to content

πŸš€ Nautilus Copy File Contents - A simple extension for Nautilus that lets you quickly copy the contents of a text file with one click. =D

License

Notifications You must be signed in to change notification settings

EuCaue/nautilus-extension-copy-file-contents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Nautilus Extension: Copy File Contents

Easily copy the contents of a text file! πŸ˜„
Screenshot showing the option in the right-click menu

Why?

I often needed to copy the content of a file, and using the "preview" with SPACE to copy it wasn’t the best for me. So, I decided to create this small project to streamline the process and also learn more about developing Nautilus extensions! πŸš€

Dependencies

You'll need to install nautilus-python for your distribution. πŸ™‚

Optionally, for more advanced file type detection you may install python-magic.

Installation

make install

or manually:

cp ./src/nautilus_copy_file_contents.py $HOME/.local/share/nautilus-python/extensions/

Uninstallation

make uninstall

or manually:

rm $HOME/.local/share/nautilus-python/extensions/nautilus_copy_file_contents.py

Development/Debugging

To install the latest version, close all Nautilus instances and reopen it! πŸ˜„

export NAUTILUS_PYTHON_DEBUG=misc
make install && nautilus -q
nautilus

Contributions are welcome! ❀️

About

πŸš€ Nautilus Copy File Contents - A simple extension for Nautilus that lets you quickly copy the contents of a text file with one click. =D

Topics

Resources

License

Stars

Watchers

Forks