Giter VIP home page Giter VIP logo

midget-execution-device's Introduction

midget-execution-device

A programmable GTK+ QuickSilver clone for software developers.

Status

Alpha

Overview

QuickSilver and Gnome Do are nice and all, but tools like this are just begging to be easily extensible.

Executor does a great job of this on Windows, but those of us in Gnome/GTK+ land are left wanting.

MED will address this gap.

(N.B. The name was derived from Gnome Do: "Gnome Do" -> "Dwarf Executor" -> "Midget Execution Device". I have nothing against little people. Honest.)

Prerequisites

  • Python 2.7+ (may work with as early as 2.4, but untested)
  • PyGTK

Installation

No packaging available yet, so just clone the source repository:

git clone git://github.com/thomaslee/midget-execution-device.git

Then create a .medrc file in your $HOME directory:

# /home/tom/.medrc

commands.add("terminal", invoke, "gnome-terminal", "--working-directory=${args[0]}")
commands.add("google", invoke, "chromium-browser", "http://www.google.com/?q=${u(' '.join(args))}")

Don't forget to set up a system keyboard shortcut appropriate to your Desktop Environment to make it easier to open MED!

Usage

Once you've created your .medrc, you can use these commands within MED.

terminal will open a new gnome-terminal window in the given directory:

terminal /var/www

google will perform a Google search using the given keywords:

google github

.medrc is a fully fledged Python script, so you can write your own actions too:

def cmd_print(context, args):
    print args[0]

commands.add("say", cmd_print, "${' '.join(args)}")

The "say" command will now print its arguments to the command line. Try it out!

say hello world

Magic

Some creep added magic to support:

MATHEMAGIC You can calculate basic maths using =MATHS, e.g. =123+456 (this is just evalled using python)

Command execution You can launch an application that is executable on your path by just typing it in, anything after it will be arguments

License

This software is licensed under the terms of the GPL v3 License.

Support

Please log defects and feature requests using the issue tracker on github.

About

midget-execution-device was written by Tom Lee.

Follow me on Twitter or LinkedIn.

midget-execution-device's People

Contributors

dbrain avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.