GoToPage doesn't change page

Hi,

I have this function in my config:

DestroyFunc FuncFvwmSearch
AddToFunc FuncFvwmSearch
+ I Exec exec $[HOME]/bin/opera_search_clipboard_in_new_tab
+ I Exec GoToPage 4 0

opera_search_clipboard_in_new_tab script does this:

#!/bin/sh
opera -newpage http://www.google.com/search?q="`xsel -o`"

Mentioned function does the search in new opera tab (it’s hooked to the keystroke), but fvwm somehow refuses to change the Page. If i eneter GoToPage 4 0 manually into fvwm console page is changed nicely.

Anybody know what could be wrong?

Robert

GotoPage is an fvwm builtin. You shall not put Exec in front of it.

Thanks! That was easy :slight_smile: