Re: FVWM: 2.5.1 under GNOME: Can't bind mouse buttons 1 and 3 on root window

From: Olivier Chapuis <olivier.chapuis_at_free.fr>
Date: Thu, 16 May 2002 14:07:27 +0200

On Wed, May 15, 2002 at 12:26:05PM -0400, Francis Litterio wrote:
> Mikhael wrote:
>
> > On 14 May 2002 13:55:12 -0400, Francis Litterio wrote:
> >
> > > I'm using FVWM 2.5.1 under GNOME on Red Hat 7.2, and I have the
> > > following two mouse binding commands in my .fvwm2rc file:
> > >
> > > Mouse 1 R N Popup RootMenu Nop
> > > Mouse 3 R N WindowList OnlyIcons, UseIconName
> > >
> > > But mouse button 1 on the root window is handled by Gnome (for selecting
> > > desktop icons), and mouse button 3 on the root window pops up the Gnome
> > > desktop menu. The FVWM commands shown above do not execute. This
> > > happens regardless of which modifiers I specify -- GNOME gets all mouse
> > > 1 and mouse 3 events. I can bind mouse button 2 to an FVWM command
> > > without a problem.
> > >
> > > If I run FVWM without GNOME, I have no problem with those two bindings.
>
> > Which program handles your windows-like shortcut desktop icons?
>
> I believe it is Nautilus under Red Hat 7.2 running GNOME. Since I
> posted my original problem report, I have discovered that if I launch
> Nautilus, open its Preferences dialog, go to the "Windows & Desktop"
> tab, and uncheck "Use Nautilus to draw the desktop", this problem goes
> away.
>
> I'm not sure this is an FVWM problem. Nautilus appears to have been
> "stealing" root mouse events.
>

Hello,

There is no bugs in fvwm here (I think). If you check "Use Nautilus to
draw the desktop" Nautilus put a window onto the root window so there
is no more root window that you can click on, there is the desktop
window. With 2.5 you can try:

Mouse 1 D N Popup RootMenu Nop
Mouse 3 D N WindowList OnlyIcons, UseIconName

D is a new binding context for "desktop" (this may not work with
the Nautilus shipped with RedHet 7.2, but this work with a GNOME2
Nautilus which respect a certain protocole). However, if you (or
someone else) want that Nautilus manages the "desktop" I think you
want that Nautilus manages mouse buttons on the desktop window. So,
it is prefereable to use:

Mouse 1 D M Popup RootMenu Nop
Mouse 3 D M WindowList OnlyIcons, UseIconName

i.e., get your fvwm menus by adding a modifier (seems that
Alt+Mouse is not used by Nautilus neither by kdesktop (KDE
version >= 2)). Of course, the solution you use (removing
the desktop window) seems good too for me. I do not
understand the interset of these desktop window and desktop
icons :o)

Regards, Olivier

--
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 Thu May 16 2002 - 07:16:28 BST

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