# Ubuntu – How to add a custom context menu for ‘git gui’ in Nautilus

What I want to achieve is to get a "Git GUI here" item in the context menu of Nautilus (file manager). It should this easy job I would do in a terminal:

cd "path/to/current/folder"
git gui # <-- this pops up a GUI for Git in a new window


I'm using Nautilus Actions Configurator application to achieve this as shown below.

It does show the custom context menu, yet I would have expected it to also work this way, but it doesn't. Upon hitting my button it just opens Git GUI without actually run in the working directory of Nautilus is in.

What am I doing wrong about this current working directory?

Path: /usr/bin/git
Parameters: gui
Working directory: %d/%b