Re: Middle button click broken
Re: Middle button click broken
- Subject: Re: Middle button click broken
- From: Pierre Baguis <email@hidden>
- Date: Sat, 17 Apr 2010 12:20:52 -0700 (PDT)
OK, I tried the xev command and here is an example of what it gives:
------------------------------------------------------------------
MotionNotify event, serial 32, synthetic NO, window 0x2000001,
root 0x381, subw 0x2000002, time 221527654, (40,36), root:(44,87),
state 0x0, is_hint 0, same_screen YES
LeaveNotify event, serial 32, synthetic NO, window 0x2000001,
root 0x381, subw 0x2000002, time 221528034, (-4,18), root:(0,69),
mode NotifyNormal, detail NotifyVirtual, same_screen YES,
focus YES, state 512
FocusOut event, serial 32, synthetic NO, window 0x2000001,
mode NotifyNormal, detail NotifyNonlinear
-----------------------------------
The middle click caused the terminal to come forth.
The output of the "defaults read org.x.x11" in my case is:
------------------------------------------------------------------
{
"NSWindow Frame x11_prefs" = "178 236 484 330 0 0 1440 878 ";
SULastCheckTime = 2010-04-17 11:05:03 +0200;
WebKitDefaultFontSize = 11;
WebKitStandardFont = "Lucida Grande";
"app_to_run" = "/usr/X11/bin/xterm";
"apps_menu" = (
(
Terminal,
xterm,
n
),
(
xman,
xman,
""
),
(
xlogo,
xlogo,
""
)
);
"cache_fonts" = 1;
depth = -1;
"done_xinit_check" = 1;
"enable_fake_buttons" = 1;
"enable_key_equivalents" = 1;
"enable_system_beep" = 0;
"fullscreen_menu" = 0;
"login_shell" = "/bin/tcsh";
"no_auth" = 0;
"nolisten_tcp" = 1;
rootless = 0;
"sync_clipboard_to_pasteboard" = 1;
"sync_keymap" = 0;
"sync_pasteboard" = 1;
"sync_pasteboard_to_clipboard" = 1;
"sync_pasteboard_to_primary" = 1;
"sync_primary_on_select" = 0;
"wm_click_through" = 0;
"wm_ffm" = 0;
"wm_focus_on_new_window" = 1;
}
------------------------------------------------------------------
Any ideas?
Thanks,
Pierre
----- Original Message ----
From: Harald Hanche-Olsen <email@hidden>
To: email@hidden
Cc: email@hidden
Sent: Sat, April 17, 2010 5:40:55 PM
Subject: Re: Middle button click broken
+ Pierre Baguis <email@hidden>:
> I have installed XQuartz 2.5.0 under 10.5.8 and now the middle button click is broken.
I have the same, and it works for me.
> The window manager is Gnome and the middle click instead of pasting the selection, it just switches the focus to another window. Ctrl-c and ctrl-v the selection stopped also working. Is there some way to restore this functionality?
Run xev from a terminal window. If you move the mouse cursor into the window that pops up, hold it still there and click the middle button, you should see something like this:
ButtonPress event, serial 26, synthetic NO, window 0x400001,
root 0x381, subw 0x0, time 208302587, (103,133), root:(107,155),
state 0x0, button 2, same_screen YES
ButtonRelease event, serial 26, synthetic NO, window 0x400001,
root 0x381, subw 0x0, time 208302722, (103,133), root:(107,155),
state 0x200, button 2, same_screen YES
If it says button 2, your X11 setup is okay. If not, please run this command and tell us the output:
defaults read org.x.x11
If your xev run does give you button 2 events, then there is probably something wrong with your window manager setup.
- Harald
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden