Hi,

here is something I want to share. I found a very simple way to realize a 
run dialog (similar to grun, tkrun, etc.) using an rxvt. The trick is to 
bind the string " &\nexit\n" (I'm using bash) to the return key.

To start the dialog I created the following script:

.fvwm/run-dialog:
    #!/bin/sh
    rxvt +sb -name fvwm-run-dialog -title "run" -geometry 80x1+224+360 \  
    --keysym.0xFF0D: " &\nexit\n" -e bash --init-file \
    $HOME/.fvwm/run-dialog.bash-init

As an initialization script for bash it uses:

.fvwm/run-dialog.bash-init:
    export PS1=""

And in my .fvwm2rc I put:

    Style fvwm-run-dialog GrabFocus
    Key R A 4 Exec exec $[HOME]/.fvwm/run-dialog

Now, I can start the dialog using "Win-R".

Felix

-- 
To contact me in private don't reply but send email to 
  felix DOT klee AT inka DOT de
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to