Re: FVWM: iconic

From: Dominik Vogt <dominik.vogt_at_gmx.de>
Date: Sun, 8 Oct 2000 16:04:43 +0200

On Sun, Oct 08, 2000 at 03:39:45AM -0700, Thomas Adam wrote:
> Dear All,
>
> I am fairly new to fvwm2, but I am gradually getting
> the hang of doing minor customisations to the fvwm2
> config. files. This question may seem stupid, but here
> goes....
>
> 1. I have tried to get a program such as "kedit" to
> load as an icon when I start up fvwm2. I did this by
> using Style "kedit" StartsOnDesk 1 2, StartIconic.
>
> This sometimes worked, and sometimes did not, why????
> Is it something that I am doing wrong???

I don't know. Generally, using KDE applications outside
of KDE is a bad idea. All these programs support only
kwm, the window manager that comes with KDE. Many of
them are very *very* buggy and ignore about everything
that applications have to do to cooperate nicely with
other window managers. When I started kedit to check
your problem, it froze X completely several times, flickered
a lot, raised its own windows over other newly mapped windows
and so on. I recommend you do not use any KDE applications
with fvwm that cause you trouble (or you could switch
completely to KDE).
 
> 2. Another annoying thing, is that after it had
> worked, kedit would iconify other windows aswell, i.e.
> when I went to File ---> open, that open window would
> iconify as well, is there away around this???

That is because of the stupid naming scheme of kedit. Under X,
every window has a name (which is "kedit"), a resource name
(also "kedit") and a class name (also "kedit"). When you
create a style "kedit", this applies to all windows with a
matching name, class or resource. Unfortunately all kedit
sub windows get the resource and class "kedit", so your
style applies to all su windows also :-P Possible solutions
are:

 1) Give the main kedit window and the style a different name.
    No idea how to do this since KDE traditionally comes without
    any usable command line documentation.
 2) Explicitly disable the StartIconic style for the sub windows:

      Style Open StartNormal
      Style "Select Font" StartNormal
      ...
    This would only be a last resort since you have to list all
    window names manually.

> 3. kedit does not seem to like the -geometry command.
> How then do I load kedit in a windows position that I
> choose????

I have no idea. kedit seems to ignore user preferences completely.
There is always the possibility to use FvwmEvent to move the newly
mapped window (try "man FvwmEvent). Perhaps someone can provide
a sample config.

Bye

Dominik ^_^ ^_^

--
Dominik Vogt, dominik.vogt_at_gmx.de
Reply-To: dominik.vogt_at_gmx.de
--
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 Tue Oct 10 2000 - 12:04:33 BST

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