How can I create keyboard shortcuts for my nautilus scripts?
- Open gconf-editor and set /desktop/gnome/interface/can_change_accels to true. This lets you edit menu shortcuts.
- With Nautilus open, go to File menu, then Scripts, then hover over the Script you want to make a shortcut for.
- Press the key combination you want to assign to this Script. You should see it appear on the menu.
- Navigate off the menu and test it out.
You need to do this from the File menu of Nautilus...simply right-clicking in a Window to obtain the Scripts list does not allow adding shortcuts.
If you want to remove the shortcut, repeat steps 1 and 2, then press Backspace when your Script is highlighted on the menu. This should remove the shortcut.
Note: you might have to do a "nautilus -q" from Terminal before the gconf change takes effect.
Due to the removal of important features in Nautilus version 3.6 this plugin is no longer supported
This Nautilus extension allows you to edit keyboard shortcuts (accelerators).
After installing the extensions go to Edit -> Keyboard Shortcuts...
in the main menu and navigate to ScriptsGroup
in the Keyboard Shortcuts
dialog. Click the Key cell corresponding to the script you need and enter a shortcut:
Unlike the can_change_accels
solution this will also work with Unity's global menus.