I have an custom nemo action as explained here: https://wiki.archlinux.org/index.php/Nemo#Nemo_Actions
How can I add an shortcut for this action?
(If it can be done adding a line in ~/.gnome2/accels/nemo, then I have the additional problem that on my system this file is auto generated on every reboot, so editing something here will not help. I have Cinnamon 3.2.7 and nemo 3.2.2.)
Any suggestions? Thanks in advance! :)
Nemo Action
First, you should place the
myaction.nemo_actionunder~/.local/share/nemo/actions/.Then, to make a keystroke put an underscore
_in front of the letter you want. For example in theHello _Shortcutthesis the key. So you press the right-click and thens.Bellow is an example of my action to open files and directories with Atom:
Global Shortcut
If you want a global shortcut, you should use the Cinnamon
Keyboardsetting under theSystem settings, go to the second tab and add your custom shortcut.Or, if you prefer more control over CLI you can use the
dconf. For example, the bellow configuration will add the shortcutShift><Alt>a