Copy-Paste not possible from a xterm

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Copy-Paste not possible from a xterm

Stefan Wollny
Hi there!

My system:
OpenBSD 6.0-current (GENERIC.MP) #2335: Sun Aug  20:50:41 MDT 2016
(Full dmesg at the end.)

For some time now I cannot copy-paste text from a xterm window by simultaneously pressing
left and right mouse buttons.

Anyone an idea?

TIA.

Best,
STEFAN


OpenBSD 6.0-current (GENERIC.MP) #2335: Sun Aug  7 20:50:41 MDT 2016
    [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 17082359808 (16291MB)
avail mem = 16560173056 (15793MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb500 (35 entries)
bios0: vendor American Megatrends Inc. version "1.05.01" date 08/05/2015
bios0: Notebook W65_67SZ
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT ASF! SSDT SSDT SSDT MCFG HPET SSDT SSDT SSDT DMAR
acpi0: wakeup devices PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) RLAN(S4) PXSX(S4) RP05(S4) PXSX(S4) RP06(S4) PXSX(S4) RP07(S4) PXSX(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3093.26 MHz
cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3092.83 MHz
cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3092.83 MHz
cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 1, core 0, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3092.83 MHz
cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (RP01)
acpiprt2 at acpi0: bus 3 (RP03)
acpiprt3 at acpi0: bus 4 (RP04)
acpiprt4 at acpi0: bus 1 (P0P2)
acpiprt5 at acpi0: bus -1 (P0PA)
acpiprt6 at acpi0: bus -1 (P0PB)
acpiprt7 at acpi0: bus 1 (PEG0)
acpiec0 at acpi0
acpicpu0 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu2 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu3 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpitz0 at acpi0: critical temperature is 120 degC
"INT3F0D" at acpi0 not configured
"MSFT0001" at acpi0 not configured
"ETD0403" at acpi0 not configured
"PNPC000" at acpi0 not configured
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: SLPB
acpibtn2 at acpi0: LID0
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT0 model "BAT" serial 0001 type LION oem "Notebook"
"PNP0C14" at acpi0 not configured
"INT340E" at acpi0 not configured
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: LCD0
cpu0: Enhanced SpeedStep 3093 MHz: speeds: 2601, 2600, 2500, 2300, 2200, 2100, 2000, 1800, 1700, 1600, 1400, 1300, 1200, 1100, 900, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 4G Host" rev 0x06
ppb0 at pci0 dev 1 function 0 "Intel Core 4G PCIE" rev 0x06: msi
pci1 at ppb0 bus 1
inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 4600" rev 0x06
drm0 at inteldrm0
inteldrm0: msi
inteldrm0: 1920x1080
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
azalia0 at pci0 dev 3 function 0 "Intel Core 4G HD Audio" rev 0x06: msi
xhci0 at pci0 dev 20 function 0 "Intel 8 Series xHCI" rev 0x05: msi
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 "Intel xHCI root hub" rev 3.00/1.00 addr 1
"Intel 8 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
ehci0 at pci0 dev 26 function 0 "Intel 8 Series USB" rev 0x05: apic 2 int 16
usb1 at ehci0: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia1 at pci0 dev 27 function 0 "Intel 8 Series HD Audio" rev 0x05: msi
azalia1: codecs: VIA/0x8446
audio0 at azalia1
ppb1 at pci0 dev 28 function 0 "Intel 8 Series PCIE" rev 0xd5
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 2 "Intel 8 Series PCIE" rev 0xd5: msi
pci3 at ppb2 bus 3
iwm0 at pci3 dev 0 function 0 "Intel Dual Band Wireless AC 7260" rev 0xbb, msi
ppb3 at pci0 dev 28 function 3 "Intel 8 Series PCIE" rev 0xd5: msi
pci4 at ppb3 bus 4
rtsx0 at pci4 dev 0 function 0 "Realtek RTL8411 Card Reader" rev 0x01: msi
sdmmc0 at rtsx0: 4-bit
re0 at pci4 dev 0 function 2 "Realtek 8168" rev 0x0a: RTL8411 (0x4880), msi, address 80:fa:5b:13:a0:ad
rgephy0 at re0 phy 7: RTL8169S/8110S/8211 PHY, rev. 5
ehci1 at pci0 dev 29 function 0 "Intel 8 Series USB" rev 0x05: apic 2 int 23
usb2 at ehci1: USB revision 2.0
uhub2 at usb2 "Intel EHCI root hub" rev 2.00/1.00 addr 1
pcib0 at pci0 dev 31 function 0 "Intel HM86 LPC" rev 0x05
ahci0 at pci0 dev 31 function 2 "Intel 8 Series AHCI" rev 0x05: msi, AHCI 1.3
ahci0: port 0: 1.5Gb/s
ahci0: port 4: 6.0Gb/s
ahci0: port 5: 6.0Gb/s
scsibus1 at ahci0: 32 targets
cd0 at scsibus1 targ 0 lun 0: <TSSTcorp, CDDVDW SN-208FB, SB00> ATAPI 5/cdrom removable
sd0 at scsibus1 targ 4 lun 0: <ATA, Samsung SSD 850, EMT4> SCSI3 0/direct fixed naa.5002538d402ece0c
sd0: 114473MB, 512 bytes/sector, 234441648 sectors, thin
sd1 at scsibus1 targ 5 lun 0: <ATA, Samsung SSD 850, EXM0> SCSI3 0/direct fixed naa.500253887007d4c5
sd1: 976762MB, 512 bytes/sector, 2000409264 sectors, thin
ichiic0 at pci0 dev 31 function 3 "Intel 8 Series SMBus" rev 0x05: apic 2 int 18
iic0 at ichiic0
iic0: addr 0x18 00=00 01=00 02=00 03=00 04=00 05=c2 06=1b 07=0a 08=00 09=00 0a=00 0b=00 0c=00 0d=00 0e=00 0f=00 words 00=007f 01=0000 02=0000 03=0000 04=0000 05=c2d4 06=1b09 07=0a01
spdmem0 at iic0 addr 0x50: 8GB DDR3 SDRAM PC3-14200 SO-DIMM with thermal sensor
spdmem1 at iic0 addr 0x52: 8GB DDR3 SDRAM PC3-14200 SO-DIMM with thermal sensor
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
error: [drm:pid0:intel_uncore_check_errors] *ERROR* Unclaimed register before interrupt
umass0 at uhub0 port 1 configuration 1 interface 0 "Research In Motion, Ltd. BlackBerry Mass Storage Device" rev 2.00/2.40 addr 2
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, initiator 0
sd2 at scsibus2 targ 1 lun 0: <RIM, Disk, 1.0> SCSI2 0/direct removable serial.0fca8014C0C7D3BFEF4E
uhub3 at uhub0 port 6 "Genesys Logic USB2.0 Hub" rev 2.00/9.01 addr 3
umass1 at uhub3 port 1 configuration 1 interface 0 "General UDisk" rev 2.00/1.00 addr 4
umass1: using SCSI over Bulk-Only
scsibus3 at umass1: 2 targets, initiator 0
sd3 at scsibus3 targ 1 lun 0: <General, UDisk, 5.00> SCSI2 0/direct removable serial.abcd1234245144257801
sd3: 7681MB, 512 bytes/sector, 15730688 sectors
uhidev0 at uhub3 port 2 configuration 1 interface 0 "Logitech Trackball" rev 1.10/2.20 addr 5
uhidev0: iclass 3/1
ums0 at uhidev0: 3 buttons, Z dir
wsmouse1 at ums0 mux 0
uhidev1 at uhub3 port 4 configuration 1 interface 0 "Logitech USB Receiver" rev 2.00/12.01 addr 6
uhidev1: iclass 3/1
ukbd0 at uhidev1: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev2 at uhub3 port 4 configuration 1 interface 1 "Logitech USB Receiver" rev 2.00/12.01 addr 6
uhidev2: iclass 3/1, 8 report ids
ums1 at uhidev2 reportid 2: 16 buttons, Z and W dir
wsmouse2 at ums1 mux 0
uhid0 at uhidev2 reportid 3: input=4, output=0, feature=0
uhid1 at uhidev2 reportid 4: input=1, output=0, feature=0
uhid2 at uhidev2 reportid 8: input=1, output=0, feature=0
uhidev3 at uhub3 port 4 configuration 1 interface 2 "Logitech USB Receiver" rev 2.00/12.01 addr 6
uhidev3: iclass 3/0, 33 report ids
uhid3 at uhidev3 reportid 16: input=6, output=6, feature=0
uhid4 at uhidev3 reportid 17: input=19, output=19, feature=0
uhid5 at uhidev3 reportid 32: input=14, output=14, feature=0
uhid6 at uhidev3 reportid 33: input=31, output=31, feature=0
ugen0 at uhub0 port 7 "Intel product 0x07dc" rev 2.00/0.01 addr 7
uhub4 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.05 addr 2
uhub5 at uhub2 port 1 "Intel Rate Matching Hub" rev 2.00/0.05 addr 2
vscsi0 at root
scsibus4 at vscsi0: 256 targets
softraid0 at root
scsibus5 at softraid0: 256 targets
sd4 at scsibus5 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006> SCSI2 0/direct fixed
sd4: 976756MB, 512 bytes/sector, 2000397143 sectors
softraid0: volume sd4 is roaming, it used to be sd3, updating metadata
root on sd4a (27a349ce45a3b091.a) swap on sd4b dump on sd4b
iwm0: hw rev 0x140, fw ver 16.242414.0, address 7c:5c:f8:3b:80:99
thunderbird(67179): mmap W^X violation
thunderbird(26046): mmap W^X violation
thunderbird(19267): mmap W^X violation
thunderbird(30766): mmap W^X violation
soffice.bin(68962): mprotect W^X violation
sd2 detached
scsibus2 detached
umass0 detached
xpcshell(5887): mmap W^X violation
ugen1 at uhub0 port 1 "Research In Motion, Ltd. BlackBerry" rev 2.00/2.40 addr 2
thunderbird(31136): mmap W^X violation

Reply | Threaded
Open this post in threaded view
|

Re: Copy-Paste not possible from a xterm

Mihai Popescu-3
> For some time now I cannot copy-paste text from a xterm window by simultaneously \
> pressing left and right mouse buttons.

> Anyone an idea?

Um, carpal tunnel syndrome?

I know somebody unable to double click after a heavy drinking night.
But he was able to manage this by clicking one time followed by Enter
key. So, no panic.

Reply | Threaded
Open this post in threaded view
|

Re: Copy-Paste not possible from a xterm

Edgar Pettijohn III-2
I can't remember which of these I use because it's a muscle memory deal, but
it's either ctrl + insert or shift + insert after highlighting the text of
course. I think it requires some magic words in a resource file somewhere to
use the clipboard.

Sent from my iPhone

On Aug 8, 2016, at 2:36 PM, Mihai Popescu <[hidden email]> wrote:

>> For some time now I cannot copy-paste text from a xterm window by
simultaneously \
>> pressing left and right mouse buttons.
>
>> Anyone an idea?
>
> Um, carpal tunnel syndrome?
>
> I know somebody unable to double click after a heavy drinking night.
> But he was able to manage this by clicking one time followed by Enter
> key. So, no panic.

Reply | Threaded
Open this post in threaded view
|

Re: Copy-Paste not possible from a xterm

Dmitrij D. Czarkoff-2
In reply to this post by Stefan Wollny
"Stefan Wollny" <[hidden email]> wrote:

>For some time now I cannot copy-paste text from a xterm \
>window by simultaneously pressing
>left and right mouse buttons.
>
>Anyone an idea?

From mouse(4):

|       Option "Emulate3Buttons" "boolean"
|              Enable/disable the emulation of the third (middle) mouse
button
|              for mice which only have two physical buttons.  The third
button
|              is emulated by pressing both buttons simultaneously.  Default:
|              on, until a press of a physical button 3 is detected.
Property:
|              "Mouse Middle Button Emulation"

Reply | Threaded
Open this post in threaded view
|

Re: Copy-Paste not possible from a xterm

Stefan Wollny
In reply to this post by Mihai Popescu-3
> Gesendet: Montag, 08. August 2016 um 21:36 Uhr
> Von: "Mihai Popescu" <[hidden email]>
> An: [hidden email]
> Betreff: Re: Copy-Paste not possible from a xterm
>
> > For some time now I cannot copy-paste text from a xterm window by simultaneously \
> > pressing left and right mouse buttons.
>
> > Anyone an idea?
>
> Um, carpal tunnel syndrome?
>
Nice - but no.

> I know somebody unable to double click after a heavy drinking night.
> But he was able to manage this by clicking one time followed by Enter
> key. So, no panic.
>
Looks to me that I missed to find the right words to explain the issue correctly. My bad.

New try:
I open an xterm and e.g. want to see the content of /etc/fstab. So I issue
$ cat /etc/fstab

Now I want to copy one line to thunderbird or a web client via firefox. I used to do this by marking the relevant line, change to the other application (say: the web client) and press left and right mouse buttons simultaneously. Until some time ago this procedure inserted the marked-up line at the position of the cursor. No double-click, no Enter. Standard Unix - right?

Exactly this procedure is disfunct on my system. No idea why, no idea where to look at. No big thing, just wondering if I missed s.th. or else.

I know how to circumvent this non-behaviour in most cases.

Just wanted to know if s.o. else witnessed the same and maybe has an answer. Maybe I need to additionally post some specific settings I am not aware of.

OK?

Best,
STEFAN

Reply | Threaded
Open this post in threaded view
|

Solved: Copy-Paste not possible from a xterm

Stefan Wollny
In reply to this post by Edgar Pettijohn III-2
> Gesendet: Montag, 08. August 2016 um 21:51 Uhr
> Von: "Edgar Pettijohn" <[hidden email]>
> An: "Mihai Popescu" <[hidden email]>
> Cc: [hidden email]
> Betreff: Re: Copy-Paste not possible from a xterm
>
> I can't remember which of these I use because it's a muscle memory deal, but
> it's either ctrl + insert or shift + insert after highlighting the text of
> course. I think it requires some magic words in a resource file somewhere to
> use the clipboard.
>

Hi Edgar,

thanks again for taking the time to reply.

Actually 'shift + insert' does copy the content of the clipboard. But this content is not the marked-up line from xterm! Example: Using a graphical editor like e.g. NEdit I can mark a line within and copy this line to the clipboard via 'ctrl + c'. It is this content that could be inserted via 'shift + insert'.

BUT my issue is different: Until recently I could copy and paste from a xterm by simply marking a line (or several lines) and by pressing left and right mouse buttons simultaneously this line / these lines were copied at the position of the cursor. It is this behaviour that seemed to no longer working on my system.

Dimitrij Czarkoff posted the relevant section of man mouse(4): Option "Emulate3Buttons"
Re-reading this several times lead to the solution. The system is a laptop with two buttons below the touchpad but I have an external mouse attached with a physical third button - simply pressing this button did the trick. Sigh... no idea why the emulation of the third button does no longer work. Will test this with the external mouse detached - but not tonight.

Thank you all!!!

Best,
STEFAN

Reply | Threaded
Open this post in threaded view
|

Re: Copy-Paste not possible from a xterm

patrick keshishian
In reply to this post by Stefan Wollny
On 8/8/16, Stefan Wollny <[hidden email]> wrote:

>> Gesendet: Montag, 08. August 2016 um 21:36 Uhr
>> Von: "Mihai Popescu" <[hidden email]>
>> An: [hidden email]
>> Betreff: Re: Copy-Paste not possible from a xterm
>>
>> > For some time now I cannot copy-paste text from a xterm window by
>> > simultaneously \
>> > pressing left and right mouse buttons.
>>
>> > Anyone an idea?
>>
>> Um, carpal tunnel syndrome?
>>
> Nice - but no.
>
>> I know somebody unable to double click after a heavy drinking night.
>> But he was able to manage this by clicking one time followed by Enter
>> key. So, no panic.
>>
> Looks to me that I missed to find the right words to explain the issue
> correctly. My bad.
>
> New try:
> I open an xterm and e.g. want to see the content of /etc/fstab. So I issue
> $ cat /etc/fstab
>
> Now I want to copy one line to thunderbird or a web client via firefox. I
> used to do this by marking the relevant line, change to the other
> application (say: the web client) and press left and right mouse buttons
> simultaneously. Until some time ago this procedure inserted the marked-up
> line at the position of the cursor. No double-click, no Enter. Standard Unix
> - right?

Can you paste the "copied" line into the same xterm or another xterm
window using your outlined procedure?

--patrick


> Exactly this procedure is disfunct on my system. No idea why, no idea where
> to look at. No big thing, just wondering if I missed s.th. or else.
>
> I know how to circumvent this non-behaviour in most cases.
>
> Just wanted to know if s.o. else witnessed the same and maybe has an answer.
> Maybe I need to additionally post some specific settings I am not aware of.
>
> OK?
>
> Best,
> STEFAN

Reply | Threaded
Open this post in threaded view
|

Re: Solved: Copy-Paste not possible from a xterm

Ted Unangst-6
In reply to this post by Stefan Wollny
Stefan Wollny wrote:
> Dimitrij Czarkoff posted the relevant section of man mouse(4): Option "Emulate3Buttons"
> Re-reading this several times lead to the solution. The system is a laptop with two buttons below the touchpad but I have an external mouse attached with a physical third button - simply pressing this button did the trick. Sigh... no idea why the emulation of the third button does no longer work. Will test this with the external mouse detached - but not tonight.

The default setting is stupid. It emulates 3 buttons until you push a third
button, then it stops. Then if you switch devices, haha, you're screwed.

xinput --set-prop 8 "WS Pointer Middle Button Emulation" 1

Reply | Threaded
Open this post in threaded view
|

Re: Copy-Paste not possible from a xterm

Raul Miller
In reply to this post by Stefan Wollny
On Mon, Aug 8, 2016 at 4:53 PM, Stefan Wollny <[hidden email]> wrote:
> I open an xterm and e.g. want to see the content of /etc/fstab. So I issue
> $ cat /etc/fstab
>
> Now I want to copy one line to thunderbird or a web client via firefox. I
used to do this by marking the relevant line, change to the other application
(say: the web client) and press left and right mouse buttons simultaneously.
Until some time ago this procedure inserted the marked-up line at the position
of the cursor. No double-click, no Enter. Standard Unix - right?
>
> Exactly this procedure is disfunct on my system. No idea why, no idea where
to look at. No big thing, just wondering if I missed s.th. or else.

There are a number of possibilities here, and no one knows (yet) which
of them seem plausible:

This could be malfunctioning hardware (bad connectors, sloppy mouse
implementation, etc).

This could be software.

This could be easily repeatable.

This could be intermittent.

Can you try the mouse on a different machine? (Or, for that matter, a
different mouse on a different machine.)

Can you boot into a different OS and/or version?

Anyways, the first step in solving any problem is trying to isolate
it, and all we can do, for now, is give you guesses and hints which
might help you in that.

[But, focusing on this mailing list and how people like to use it: we
do not yet have enough information to determine if you have triggered
a flaw in the OS. That is very unlikely for any individual report, but
there are a lot of individuals out there... still, for now, I would
guess that there is something wrong with your machine and/or your
mouse and that if you cannot isolate or fix the problem you will
probably have to replace one or both, or live with it. That said: in
my experience, most hardware problems have tended to be problems with
the connectors.]

Thanks,

--
Raul