On 02/02/2008, for.register for.register <[EMAIL PROTECTED]> wrote:
> I am a newbie on fvwm, I want to start xterm by press Alt+T, and I
> added "Key t A MC Exec exec xterm" to the config, but helpless.

Key t A MC Exec exec xterm

"MC"says for Meta (Alt) **AND**  Ctrl to be pressed to launch xterm.
You want to change that to:

Key t A M Exec exec xterm

> Thanks for any advice.
>
> Here is my config:
> #####
> # Set Environment variables
>  ###########
> SetEnv fvwm_img $[FVWM_USERDIR]/images
> SetEnv fvwm_icon $[FVWM_USERDIR]/icons

You really just want to set your ImagePath here.

> #####
> # Startup Functions
>  ###########
> DestroyFunc StartFunction
> AddToFunc StartFunction
>         + I Module FvwmPager 1 2
>         + I Module FvwmButtons
>         + I Exec exec xterm
>         + I Exec exec fcitx -d
>
> DestroyFunc InitFunction
>  AddToFunc InitFunction
>         + I Exec exec xscreensaver
>         + I Exec exec fvwm-root -r $[fvwm_wallpapers]/wallpaper4.png
>         + I Module FvwmAuto 100

You don't need nor want InitFunction if you're using FVWM 2.5.X -- You
instead just need to amalgamate that into your StartFunction via a
series of:

+ I Test (init) DoSomething

-- Thomas Adam

Reply via email to