How to get FVWM be friendly with any GUI toolkit?

Hi to all, I’m new to the forum (and to FVWM too).

Like a spent months before understanding the distro to choose,
I finally realized that FVWM is the wm I’ve ever wanted! :smiley:
It is so flexible that I think that F stands for Framework.
It is really a complete environment for creating the desktop you want.

OK, here the problem…

I’m running FVWM on gentoo, this the output of

fvwm --version

fvwm 2.5.12 compiled on Feb 14 2006 at 15:29:53 with support for: ReadLine, XPM, PNG, Shape, XShm, SM, XRender, XFT, NL

Observing some programs behavior, I think that my FVWM settings don’t “respect” GTK.
For example: if you visualize the about window from gedit within gnome desktop (metacity, etc),
you get a window that can be closed and moved but not resized, iconified or maximized.
In FVWM this window can have all the titlebar buttons with

Style * DecorateTrasnient

or not border at all omitting the previous command.

I post my styles settings.

Style "*" IconTitleColorset 13 Style "*" HilightIconTitleColorset 14 Style "*" IconBackgroundColorset 15 Style "*" IconBox 40 40 100 -15, IconGrid 130 130, IconBox -100 20 -15 -15 Style "*" IconTitleRelief 0 Style "*" IconBackgroundRelief 0 Style "*" DecorateTransient Style "*" SmartPlacement, WindowShadeSteps 20, ResizeOpaque Style "*" Button 1, Button 2, Button 4, Button 6, GrabFocusOff Style "*" BorderWidth 1, HandleWidth 1 Style "*" NoIcon

My question is: how to make FVWM respect any GUI toolkit behavior?

Thanks in advance,
Giacomo

I suggest using Fvwm 2.5.16, which is the latest “unstable” version.

Your use of quotes here is utterly superfluous.

My question to you is: I don’t understand the question. GTK is window
manager agnostic. So far, what you have described (about transient
windows) applies to any transient window – and certainly the fact that
it is from an application that uses GTK as its widget set is irrelevant.

Can you rephrase your question, as I have no idea what it is you think
ought to happen, what it is you would like to happen, or what is currently
happening to make you wonder whether something is “broken”.

– Thomas Adam

First of all, thanks for the fast reply.

thomasadam wrote:

Right, I talked about GTK just for explain the problem with GEdit.

I try to rephrase it in a more simple way, but ever taking GEdit like “case study”.
I’d like from FVWM that it draws transient window using the right title bar buttons. Why metacity draws GEdit about window correctly (close button, no resizable), and FVWM draws it wrong (all title bar buttons, resizable)?

Hope I was more clear this time. :laughing:

Bye

Because that’s what you’ve told it to do? I’ll try and explain all of
this for you in some detail, but note that I still am not completely sure
which window you’re referring to.

For the sake of simplicity, there’s two types of window that FVWM manages:

Transient
Non-Transient

Non-Transient windows are those windows that are the most common. We
think of them as the normal “application” window. Related to this is a
decor. Your decor will have a series of definitions, some of which will
define buttons that will appear on the window. On mine, I have something
that looks like the following:

+-------------------------------------+
| 1 |                       | 4 | | 2 |
+-------------------------------------+

Hence, any window will have buttons 1, 4, and 2 displayed on them. I can
of course explicitly declare which buttons I do and do not want to appear,
as in:

Style myApp NoButton 4

… which would prohibit button 4 from being displayed on the window. I
suspect this is something like what you’re asking, no? Note that unless
you explicitly state for a button not to appear on a non-transient
window – the default is for all defined buttons to be displayed. Hence,
I see no reason why your GEdit window isn’t utilising all the defined
buttons. (Unless you’re referring to a transient window, of course.)

This is also true of other operations on the window decorations. If you
don’t want to have a specific window to be resizeable, then you can do:

Style myApp FixedSize

Going back to Transient windows, these are short-lived, hence the name.
By default, the only decoration these will have is limited (even with the
DecorateTransient style option) – because of the functionality they
provide. Hence, it’s nonsensical to want to embelish these windows with
buttons for which the action they perform is if no use to the transient
window. The same goes for other operations such as a resize event. This
isn’t ordinarily allowed on such windows.

Does this help? If metacity is decorating these transient windows with
other buttons, then either the window is not transient, or metacity is not
ICCCM2 compliant, or GEdit also breaks it. What I suggest you do if you
are unsure, is for the window which you’re having problems with is to run
“xprop” on it, and paste the output from that here. Take a screenshot of
it as well if you want.

– Thomas Adam

Thanks, your reply was so clear that I will put this topic with my FVWM documentation. :smiley:

The problem is exactly with transient window.

thomasadam wrote:

I you wrote right. I don’t want transient windows decorated with more that they need. But FVWM do that if add

Style * DecorateTransient 

and without that command, FVWM will add no decoration at all.
I only want the right set of decoration… (No more, no less)!

I post

xprop -name gedit

_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 12582984 _XEMBED_INFO(_XEMBED_INFO) = 0x1, 0x0 WM_CLIENT_LEADER(WINDOW): window id # 0xc00001 _NET_WM_PID(CARDINAL) = 5545 WM_LOCALE_NAME(STRING) = "C" WM_CLIENT_MACHINE(STRING) = "gentoo-vm" WM_NORMAL_HINTS(WM_SIZE_HINTS): program specified minimum size: 160 by 10 window gravity: NorthWest WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST WM_CLASS(STRING) = "gedit", "Gedit" WM_ICON_NAME(STRING) = "gedit" _NET_WM_ICON_NAME(UTF8_STRING) = 0x67, 0x65, 0x64, 0x69, 0x74 WM_NAME(STRING) = "gedit" _NET_WM_NAME(UTF8_STRING) = 0x67, 0x65, 0x64, 0x69, 0x7

The problem is not with the main window (that has no name), but with the about (the transient one). So I post

xwininfo -tree

(selecting GEdit with the about transient window open)

[code]xwininfo: Please select the window about which you
would like information by clicking the
mouse in that window.

xwininfo: Window id: 0xc00004 “Unsaved Document 1 - gedit”

Root window id: 0x3a (the root window) (has no name)
Parent window id: 0x4003b5 (has no name)
12 children:
0xc0005e (has no name): () 18x20+132+79 +155+134
0xc0005d (has no name): () 125x20+6+79 +29+134
0xc0005c (has no name): () 1x1±1±1 +22+54
0xc0005b (has no name): () 1x1±1±1 +22+54
0xc00057 (has no name): () 748x106+4+106 +27+161
1 child:
0xc00058 (has no name): () 748x106+0+0 +27+161
1 child:
0xc00059 (has no name): () 748x106+0+0 +27+161
0xc00049 (has no name): () 80x17+676+216 +699+271
1 child:
0xc0004a “gedit”: (“gedit” “Gedit”) 80x17+0+0 +699+271
1 child:
0xc0004d (has no name): () 18x15+62+2 +761+273
0xc00045 (has no name): () 160x17+516+216 +539+271
1 child:
0xc00046 “gedit”: (“gedit” “Gedit”) 160x17+0+0 +539+271
0xc00044 (has no name): () 756x28+0+74 +23+129
0xc00043 (has no name): () 5x5±1±1 +22+54
0xc00032 (has no name): () 756x51+0+23 +23+78
1 child:
0xc00033 (has no name): () 756x51+0+0 +23+78
13 children:
0xc00040 (has no name): () 54x47+625+2 +648+80
0xc0003f (has no name): () 54x47+571+2 +594+80
0xc0003e (has no name): () 54x47+505+2 +528+80
0xc0003d (has no name): () 54x47+451+2 +474+80
0xc0003c (has no name): () 54x47+397+2 +420+80
0xc0003b (has no name): () 54x47+331+2 +354+80
0xc0003a (has no name): () 54x47+277+2 +300+80
0xc00039 (has no name): () 54x47+211+2 +234+80
0xc00038 (has no name): () 54x47+145+2 +168+80
0xc00037 (has no name): () 25x47+120+2 +143+80
0xc00036 (has no name): () 54x47+66+2 +89+80
0xc00035 (has no name): () 54x47+12+2 +35+80
0xc00034 (has no name): () 746x51+10+0 +33+78
0xc00028 (has no name): () 756x23+0+0 +23+55
1 child:
0xc00029 (has no name): () 756x23+0+0 +23+55
1 child:
0xc0002a (has no name): () 756x23+0+0 +23+55
7 children:
0xc00031 (has no name): () 39x19+278+2 +301+57
0xc00030 (has no name): () 76x19+202+2 +225+57
0xc0002f (has no name): () 40x19+162+2 +185+57
0xc0002e (has no name): () 52x19+110+2 +133+57
0xc0002d (has no name): () 40x19+70+2 +93+57
0xc0002c (has no name): () 35x19+35+2 +58+57
0xc0002b (has no name): () 32x19+3+2 +26+57
0xc00005 (has no name): () 1x1±1±1 +22+54[/code]

Need know more from my linux box?

For now thanks for your priceless help.

I also attach a screenshot.

As you can see all the title bar button are visible and active.
I think that this transient window should have only the close (the last one) and windows operation button (the first one).

As you can see FVWM correctly disable the ‘Resize’ option.
Why Maximize e Iconify are not disable. What sense make this options (and related buttons) in a transient window?

I hope this helped more for explain the problem!

Thanks
:blush:

Now run xprop on the “about GEdit” window for me, and paste the results in here.

– Thomas Adam

thomasadam wrote:

OK! :smiley:

WM_STATE(WM_STATE): window state: Normal icon window: 0x0 _WIN_AREA(CARDINAL) = 0, 0 _WIN_WORKSPACE(CARDINAL) = 0 _WIN_LAYER(CARDINAL) = 4 _WIN_STATE(CARDINAL) = 0 _NET_FRAME_EXTENTS(CARDINAL) = 1, 1, 17, 1 _KDE_NET_WM_FRAME_STRUT(CARDINAL) = 1, 1, 17, 1 _NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_MOVE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_STICK _NET_WM_DESKTOP(CARDINAL) = 0 _NET_WM_ICON_VISIBLE_NAME(UTF8_STRING) = 0x41, 0x62, 0x6f, 0x75, 0x74, 0x20, 0x67, 0x65, 0x64, 0x69, 0x74 _NET_WM_VISIBLE_NAME(UTF8_STRING) = 0x41, 0x62, 0x6f, 0x75, 0x74, 0x20, 0x67, 0x65, 0x64, 0x69, 0x74 WM_HINTS(WM_HINTS): Client accepts input or input focus: True Initial state is Normal State. bitmap id # to use for icon: 0xa0001f bitmap id # of mask for icon: 0xa00026 window id # of group leader: 0xa00001 _NET_WM_ICON(CARDINAL) = 48, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 973078528, 4143972352, 973078528, 0, 973078528, 4143972352, 973078528, 0, 973078528, 4143972352, 973078528, 0, 973078528, 4143972352, 973078528, 0, 973078528, 4143972352, 973078528, 0, 973078528, 4143972352, 973078528, 0, 973078528, 4143972352, 973078528, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33554432, 50331648, 4143972352, 4294901243, 4143972352, 67108864, 4143972352, 4294901243, 4143972352, 67108864, 4143972352, 4294901243, 4143972352, 67108864, 4143972352, 4294901243, 4143972352, 67108864, 4143972352, 4294901243, 4143972352, 67108864, 4143972352, 4294901243, 4143972352, 67108864, 4143972352, 4294901243, 4143972352, 67108864, 50331648, 33554432, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 83886080, 2315255808, 4278190080, 4278190080, 4293251471, 4278190080, 4278190080, 4278190080, 4293251471, 4278190080, 4278190080, 4278190080, 4293251471, 4278190080, 4278190080, 4278190080, 4293251471, 4278190080, 4278190080, 4278190080, 4293251471, 4278190080, 4278190080, 4278190080, 4293251471, 4278190080, 4278190080, 4278190080, 4293251471, 4278190080, 4278190080, 4278190080, 1845493760, 67108864, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33554432, 251658240, 4278190080, 4293980400, 4278584838, 4288713060, 4278519045, 4292598747, 4278584838, 4288713060, 4278519045, 4292269783, 4278584838, 4288713060, 4278453252, 4292006610, 4278584838, 4288713060, 4278453252, 4291743438, 4278584838, 4288713060, 4278453252, 4291480009, 4278584838, 4288647524, 4278453252, 4291217094, 4278584838, 4288647524, 4278453252, 4290888129, 4282137146, 4278190080, 218103808, 33554432, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50331648, 402653184, 4278190080, 4292861919, 4285558896, 4278387459, 4286545791, 4288256409, 4285229931, 4278387459, 4286216826, 4286677377, 4284835173, 4278387459, 4285756275, 4286282619, 4284572001, 4278387459, 4285361517, 4288124823, 4284242779, 4278321666, 4285032296, 4286479741, 4283848278, 4278321666, 4284572001, 4284967015, 4283519313, 4278321666, 4284243036, 4284572001, 4285624689, 4278190080, 385875968, 50331648, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 67108864, 452984832, 4278190080, 4292598747, 4289835441, 4287071878, 4286940548, 4286809219, 4289309096, 4286611584, 4286479998, 4287467407, 4288716960, 4286216826, 4286019447, 4285953654, 4288124823, 4285756275, 4285690482, 4287730065, 4287598736, 4285295724, 4285229931, 4285098345, 4287072135, 4284966245, 4284835173, 4285624689, 4286480254, 4284506208, 4284374622, 4284308573, 4286216826, 4278190080, 452984832, 67108864, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 67108864, 469762048, 4278190080, 4292401368, 4289506476, 4289309097, 4289242790, 4289045925, 4288914339, 4288782752, 4288651167, 4288453788, 4288387994, 4288255897, 4288059030, 4287927445, 4287795858, 4287664272, 4287597967, 4287400844, 4287334795, 4287072135, 4287006342, 4286808963, 4286677378, 4286545791, 4286414205, 4286282619, 4286151033, 4286084726, 4285887604, 4285756275, 4286216825, 4278190080, 469762048, 67108864, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 67108864, 855638016, 4278190080, 4292335318, 4292335318, 4292335318, 4292335318, 4292335318, 4292335318, 4292335318, 4292335318, 4292335318, 4292335318, 4292335318, 4292335318, 4292335318, 4292335318, 4292335318, 4292335318, 4292335318, 4292335318, 4292335318, 4292335318, 4292335318, 4292335318, 4292335318, 4292335318, 4292335318, 4292335318, 4292335318, 4292335318, 4292335318, 4289572269, 4278190080, 469762048, 67108864, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100663296, 1241513984, 4282598211, 4294967295, 4294243573, 4294243573, 4294243316, 4294178036, 4294178036, 4294177779, 4294177779, 4294112243, 4294111986, 4294111986, 4294111986, 4294111985, 4294046193, 4294046193, 4294046193, 4294045936, 4293980400, 4293980400, 4293914863, 4293980399, 4293914608, 4293914607, 4293914606, 4293849071, 4293848814, 4293848814, 4293848558, 4293848557, 4290954179, 4278190080, 469762048, 67108864, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16777216, 134217728, 1577058304, 4283782485, 4294967295, 4294243572, 4294243572, 4294178036, 4294177779, 4294177779, 4294177523, 4294111987, 4294111986, 4294111986, 4294111986, 4294046193, 4294046193, 4294046192, 4293980657, 4293980400, 4293980400, 4293980400, 4293914608, 4293980144, 4293914863, 4293914607, 4293914606, 4293914606, 4293848814, 4293848814, 4293783022, 4293848813, 4293783021, 4290953923, 4278190080, 469762048, 67108864, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16777216, 167772160, 1895825408, 4284835173, 4294967295, 4294178036, 4294243315, 4290361785, 4290361785, 4290361784, 4290361528, 4290361528, 4290361528, 4290295992, 4290295992, 4290295992, 4290295992, 4290295735, 4290295735, 4290295735, 4290295735, 4290295735, 4290295735, 4290295735, 4290295735, 4290230199, 4290230199, 4290230199, 4290230198, 4290229942, 4290229942, 4293783021, 4293783020, 4290953922, 4278190080, 469762048, 67108864, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16777216, 201326592, 2164260864, 4286019447, 4294243316, 4294243315, 4294177779, 4294177779, 4294111987, 4294111987, 4294111986, 4294111985, 4294111730, 4294111730, 4294046193, 4294045937, 4293980401, 4293980400, 4293980400, 4293980400, 4293914607, 4293914607, 4293914607, 4293914351, 4293848815, 4293914350, 4293848558, 4293848813, 4293783278, 4293783277, 4293783021, 4293717485, 4293717229, 4292203732, 4285624689, 1291845632, 83886080, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33554432, 218103808, 2332033024, 4287730065, 4294177779, 4294177779, 4294177779, 4294177779, 4294111987, 4294111986, 4294111729, 4294111730, 4294046450, 4294046193, 4294045937, 4293980400, 4293980400, 4293980144, 4293914864, 4293914608, 4293914607, 4293914351, 4293914606, 4293914607, 4293848814, 4293783278, 4293783021, 4293783277, 4293783021, 4293783021, 4293783020, 4293782764, 4293717228, 4292138196, 4286479998, 1795162112, 134217728, 16777216, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33554432, 251658240, 2583691264, 4288059030, 4294177779, 4294112243, 4294177522, 4290361784, 4290361528, 4290361528, 4290295992, 4290295992, 4290295991, 4290295735, 4290295735, 4290295735, 4290295735, 4290295735, 4290295735, 4290295735, 4290295735, 4290295735, 4290230199, 4290230199, 4290230198, 4290230198, 4290229942, 4290229942, 4290229942, 4290164406, 4290229942, 4293717227, 4293717228, 4293651435, 4286479998, 2164260864, 184549376, 16777216, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33554432, 268435456, 2936012800, 4289177511, 4294177778, 4294112242, 4294111986, 4294111986, 4294111986, 4294046193, 4294046192, 4294046193, 4293980657, 4293980656, 4293980144, 4293980144, 4293914608, 4293980143, 4293914351, 4293849071, 4293848814, 4293848815, 4293848814, 4293848813, 4293783021, 4293783021, 4293783021, 4293782765, 4293717228, 4293717228, 4293717228, 4293717227, 4293651692, 4293651435, 4287401100, 2566914048, 234881024, 33554432, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33554432, 301989888, 3187671040, 4290427578, 4294111986, 4294111986, 4294111985, 4294111986, 4294046193, 4294045937, 4293980657, 4293980657, 4293980400, 4293914864, 4293914608, 4293980400, 4293914607, 4293914607, 4293848814, 4293914607, 4293848814, 4293848814, 4293783022, 4293783021, 4293783021, 4293783021, 4293783021, 4293717484, 4293717228, 4293717228, 4293716972, 4293651435, 4293651435, 4293651434, 4288453788, 3036676096, 268435456, 33554432, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33554432, 335544320, 3489660928, 4291809231, 4294111985, 4294046193, 4294046194, 4290295992, 4290295992, 4290295735, 4290295735, 4290295735, 4290295735, 4290295735, 4290295735, 4290295735, 4290295735, 4290230199, 4290230199, 4290230199, 4293848558, 4293848557, 4293783021, 4293783021, 4293717485, 4293717228, 4293717228, 4293651692, 4293717228, 4293716972, 4293651435, 4293585899, 4293585899, 4293585642, 4289638062, 3607101440, 318767104, 33554432, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50331648, 369098752, 3808428032, 4293322470, 4294046449, 4294046194, 4294046193, 4294046193, 4294045937, 4294045936, 4293980400, 4293914864, 4293980399, 4293914607, 4293914607, 4293848814, 4293849071, 4293848814, 4293848814, 4293848814, 4293783021, 4293783022, 4293783021, 4293783021, 4293717228, 4293717229, 4293717228, 4293651691, 4293651692, 4293651435, 4293651435, 4293651178, 4293585642, 4293585642, 4290888129, 4278190080, 3590324224, 4278190080, 2852126720, 483415337, 0, 0, 0, 0, 0, 0, 0, 0, 50331648, 402653184, 3808428032, 4294967295, 4294046193, 4294046192, 4293980656, 4293980400, 4293980400, 4293980400, 4293914607, 4293914607, 4293914607, 4293914607, 4293914606, 4293914350, 4293848814, 4293848557, 4293848557, 4293783021, 4293783021, 4293717484, 4293782764, 4293717229, 4293717228, 4293717228, 4293651691, 4293716971, 4293651435, 4293585899, 4293585642, 4293585642, 4293585642, 4291808975, 4280427042, 4288119937, 4294170064, 4293106318, 4291777086, 3791650816, 0, 0, 0, 0, 0, 0, 0, 0, 67108864, 419430400, 4278190080, 4294967295, 4294046193, 4293980656, 4293980401, 4293980400, 4293914864, 4293980399, 4293914607, 4293849071, 4293914606, 4293914351, 4293849070, 4293848814, 4293848814, 4293783277, 4293783021, 4293783021, 4293717484, 4293783020, 4293717228, 4293717228, 4293717228, 4293651692, 4293651435, 4293651435, 4293585643, 4293585899, 4293585642, 4291809231, 4278453252, 4287203721, 4294105557, 4293174427, 4292574832, 4291777086, 4286983969, 4278190080, 0, 0, 0, 0, 0, 0, 0, 0, 67108864, 452984832, 4278190080, 4294967295, 4293980656, 4293980401, 4293980144, 4290295735, 4290295735, 4290295735, 4290295735, 4290230199, 4290295735, 4290230199, 4290230199, 4290229943, 4290229942, 4290229942, 4290229942, 4290164406, 4290229942, 4290164406, 4290164405, 4290164149, 4290164405, 4290164149, 4290164149, 4290164149, 4290164149, 4288782496, 4278255873, 4286213699, 4292993504, 4290953922, 4290685608, 4290930525, 4287115041, 4288165157, 4287705376, 4278190080, 0, 0, 0, 0, 0, 0, 0, 0, 67108864, 469762048, 4278190080, 4294967295, 4293980399, 4293914608, 4293980400, 4293914607, 4293914607, 4293914606, 4293848815, 4293848814, 4293783278, 4293783278, 4293783022, 4293783022, 4293717485, 4293717484, 4293782764, 4293717228, 4293717228, 4293651435, 4293651435, 4293717227, 4293651434, 4293651179, 4293585899, 4291809232, 4278190080, 4286213699, 4293909928, 4293909922, 4293447290, 4288583295, 4284637794, 4287065448, 4288820513, 4278190080, 4278190080, 0, 0, 0, 0, 0, 0, 0, 0, 0, 67108864, 855638016, 4281282351, 4294967295, 4293980400, 4293914864, 4293914608, 4293849071, 4293914350, 4293848815, 4293848814, 4293848813, 4293783278, 4293783021, 4293783021, 4293783021, 4293783020, 4293717228, 4293717228, 4293717228, 4293651436, 4293651435, 4293651435, 4293651435, 4293585898, 4291874767, 4278190080, 4286213699, 4293910185, 4293975457, 4293644413, 4291538519, 4288444451, 4290282268, 4285427309, 4278190080, 4278190080, 754974720, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100663296, 1241513984, 4284835173, 4294967295, 4293980143, 4293914864, 4293914350, 4290295735, 4290230199, 4290230199, 4290230198, 4290230198, 4290230198, 4290229942, 4290229942, 4290229942, 4290164406, 4290164405, 4290164406, 4290164150, 4290164150, 4290164149, 4290164149, 4288782496, 4278190080, 4286213699, 4293844130, 4293843095, 4293578877, 4291406933, 4288510244, 4290282012, 4291266585, 4278190080, 4278190080, 4278190080, 469762048, 67108864, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16777216, 134217728, 1577058304, 4284835173, 4294967295, 4293914606, 4293848815, 4293914351, 4293848814, 4293848558, 4293783022, 4293848814, 4293783277, 4293783021, 4293783021, 4293717484, 4293717228, 4293717227, 4293716972, 4293651435, 4293651435, 4293585899, 4291875024, 4278190080, 4286213699, 4293975977, 4293777040, 4293644672, 4291012439, 4288706850, 4290348318, 4291135000, 4278190080, 4278190080, 4290888128, 4290822337, 4278190080, 469762048, 67108864, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16777216, 167772160, 1895825408, 4284835173, 4294967295, 4293914607, 4293914607, 4293848814, 4293848813, 4293848558, 4293783021, 4293783021, 4293783021, 4293717484, 4293717228, 4293717228, 4293651692, 4293716972, 4293651435, 4293651435, 4291875023, 4278190080, 4286213699, 4293975975, 4293843349, 4293578875, 4291012440, 4289167917, 4290215963, 4291134744, 4278190080, 4278190080, 4290887873, 4293388263, 4293388263, 4290822336, 4278190080, 469762048, 67108864, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16777216, 201326592, 2164260864, 4285822068, 4294967295, 4293848814, 4293848558, 4293848814, 4290229942, 4290230198, 4290229942, 4290164406, 4290229942, 4290229942, 4290164406, 4290164149, 4290164150, 4290164149, 4288782496, 4278190080, 4286213699, 4293975977, 4293909404, 4293578878, 4290354510, 4289563192, 4290282013, 4291200537, 4278190080, 4278190080, 4288124566, 4290098356, 4293453800, 4293388263, 4293322727, 4290822336, 4278190080, 469762048, 67108864, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33554432, 218103808, 2399141888, 4285822068, 4294967295, 4293848814, 4293848814, 4293848558, 4293783021, 4293782765, 4293717484, 4293717229, 4293717228, 4293717228, 4293716971, 4293716971, 4293651435, 4278190080, 4278190080, 4294107827, 4293645187, 4293578361, 4290420046, 4289431863, 4291530786, 4291332894, 4278190080, 4278190080, 4290888129, 4293388264, 4293453800, 4293388263, 4293388263, 4293388263, 4293322726, 4290822336, 4278190080, 486539264, 83886080, 16777216, 0, 0, 0, 0, 0, 0, 0, 0, 33554432, 251658240, 2466250752, 4286874756, 4293848558, 4293783278, 4293783277, 4293783021, 4293717485, 4293717228, 4293717228, 4293717228, 4293716972, 4293716971, 4293651436, 4293651435, 4278190080, 4294043612, 4293121476, 4293051781, 4290552402, 4289498170, 4291860777, 4291398687, 4278190080, 4278190080, 4290888129, 4293388263, 4293322727, 4293388262, 4293322470, 4293322470, 4293256934, 4293256677, 4293190884, 4290756286, 4278190080, 486539264, 83886080, 33554432, 33554432, 0, 0, 0, 0, 0, 0, 0, 33554432, 268435456, 3053453312, 4287006342, 4293848557, 4293783021, 4293783020, 4293717484, 4290164406, 4290164406, 4290164406, 4290164406, 4290164150, 4290098356, 4290032563, 4278190080, 4292794319, 4291544511, 4290094482, 4290352489, 4292389188, 4292124719, 4278190080, 4278190080, 4287927444, 4289835185, 4289835184, 4289703855, 4289703855, 4289703855, 4289703855, 4289703598, 4292993761, 4292993505, 4292993505, 4291545802, 4284703587, 1308622848, 100663296, 33554432, 33554432, 0, 0, 0, 0, 0, 0, 0, 33554432, 301989888, 3053453312, 4287795858, 4293783021, 4293783021, 4293782765, 4293717229, 4293717228, 4293717228, 4293716971, 4293651435, 4293519849, 4292861663, 4278190080, 4287859587, 4289240981, 4288187001, 4287328079, 4288708183, 4278190080, 4278190080, 4289835441, 4292072403, 4292006610, 4291941074, 4291941074, 4291940817, 4292138196, 4292203989, 4292467161, 4292467161, 4292664540, 4292730333, 4292795869, 4291414216, 4286216826, 1845493760, 201326592, 83886080, 67108864, 83886080, 0, 0, 0, 0, 0, 0, 33554432, 318767104, 3103784960, 4288716960, 4293782765, 4293783020, 4293717228, 4293717228, 4293716971, 4293651692, 4293651436, 4293585642, 4292927968, 4278190080, 4280425235, 4281872939, 4285819228, 4285819228, 4282070318, 4278190080, 4287269514, 4290032564, 4290427578, 4290559164, 4290559420, 4290624957, 4290888130, 4291282887, 4291611852, 4291809231, 4292072403, 4292335575, 4292532954, 4292664283, 4292664540, 4292730333, 4286151033, 2214592512, 285212672, 117440512, 100663296, 134217728, 16777216, 0, 0, 0, 0, 0, 33554432, 335544320, 3204448256, 4289703855, 4293782764, 4293717228, 4293716972, 4293717228, 4290164149, 4290164405, 4290164149, 4290032563, 4278190080, 4278190080, 4278190080, 4278190080, 4282137660, 4285756275, 4288585373, 4290098613, 4290230455, 4290493627, 4290756542, 4290888385, 4291019715, 4291348680, 4291743438, 4292006610, 4292466904, 4292598747, 4292664540, 4292664540, 4292730589, 4292796126, 4292796382, 4292861663, 4287137928, 2600468480, 301989888, 117440512, 83886080, 83886080, 83886080, 16777216, 0, 0, 0, 0, 50331648, 352321536, 3489660928, 4292072403, 4293717228, 4293716972, 4293651692, 4293651691, 4293651435, 4293585898, 4293651435, 4293519849, 4293322470, 4292533211, 4292006353, 4291875024, 4292006610, 4292072403, 4292137940, 4292203989, 4292401368, 4292401625, 4292532954, 4292401111, 4292467161, 4292533211, 4292730077, 4292861919, 4292993505, 4293125090, 4293190883, 4293125091, 4293125091, 4292993762, 4292993761, 4292993505, 4288190872, 3053453312, 352321536, 117440512, 83886080, 83886080, 67108864, 16777216, 0, 0, 0, 0, 50331648, 385875968, 4278190080, 4293454056, 4293651436, 4293651435, 4293651435, 4293651435, 4293651435, 4293651434, 4293585642, 4293585642, 4293519848, 4293388264, 4293256677, 4293256677, 4293256678, 4293256678, 4293191140, 4293256421, 4293256420, 4293125091, 4293125091, 4293124835, 4293190884, 4293125347, 4293190884, 4293190884, 4293125347, 4293190884, 4293190884, 4293125347, 4293125092, 4293125091, 4293125091, 4293059555, 4289309097, 4278190080, 385875968, 83886080, 33554432, 33554432, 33554432, 67108864, 0, 0, 0, 0, 67108864, 436207616, 4278190080, 4294967295, 4293651691, 4293651435, 4293585899, 4293585899, 4293585642, 4293585642, 4293520105, 4293520105, 4293585385, 4293519849, 4293454313, 4293519848, 4293454056, 4293388263, 4293322470, 4293388262, 4293322471, 4293322470, 4293322470, 4293256678, 4293256677, 4293256677, 4293191141, 4293190884, 4293191141, 4293190884, 4293190628, 4293125347, 4293125347, 4293125091, 4293059299, 4293124834, 4290625213, 4278190080, 452984832, 83886080, 16777216, 0, 0, 16777216, 0, 0, 0, 0, 67108864, 469762048, 4278190080, 4294967295, 4293651435, 4293651179, 4293585642, 4293585642, 4293585641, 4293585385, 4293585385, 4293519849, 4293519849, 4293454313, 4293454057, 4293454312, 4293454056, 4293453800, 4293388264, 4293388264, 4293388263, 4293388262, 4293322726, 4293322726, 4293322470, 4293322470, 4293322213, 4293190884, 4293190884, 4293125091, 4293190884, 4293125347, 4293125091, 4293125091, 4293124835, 4293059298, 4290624957, 4278190080, 486539264, 83886080, 16777216, 0, 0, 0, 0, 0, 0, 0, 67108864, 469762048, 4278190080, 4294967295, 4294440951, 4294111986, 4294111986, 4294111730, 4294111730, 4294046450, 4294046193, 4294046193, 4294046193, 4294046193, 4294046193, 4293980401, 4293980657, 4293980400, 4293980400, 4293980400, 4293980400, 4293980400, 4293980400, 4293980399, 4293914863, 4293914607, 4293914607, 4293914607, 4293914350, 4293914350, 4293848814, 4293848814, 4293848814, 4293848814, 4293848814, 4293848814, 4290624958, 4278190080, 486539264, 83886080, 0, 0, 0, 0, 0, 0, 0, 0, 67108864, 469762048, 4278190080, 4293190884, 4290888129, 4290888129, 4290888129, 4290888129, 4290888129, 4290888129, 4290888129, 4290888129, 4290888129, 4290888129, 4290822593, 4290822336, 4290822336, 4290822336, 4290822336, 4290822336, 4290822336, 4290822336, 4290756799, 4290756543, 4290756543, 4290756543, 4290756543, 4290756543, 4290756543, 4290756543, 4290756543, 4290756287, 4290690750, 4290625214, 4290690493, 4290625213, 4289703855, 4278190080, 469762048, 67108864, 0, 0, 0, 0, 0, 0, 0, 0, 67108864, 452984832, 4278190080, 4290888129, 4290888129, 4290888129, 4290888129, 4290888129, 4290888129, 4290888129, 4290888129, 4290888129, 4290888129, 4290888129, 4290822337, 4290822336, 4290822336, 4290822336, 4290822336, 4290822336, 4290822336, 4290822080, 4290756544, 4290756544, 4290756543, 4290756543, 4290756543, 4290756543, 4290756543, 4290756543, 4290690751, 4290690750, 4290690750, 4290624957, 4290624957, 4290624957, 4288519581, 4278190080, 452984832, 67108864, 0, 0, 0, 0, 0, 0, 0, 0, 50331648, 402653184, 2583691264, 4278190080, 4278190080, 4278190080, 4278190080, 4278190080, 4278190080, 4278190080, 4278190080, 4278190080, 4278190080, 4278190080, 4278190080, 4278190080, 4278190080, 4278190080, 4278190080, 4278190080, 4278190080, 4278190080, 4278190080, 4278190080, 4278190080, 4278190080, 4278190080, 4278190080, 4278190080, 4278190080, 4278190080, 4278190080, 4278190080, 4278190080, 4278190080, 4278190080, 4278190080, 2583691264, 402653184, 50331648, 0, 0, 0, 0, 0, 0, 0, 0, 33554432, 234881024, 704643072, 1073741824, 1191182336, 1207959552, 1207959552, 1207959552, 1207959552, 1207959552, 1207959552, 1207959552, 1207959552, 1207959552, 1207959552, 1207959552, 1207959552, 1207959552, 1207959552, 1207959552, 1207959552, 1207959552, 1207959552, 1207959552, 1207959552, 1207959552, 1207959552, 1207959552, 1207959552, 1207959552, 1207959552, 1207959552, 1207959552, 1207959552, 1207959552, 1191182336, 1073741824, 704643072, 234881024, 33554432, 0, 0, 0, 0, 0, 0, 0, 0, 0, 67108864, 234881024, 402653184, 452984832, 469762048, 469762048, 469762048, 469762048, 469762048, 469762048, 469762048, 469762048, 469762048, 469762048, 469762048, 469762048, 469762048, 469762048, 469762048, 469762048, 469762048, 469762048, 469762048, 469762048, 469762048, 469762048, 469762048, 469762048, 469762048, 469762048, 469762048, 469762048, 469762048, 469762048, 452984832, 402653184, 234881024, 67108864, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33554432, 50331648, 67108864, 67108864, 67108864, 67108864, 67108864, 67108864, 67108864, 67108864, 67108864, 67108864, 67108864, 67108864, 67108864, 67108864, 67108864, 67108864, 67108864, 67108864, 67108864, 67108864, 67108864, 67108864, 67108864, 67108864, 67108864, 67108864, 67108864, 67108864, 67108864, 67108864, 67108864, 67108864, 50331648, 33554432, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2348810240, 2969567232, 2147483648, 3087007744, 2348810240, 3690987520, 2701131776, 3741319168, 2701131776, 3741319168, 1409286144, 0, 0, 0, 0, 1308622848, 4278190080, 4294568134, 4278190080, 4294568134, 4278190080, 4294568134, 4278190080, 4294568134, 4278190080, 4294568134, 4278190080, 1308622848, 0, 0, 0, 4278190080, 4291809231, 4293636413, 4286414205, 4293636413, 4286414205, 4293636413, 4286414205, 4293636413, 4286414205, 4293636413, 4285558896, 4278190080, 4278190080, 1308622848, 0, 4278190080, 4293651435, 4286414205, 4290559164, 4286414205, 4290295992, 4286414205, 4290295992, 4286414205, 4290295992, 4285558896, 4278190080, 4293847750, 4291800433, 4278190080, 0, 4278190080, 4294967295, 4293717228, 4293717228, 4293717228, 4293717228, 4293717228, 4293717228, 4293717228, 4292072403, 4278190080, 4293913543, 4291996778, 4238443349, 4278190080, 0, 4278190080, 4294967295, 4292598747, 4291611852, 4291611852, 4291611852, 4291611852, 4291611852, 4290230199, 4278190080, 4293913543, 4291996778, 4288972631, 4278190080, 1560281088, 0, 4278190080, 4294967295, 4293717228, 4293717228, 4293717228, 4293717228, 4293717228, 4292072403, 4278190080, 4293847750, 4291799657, 4288709462, 4278190080, 1761607680, 301989888, 0, 4278190080, 4294967295, 4292598747, 4291611852, 4291611852, 4291611852, 4290230199, 4278190080, 4293781189, 4291733096, 4288709719, 4278190080, 4278190080, 402653184, 16777216, 0, 4278190080, 4294967295, 4293717228, 4293717228, 4293717228, 4293651435, 4278190080, 4293780932, 4291338084, 4288972631, 4278190080, 4285624689, 4278190080, 16777216, 16777216, 0, 4278190080, 4294967295, 4292598747, 4291611852, 4291546059, 4285887861, 4285553465, 4290947978, 4288906581, 4278190080, 4287598479, 4287006342, 4278190080, 16777216, 0, 0, 4278190080, 4294967295, 4293717228, 4293717228, 4293519849, 4278190080, 4283187750, 4285224758, 4278190080, 4288519581, 4292269782, 4289638062, 4278190080, 0, 0 _NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DIALOG WM_TRANSIENT_FOR(WINDOW): window id # 0xa00004 _NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 10485918 _NET_WM_USER_TIME(CARDINAL) = 48330 WM_CLIENT_LEADER(WINDOW): window id # 0xa00001 _NET_WM_PID(CARDINAL) = 5490 WM_LOCALE_NAME(STRING) = "C" WM_CLIENT_MACHINE(STRING) = "gentoo-vm" WM_NORMAL_HINTS(WM_SIZE_HINTS): program specified location: 0, 0 program specified minimum size: 324 by 407 program specified maximum size: 324 by 407 window gravity: NorthWest WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST WM_CLASS(STRING) = "gedit", "Gedit" WM_ICON_NAME(STRING) = "About gedit" _NET_WM_ICON_NAME(UTF8_STRING) = 0x41, 0x62, 0x6f, 0x75, 0x74, 0x20, 0x67, 0x65, 0x64, 0x69, 0x74 WM_NAME(STRING) = "About gedit" _NET_WM_NAME(UTF8_STRING) = 0x41, 0x62, 0x6f, 0x75, 0x74, 0x20, 0x67, 0x65, 0x64, 0x69, 0x74

Thanks again.

Sorry for the belatedness of the reply. I can’t inadvertently see anything wrong. The only thing I can see is that you’re using GEdit 2.10.X – and I (as I could test a few things) am using 2.12.X. Perhaps try upgrading your version of GEdit.

If you still get this odd behaviour, post your .fvwm2rc congfiguration file somewhere for me to review.

Kindly,

Thomas Adam

Your help is always valuable… :smiley:
While I don’t get the answer, I use the chance to fight the problem alone! :smiling_imp:

I’ll follow your suggestion and, as I can, post here the results.

Thanks again.

Your friend,
Giacomo

Sorry for the wait.

I’m having some problems updating my version of gedit (problems with gcc-config etc…).

So until I resolve these problems, I post for you my config:

[code]########################

fvwm configuration

giacomo stelluti scala

created 16-02-2006

modified 23-02-2006

########################

#######################

environment variables

#######################
SetEnv FVWM_HOME $[HOME]/.fvwm
SetEnv FVWM_GFX $[FVWM_HOME]/gfx
SetEnv FVWM_TMP $[FVWM_HOME]/tmp
SetEnv FVWM_ICONS $[FVWM_GFX]/icons

############################

startup and exit functions

############################
#DestroyFunc StartFunction
#AddToFunc StartFunction
#+ I Module FvwmAuto 200
#+ I Module FvwmEvent

DestroyFunc InitFunction
AddToFunc InitFunction

  • I exec exec Esetroot -s $[HOME]/wallpapers/current
  • I ExecTermFunc

#DestroyFunc RestartFunction
#AddToFunc RestartFunction
#+ I All (Iconic) ReThumbFunc

#######################

modules configuration

#######################
#DestroyModuleConfig FvwmEvent: *
#*FvwmEvent: deiconify DeThumbFunc

############

image path

############
ImagePath $[FVWM_GFX]:$[FVWM_GFX];.png:+

###############

global styles

###############
HideGeometryWindow Always
OpaqueMoveSize unlimited
#EwmhBaseStruts 0 0 22 0
#IgnoreModifiers L25
#SnapGrid 1 1

#################

virtual desktop

#################
DesktopSize 4x1
EdgeThickness 0

#######

mouse

#######
ClickTime 350
MoveThreshold 3
Style * ClickToFocus
Style * MouseFocusClickRaises

#############################

program launching functions

#############################
DestroyFunc ExecTermFunc
AddToFunc ExecTermFunc

  • I PipeRead ‘[ “$0” == “opaque” ] && echo “Exec exec aterm +tr +trsb”
    || echo “Exec exec aterm”’

##########

bindings

##########
Key F1 A M ExecTermFunc
Key F2 A M ExecTermFunc opaque

############

color sets

############
Colorset 1 fg white, bg black
Colorset 2 fg black, bg white
Colorset 10 bg #808080

#################

menu color sets

#################
#Colorset 20 fg black, Translucent white 75, hi black, sh black
#Colorset 20 fg black, Translucent white 75, hi black, sh black
#Colorset 20 fg black, Translucent white 75, hi red, sh green
#Colorset 21 fg white, bg black
Colorset 20 fg black, Translucent #808080 75, hi black, sh black

############

decoration

############
DestroyDecor CustomDecor
AddToDecor CustomDecor

  • TitleStyle LeftJustified Height 18
    #+ TitleStyle RightJustified Height 18
  • ButtonStyle 2 ActiveUp Vector 4 30x30@3 60x60@3 60x30@4 30x60@3 – Flat
  • ButtonStyle 2 ActiveDown Vector 4 30x30@3 60x60@3 60x30@4 30x60@3 – Flat
  • ButtonStyle 2 Inactive Vector 4 30x30@3 60x60@3 60x30@4 30x60@3 – Flat
  • ButtonStyle 6 ActiveUp Vector 5 30x60@3 60x60@3 60x50@3 30x50@3 30x60@3 – Flat
  • ButtonStyle 6 ActiveDown Vector 5 30x60@3 60x60@3 60x50@3 30x50@3 30x60@3 – Flat
  • ButtonStyle 6 Inactive Vector 5 30x60@3 60x60@3 60x50@3 30x50@3 30x60@3 – Flat
  • ButtonStyle 4 ActiveUp Vector 7 30x30@3 30x60@3 60x60@3 60x30@3 30x30@3 30x35@3 60x35@3 – Flat
  • ButtonStyle 4 ActiveDown Vector 7 30x30@3 30x60@3 60x60@3 60x30@3 30x30@3 30x35@3 60x35@3 – Flat
  • ButtonStyle 4 Inactive Vector 7 30x30@3 30x60@3 60x60@3 60x30@3 30x30@3 30x35@3 60x35@3 – Flat
  • TitleStyle – Flat
  • BorderStyle Simple – NoInset Flat
  • ButtonStyle All – UseTitleStyle

################

windows styles

################
Style * UseDecor CustomDecor
Style * BorderWidth 1
Style * HandleWidth 1
Style * Colorset 1
Style * HilightColorset 2
Style * BorderColorset 10
Style * HilightBorderColorset 10
Style * Font “xft:Nimbus Sans L:style=Regular:size=12”

Style * ResizeOpaque
Style * SmartPlacement
Style * DecorateTransient

################

program styles

################
Style aterm Icon icons/48x48/terminal.png, ResizeOutline, NoButton 4, NoButton 2

#############

menu styles

#############
MenuStyle * Font “xft:URW Gothic L:style=Regular:size=12”
MenuStyle * MenuColorset 20
#MenuStyle * ActiveColorset 21
MenuStyle * SeparatorsLong
MenuStyle * Hilight3DOff
MenuStyle * ActiveFore white

############################

title bar buttons bindings

############################
Mouse 1 6 A DeIconifyFunc
Mouse 1 4 A MaximizeFunc
Mouse 1 2 A CloseFunc
Mouse 3 T A WindowOpsFunc
Mouse 1 I A DeIconifyFunc

title bar buttons functions

---------------------------

DestroyFunc WindowOpsFunc
AddToFunc WindowOpsFunc

  • C Menu WindowOpsMenu
  • D Close

DestroyFunc DeIconifyFunc
AddToFunc DeIconifyFunc

  • C Iconify
  • C All (CurrentPage, Iconic) PlaceAgain Icon
  • M Move

DestroyFunc MaximizeFunc
AddToFunc MaximizeFunc

  • C Maximize
  • M Nop

DestroyFunc CloseFunc
AddToFunc CloseFunc

  • C Close
  • M Nop

DestroyFunc MoveFunc
AddToFunc MoveFunc

  • M Move
  • C Nop

DestroyFunc ResizeFunc
AddToFunc ResizeFunc

  • M Resize
  • C Maximize

DestroyFunc NopFunc
AddToFunc NopFunc

  • C Nop

#######

menus

#######
DestroyMenu WindowOpsMenu
AddToMenu WindowOpsMenu

  • “Move” Move
  • “Resize” Resize
  • “(De)Iconify” Iconify
  • “(Un)Maximize” Maximize
  • “(Un)Shade” WindowShade
  • “(Un)Stick” Stick
  • “” Nop
  • “Close” Close
  • “Delete” Delete
  • “Destroy” Destroy

DestroyMenu MenuFvwmRoot
AddToMenu MenuFvwmRoot $[HOSTNAME] Title

  • “Terminal%icons/mini/terminal.png%” ExecTermFunc
  • “” Nop
  • “Restart” Restart
  • “Log off $[USERNAME]” Quit

DestroyFunc TestFont
AddToFunc TestFont

  • I Style * Font ‘xft:$0’
  • I MenuStyle * Font ‘xft:$0’

DestroyFunc TestFontSize
AddToFunc TestFontSize

  • I Style * Font ‘xft:$0:size=$1’
  • I MenuStyle * Font ‘xft:$0:size=$1’

###################################

iconify/deiconify thumbnail funcs

###################################
#Read $[f_home]/thumb.fvwm2rc[/code]

I think in this way, you could give a try and see if gedit works as expected.

Many thanks,

Giacomo

Oh, right. Your decor is slightly wrong. You need to clear the predefined states on it. Add something like the following to the end of your decor definition:

+ ButtonStyle 2 - Clear
+ ButtonStyle 4 - Clear MWMDecorMax
+ ButtonStyle 6 - Clear MWMDecorMin

I like having the close button on transient windows – YMMV. :slight_smile:

– Thomas Adam

I did exactly what you told, but the evil about window of gedit still own all buttons.

I’m wondering that problem maybe my version of gedit or fvwm…

Thanks for the help.

I’ll back fighting with my gentoo to update gedit (the problem is that i emerged a prebuilt gnome, so updating gedit is becoming a problem – without emerge --update world).

When I solve the problem, I will post here results.

Bye,
Giacomo

Please don’t think I forgot the dedication you (thomasadam) gave for help me.
I like understand every single particular of a software I adopt.
This obviously don’t stop me in using this wonderfull window manager.
And I hope as soon to contribute to the FVWM community.

Now I’m really fighting with my gentoo box, you can see my problems here:

http://forums.gentoo.org/viewtopic-t-433644-start-0-postdays-0-postorder-asc-highlight-.html

My I’ll back here becuase I hate leave a post unresolved!

Bye & thanx again to T.A. and to ALL.

Giacomo

Finally I was able to update gedit (and gnome as a whole).

The behavior persists: gedit about box show all buttons on the title bar.

What to do now?

Thanks,
Giacomo

Re-read this post:

viewtopic.php?p=7201#7201

It’s a decor issue.

– Thomas Adam

thomasadam wrote:

I read… But the problem still perists.

I post my decor section changed following your indications:

[code]DestroyDecor CustomDecor
AddToDecor CustomDecor

  • TitleStyle LeftJustified Height 18
    #+ TitleStyle RightJustified Height 18
  • ButtonStyle 2 ActiveUp Vector 4 30x30@3 60x60@3 60x30@4 30x60@3 – Flat
  • ButtonStyle 2 ActiveDown Vector 4 30x30@3 60x60@3 60x30@4 30x60@3 – Flat
  • ButtonStyle 2 Inactive Vector 4 30x30@3 60x60@3 60x30@4 30x60@3 – Flat
  • ButtonStyle 6 ActiveUp Vector 5 30x60@3 60x60@3 60x50@3 30x50@3 30x60@3 – Flat
  • ButtonStyle 6 ActiveDown Vector 5 30x60@3 60x60@3 60x50@3 30x50@3 30x60@3 – Flat
  • ButtonStyle 6 Inactive Vector 5 30x60@3 60x60@3 60x50@3 30x50@3 30x60@3 – Flat
  • ButtonStyle 4 ActiveUp Vector 7 30x30@3 30x60@3 60x60@3 60x30@3 30x30@3 30x35@3 60x35@3 – Flat
  • ButtonStyle 4 ActiveDown Vector 7 30x30@3 30x60@3 60x60@3 60x30@3 30x30@3 30x35@3 60x35@3 – Flat
  • ButtonStyle 4 Inactive Vector 7 30x30@3 30x60@3 60x60@3 60x30@3 30x30@3 30x35@3 60x35@3 – Flat
  • TitleStyle – Flat
  • BorderStyle Simple – NoInset Flat
  • ButtonStyle All – UseTitleStyle
  • ButtonStyle 2 - Clear
  • ButtonStyle 4 - Clear MWMDecorMax
  • ButtonStyle 6 - Clear MWMDecorMin
    [/code]
    Everything else was unchanged.

Giacomo
:question: :question: :question: :question: :question: