GitPitch Desktop FAQ

Interested in taking GitPitch Desktop for a test drive? To start your 7 day free trial and see one-time purchase and subscription pricing options visit the GitPitch website here .

How can I download and install the latest Desktop Pro image?

To download and install the latest Desktop image simply login to GitPitch and follow the on-screen instructions on your profile page. To login, click here .

What happens if Desktop Pro finds no

If no files are found in your local working directory then Desktop Pro will display the Quickstart Generator window:

With one-click on the Quickstart Now button the desktop will copy a set of sample files into your local working directory. This is a great way to start a brand new slide deck.

What happens if Desktop Pro finds multiple

If multiple files are found in your local working directory then the Desktop Manager will automatically list each slide deck found:

With one-click you can open any deck listed under the Your Slide Decks panel.

How can I change the default 9000 port used by Desktop Pro?

The default port for Desktop Pro is port 9000. To set a custom port when launching the desktop you must make two changes on your launch command:

  1. Update the -p port mapping and
  2. Add a matching PORT environment variable

For example, the following command demonstrates how you can launch Desktop Pro using port 80:

docker run -it -v {WORKINGDIR}:/repo -p 80:80 -e PORT=80 gitpitch/desktop:pro

Note, {WORKINGDIR} is a placeholder. You must replace it with an absolute path to a working directory on your local file system where your presentation files are found.

What can I do if Desktop Pro does not auto-refresh in my browser?

Each time you create or update a file within your local working directory, Desktop Pro attempts to automatically refresh the slide deck in your browser.

If your browser does not auto-refresh - or fails to refresh cleanly - the first thing to try is to simply save your file again and watch for a clean refresh.

If the slide deck in your browser still does not auto-refresh or you are seeing long delays before your slide deck auto-refreshes in the browser, re-launch the desktop using a Minimal Working Directory .

Launch Desktop Pro using a Minimal Working Directory

The launch command for Desktop Pro takes a path to a working directory on your local file system. This path is mounted by Desktop Pro as a Docker volume. And then used to monitor and detect changes you make to your presentation files.

Due to performance bottlenecks associated with Docker volume mounts, if the local working directory contains a large number of files, the overall responsiveness of the auto-refresh feature may slow. Or may not work at all.

Important! While your local working directory may contain only a small number of project source files, it is possible that the directory also contains a large number of generated build and runtime artifacts. These artifacts can greatly increase the overall file count in your directory.

To overcome this performance bottleneck and enjoy fast auto-refresh, please take the following steps:

  1. Create a new working directory on your local file system.
  2. Copy your presentation markdown and any file dependencies into the new working directory.
  3. Then re-launch the desktop using this new working directory as follows:
docker run -it -v {MINIMAL}:/repo -p 9000:9000 gitpitch/desktop:pro

Note, here {MINIMAL} is a placeholder. You must replace it with an absolute path to the new working directory on your local file system. This working directory should contain presentation files only.

Having re-launched the desktop, start making changes to your presentation markdown. If the minimal working directory solution works, you should see your slide deck quickly auto-refresh in the browser each time you modify files in your new working directory.

If you have re-launched the desktop using a minimal working directory and you still see slow refresh times or your browser does not refresh at all, please contact GitPitch support .

How can I reduce the CPU load associated with Desktop Pro?

By default, Desktop Pro uses a periodic file-change watcher that sweeps the working directory for file changes. When changes are found, your slide deck is automatically refreshed in the browser.

The default periodic sweep interval is 250 ms. Periodic sweeps by the desktop place a load on the CPU of your host machine. In most cases, this load is negligible. However, if you would like to reduce the CPU load on your host machine you can set a custom sweep interval. Higher sweep intervals will reduce the load on your CPU.

For example, to activate a custom 500ms sweep interval on launch use the -e SWEEP flag:

docker run -it -v {WORKINGDIR}:/repo -p 9000:9000 -e SWEEP=500 gitpitch/desktop:pro

The minimum sweep interval permitted is the default 250ms. While the maximum sweep internal permitted on launch is 1000ms.

If using a custom sweep interval does not result in reduced CPU load then as a last resort for users on MacOS and Linux you can try to disable periodic sweeps entirely as follows:

docker run -it -v {WORKINGDIR}:/repo -p 9000:9000 -e SWEEP=false gitpitch/desktop:pro

Disabling periodic sweeps within Desktop Pro is not supported for users on Windows desktops.

How can I install Docker Desktop?

GitPitch Desktop is delivered as a Docker image. The Docker runtime aka. Docker Desktop used to launch that image is available for MacOS, Linux, and Windows 10.

Important! Windows 10 Home edition is currently not supported.

Docker installation instructions can be found here:

The simplest way to verify your Docker installation is to run the following command:

docker run hello-world

If running this command fails for any reason, you will need to resolve those issues before attempting to launch GitPitch Desktop .