Silly little gmrun

Edit: Unfortunately, the images originally included in this post are gone, because of hosting problems in late 2009. My apologies.

I think I may have found the program that actually does the least I’ve ever seen … short of things like cowsay. I forget what I was looking for, but I installed gmrun last night and tried it. This is what I got.

If you type in the executable for a program there, it starts. Genius, isn’t it? It’s essentially a program that runs other programs. And that’s all. :???:

I apologize if I sound a little snide. I wish I had thought of the idea first, to tell the truth. :D And really, it’s not as redundant as it sounds. Like most really great, really flexible, really useful programs, this one is terribly deceptive. For one thing, if you wire it to the Alt-F2 key, as most people probably will, you get quicker and faster access to programs than, for example, wading through nested menus.

So in that sense it’s a half-step between a terminal window — which as we all know, is an amazing and powerful utility, right? :twisted: — and an actual full-featured GUI application.

It gets better. gmrun does a few things you wouldn’t guess without delving deeper. It keeps a command history (a feature I generally do not consider a feature, but some do), and it will do command-line completion. You can precisely and perfectly trigger the window in an exact location.

It also can trigger terminal windows at a keystroke, default on a command to spawn a terminal window (in other words, you type htop, it triggers a terminal with htop inside it), and a bunch of neat other things. If you give it a URL, it can detect that and open it in a browser, instead of acting confused.

Take a look here for an idea of its potential. And the moral of the story, of course, is that you can’t judge a program by its interface. :)

About these ads

15 Responses to “Silly little gmrun”


  1. 1 Reacocard 2007/12/11 at 9:14 AM

    I’ve been using gmrun as my alt+f2 replacement for a long time (I hate the gnome run dialog), but I had no idea it could do things like opening urls. Time for some quality tweaking I think… :D

  2. 2 Moparx 2007/12/11 at 11:32 AM

    Gmrun is definitely a great little application. :)

    I have been using it for around two years now and launch it via Control+Space key combination for quicker access.

    When I first started using it I quickly found that its speed and minimalist nature complimented my window manager of choice (Openbox) quite nicely.

  3. 3 Dr Small 2007/12/11 at 12:27 PM

    Interesting. I wish I would have found this, before I went to the trouble of making my own, for IceWM :D

    http://php.8ez.com/drsmall/blog/?p=180

  4. 4 anonymous 2007/12/11 at 2:24 PM

    So it’s kind of like krunner (which is built into KDE)?

  5. 5 fftb 2007/12/11 at 8:51 PM

    Hey,

    great blog. I just wonder how to bind gmrun with the Alt+F2 key in gnome (I don’t like gnome-run, too). Do I have to use something like xbindkeys?

  6. 6 K.Mandla 2007/12/11 at 10:20 PM

    To be honest, I don’t know about Gnome. I would suspect it would involve gconf or something, but it’s been years — no literally, years — since I put that much effort into Gnome. Perhaps someone else can help on that one.

  7. 7 lefty.crupps 2007/12/11 at 10:32 PM

    KDE has a nice applet which can be placed in the Kicker (the ‘taskbar’ panel in KDE), providing this same function. Seems useless but it isn’t once you have it!

  8. 8 Onyros 2007/12/12 at 4:04 AM

    @fftb: instructions for replacing ALT+F2′s behaviour in GNOME…

    First you have to run gconf-editor. Head over to apps –> metacity –> global_keybindings –> and remove F2 from panel_run_dialog’s line.

    After that insert F2 in run_command_1′s line.

    Now, head over to keybinding commands and insert “gmrun” on that command_1 line… Voilá ;)

    And all that for GNOME, whereas in Fluxbox… all you have to do is nano ~/.fluxbox/keys and replace the original Mod F2 line (from changing to Workspace 2) with

    Mod F2 :ExecComand gmrun

    That much simpler, yep… :)

  9. 9 Onyros 2007/12/12 at 4:07 AM

    Errm… WordPress’ comments ate a little tag I had somewhere in that comment. It was a F2 tag in panel_run_dialog and run_command_1′s line.

  10. 10 Onyros 2007/12/12 at 4:09 AM

    Darn it. It did it again, even with a space between. K., please delete that second comment and this one, and while you’re at it, could you please also insert ALT before F2 in that fourth and sixth line of comment?

  11. 11 fftb 2007/12/13 at 6:17 AM

    @Onyros
    thanks for the hint. Worked like a charm.

  12. 12 seventytude 2009/03/17 at 1:23 AM

    bashrun (http://bashrun.sourceforge.net) follows through where gmrun stops — it simply uses bash and a small terminal window to create a launcher, so everything you know from bash is already there, and it adds a lot of features that gmrun has, and then some more.

  13. 13 Stephen Coetzee 2011/04/01 at 8:46 PM

    Awesome blog, how do you get around ssh closing instantly when you run it via gmrun?

    • 14 WARvault 2011/04/26 at 1:45 PM

      Hope you get this Stephen, you need to hit CTRL + ENTER instead of just plain ENTER after a command it bring it up in a terminal… I tested it with SSH here and it works. I have been using GMRun for ~2 years and didn’t know this myself until now!


  1. 1 Fleshing out XFCE in Ubuntu « Motho ke motho ka botho Trackback on 2009/12/16 at 8:16 AM

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




Welcome!



Visit the Wiki!

Some recent desktops


May 6, 2011
Musca 0.9.24 on Crux Linux
150Mhz Pentium 96Mb 8Gb CF
 


May 14, 2011
IceWM 1.2.37 and Arch Linux
L2300 core duo 3Gb 320Gb

Some recent games


Apr. 21, 2011
Oolite on Xubuntu 11.04
L2300 core duo 3Gb 320Gb

Enter your email address to subscribe to this blog and receive notifications of new posts.

Join 405 other followers

License

This work is licensed under the GNU Free Documentation License. Please see the About page for details.

Blog Stats

  • 3,960,988 hits

Archives


Follow

Get every new post delivered to your Inbox.

Join 405 other followers

%d bloggers like this: