File manager extensions

Overview

This document illustrates how to add functionality to nautilus, the GNOME desktop’s default file manager.

Supported extensions

Files is the genericized name for the nautilus file manager application. Several extensions are available for this file manager, which can be used to expand its functionality. For example, with an extension, you may right-click a file and choose an option within a context menu to send it to a recipient via email.

The following extensions have been tested in Files in PureOS:

Name

Purpose

nautilus-gtkhash

Generate and view file checksums

nautilus-sendto

Send a file via email from the file manager

nautilus-image-converter

Reduces image file size with a right-click context menu

nautilus-extension-gnome-terminal

Provides a right-click menu item to open a terminal window in the current folder location

nautilus-nextcloud

Integration with Nextcloud desktop app

The following list of of other nautilus extensions have not yet been thoroughly tested in PureOS; use them at your own risk:

  • nautilus-admin

  • nautilus-compare

  • nautilus-data

  • nautilus-emblems

  • nautilus-extension-brasero

  • nautilus-extension-burner

  • nautilus-filename-repairer

  • nautilus-hide

  • nautilus-image-manipulator

  • nautilus-scripts-manager

  • nautilus-share

  • nautilus-wipe

Send files as email attachments

  1. Install and configure an email client, such as Thunderbird.

  2. Install the plugin nautilus-sendto. Open the terminal emulator and type the command:

sudo apt install nautilus-sendto
  1. Press the Enter key, type your password and press the Enter key again. If you are asked for confirmation, press the y key or the key representing “yes” in your system language.

  2. Log out and in again

  3. Right click on a file you want to send via email

  4. Select the and option send to…

Send the file

Thunderbird will now open a new email with the file already included as an attachment.

New email in Thunderbird

Generate and view file checksums

  1. Install the extension nautilus-gtkhash. Open the terminal emulator and type the command:

sudo apt install nautilus-gtkhash
  1. Press the Enter key, type your password and press the Enter key again. If you are asked for confirmation, press the y key or the key representing “yes” in your system language.

  2. Right click on the file in question

  3. Select Properties

File context menu: Properties
  1. Select Digest

  2. Select from the right side of the window the hash you want

  3. Press Hash

You will now see the checksum for that file:

Checksum list within properties

Here is the same result as doing it from a terminal:

joao@librem:~/Pictures/r$ sha256sum change-pass-00.png
ec29c17a3208247e33c61ede9649a84866338d551139bb54f55782d76ec98566  change-pass-00.png

Open a terminal window within the current folder location

  1. Install the extension nautilus-extension-gnome-terminal. Open the terminal emulator and type the command:

sudo apt install nautilus-extension-gnome-terminal
  1. Press the Enter key, type your password and press the Enter key again. If you are asked for confirmation, press the y key or the key representing “yes” in your system language.

  2. Once that is done, log out and back in to your user session.

  3. Open a folder within the Files application. Once a folder is open, right-click it and select the option: Open in terminal

nautilus-extension-gnome-terminal context menu

And done:

nautilus-extension-gnome-terminal terminal popup window

Nextcloud integration

Learn how to integrate Nextcloud desktop app with the Files app here.