emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to prevent double X pastes?


From: Robert J. Chassell
Subject: Re: How to prevent double X pastes?
Date: Sat, 23 Aug 2008 20:24:55 +0000

[Earlier I said,
    This is very likely an X issue, not a GNU Emacs issue.  I would like
    a work around.

    How do I prevent a region being pasted twice when I copy the primary
    region with my mouse from GNU Emacs to an xterm or an RXVT shell in
    X?]

James Cloos <address@hidden> responded and asked,

    Do you have a three button mouse, or are you using middle button
    emulation?

three button

    Is the mouse ps/2 or usb?

ps/2

My /etc/X11/xorg.conf file:

        Identifier      "Generic Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "PS/2"
       
Occasionally, I plug in a USB mouse with a wheel that I can use as a
center button, but have not recently.  I have not plugged it in when I
had double pastings.  For my USB mouse, even though it is not plugged
in, my /etc/X11/xorg.conf file has a section that says:

        Identifier      "USBMice"
        Driver          "mouse"
        Option          "Protocol"              "IMPS/2"
        Option          "Device"                "/dev/input/mice"

I do not have evdev* in /dev/, /dev/input/, or /etc/X11/xorg.conf

/var/log/Xorg.0.log says:

  (**) |-->Input Device "Generic Keyboard"
  (**) |-->Input Device "Generic Mouse"
  (**) |-->Input Device "USBMice"
  ...
  (II) LoadModule: "mouse"
  (II) Loading /usr/lib/xorg/modules/input//mouse_drv.so
  (II) Module mouse: vendor="X.Org Foundation"
          compiled for 1.4.0.90, module version = 1.3.0
          Module class: X.Org XInput Driver
          ABI class: X.Org XInput driver, version 2.0
  ...
  (==) R128(0): Silken mouse enabled
  ...
  (**) Generic Mouse: Device: "/dev/psaux"
  (**) Generic Mouse: Protocol: "PS/2"
  (**) Option "CorePointer"
  (**) Generic Mouse: always reports core events
  (**) Option "Device" "/dev/psaux"
  (**) Option "Buttons" "5"
  (==) Generic Mouse: Emulate3Buttons, Emulate3Timeout: 50
  (**) Option "ZAxisMapping" "4 5"
  (**) Generic Mouse: ZAxisMapping: buttons 4 and 5
  (**) Generic Mouse: Buttons: 9
  (**) Generic Mouse: Sensitivity: 1
  (**) Option "Protocol" "IMPS/2"
  (**) USBMice: Device: "/dev/input/mice"
  (**) USBMice: Protocol: "IMPS/2"
  (**) Option "SendCoreEvents" "true"
  (**) USBMice: always reports core events
  (**) Option "Device" "/dev/input/mice"
  (**) Option "Buttons" "5"
  (==) USBMice: Emulate3Buttons, Emulate3Timeout: 50
  (**) Option "ZAxisMapping" "4 5"
  (**) USBMice: ZAxisMapping: buttons 4 and 5
  (**) USBMice: Buttons: 9
  (**) USBMice: Sensitivity: 1
  (**) Option "CoreKeyboard"
  (**) Generic Keyboard: always reports core events
  (**) Option "Protocol" "standard"
  (**) Generic Keyboard: Protocol: standard
  (**) Option "AutoRepeat" "500 30"
  (**) Option "XkbRules" "xorg"
  (**) Generic Keyboard: XkbRules: "xorg"
  (**) Option "XkbModel" "pc105"
  (**) Generic Keyboard: XkbModel: "pc105"
  (**) Option "XkbLayout" "us"
  (**) Generic Keyboard: XkbLayout: "us"
  (**) Option "CustomKeycodes" "off"
  (**) Generic Keyboard: CustomKeycodes disabled
  (II) evaluating device (Generic Keyboard)
  (II) XINPUT: Adding extended input device "Generic Keyboard" (type: KEYBOARD)
  (II) evaluating device (Generic Mouse)
  (II) XINPUT: Adding extended input device "Generic Mouse" (type: MOUSE)
  (II) evaluating device (USBMice)
  (II) XINPUT: Adding extended input device "USBMice" (type: MOUSE)
  (II) evaluating device (Generic Keyboard)
  (II) XINPUT: Adding extended input device "Generic Keyboard" (type: KEYBOARD)
  (II) Generic Mouse: ps2EnableDataReporting: succeeded
  (II) USBMice: ps2EnableDataReporting: succeeded
  SetClientVersion: 0 9
  (II) 3rd Button detected: disabling emulate3Button
  (II) 3rd Button detected: disabling emulate3Button


Debian Testing distribution of GNU/Linux, updated this morning

  X.Org X Server 1.4.2
  X Protocol Version 11, Revision 0
  Build Operating System: Linux Debian (xorg-server 2:1.4.2-3)
  Current Operating System: Linux benthic 2.6.22-3-686 #1 SMP 
  Sun Feb 10 20:20:49 UTC 2008 i686

  Today's GNU Emacs CVS, Sat, 2008 Aug 23 09:50 UTC
  GNU Emacs 23.0.60.51 (i686-pc-linux-gnu, GTK+ Version 2.12.11)
  started with

       /usr/local/src/emacs/src/emacs -Q -D

What else can I do?

-- 
    Robert J. Chassell                          GnuPG Key ID: 004B4AC8
    address@hidden                         address@hidden
    http://www.rattlesnake.com                  http://www.teak.cc




reply via email to

[Prev in Thread] Current Thread [Next in Thread]