run

Utilities

Source (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
Score 50.0%
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:

10 years ago

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

C

smif1984

9 years ago

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

Report

sertse

9 years ago

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.

Report

Thura

10 years ago

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 ?

Report

C

smif1984

10 years ago

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.

Report

Thura

10 years ago

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 "----------------------"

Report

C

smif1984

10 years ago

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

Report

Thura

10 years ago

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

Report

Thura

10 years ago

> 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 ...

Report

C

smif1984

10 years ago

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

Report

Thura

10 years ago

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


Report

C

smif1984

10 years ago

yep.. fixed..

Report

10 years ago

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

12345678910
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description PackagetypeArchitectureRelease Channel Downloads Date Filesize DL OCS-Install MD5SUM
*Needs ocs-url or ocs-store to install things
Pling
Details
license
version
0.3
updated Feb 03 2009
added Jan 06 2009
downloads 24h
0
page views 24h 3
System Tags app software