Nemo, the Cinnamon DE' file manager, supports adding
actions and scripts easily by adding a config file in ~/.local/share/nemo
.
So, for adding the Open in GitKraken
option, you just need to place the file
gitkraken.nemo_action
in the actions
folder in the mentioned directory.
Action opens the folder's current git repostiory in GitKraken using
git rev-parse --show-toplevel
.
sudo wget https://raw.githubusercontent.com/Mayurifag/nemo-open-in-gitkraken/master/gitkraken.nemo_action -O ~/.local/share/nemo/actions/gitkraken.nemo_action
Or, clone this repository and run:
sudo cp nemo-open-in-gitkraken/gitkraken.nemo_action ~/.local/share/nemo/actions