Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to open git gui in any folder using context menu. It something like

cd <path to folder>
git gui

in terminal.

How to add this functionality into context menu?

share|improve this question

1 Answer 1

You can make a nautilus script for that. Just create your script like:

#!/bin/sh
cd "$1" && git gui

After installing it, you will be able to right-click a folder, and choose Scripts → Your Script Here. See this question for how to install the script.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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