Qstions about configuration

Hi,

I have a few questions about fvwm configuration:

  • Is there a way to put the title of an icon on top of the icon ?
  • Can we give different values for the SnapAttraction of Icons and Windows,
    that is for example, Windows snap together if they are 8 pixels apart, whereas Icons snap only at 3 ?
  • Is it possible to add Modifier keys to the set S C M A N L ?
  • In order to start a window in a shaded state, I start the window far from the screen,
    shade it and then move it on the current page. Is there a cleaner way to do that ?
  • IconAlpha seems to apply to both Icons and MiniIcons; is there a trick
    to make it work only for Icons, or only for MiniIcons ?
  • I want a specific style or colorset to apply only to iconified windows (more generally to windows in some specific state);
    Is there some simple way to achieve that ? I suppose this can be done with FvwmEvent.
    But having three or four such modules working in the background is probably cpu consuming (overkill ?); any feedback on that point ?

Thx for your answers!

Not currently.

Using a function, possibly. But it’s not natively possible.

How do you mean?

Can you be more specific?

Only use it in the colorset you apply to Icons.

Yes.

Not true. They’re event driven.

You need to clarify a number of points.

– Thomas Adam

  • IconAlpha seems to apply to both Icons and MiniIcons; is there a trick
    to make it work only for Icons, or only for MiniIcons ?

Only use it in the colorset you apply to Icons.

How do I set colors or style for Icons only ?
My icons are on the rootwindow;I have seen nothing like IconStyle
in the man and the style command take names of windows as argument.

  • Is it possible to add Modifier keys to the set S C M A N L ?

How do you mean?

something like :
Key F8 A Popup RootMenu
where special key may be the function key, the window key or else

-In order to start a window in a shaded state, I start the window far from the screen,shade it and then move it on the current page. Is there a cleaner way to do that ?

Can you be more specific?

Here is how i start a terminal in a shaded state :

AddToFunc TermStartShaded

  • I exec xterm -name startshaded -geometry +100000+0
  • I wait startshaded
  • I Next (startshaded) windowshade
  • I Next (Startshaded) Move 0 0

It works, the window appears in a shaded state;
but there is probably a simpler way to do it, isn’t it ?

BTW is it possible to concatenate two instructions on the same line, for example:
+I Next (startshaded) windowshade; Move 0 0
(unfortunatly it is not the right syntax)

Thx for your support !

Well, that “special” key would have to be a modifier – so,
maybe, say, one of the windows key, if you have one on your
keyboard. Read the following to achieve that:

edulinux.homeunix.org/~n6tadam/f … ifiers.txt

“Simpler” is a stupid term to use, as it’s meaningless in this
context. That function is fine, and I’d use something
similar myself, most likely. However, I would say that it
would be logical to “Move” your window before it is shaded, so
that when you unshade it, it’s not going to possibly unshade
off-screen.

No – this is why you would create a function, and call that
instead.

– Thomas Adam

Thanks for the tip! I have been all morning trying to start a window maximized :blush: I was using:

[code]DestroyFunc FuncStartMc
AddToFunc FuncStartMc

  • I Exec exec urxvtc -e mc /home/joanet/Dades/Documents /home/joanet/Dades
  • I Next (urxvt) Maximize [/code]

It was working if I passed the commands into FvwmConsole, but not when calling the function. I was feeling very silly! I clearly disregarded the importance of the wait command.

The function is inside a menu. I could write a function for each application I want to start maximized. Is there any other way to define a set of applications that start maximized?


Ups…! I found it while writing this message :smiley: :
forums.debian.net/viewtopic.php?t=25725

Cheers!

Again, starting up old threads… :neutral_face:

Obsolete – see the StartShaded style condition.

Yes, but note my comments weren’t all integrated.

– Thomas Adam

I very much appreciate you mentioned it. I have been told in other forums about the virtues of reviving old threads because of learning/getting participants involved and creating a single source of information instead of individual threads. As it is said in English, ‘your house your rules’. I will start new threads and, if necessary, link old posts. My apologies for the misbehaviour.

Thanks for the comments! :smiley:

Cheers!

Starting applications maximized:

linuxgazette.net/127/adam1.html

– Thomas Adam

Great article! I have added the link to the Gentoo wiki - FVWM/Advanced.

Cheers!