I'd like to know if there's a way to add keyboard shortcuts to nautilus (the version on this system is 3.18.5 and I'm running an updated Ubuntu 16.04.2 system). Ideally I want the keyboard shortcut to activate an action that I've configured using the nautilus-actions extension of nautilus, but if that's not possible maybe someone can help me find out how I can modify or add keyboard shortcuts to nautilus. Anyone know? Thanks.


Go to System Settings, and open the keyboard panel, and click on the shortcuts button/tab, and scroll down to custom shortcuts. Set your shortcut there.

  • Yes, but what I'm looking for is a nautilus specific shortcut so that it is possible to have access to the filename of the currently selected file. The nautilus specific keyboard shortcut would either activate an action I defined using nautilus-actions or would run a script, passing the filename as the argument to the script. See why I want it to be a shortcut specific to nautilus? – José A. Jun 29 '17 at 3:24
  • I had found that using the python-nautilus extension, it is possible to extend nautilus this way. At this site]1] I found some information on this and some a script that I modified as is shown below, and tested it to see if nautilus recognized the keyboard shortcut, but it didn't work for me. Maybe someone could enlighten me? – José A. Jun 29 '17 at 4:42
  • I can't show the modifications, but the shortcuts are not recognized. The site I mentioned is: [1] zverovich.net/2011/02/18/… – José A. Jun 29 '17 at 4:49
  • I believe that Nautilus was rewritten for 16.04? and I'm not sure that the script you link to will work any more. – heynnema Jun 29 '17 at 5:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.