SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2009-04-04 19:19:48

fhsm
#! Junkie
From: New Hampshire, USA
Registered: 2009-01-05
Posts: 445

Getting a little more out of GMRun (A-F2)

The box that pops up to launch an app when you hit Alt - F2 is gmrun.

Crunchbang, or at least my version of it (this may have changed) doesn't ship with a gmrun config file.  It's got the /usr/share/gmrun/gmrunrc symlink but not /etc/gmrunrc or ~/.gmrunrc

I'm getting a little more out of gmrun with the following config

Terminal = terminator
TermExec = terminator --command
URL_http = /usr/bin/firefox %u

It works the same way regardless of location, so you can add it to either /etc/gmrunrc or ~/.gmrunrc.

Why bother?  Now Alt+F2 to open the gmrun dialog, then:
   1) type htop (or whatever), then Ctrl + Enter ==> Terminator will open running htop (or whatever)

   2) leave the dialog blank and hit Ctrl + Enter ==> just Terminator ready to go (an openbox keyboard binding is better but worth point out you've got this now)

   3) http://example.com ==> Firefox opens with example.com loaded

I think you can add your own URL link for anything you want with that general format (say ftp to gFTP for example)

Hopefully that helps someone.  Now if only the alt+f2 binding worked all the time...

Offline

Help fund CrunchBang, donate to the project!

#2 2009-04-04 19:32:17

corenominal
WRONG
From: Lincoln, UK
Registered: 2008-11-20
Posts: 5,057
Website

Re: Getting a little more out of GMRun (A-F2)

Great tip, thank you for sharing! smile

Offline

#3 2009-04-04 19:48:35

kBang
#! Die Hard
From: Calera, AL, USA
Registered: 2009-01-06
Posts: 774

Re: Getting a little more out of GMRun (A-F2)

O.O nice find!

So could I, say... Crunchbang = /usr/bin/firefox-3.6 http://crunchbangforums.org/forums

Why haven't I ever thought of that, nifty way to quickly open up a browser to the forums.


I view KDE like I view snow. It looks fun and marvelous, it's fun to play in, but after a while I just want someone to take it all away.

Offline

#4 2009-04-04 20:16:08

fhsm
#! Junkie
From: New Hampshire, USA
Registered: 2009-01-05
Posts: 445

Re: Getting a little more out of GMRun (A-F2)

kBang wrote:

O.O nice find!

So could I, say... Crunchbang = /usr/bin/firefox-3.6 http://crunchbangforums.org/forums

Why haven't I ever thought of that, nifty way to quickly open up a browser to the forums.


It's not like a bashrc file it doesn't do aliasing.  Instead it has support for url handling and a few others things.  So you'd have to make #! a protocol with something like

URL_cb = /usr/bin/firefox http://crunchbanglinux.org/forums/

then run it by typing cb:// into the dialog box.

Bit of a hack, but I kind of like the idea of a #! protocol.

Offline

#5 2009-04-04 20:47:29

omns
#! wanderer
From: ~/
Registered: 2008-11-25
Posts: 5,131

Re: Getting a little more out of GMRun (A-F2)

This is pretty cool, thank you for sharing smile

Offline

#6 2009-05-06 04:04:40

evhan
#! Member
Registered: 2009-04-28
Posts: 58
Website

Re: Getting a little more out of GMRun (A-F2)

You, sir, have just given me the reason I've been looking for to ditch Gnome-Do and pick up this little app for good. I never really looked into the customization of gmrun before -- looks neat.

Offline

#7 2009-05-08 07:51:22

karthik
#! Member
Registered: 2009-01-29
Posts: 61

Re: Getting a little more out of GMRun (A-F2)

This is fantastic. It's been a week since I amped up gmrun and now I use it for everything.
Thanks, fhsm.

Offline

#8 2009-05-08 15:41:10

evhan
#! Member
Registered: 2009-04-28
Posts: 58
Website

Re: Getting a little more out of GMRun (A-F2)

karthik wrote:

This is fantastic. It's been a week since I amped up gmrun and now I use it for everything.
Thanks, fhsm.

Did you happen to make any other changes? what does your config look like now?

Offline

#9 2009-05-08 16:39:08

OOmagoolies
Member
From: Wales,UK
Registered: 2009-03-22
Posts: 19

Re: Getting a little more out of GMRun (A-F2)

Excellent


Registered Linux user #488058  > Get counted at http://counter.li.org
---------------------------------------------------------------------------------------------------
--------------                Ignorance is Bliss              -----------------#!#!#!

Offline

#10 2009-05-10 17:35:32

karthik
#! Member
Registered: 2009-01-29
Posts: 61

Re: Getting a little more out of GMRun (A-F2)

evhan wrote:
karthik wrote:

This is fantastic. It's been a week since I amped up gmrun and now I use it for everything.
Thanks, fhsm.

Did you happen to make any other changes? what does your config look like now?

No, I haven't made any changes. gmrun works perfectly as a launcher for me because I tend to use terminal applications for almost all general purposes: elinks, mcabber(IM), mocp, irssi, vim, hnb(notebook) and a dozen other custom scripts for odd jobs (downloading flash videos, mass renaming, pdf manipulation, mp3 tagging, etc). Ctrl+Enter is proving to be very useful for these things.

Offline

#11 2009-05-12 13:46:05

fhsm
#! Junkie
From: New Hampshire, USA
Registered: 2009-01-05
Posts: 445

Re: Getting a little more out of GMRun (A-F2)

If anyone has additions to the config I posted I'd be interested in seeing what you've done.

Offline

#12 2009-08-09 16:08:05

drazzard
New Member
Registered: 2009-08-09
Posts: 1

Re: Getting a little more out of GMRun (A-F2)

I added the following line to search google from the desktop.

URL_gg = firefox http://www.google.com/search?q='%s'

And as a side note, you only need the colon for these URL_xxx shortcuts (not the two slashes). You can just type...

gg:crunchbang linux forums

Offline

#13 2010-07-05 10:58:35

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,620
Website

Re: Getting a little more out of GMRun (A-F2)

Arise smile

Here some simple modifications to .gmrunrc [this section can be found starting from ~line 33] - nothing special, just added a  wikid:suchbegriff and wikie:searchterm line for german and english quick wikipedia lookup,  ins:packagename and up: shortcut to update && upgrade the system. Also changed default file manager to thunar.

URL_http = x-www-browser '%u'
URL_mailto = mozilla -remote "mailto(%s)"
URL_man = ${TermExec} 'man %s'
URL_info = ${TermExec} 'info %s'
URL_pd = ${TermExec} 'perldoc %s'
URL_file = thunar %s                                                                       # Use Thunar for file:name
URL_readme = ${TermExec} 'less /usr/doc/%s/README'  
URL_info = ${TermExec} 'info %s'
URL_sh = sh -c '%s'
URL_gg = x-www-browser 'http://www.google.com/search?q=%s'    # gg:name searches google.com
URL_w = ${TermExec} 'w3m http://www.google.com/search?q=%s'  # w:name searches google.com in w3m
URL_wikie = x-www-browser 'http://en.wikipedia.org/w/index.php?title=Special%3ASearch&search=%s' 
URL_wikid = x-www-browser 'http://de.wikipedia.org/w/index.php?title=Spezial%3ASuche&search=%s' 
URL_ins = ${TermExec} 'sudo apt-get update && sudo apt-get install %s' 
URL_up = ${TermExec} 'sudo apt-get update && sudo apt-get upgrade'

It's also interesting to check the line "AlwaysInTerm" in ~line 8, mine is

AlwaysInTerm = ssh telnet ftp lynx mc vi vim pine centericq perldoc man top htop mocp ncmpcpp w3m nano

Offline

#14 2010-07-05 13:36:44

hauberg
Member
From: Denmark
Registered: 2010-06-19
Posts: 12

Re: Getting a little more out of GMRun (A-F2)

Nice ideas Arise!

cant get the ones with ${ExecTerm} to work though. Terminal opens, but its blank... hmm

Offline

#15 2010-07-06 00:21:31

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,620
Website

Re: Getting a little more out of GMRun (A-F2)

hauberg,

be sure that

Terminal = terminator 
TermExec = terminator --command

are in the .gmrunrc and that w3m is installed for the w:name (which you can omit)

The update and install commands are called by entering

up: 
#or
ins:

Edit: this is the gmrunrc of Statler, so if you use CB 9.04 or older you have to create a ~/.gmrunrc file and add the portion of post #1

Last edited by machinebacon (2010-07-06 00:23:59)

Offline

#16 2010-07-06 01:17:13

hauberg
Member
From: Denmark
Registered: 2010-06-19
Posts: 12

Re: Getting a little more out of GMRun (A-F2)

machinebacon,

I've just ran a check to see if I actually had missed something of the things you mentioned. I didn't. But... I did miss to mention that I've yet only tried it on my debian-lenny-openbox crunchbang lookalike.
I'm reading about it now on some pages - I'll let you know what I find out.

Offline

#17 2010-07-06 03:30:34

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,620
Website

Re: Getting a little more out of GMRun (A-F2)

hauberg,

I post my complete gmrunrc so you can compare if there is something missing:

# gmrun configuration file
# gmrun is (C) Mihai Bazon, <mishoo@infoiasi.ro>
# GPL v2.0 applies

# Set terminal
Terminal = x-terminal-emulator
TermExec = terminator --command
AlwaysInTerm = ssh telnet ftp lynx mc vi vim pine centericq perldoc man top htop mocp ncmpcpp w3m nano

# Set window geometry (except height)
Width = 500

# History size
History = 256

# Shows last history line selected when invoked
ShowLast = 1

# Show files starting with '.'
# Default is 0 (off), set it to 1 if you want "hidden" files to show up
# in the completion window
ShowDotFiles = 0

# Timeout (in milliseconds) after which gmrun will simulate a TAB press
# Set this to NULL if don't like this feature.
TabTimeout = 0

# URL handlers
# If the entered text is "http://www.google.com" then:
#   - %u gets replaced with the whole URL ("http://www.google.com")
#   - %s gets replaced with "//www.google.com".  This is useful for URL-s
#     like "man:printf" --> %s will get replaced with "printf"
URL_http = x-www-browser '%u'
URL_mailto = mozilla -remote "mailto(%s)"
URL_man = ${TermExec} 'man %s'
URL_info = ${TermExec} 'info %s'
URL_pd = ${TermExec} 'perldoc %s'
URL_file = thunar %s                                        # Use Thunar for file:name
URL_readme = ${TermExec} 'less /usr/doc/%s/README'  
URL_info = ${TermExec} 'info %s'
URL_sh = sh -c '%s'
URL_g = x-www-browser 'http://www.google.de/search?q=%s'    # g:name searches google.de
URL_w = ${TermExec} 'w3m http://www.google.de/search?q=%s'  # w:name searches google.de in w3m
URL_wikie = x-www-browser 'http://en.wikipedia.org/w/index.php?title=Special%3ASearch&search=%s' 
URL_wikid = x-www-browser 'http://de.wikipedia.org/w/index.php?title=Spezial%3ASuche&search=%s' 
URL_ins = ${TermExec} 'sudo apt-get update && sudo apt-get install %s' 
URL_up = ${TermExec} 'sudo apt-get update && sudo apt-get upgrade && echo %s'

# extension handlers
EXT:doc,rtf = AbiWord %s
EXT:txt,cc,cpp,h,java,html,htm,epl,tex,latex,js,css,xml,xsl,am = emacs %s
EXT:ps = gv %s
EXT:pdf = evince %s

Offline

#18 2010-07-06 12:00:20

hauberg
Member
From: Denmark
Registered: 2010-06-19
Posts: 12

Re: Getting a little more out of GMRun (A-F2)

Hi machinebacon, I really appreciate all your help!

I think I found the problem. However, a bigger problem has arisen - I can't fix it.

When I run it in terminal, I get this text:
*** VTE ***: Failed to load terminal capabilities from '/etc/termcap'

Which seems logical as my file system doesn't contain the said location.

However, when I run the URL with gnome-terminal in the gmrunrc, it works \o/. So, in a sense I found a workaround. I would be happier to have it show in terminator though smile

The problem has got do to with these three files it seems (at least a few people had a similar problem according to google):

libvte9
libvte-common
(and maybe even) gnome-terminal

Those people had succes with reinstalling the said files. I didn't sad

EDIT: meh!!  the terminal warning above was due to a spelling error in "xterm". Please ignore that part.
Ive decided to use gnome-terminal for the job, as my terminator still won't do it.

Last edited by hauberg (2010-07-06 13:27:40)

Offline

#19 2010-07-06 13:44:20

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,620
Website

Re: Getting a little more out of GMRun (A-F2)

Hi hauberg,

that's quite sad smile A possibility

First: Could you please try to rename

TermExec = terminator --command

to

TermExec = terminator -e

for a try? If it doesn't work, change it back to terminator --command again.

I found a termcap on my PC (zenwalk), but not in debian. I post it here, without warranty:

# [Slackware note:  If you're looking for a big, full-featured termcap,
#  use /etc/termcap-BSD instead ]
#
# From: miquels@drinkel.ow.org (Miquel van Smoorenburg)
#
# Okay guys, here is a shorter termcap that does have most
# capabilities and is ncurses compatible.  If it works for you
# I'd like to hear about it.
# 
# Some entries in termcap 2.0.7 are too long and your programs
# may complain "tgetent: warning: termcap entry too long". Here is
# a smaller termcap.  But it may not cover as many terminals as the one
# in termcap 2.0.7.  You can install it as /etc/termcap.
#
# termcap    Termcap entries for the VT family.
#        All termcap entries have been freed of the 'ks' and
#        'ke' entries, that put the keypad into applications
#        mode. This is a generally misused entry, not ment
#        for the vt100 "applications" mode. Now cursor and
#        function keys will work in all programs.
#
#        Also, there is a "generic" vt entry with common
#        entries for all terminals, on which all other entries
#        are built.
#
# Version:    @(#) vt-termcap 1.37 12-Mar-1996 MvS
#

# Generic VT entry.
vg|vt-generic|Generic VT entries:\
    :bs:mi:ms:pt:xn:xo:it#8:\
    :RA=\E[?7l:SA=\E?7h:\
    :bl=^G:cr=^M:ta=^I:\
    :cm=\E[%i%d;%dH:\
    :le=^H:up=\E[A:do=\E[B:nd=\E[C:\
    :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:DO=\E[%dB:\
    :ho=\E[H:cl=\E[H\E[2J:ce=\E[K:cb=\E[1K:cd=\E[J:sf=\ED:sr=\EM:\
    :ct=\E[3g:st=\EH:\
    :cs=\E[%i%d;%dr:sc=\E7:rc=\E8:\
    :ei=\E[4l:ic=\E[@:IC=\E[%d@:al=\E[L:AL=\E[%dL:\
    :dc=\E[P:DC=\E[%dP:dl=\E[M:DL=\E[%dM:\
    :so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\
    :mb=\E[5m:mh=\E[2m:md=\E[1m:mr=\E[7m:me=\E[m:\
    :sc=\E7:rc=\E8:kb=\177:\
    :ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:

## Linux console. One should really set TERM=linux instead of TERM=console.
#lx|linux|console|con80x25|LINUX System Console:\
#    :co#80:li#25:am:\
#    :is=\E[m\E[?1l\E>\E[10m:\
#    :rs=\E[m\E[?1l\E>\E[10m:\
#    :ch=\E[%i%dG:cv=\E[%i%dd:\
#    :eA=\E)0:as=^N:ae=^O:ac=aaffggjjkkllmmnnooqqssttuuvvwwxx:\
#    :ve=\E[?25h:vi=\E[?25l:\
#    :se=\E[27m:ue=\E[24m:mh=\E[2m:\
#    :ks=:ke=:\
#    :kh=\E[1~:kH=\E[4~:kI=\E[2~:kD=\E[3~:kP=\E[5~:kN=\E[6~:\
#    :k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:\
#    :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k0=\E[21~:\
#    :F1=\E[23~:F2=\E[24~:\
#    :tc=vt-generic:

# Slackware 3.1 linux termcap entry (Sat Apr 27 23:03:58 CDT 1996):
lx|linux|console|con80x25|LINUX System Console:\
        :do=^J:co#80:li#25:cl=\E[H\E[J:sf=\ED:sb=\EM:\
        :le=^H:bs:am:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
        :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[27m:us=\E[36m:ue=\E[m:\
        :md=\E[1m:mr=\E[7m:mb=\E[5m:me=\E[m:is=\E[1;25r\E[25;1H:\
        :ll=\E[1;25r\E[25;1H:al=\E[L:dc=\E[P:dl=\E[M:\
        :it#8:ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:kb=^H:ti=\E[r\E[H:\
        :ho=\E[H:kP=\E[5~:kN=\E[6~:kH=\E[4~:kh=\E[1~:kD=\E[3~:kI=\E[2~:\
        :k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[17~:\
        :k7=\E[18~:k8=\E[19~:k9=\E[20~:k0=\E[21~:K1=\E[1~:K2=\E[5~:\
        :K4=\E[4~:K5=\E[6~:\
        :pt:sr=\EM:vt#3:xn:km:bl=^G:vi=\E[?25l:ve=\E[?25h:vs=\E[?25h:\
        :sc=\E7:rc=\E8:cs=\E[%i%d;%dr:\
        :r1=\Ec:r2=\Ec:r3=\Ec:

# Some other, commonly used linux console entries.
lx|con80x28:co#80:li#28:tc=linux:
lx|con80x43:co#80:li#43:tc=linux:
lx|con80x50:co#80:li#50:tc=linux:
lx|con100x37:co#100:li#37:tc=linux:
lx|con100x40:co#100:li#40:tc=linux:
lx|con132x43:co#132:li#43:tc=linux:

# vt102 - vt100 + insert line etc. VT102 does not have insert character.
v2|vt102|DEC vt102 compatible:\
    :co#80:li#24:\
    :ic@:IC@:\
    :is=\E[m\E[?1l\E>:\
    :rs=\E[m\E[?1l\E>:\
    :eA=\E)0:as=^N:ae=^O:ac=aaffggjjkkllmmnnooqqssttuuvvwwxx:\
    :ks=:ke=:\
    :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
    :tc=vt-generic:

# vt100 - really vt102 without insert line, insert char etc.
vt|vt100|DEC vt100 compatible:\
    :im@:mi@:al@:dl@:ic@:dc@:AL@:DL@:IC@:DC@:\
    :tc=vt102:

# Standard vt320 (based on my own digital vt320)
v3|vt320|DEC vt320:\
    :co#80:li#24:hs:es:\
    :is=\E[m\E[2$~\E[?1l\E>:\
    :rs=\E[m\E[?1l\E>:\
    :ve=\E[?25h:vi=\E[?25l:\
    :se=\E[27m:ue=\E[24m:mh=\E[2m:\
    :eA=\E)0:as=^N:ae=^O:ac=aaffggjjkkllmmnnooqqssttuuvvwwxx:\
    :ts=\E[1$}\E[1;%i%dH:fs=\E[0$}:ds=\E[1$}\r\E[m\E[K\E[0$}:\
    :ks=:ke=:\
    :kI=\E[2~:kD=\E[3~:kP=\E[5~:kN=\E[6~:\
    :@4=\E[29~:@0=\E[1~:*6=\E[4~:\
    :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[16~\
    :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k0=\E[21~:\
    :F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
    :F6=\E[29~:F7=\E[31~:F8=\E[32~:\
    :tc=vt-generic:

v8|vt320-8|DEC vt320 in 8-bit mode:\
    :kI=\2332~:kD=\2333~:kP=\2335~:kN=\2336~:\
    :@4=\23329~:@0=\2331~:*6=\2334~:\
    :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\23316~\
    :k6=\23317~:k7=\23318~:k8=\23319~:k9=\23320~:k0=\23321~:\
    :F1=\23323~:F2=\23324~:F3=\23325~:F4=\23326~:F5=\23328~:\
    :F6=\23329~:F7=\23331~:F8=\23332~:\
    :ku=\233A:kd=\233B:kr=\233C:kl=\233D:\
    :tc=vt320:

# Entry for minicom so it uses the PC (IBM) character set.
# If this doesn't work for kernels between 1.1.18 and 1.1.80,
# change \E(U -> \E[11m  (enter ANSI mode)
# and    \E(B -> \E[10m  (leave ANSI mode)
mc|minicom|ansi-mc|termcap entry for minicom on the console:\
    :is=\E[m\E>\E(U:\
    :rs=\E[m\E>\E(B:\
    :as@:ae@:eA@:ac@:\
    :bl=\E(B\007\E(U:\
    :vb=\E(B\007\E(U:\
    :tc=linux:

# Entry for an xterm. Insert mode has been disabled.
vs|xterm|xterm-color|vs100|xterm terminal emulator (X Window System):\
    :am:bs:mi@:km:co#80:li#55:\
    :im@:ei@:\
    :ct=\E[3k:ue=\E[m:\
    :is=\E[m\E[?1l\E>:\
    :rs=\E[m\E[?1l\E>:\
    :eA=\E)0:as=^N:ae=^O:ac=aaffggjjkkllmmnnooqqssttuuvvwwxx:\
    :kI=\E[2~:kD=\177:kP=\E[5~:kN=\E[6~:\
    :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
    :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k0=\E[21~:\
    :F1=\E[23~:F2=\E[24~:\
    :kh=\E[H:kH=\EOw:\
    :ks=:ke=:\
    :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:\
    :tc=vt-generic:

# Some other entries for the same xterm.
v2|xterms|vs100s|xterm small window:\
    :co#80:li#24:tc=xterm:
vb|xterm-bold|xterm with bold instead of underline:\
    :us=\E[1m:tc=xterm:
vi|xterm-ins|xterm with insert mode:\
    :mi:im=\E[4h:ei=\E[4l:tc=xterm:

Eterm|Eterm Terminal Emulator (X11 Window System):\
        :am:bw:eo:km:mi:ms:xn:xo:\
        :co#80:it#8:li#24:lm#0:pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39m\E[49m:\
        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
        :K1=\E[7~:K2=\EOu:K3=\E[5~:K4=\E[8~:K5=\E[6~:LE=\E[%dD:\
        :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
        :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:\
        :ec=\E[%dX:ei=\E[4l:ho=\E[H:i1=\E[?47l\E>\E[?1l:ic=\E[@:\
        :im=\E[4h:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\
        :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
        :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:\
        :kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=:kh=\E[7~:\
        :kl=\E[D:kr=\E[C:ks=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
        :me=\E[m\017:mr=\E[7m:nd=\E[C:rc=\E8:\
        :sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
        :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[24m:up=\E[A:\
        :us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\
        :ac=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:

# DOS terminal emulator such as Telix or TeleMate.
# This probably also works for the SCO console, though it's incomplete.
an|ansi|ansi-bbs|ANSI terminals (emulators):\
    :co#80:li#24:am:\
    :is=:rs=\Ec:kb=^H:\
    :as=\E[m:ae=:eA=:\
    :ac=0\333+\257,\256.\031-\030a\261f\370g\361j\331k\277l\332m\300n\305q\304t\264u\303v\301w\302x\263~\025:\
    :kD=\177:kH=\E[Y:kN=\E[U:kP=\E[V:kh=\E[H:\
    :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:\
    :k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:k0=\EOY:\
    :tc=vt-generic:

# This seems to be an entry for other x86 based unices.
at|at386-m|386AT-M|386at-m|at/386 console:\
    :am:bw:eo:xt:co#80:li#25:\
    :ae=\E[10m:as=\E[12m:\
    :is=\E[0;10;38m:\
    :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:\
    :k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:\
    :kh=\E[H:us=\E[4m:vb=^G:nl=\E[B:kb=^H:\
    :tc=vt-generic:

# Yeah - Minix still lives :)
ma|minix|minix-am|minix-vcam|MINIX 1.5 Virtual Console:\
    :am:bs:co#80:li#25:km:ms:\
    :is=\E[0m\EPlinewrap.on\E\\:\
    :rs=\Ec\EPlinewrap.on\E\\:\
    :as=:ae=:eA=:\
    :ac=0\333+\257,\256.\031-\030a\261f\370g\361j\331k\277l\332m\300n\305q\304t\264u\303v\301w\302x\263~\025:\
    :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:\
    :k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:k0=\EOY:\
    :kD=\177:kH=\E[Y:kN=\E[U:kP=\E[V:kh=\E[H:kb=^H:\
    :ve=\EPcursor.on\E\\:vi=\EPcursor.off\E\\:\
    :tc=vt-generic:

# Some obligatory historic entries.
sa|network|ethernet|arpanet:co#80:os:am:
su|dumb|un|unknown:co#80:os:am:
sd|du|dialup:co#80:os:am:
t7|37|tty37|model 37 teletype:\
    :cr=^M:do=^J:nl=^J:bl=^G:le=^H:bs:hc:hu=\E8:hd=\E9:up=\E7:os:

# Yes, there really are people that login from a Sun Console.
mu|sun|Sun Microsystems Workstation console:\
    :am:bs:km:mi:ms:pt:\
    :li#34:co#80:cl=^L:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
    :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:\
    :kd=\E[B:kl=\E[D:ku=\E[A:kr=\E[C:kh=\E[H:\
    :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
    :al=\E[L:dl=\E[M:im=:ei=:ic=\E[@:dc=\E[P:\
    :rs=\E[s:

Edit: Meh, too slow smile Please ignore this answer, hauberg lol

Last edited by machinebacon (2010-07-06 13:46:54)

Offline

#20 2010-12-07 10:33:54

illumin8
#! Junkie
From: Seattle
Registered: 2009-05-30
Posts: 407
Website

Re: Getting a little more out of GMRun (A-F2)

Im finding it really convenient to add my more frequent web searches to gmrum...

#Google-
URL_gg = chromium http://www.google.com/search?q='%s'

#! Forum Search-
URL_cbs = chromium http://crunchbanglinux.org/search/?cx=partner-pub-3417583613261068:8517114059&cof=FORID:9&ie=UTF-8&q='%s'&sa=Search&siteurl=crunchbanglinux.org/forums/

#Pirate Bay Search-
URL_pb = chromium http://thepiratebay.org/search/'%s'/0/99/0

I also changed the gmrun keybinding in rc.xml to Super - Space...easier on the reach..for me at least.


Website    500px     DeviantArt
God never ends anything on a negative; God always ends on a positive. -- Edwin Louis Cole --

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo