Quickly Run with a Ctrl+R Keyboard Shortcut in Gedit
Canonical
on 11 June 2010
Tags: Design , programming
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.
Talk to us today
Interested in running Ubuntu in your organisation?
Newsletter signup
Related posts
A deep dive into our grid system and typography for the A4 format
We recently redesigned our whitepapers as part of our broader rebranding project. Let’s look at some of the ideas behind our approach to layout and...
An Introduction to Open Source Licensing for complete beginners
Open source is one of the most exciting, but often misunderstood, innovations of our modern world. I still remember the first time I installed linux on my...
Designing Canonical’s Figma libraries for performance and structure
How Canonical’s Design team rebuilt their Figma libraries, with practical guidelines on structure, performance, and maintenance processes.