Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

0
Become a Fan
5.0

Available as/for:
Description:
This is a small utility to launch programs, similar to gnome-run-dialog or gmrun.
It tries to keep the best features and improve the worst ones.

FEATURES:
-completion for programs in PATH and filenames;
ex: type su, press tab and cycle through sudo, sudoedit, sum, ... (control+tab to cycle back)
type /b and complete to /bin and /boot;
-completion for element in history;
ex: type su, press up or down and cycle through all commands in history starting with su.. (quite useful..)
-run commands in terminal (ex top, control+enter)
-run commands as root (ex. nautilus, shift+enter)
-open files with default application:
ex: /home/user open nautilus in user home folder,
/home/user/party.jpg open picture viewer,...
http://ubuntu.com
-a nice program icon

There are lots of bugs but it's a young project. Enjoy it.
Let me know wht do you think.

TODO:
-improve gui, by adding a list of know applications. I would like to receive suggestions.
-packaging stuff (deb, rpm).. work in progress.
-bug fixing, please report bugs!
-whatever you like me to do


EDIT: fixed a bug, released new version
Last changelog:

v0.3.2 released 03-02-2009
- fixed bug in filenames with whitespaces

v0.3.1 released 31-01-2009
- fixed bug in history behaviour
- changed icon choose method
- if there is only one match, put the cursor at the end of the line. (less tabbing)
- improved sorting of files and directories: first visible dirs and files, then hidden dirs and files

v0.3 released 17-01-2009
- program icon added
- fixed bug in filenames with whitespace..

v0.2.2 released 14-01-2009
- fixed bug in installation

v0.2.1 released 13-01-2009
- fixed bug in history behaviour

v0.2, released 13-01-2009
- files and directories are opened with default application with xdg-open
- command history is now on a separate file. no more in ~/.bash_history
- added control + tab to cycle back through completion list
- cut, copy, paste, select all are now handled correctly
- sort path matches by alphabetical order
- "smarter" label behaviour
- improved startup (just a little)
- BIG code cleanup
- rewritten match finding function
- lots of bugs fixed


Ratings & Comments

11 Comments

smif1984

Well, i'm not actually tweaking the code anymore, but if you can program in python and if you can find your way through that messy code you can surely change the terminal emulator that is fired up. Cheers

sertse

It appears "run" requires gnome-terminal to run apps in terminal. Would it possible to make it call x-terminal-emulator instead? x-terminal-emulator is the command for calling the default terminal, whatever one it may be.

Thura

Nice work, bro .... I love it ... But, reading ~/.bash_history for history is a really bad idea coz when I recall history by "Alt + UP " it shows a bunch of commands like "ls , grep " .... Why not make a simple log file instead ?

smif1984

Sorry for that, but i initially made like it is because i wanted to have access to the commands i usually run in the terminal: top, sudo apt-get ... , etc. You make a good point, i'll think to this.

Thura

I wrote a simple installation script, configuring keyboard shorcut settings for gnome ... #! /bin/sh echo "Creating Directory ..." mkdir "$HOME"/.run sleep 1 echo "Copying Contents ..." cp -r ./* "$HOME"/.run/ sleep 1 echo "Configuring Settings ..." gconftool-2 -s -t string "/apps/metacity/global_keybindings/run_command_1" "<Alt>F3" gconftool-2 -s -t string "/apps/metacity/keybinding_commands/command_1" "$HOME/.run/run.py" sleep 1 echo "----------------------" echo "Installation Finished!" echo "----------------------"

smif1984

hi,thanks very useful! could you make it not dependent on the window manager?? i mean, if someone has compiz this has to be fixed in some ways...let me know what you can do.. cheers

Thura

For cross-wm (KDE, GNOME, XFCE), xbindkeys will work ...

Thura

> i mean, if someone has compiz this has to be fixed in some ways...let me know what you can do.. Why ? I am using compiz with gnome but I got no problem ...

smif1984

Sorry, i thought that the gconf command was dependent on the window manager...isn't it??

Thura

I think, in run.py, the first line, /us/bin/env, should be /usr/bin/env ...

smif1984

yep.. fixed..

Pling
0 Affiliates
Details
license
version 0.3
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

Other Utilities:

Gis Weather
RingOV
last update date: 8 years ago

Score 8.0

Splash Screen Manager
zorinos
last update date: 14 years ago

Score 7.4

BashStyle-NG
Chrispy
last update date: 10 years ago

Score 6.1

anymeal
wedesoft
last update date: 6 months ago

Score 5.0

MonA3XN 01
A3XN
last update date: 2 years ago

Score 5.0

SuperCalc (By Keshav bhatt)
keshavnrj
last update date: 10 years ago

Score 5.0



System Tags