Le Mon, 30 Apr 2007 13:36:08 -0400,
Paul Fox <[EMAIL PROTECTED]> a écrit :

> hi --
> 
> what's the best way of debugging new fvwm-crystal functionality?
> 
> specifically, what's the simplest way of printing the "internal"
> data elements to a file or log, to help in debugging?  for instance,
> if i wanted to print the list of windows, and their properties,
> and the current window, before every window operation, how would
> i do that?

You will get some error messages in ~/.xsession-errors. Otherwise, in the devel
menu, you can launch FVWM-Console. From it, you can launch any FVWM command as
they will appear in the configuration files.

In 'man fvwm', it is also a debug commandline option that you can use. To
lauch fvwm-crystal, you can have 'fvwm-crystal' in .xinitrc or in a desktop file
for gdm or kdm, but you can also use something that will explicitly launch
fvwm with fvwm-crystal configuration:

fvwm2 -f /usr/bin/../share/fvwm-crystal/fvwm/config -s 0
or
fvwm2 -f /usr/bin/../local/share/fvwm-crystal/fvwm/config -s 0

You will get exactly the same result as when using 'fvwm-crystal'.

You can add the debug options:

fvwm2 -f /usr/bin/../share/fvwm-crystal/fvwm/config -s 0 -D

 
> 
> (i'm going to try implementing the window ring commands myself,
> since they don't seem to exist.)
> 

Did you see Maciej last answer to your old thread on the same subject. It added
a file in FVWM-Crystal darcs repository with this ring function:
'components/functions/Window-Ring'
Maybe at it will be enough to just include it into your config.

Ciao,
Dominique

_______________________________________________
fvwm-crystal-users mailing list
fvwm-crystal-users@gna.org
https://mail.gna.org/listinfo/fvwm-crystal-users

Reply via email to