You are not logged in.
Pages: 1
Topic closed
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
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
Offline
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
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
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
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
Pages: 1
Topic closed