You are not logged in.

#1 2017-01-15 14:45:32

RobinHood
Member
Registered: 2016-09-12
Posts: 11

Middle Mouse paste is Inconsistently working.

Hi

I use VScode and love select text and middle mouse paste but recently it is not working consistently.

I have the same problem in Sublime and Jupyter notebook and I have no idea how to fix it.

I cant say for sure that it doesn't happen in the terminal as Its really hard to make it fail on demand in any of the above apps, but I dont think it happens as much in the terminal if atall.


I select some text move to where I want it pasted but it paste's the previously pasted text not the currently selected text, not every time just intermittently and I cannot recreate it on demand.

Any help greatly received, its driving me nuts!


Arch Linux

Cinnamon 3.2.8

Linux Kernel 4.8.13-1-ARCH

grep -e "mouse " ~/.local/share/xorg/Xorg.1.log
[   413.107] (==) intel(0): Silken mouse enabled
[   413.192] (--) evdev: SINO WEALTH USB KEYBOARD: Found 1 mouse buttons
[   413.193] (--) evdev: MOSART Semi. 2.4G Keyboard Mouse: Found 9 mouse buttons



xinput list
⎡ Virtual core pointer                        id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                  id=4    [slave  pointer  (2)]
⎜   ↳ Corsair Corsair Gaming K70 LUX Keyboard     id=11    [slave  pointer  (2)]
⎜   ↳ Func Func MS-3 Gaming Mouse                 id=13    [slave  pointer  (2)]
⎣ Virtual core keyboard                       id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard                 id=5    [slave  keyboard (3)]
    ↳ Power Button                                id=6    [slave  keyboard (3)]
    ↳ Power Button                                id=8    [slave  keyboard (3)]
    ↳ Sleep Button                                id=9    [slave  keyboard (3)]
    ↳ Corsair Corsair Gaming K70 LUX Keyboard     id=10    [slave  keyboard (3)]
    ↳ Func Func MS-3 Gaming Mouse                 id=12    [slave  keyboard (3)]
    ↳ Corsair Corsair Gaming K70 LUX Keyboard     id=15    [slave  keyboard (3)]
    ↳ Func Func MS-3 Gaming Mouse                 id=16    [slave  keyboard (3)]
    ↳ Eee PC WMI hotkeys                          id=14    [slave  keyboard (3)]
    ↳ Video Bus                                   id=7    [slave  keyboard (3)]


grep -e "Using input driver " ~/.local/share/xorg/Xorg.1.log
[   413.180] (II) Using input driver 'evdev' for 'Power Button'
[   413.189] (II) Using input driver 'evdev' for 'Video Bus'
[   413.190] (II) Using input driver 'evdev' for 'Power Button'
[   413.191] (II) Using input driver 'evdev' for 'Sleep Button'
[   413.191] (II) Using input driver 'evdev' for 'SINO WEALTH USB KEYBOARD'
[   413.192] (II) Using input driver 'evdev' for 'SINO WEALTH USB KEYBOARD'
[   413.193] (II) Using input driver 'evdev' for 'MOSART Semi. 2.4G Keyboard Mouse'
[   413.193] (II) Using input driver 'evdev' for 'MOSART Semi. 2.4G Keyboard Mouse'
[   413.195] (II) Using input driver 'evdev' for 'Eee PC WMI hotkeys'
[   413.196] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'

Last edited by RobinHood (2017-01-15 15:40:36)

Offline

#2 2017-01-15 15:18:28

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Middle Mouse paste is Inconsistently working.

Please edit your post and choose a title that actually reflects your issue: https://wiki.archlinux.org/index.php/Co … ow_to_post

What terminal? What DE/WM? What input driver? What configuration? etc... See How To Ask Questions The Smart Way




Moving to NC


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-01-15 15:54:23

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,543
Website

Re: Middle Mouse paste is Inconsistently working.

Thanks for the edits RobinHood - also please note that using [ code ] tags for commands and their output is helpful.

On the issue at hand, I'd check xsel.  When you get the "wrong" text inserted, go to a terminal and just type `xsel` (install xorg-xsel if needed first).  This will show what is actually in the X11 primary selection - this will tell you whether the middle mouse click is inserting the wrong thing, or whether selecting the new text failed to put that text into the primary selection.  I'm not sure what the next step would be for either of those outcomes, but knowing which it is will substantially reduce the search space.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2017-01-15 16:07:02

RobinHood
Member
Registered: 2016-09-12
Posts: 11

Re: Middle Mouse paste is Inconsistently working.

I ran out a new xorg.conf file as I noticed there was not one in the X11 directory.

It found my mouse so maybe that is the problem but will check out xsel next time it happens and report back (if I am not in the asylum!)

Thanks!

Offline

#5 2018-05-21 07:07:35

lexikon
Member
Registered: 2017-01-15
Posts: 10

Re: Middle Mouse paste is Inconsistently working.

Hello all
I have this issues on my Arch linux with Plasma
Middle mouse insert selected text always and I can't use properly multiline selection in vscode or another editors(
How I can disable middle mouse paste in plasma or xorg?

Offline

#6 2018-05-21 08:03:25

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,718
Website

Re: Middle Mouse paste is Inconsistently working.

Please open a new topic for your issue.

https://wiki.archlinux.org/index.php/Co … bumping.22

Closing.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

Board footer

Powered by FluxBB