Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

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


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.