You are not logged in.

#1 2008-02-26 19:19:20

kramerxiita
Member
Registered: 2008-02-14
Posts: 89

Gmrun alternative

I find this program yesterday, and share. big_smile

http://code.google.com/p/grun/

AUR: http://aur.archlinux.org/packages.php?ID=14769

Good alternative for Gmrun.

Offline

#2 2008-02-26 19:44:07

kramerxiita
Member
Registered: 2008-02-14
Posts: 89

Re: Gmrun alternative

Offline

#3 2008-02-26 19:59:20

wuischke
Member
From: Suisse Romande
Registered: 2007-01-06
Posts: 630

Re: Gmrun alternative

I'm using gmrun, could you please tell me what's better about these alternatives?

Offline

#4 2008-02-27 03:12:49

mrcold
Member
Registered: 2008-01-24
Posts: 150

Re: Gmrun alternative

wuischke wrote:

I'm using gmrun, could you please tell me what's better about these alternatives?

what he said smile

Offline

#5 2008-02-27 13:00:31

oliwer
Member
From: Paris
Registered: 2007-06-30
Posts: 153
Website

Re: Gmrun alternative

This thread lacks a features comparison.

Offline

#6 2008-02-27 13:23:32

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: Gmrun alternative

dmenu > *


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#7 2008-02-27 13:35:38

wuischke
Member
From: Suisse Romande
Registered: 2007-01-06
Posts: 630

Re: Gmrun alternative

I disagree. I use dmenu, too, but it lacks on flexibility.

With gmrun, I can execute e.g. leafpad ~/doc/file.txt and I have my typing environment. With dmenu I have to use the horrible file-open dialog after starting the application.

Therefore are dmenu + gmrun in my eyes a fast and flexible combination.

Offline

#8 2008-02-27 13:47:18

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: Gmrun alternative

thats cause you exec dmenu the wrong way... you can pass arguments to dmenu just like gmrun


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#9 2008-02-27 14:09:58

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: Gmrun alternative

wuischke wrote:

I disagree. I use dmenu, too, but it lacks on flexibility.

With gmrun, I can execute e.g. leafpad ~/doc/file.txt and I have my typing environment. With dmenu I have to use the horrible file-open dialog after starting the application.

Therefore are dmenu + gmrun in my eyes a fast and flexible combination.

dolby is correct, in gmrun you would type "leafpad ~/doc/file.txt" and it would open leafpad with that file open. in dmenu you do the exact same thing.  in fact, dmenu is much more flexible, because it doesnt have to be used to launch programs, but that is another discussion.


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

#10 2008-02-27 14:21:35

wuischke
Member
From: Suisse Romande
Registered: 2007-01-06
Posts: 630

Re: Gmrun alternative

Hey, thanks a lot for pointing this out to me. I (obviously) didn't know that.

rson451: Can you point me to resources for information about other usage cases for dmenu?

Offline

#11 2008-02-27 14:50:22

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: Gmrun alternative

Can dmenu browse through the history of used commands?

Offline

#12 2008-02-28 01:55:14

andywxy
Member
From: Winnipeg, Canada
Registered: 2007-09-27
Posts: 36

Re: Gmrun alternative

wuischke wrote:

Hey, thanks a lot for pointing this out to me. I (obviously) didn't know that.

rson451: Can you point me to resources for information about other usage cases for dmenu?

+1 this big_smile

Offline

#13 2008-02-28 02:11:55

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: Gmrun alternative

wuischke wrote:

Hey, thanks a lot for pointing this out to me. I (obviously) didn't know that.

rson451: Can you point me to resources for information about other usage cases for dmenu?

What about this two:

Search for album in mpd "database" and play the whole album. Nice to be bound to a media-key...

[sigi@arch ~]$ cat sonstiges/scripte/mpcalbum.sh 
#!/bin/bash
ALBUMTITLE=`mpc listall | awk -F / '{print $2 " - " $3}' | grep -v mp3 | uniq | sort -f | dmenu -b -i -nb "#000" -nf "#7af" -sb "#000" -sf "#bdf" | sed -e 's#\ \-\ #\/#'`
mpc listall | grep "$ALBUMTITLE" > .mpdnewlist_tmp
mpc clear
j=`wc -l .mpdnewlist_tmp | awk '{print $1}'`
J=`echo $j+1 | bc`
for ((i=1; i<J; i++)) ; do 
    mpc add "`sed -n "${i}p" .mpdnewlist_tmp`" > /dev/null
done
mpc play 1
mpc random off
rm .mpdnewlist_tmp

Add a single song to the playlist and play it:

[sigi@arch ~]$ cat sonstiges/scripte/addsong.sh 
#!/bin/bash
mpc listall | dmenu -b -i -nb "#000" -nf "#7af" -sb "#000" -sf "#bdf" | mpc add - ; mpc play `mpc | sed -n '2,2p' | tr -s " " | cut -d " " -f 2 | cut -d "/" -f 2`

Cheers Sigi


Haven't been here in a while. Still rocking Arch. smile

Offline

#14 2008-02-28 03:44:54

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: Gmrun alternative

@all:  i don't want to hijack this thread.  if you want to know more uses for dmenu, read up on pipe menus.  dmenu takes any text piped into it and creates a menu.  for the history example, "$(cat ~/.bash_history | sort | uniq | dmenu )" creates a menu of everything unique command in your  (bash)history and will execute it upon selection.  the possibilities are endless.


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

Board footer

Powered by FluxBB