Re: FVWM: Further info on de-iconifying xconsole - - does not work!

From: Dominik Vogt <dominik.vogt_at_math.uh.edu>
Date: Fri, 9 Feb 2001 12:09:00 +0100

On Fri, Feb 09, 2001 at 12:46:45AM -0800, Thomas Adam wrote:
> Dear All,
>
> As soon as I got home from school, I booted into fvwm2
> and made the following changes (kindly supplied by
> Dominik Vogt), thus:
>
> *FvwmEvent icon_name Function DeiconifyXconsole
> *FvwmEventPassID
> AddToFunc DeiconifyXconsole
> + "I" WindowId $0 (xconsole\*) iconify off
>
> Then, I put the above into the correct .m4 files (as
> suggested by Thomas A Gardiner). I then rebooted
> fvwm2, and piped a message to /dev/console. The
> asterisk did appear by the icon (and consequently my
> piped message), but alas the xconsole window did not
> popup so that I could view what was being displayed!!
> I then realised that I should of changed icon_name to
> the icon name of "xconsole" and I did. However, even
> after this reboot...xconsole would not deiconify, so
> that I could see what I had piped to it.
>
> So, I then remembered that fvwm2 produces a error file
> in my home directory (/root/.FVWM2-errors) I loaded
> this and found that the following error had been
> logged to it:
>
> FvwmEvent Version 2.2.2 should only be executed by
> fvwm!
>
> Does this bear any relation to the problem??

Yes. You have to start the FvwmEvent module from your fvwm config
file. Usually you add this to your InitFunction and
RestartFunction (or the StartFunction with 2.3.x):

  AddToFunc InitFunction
  + I Module FvwmEvent
  AddToFunc RestartFunction
  + I Module FvwmEvent

Or if you want to do it manually for the moment, run FvwmConsole
(e.g. from a menu) and type

  Module FvwmEvent

there.

> Secondly (and I forgot to mention this yesterday) if I
> do get this FvwmEvent working, is there a way of then
> telling xconsole to deiconify to a specific area on my
> screen??

This is a bug in 2.2.x. When a window starts iconic, it is not
placed by the placement algorithm. When it is deiconified it is
put whereever the application wanted it, which is usually +0+0.
With the latest beta (2.3.28) fvwm will place the window even when
started iconic, so you can use the normal methods to place it, for
example by putting a geometry resource in you .Xdefaults file:

  xconsole*geometry: +123+456

Bye

Dominik ^_^ ^_^

--
Dominik Vogt, email: d.vogt_at_lifebits.de
LifeBits Aktiengesellschaft, Albrechtstr. 9, D-72072 Tuebingen
fon: ++49 (0) 7071/7965-0, fax: ++49 (0) 7071/7965-20
--
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 Fri Feb 09 2001 - 05:10:09 GMT

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