they're kind of old, but..
This commit is contained in:
parent
1ac67f439e
commit
f74b1840d8
|
@ -0,0 +1,47 @@
|
|||
|
||||
since gmrun version 0.2.5 there is possible to use a configuration file for
|
||||
some features gmrun has... for now only Terminal and Width are available but
|
||||
maybe more will be added in the future ;-]~
|
||||
|
||||
The configuration file should be located in your home directory, named as
|
||||
GMRUNRC compilation directive (".gmrunrc" by default).
|
||||
|
||||
The syntax is plain simple. Look at the example below:
|
||||
--
|
||||
TermExec = xterm -bg black -fg white -geometry 100x60 -e
|
||||
Width = 300
|
||||
Top = 100
|
||||
Left = 50
|
||||
--
|
||||
|
||||
* 'TermExec' is the command used for terminal spawning when the magic
|
||||
Ctrl-Enter is pressed upon a gmrun command. NOTE that -e should be THE
|
||||
VERY LAST argument as the program just gets this configuration line and
|
||||
appends to it the gmrun input text. ie, try: 'man bash<Ctrl-Enter>'
|
||||
|
||||
* 'Width' is simply the desired width of the gmrun window in pixels (by
|
||||
default it is 500 which may be a little big for low-resolution X desktops).
|
||||
|
||||
* 'Top' and 'Left' represent ofc the distance from the top-left corner of your
|
||||
screen where the gmrun window will appear
|
||||
|
||||
|
||||
-----------------------------------
|
||||
NEWS:
|
||||
as gmrun v 0.5.3 appeared... mishoo thought it would be useful to be
|
||||
able to to things like these below in your configuration file:
|
||||
|
||||
##################### set terminal
|
||||
TermOptions = -bg black -cr green -fg white -C -fn 9x15 -sl 8912
|
||||
TermGeometry = -geometry 100x40
|
||||
MyTerm = rxvt
|
||||
|
||||
Terminal = ${MyTerm} ${TermOptions} ${TermGeometry}
|
||||
TermExec = ${Terminal} -e
|
||||
#####################################################
|
||||
|
||||
if you understand it and need it, use it =]~ it's pretty simple duh.. and
|
||||
quite useless though ;-]~
|
||||
|
||||
|
||||
//altblue
|
|
@ -0,0 +1,15 @@
|
|||
* Terminal spawning:
|
||||
- just activate your command by pressing not only ENTER but CTRL-ENTER
|
||||
(i.e.: man perl<CTRL-ENTER>)
|
||||
|
||||
* Completion:
|
||||
- hit TAB key to get a list of possible completions
|
||||
(isn't that obvious, duh!?! =]~ )
|
||||
|
||||
* Window too large?
|
||||
- read README.gmrunrc
|
||||
|
||||
* Want to run eterm/kterm/rxvt/gnome-terminal/footerm instead xterm?
|
||||
- read README.gmrunrc
|
||||
|
||||
//altblue
|
|
@ -0,0 +1,32 @@
|
|||
for those who use icewm as their window manager gmrun comes as a very light and good
|
||||
replacement for the nifty but desktop space consuming 'address bar' that
|
||||
comes with this window manager.
|
||||
what should you do:
|
||||
edit your icewm preferences (~/.icewm/preferences) and modify some
|
||||
params there as below:
|
||||
TaskBarDoubleHeight=0
|
||||
ShowAddressBar=0 # in fact this is the only option you need to
|
||||
# modify.. but this was my only reason to use a
|
||||
# double-height taskbar :))
|
||||
RunCommand="gmrun" # heh, this too :) .. it's pretty obvious why :P~
|
||||
|
||||
this can suffice but still there is more you can do to make your life easier:
|
||||
|
||||
1. put up a keyboard shortcut for gmrun:
|
||||
edit ~/.icewm/keys and put there a line like this one below:
|
||||
key "Alt+Ctrl+r" gmrun
|
||||
|
||||
2. customize the gmrun window management:
|
||||
edit ~/.icewm/winoptions and put there stuff like this:
|
||||
gmrun.ignoreTaskBar: 1
|
||||
gmrun.layer: OnTop
|
||||
gmrun.fResize: 0
|
||||
gmrun.fClose: 0
|
||||
gmrun.fMinimize: 0
|
||||
gmrun.fMaximize: 0
|
||||
gmrun.fHide: 0
|
||||
gmrun.fRollup: 0
|
||||
gmrun.dTitleBar: 0
|
||||
gmrun.dBorder: 0
|
||||
|
||||
//altblue
|
Loading…
Reference in New Issue