Re: FVWM: Simple Hack: A Run Dialog

From: Johan Svedberg <winkle_at_acc.umu.se>
Date: Mon, 5 May 2003 23:27:01 +0200

* May 05 23:10 Felix E. Klee <felix.klee.fvwm_at_gmx.net>:
> 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".

Why not just use FvwmForm?

-- 
Johan Svedberg, winkle_at_acc.umu.se, http://www.acc.umu.se/~winkle
--
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 majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Mon May 05 2003 - 16:28:32 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:54 BST