Skip to content

A set of actions for extending the functionality of the GNOME Files (Nautilus), Nemo, Caja, Dolphin, Thunar and PCManFM-Qt file managers.

License

Notifications You must be signed in to change notification settings

cfgnunes/fm-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Enhanced File Manager Actions for Linux

A collection of file manager actions that enhance your workflow. Useful right-click options to simplify common tasks across GNOME, KDE, Xfce, and more.

Release Stars License Supported

Screenshot

Installation

Option 1: Online installation (recommended)

You can use either curl or wget. Choose one of the following commands and run it in your terminal:

๐Ÿš€ Using curl

bash -c "$(curl -fsSL https://cfgnunes.github.io/fm-scripts/install.sh)"

๐Ÿš€ Using wget

bash -c "$(wget -qO- https://cfgnunes.github.io/fm-scripts/install.sh)"

Option 2: Local installation

After cloning this repository, run the following command:

bash install.sh

Advantages

While numerous Nautilus Scripts are available for file managers on the web, many suffer from poor functionality, lack of error checking, and dependency management. Some scripts only work with files that don't have special characters in their names, among other limitations. To address these shortcomings, I have developed my own set of scripts, which offer the following advantages:

  • Parallel task execution: Processes multiple files simultaneously. Very fast!
  • Multi-language support: Automatically detects the system language and displays messages in the appropriate language.
  • Progress dialog: Displays a progress dialog and allows interruption of tasks at any time.
  • Dependency management: Prompts users to install any missing dependencies.
  • Status notifications: Notifies users of dependency errors and types.
  • Keyboard accelerators: Provides keyboard shortcuts for some scripts.
  • Easy access to recent scripts: Includes a menu, Accessed recently, to quickly access recently used scripts.
  • Category-based installation: The installer allows you to choose which script categories you want to install, so there's no need to install everything.
  • Log file: Produces an Errors.log file when a task finishes with an error.
  • File manager compatibility: Designed for major file managers like GNOME Files (Nautilus), Nemo, Caja, Dolphin, and Thunar.
  • Distro compatibility: Works on major GNU/Linux distributions, such as Debian, Ubuntu, Fedora, and Arch Linux.
  • Easy adaptation: Scripts can be easily copied and adapted for other purposes.
  • Bash implementation: All scripts are implemented in Bash. So, the scripts work well in the shell (without a graphical interface) and file managers.
  • Shell script validation: All scripts have been checked using ShellCheck.

Design philosophy: Fewer clicks, dependencies, and verbose notifications, with a simple and intuitive directory structure.

Keyboard accelerators

Key Action
F3 Code Editor
F4 Terminal
F7 Disk Usage Analyzer
<Control>E Extract here
<Control><Alt>G Compress to 'tar.gz'
<Control><Alt>S Compress to 'tar.zst'
<Control><Alt>X Compress to 'tar.xz'
<Control><Alt>Z Compress to 'zip'
<Control><Alt>I Show files information
<Control><Alt>M Show files MIME type
<Control><Alt>0 Find empty files
<Control><Alt>J Find junk files
<Control><Alt>U Find duplicate files
<Control><Alt>H List hidden files
<Control><Alt>P List permissions and owners
<Control><Alt>B List largest files
<Control><Alt>R List recent files
<Control><Alt>W Text: List issues
<Control><Alt>C Copy file names
<Control><Alt>V Paste clipboard content
<Control><Shift>V Paste as symbolic link
<Control><Shift>C Compare items
<Control><Shift>O Open item location
<Control><Shift>H Compute all checksums
<Control><Shift>E Find empty directories
<Control><Shift>P Rename: Remove parentheses blocks
<Control><Shift>G Git: Clone URLs
<Control><Shift>R Git: Reset and pull
<Control><Shift>X URL: Download file

Compatibility

File manager Environment Menu integration Application shortcuts Keyboard accelerators Menu "Accessed recently"
GNOME Files (Nautilus) GNOME ๐ŸŸข ๐ŸŸข ๐ŸŸข ๐ŸŸข
Nemo Cinnamon ๐ŸŸข ๐ŸŸข ๐ŸŸข ๐ŸŸข
Caja MATE ๐ŸŸข ๐ŸŸข ๐ŸŸข ๐ŸŸข
Thunar Xfce ๐ŸŸข ๐ŸŸข ๐ŸŸข ๐Ÿ”ด
Dolphin KDE Plasma ๐ŸŸข ๐ŸŸข ๐Ÿ”ด ๐Ÿ”ด
PCManFM-Qt LXQt ๐ŸŸข ๐ŸŸข ๐Ÿ”ด ๐Ÿ”ด
PCManFM LXDE ๐ŸŸข ๐ŸŸข ๐Ÿ”ด ๐Ÿ”ด

Batch mode for large file selections

For very large selections (e.g., 10,000 input files), use batch mode: place everything inside a folder named batch and run the action on that folder. The scripts will process the files individually and avoid the "argument list too long" error.

Acknowledgments

Translation

Special thanks to everyone who contributed to the translation of this project:

  • ๐Ÿ‡ง๐Ÿ‡ท Nathรกlia Medeiros - Brazilian Portuguese.
  • ๐Ÿ‡จ๐Ÿ‡ณ Jove Yu (@JoveYu) - Chinese.
  • ๐Ÿ‡ช๐Ÿ‡ธ Maravento (@maravento) - Spanish.
  • ๐Ÿ‡ฉ๐Ÿ‡ช Stephan Mikwauschk (@Pappmann) and La-vaos (@la-vaos) - German.
  • ๐Ÿ‡ป๐Ÿ‡ณ Loc Huynh (@hthienloc) - Vietnamese.
  • ๐Ÿ‡ซ๐Ÿ‡ท Germain Rรฉmi (@remigermain) - French.
  • ๐Ÿ‡ท๐Ÿ‡บ Vladimir Kosolapov (@vmkspv) - Russian.
  • ๐Ÿ‡ฎ๐Ÿ‡ฑ Omer I.S. (@omeritzics) - Hebrew.
  • ๐Ÿ‡ณ๐Ÿ‡ฑ Heimen Stoffels (@Vistaus) - Dutch.

Contributors

Thank you for contributing to this project:

contributors

Contributing

If you spot a bug or want to improve the code or even improve the content, you can do the following:

  • Open an issue describing the bug or feature idea;
  • Fork the project, make changes, and submit a pull request.

If you'd like to translate this project into your native language, feel free to send me the translated file: en_template.pot