---
title: Quickly Run with a Ctrl+R Keyboard Shortcut in Gedit
description: I’m all about workflow, so the first thing I wanted to do when trying
  quickly was to make sure I could hit a keyboard shortcut to build and run from within
  my editor.It was a bit fiddly, but here’s something that works:In Gedit go to Tools=>Mana
  […]
url: https://canonical.com/blog/quickly-run-with-a-ctrlr-keyboard-shortcut-in-gedit?format=md
---

1. [Blog](https://canonical.com/blog)
2. Article

---

[Canonical](https://canonical.com/blog/author/canonical "More about Canonical")

on 11 June 2010

# Quickly Run with a Ctrl+R Keyboard Shortcut in Gedit

[Design](https://canonical.com/blog/tag/design)
[programming](https://canonical.com/blog/tag/programming)

Share on:* [Facebook](https://www.facebook.com/sharer/sharer.php?u=https://www.canonical.com/blog/quickly-run-with-a-ctrlr-keyboard-shortcut-in-gedit "Share on Facebook")
* [Twitter](https://twitter.com/share?text=Quickly%20Run%20with%20a%20Ctrl%2BR%20Keyboard%20Shortcut%20in%20Gedit&url=https://www.canonical.com/blog/quickly-run-with-a-ctrlr-keyboard-shortcut-in-gedit&hashtags=ubuntu "Share on Twitter")
* [LinkedIn](https://www.linkedin.com/shareArticle?mini=true&url=https://www.canonical.com/blog/quickly-run-with-a-ctrlr-keyboard-shortcut-in-gedit&title=Quickly%20Run%20with%20a%20Ctrl%2BR%20Keyboard%20Shortcut%20in%20Gedit "Share on LinkedIn")

---

---

## Newsletter signup

Get the latest Canonical news and updates in your inbox.

Work email:

\*I agree to receive information about Canonical's
products and services.

By submitting this form, I confirm that I have read and agree to [Canonical's Privacy Policy](https://canonical.com/legal/data-privacy).

Sign up

I'm all about workflow, so the first thing I wanted to do when trying [quickly](http://launchpad.net/quickly) was to make sure I could hit a keyboard shortcut to build and run from within my editor.

It was a bit fiddly, but here's something that works:

In Gedit go to Tools=>Manage External Tools...

Then add this:

Here's the code:

```
#!/bin/sh
EHOME=`echo $HOME | sed "s/#/\#/"`
DIR=$GEDIT_CURRENT_DOCUMENT_DIR
while test "$DIR" != "/"; do
    if [ -f "${DIR}/setup.py" ]; then
        echo "Using quickly from ${DIR}" | sed "s#$EHOME#~#" > /dev/stderr
        cd ${DIR}
        quickly run
        exit
    fi
    DIR=`dirname "${DIR}"`
done
echo "Couldn't find Quickly project folder!" > /dev/stderr
```

Hope this helps you too.

[source: mikebuntu.blogger.com](http://mikebuntu.blogspot.com)

#### Related posts

---

[Kola Ojoodide](https://canonical.com/blog/author/kola-ojoodide)

26 June 2026

### [Challenges designers face in open source (and how to fix them)](https://canonical.com/blog/challenges-designers-face-in-open-source-and-how-to-fix-them)

Company

Ubuntu tech blog

Open source powers up to 90% of modern software, yet many projects lack usability. Canonical’s Design team surveyed 115 cross-functional professionals to uncover the 4 core challenges UI/UX designers face when contributing, and how maintainers can solve them. ...

---

[Nina Rojc](https://canonical.com/blog/author/ninarojc)

16 June 2026

### [Template: Streamlining open source design contributions](https://canonical.com/blog/template-streamlining-open-source-design-contributions)

Design

Article

As designers working at Canonical, we’re always thinking about open source. We believe that encouraging more designers to contribute to open source  benefits everyone, from the project maintainers to the end users themselves.   In the 2025 edition of FOSSBackstage conference, we presented our research findings on  why designers don’t get ...

---

[Miguel Divo](https://canonical.com/blog/author/mdivo)

22 May 2026

### [Decoding design: How design and engineering thrive together in open source](https://canonical.com/blog/decoding-design-how-design-and-engineering-thrive-together-in-open-source)

Design

Article

Open source thrives on engineering-driven processes. Fast feedback loops, terminal tools, Git workflows: they’re the lifeblood of how we build software in the open. But for software to truly excel, we need to create user experiences that empower people to use them. I wanted to bring this conversation into the spotlight as part of Canonica ...
