https://github.com/echo-devim/nautilusaccelsmanager
GUI to manage the Nautilus shortcuts to launch its scripts
https://github.com/echo-devim/nautilusaccelsmanager
Last synced: 3 months ago
JSON representation
GUI to manage the Nautilus shortcuts to launch its scripts
- Host: GitHub
- URL: https://github.com/echo-devim/nautilusaccelsmanager
- Owner: echo-devim
- License: gpl-3.0
- Created: 2015-11-15T10:41:36.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-30T18:42:16.000Z (over 8 years ago)
- Last Synced: 2025-03-23T10:35:51.994Z (3 months ago)
- Language: C
- Size: 44.9 KB
- Stars: 7
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
# NautilusAccelsManager
Nautilus (the GNOME file manager) supports a new feature to define custom shortcuts to launch the scripts in the special scripts folder.
The special scripts folder is:
`~/.local/share/nautilus/scripts` and here you can put any executable you want and it will appear in the right-click context-menu.The shortcut configuration file is `~/.config/nautilus/scripts-accels` and here you can define your custom shortcuts.
I wrote NautilusAccelsManager to edit this file with a gui.
An example to open the terminal in the current working directory is by creating a script called Terminal (or the name that you prefer) with the following content:
```
#! /bin/sh
gnome-terminal
```
and using the gui set the preferred shortcut to launch it.
### Details
Every script will run in the context of the current directory and Nautilus will pass to it all the file name of the selected files in the folder. You can also use some environment variable to get more information like:- NAUTILUS_SCRIPT_SELECTED_FILE_PATHS
- NAUTILUS_SCRIPT_SELECTED_URIS
- NAUTILUS_SCRIPT_CURRENT_URI
- NAUTILUS_SCRIPT_WINDOW_GEOMETRYThis is the link of the commit that introduce the new feature:
https://git.gnome.org/browse/nautilus/commit/?id=9fe1335## License
GPLv3