Re: [DNG] problematic mouse driver?

2020-11-22 Thread Ian Zimmerman
On 2020-11-22 17:13, Antony Stone wrote:

> I _had_ thought there was this thing called "the clipboard" to which
> copied text was, well, copied, and that it could then be pasted
> afterwards into whatever you wanted, but indeed, it no longer exists
> if you close the window it was selected from.

This is one reason why the "clipboard manager" category of program
exists. They take ownership of the clippings and preserve them beyond
the life of the original creating window.

-- 
Ian
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] problematic mouse driver?

2020-11-22 Thread Antony Stone
On Sunday 22 November 2020 at 17:01:31, Tomasz Torcz wrote:

>   I wonder if your workflow is similar with wired and wireless mice.
> Maybe you do something different, like closing the window in the
> meantime?
> 
>   This is important, because selecting text with mouse does NOT actually
> copy the text!  It is just selected.  If you use middle button, then the
> text is taken from original window and pasted into target.
>   Now, if you select text, then close the original window, the middle
> button won't paste. There will be no original window to take the text
> from.

I discovered this myself fairly recently, and indeed it did surprise me.

I _had_ thought there was this thing called "the clipboard" to which copied 
text was, well, copied, and that it could then be pasted afterwards into 
whatever you wanted, but indeed, it no longer exists if you close the window 
it was selected from.

I find it remarkable how many such basic and simple things I keep on learning 
about Linux, after having been using it for 25 years, and as my exclusive 
operating system for 20 years...


Antony.

-- 
"The future is already here.   It's just not evenly distributed yet."

 - William Gibson

   Please reply to the list;
 please *don't* CC me.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] problematic mouse driver?

2020-11-22 Thread Tomasz Torcz
On Tue, Nov 17, 2020 at 06:07:31AM -0500, Haines Brown wrote:
> About the time I upgraded to Bwowulf I experienced periodic problems 
> having the mouse pasting scanneted text with middle mouse button. 
> 
> I find that sometimes the mouse remembers scanned text but then is 
> unable to paste it. The problem comes and goes with my wired mouse but 
> is always present with my wireless mouse. It primarily occurs when 
> copying text from a GUI application such as displayed by a browser and 
> then pastting it into a text based application such as nano. But I 
> find that I can (usually?) correct the problem by scanning and pasting 
> a bit of text in nano and then do it with a GUI application.
> 
> Anyone have any idea of what might be going on?

  I wonder if your workflow is similar with wired and wireless mice.
Maybe you do something different, like closing the window in the
meantime?

  This is important, because selecting text with mouse does NOT actually
copy the text!  It is just selected.  If you use middle button, then the
text is taken from original window and pasted into target.
  Now, if you select text, then close the original window, the middle
button won't paste. There will be no original window to take the text
from.

-- 
Tomasz Torcz Morality must always be based on practicality.
to...@pipebreaker.pl — Baron Vladimir Harkonnen

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] problematic mouse driver?

2020-11-18 Thread ael
On Wed, Nov 18, 2020 at 10:58:16AM -0800, Ian Zimmerman wrote:
> On 2020-11-17 06:07, Haines Brown wrote:
> 
> > About the time I upgraded to Bwowulf I experienced periodic problems
> > having the mouse pasting scanneted text with middle mouse button.
> 
> 
> It does help to have a full leo^H^H^Hkeyboard with a numeric keypad,
> rather than one of the built-in laptop keyboards.

Some decent laptops have full numeric keypads: Clevo for instance.

ael
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] problematic mouse driver?

2020-11-18 Thread Ian Zimmerman
On 2020-11-17 06:07, Haines Brown wrote:

> About the time I upgraded to Bwowulf I experienced periodic problems
> having the mouse pasting scanneted text with middle mouse button.

Do people in this thread know about PointerKeys, and that it is an
honest X11 feature, not something added by Gnome or KDE etc.?

In my xsession script I have (indirectly through sourcing):

setxkbmap -option shift:both_capslock -option caps:menu -option \
compose:sclk -option keypad:pointerkeys

It does help to have a full leo^H^H^Hkeyboard with a numeric keypad,
rather than one of the built-in laptop keyboards.

-- 
Ian
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] problematic mouse driver?

2020-11-18 Thread Didier Kryn
Le 18/11/2020 à 00:50, Hendrik Boom a écrit :
> On Tue, Nov 17, 2020 at 05:54:45PM -0500, Haines Brown wrote:
>> I infer from those kind enough to answer that my problem getting the 
>> mouse to paste what it scanned is not unusual. When the problem shows 
>> up again I'll try to paste with both mouse buttons rather than the 
>> button.
> I've always had difficulty pressing both buttons close enough that the 
> computer recognises them as being at the same time.  Also, I think there's 
> some kind of mouse configuration that is required for this to work.
>
> -- hendrik
>

    I never had this problem - for decades. Neither with mouses nor with
the touchpad of my laptop, on which I need to click both buttons to
emulate the central one. I'd suggest buying a new mouse.

    Cut-and-paste problems exist though. Cuting in a text processor like
libreoffice records some markup. When I don't want it, I first paste
into an xterm or into Emacs, and then cut again. Simple mouse-cut does
not paste into (eg) Scribus; you need to cut the text from some
application which handles Ctrl-C,or a menu-cut eg a web browser.

-- 

        Didier


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] problematic mouse driver?

2020-11-17 Thread terryc
On Tue, 17 Nov 2020 18:50:15 -0500
Hendrik Boom  wrote:

> On Tue, Nov 17, 2020 at 05:54:45PM -0500, Haines Brown wrote:
> > I infer from those kind enough to answer that my problem getting
> > the mouse to paste what it scanned is not unusual. When the problem
> > shows up again I'll try to paste with both mouse buttons rather
> > than the button.  
> 
> I've always had difficulty pressing both buttons close enough that
> the computer recognises them as being at the same time.  Also, I
> think there's some kind of mouse configuration that is required for
> this to work.

YMMV, but For my beowulf installation using Xfce4 -> right click on
blan area f screen, then applications -> Settings -> 'Mouse & Touchpad'
-> choose your device and configuration under Devices/Behaviour/Theme.

It is probably 'double click;time' under Behaviour.

FWIW, I have not had to chase 'emulate 3 buttons' for about a decade.
It seems to auto-majikally happen.

for general info, since I too have the random Copy  problem,
this is the hardware in my system. Note, there is only one actual
mouse, but the mechanical keyboard (some versions) actually have
two USB ports and can apparently do  fancy things for 'gaming' prposes.
Sadly my fingers no longer can do the same.



user@ system:$ sudo dmesg |grep ouse 
[1.116309] mousedev: PS/2 mouse device common for all mice
[2.082995] usb 8-1: Product: Comfort Optical Mouse 1000
[2.091999] input: Microsoft Comfort Optical Mouse 1000
as 
/devices/pci:00/:00:12.0/usb8/8-1/8-1:1.0/0003:045E:00F6.0001/input/input0
[2.092082] hid-generic 0003:045E:00F6.0001: input,hidraw0: USB HID
v1.11 Mouse [Microsoft Comfort Optical Mouse 1000] on
usb-:00:12.0-1/input0 [2.815090] usb 8-2: Product: Cypress USB
Keyboard / PS2 Mouse [2.846455] input: Cypress Cypress USB
Keyboard / PS2 Mouse
as 
/devices/pci:00/:00:12.0/usb8/8-2/8-2:1.0/0003:04B4:0101.0002/input/input1
[2.903306] hid-generic 0003:04B4:0101.0002: input,hidraw1: USB HID
v1.00 Keyboard [Cypress Cypress USB Keyboard / PS2 Mouse] on
usb-:00:12.0-2/input0 [2.915473] input: Cypress Cypress USB
Keyboard / PS2 Mouse
as 
/devices/pci:00/:00:12.0/usb8/8-2/8-2:1.1/0003:04B4:0101.0003/input/input2
[2.915542] input: Cypress Cypress USB Keyboard / PS2 Mouse System
Control
as 
/devices/pci:00/:00:12.0/usb8/8-2/8-2:1.1/0003:04B4:0101.0003/input/input3
[2.974950] input: Cypress Cypress USB Keyboard / PS2 Mouse Consumer
Control
as 
/devices/pci:00/:00:12.0/usb8/8-2/8-2:1.1/0003:04B4:0101.0003/input/input4
[2.974995] hid-generic 0003:04B4:0101.0003: input,hidraw2: USB HID
v1.00 Mouse [Cypress Cypress USB Keyboard / PS2 Mouse] on
usb-:00:12.0-2/input1
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] problematic mouse driver?

2020-11-17 Thread karl
Hendrik:
...
> Also, I think there's 
> some kind of mouse configuration that is required for this to work.
...

$ man mousedrv | grep -A6 Emulate3Buttons
   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"

Regards,
/Karl Hammar


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] problematic mouse driver?

2020-11-17 Thread Hendrik Boom
On Tue, Nov 17, 2020 at 05:54:45PM -0500, Haines Brown wrote:
> I infer from those kind enough to answer that my problem getting the 
> mouse to paste what it scanned is not unusual. When the problem shows 
> up again I'll try to paste with both mouse buttons rather than the 
> button.

I've always had difficulty pressing both buttons close enough that the 
computer recognises them as being at the same time.  Also, I think there's 
some kind of mouse configuration that is required for this to work.

-- hendrik

> 
> My wireless mouse did not work at all, but now for some reason it 
> does.  I can paste scanned text in my Basilisk browser here to nano 
> (my mail editor). 
> 
> -- 
> Haines Brown  
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] problematic mouse driver?

2020-11-17 Thread Haines Brown
I infer from those kind enough to answer that my problem getting the 
mouse to paste what it scanned is not unusual. When the problem shows 
up again I'll try to paste with both mouse buttons rather than the 
button.

My wireless mouse did not work at all, but now for some reason it 
does.  I can paste scanned text in my Basilisk browser here to nano 
(my mail editor). 

-- 
Haines Brown  
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] problematic mouse driver?

2020-11-17 Thread golinux

On 2020-11-17 07:16, Hendrik Boom wrote:

On Tue, Nov 17, 2020 at 06:07:31AM -0500, Haines Brown wrote:

About the time I upgraded to Bwowulf I experienced periodic problems
having the mouse pasting scanneted text with middle mouse button.

I find that sometimes the mouse remembers scanned text but then is
unable to paste it. The problem comes and goes with my wired mouse but
is always present with my wireless mouse. It primarily occurs when
copying text from a GUI application such as displayed by a browser and
then pastting it into a text based application such as nano. But I
find that I can (usually?) correct the problem by scanning and pasting
a bit of text in nano and then do it with a GUI application.

Anyone have any idea of what might be going on?


A wild guess.  Linux has over the ages acquired (at least) two cut and
paste mechanisms -- one from the underlying X system, and another from
the desktop systems put on top.  They don't always agree as to what has
to be cut and pasted; I suspect each has its own paste buffer.  They
oftern communicate but not always.  There have been  occasions where I
have had to cut in one pieve of software, paste into emacs, and then 
cut

from emacs with the other mechanism and paste where I intended
originally.

Also:  a lot of mouses have a middle scroll button that doubles as a
middle clickable button.  There can be a mechanical problem here; when 
I

click on my middle button, I sometimes get a click, sometimes one step
of a scroll (usually upwards), and sometimes both.  Annoying.  It takes
come carefulness to get the signal I want.

-- hendrik



My old PS2 rollerball mouse developed this annoyance with a middle 
scroll click even in jessie.  So nothing new.  Sometimes it works.  
Sometimes it doesn't and I have to recopy.


golinux
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] problematic mouse driver?

2020-11-17 Thread Hendrik Boom
On Tue, Nov 17, 2020 at 06:07:31AM -0500, Haines Brown wrote:
> About the time I upgraded to Bwowulf I experienced periodic problems 
> having the mouse pasting scanneted text with middle mouse button. 
> 
> I find that sometimes the mouse remembers scanned text but then is 
> unable to paste it. The problem comes and goes with my wired mouse but 
> is always present with my wireless mouse. It primarily occurs when 
> copying text from a GUI application such as displayed by a browser and 
> then pastting it into a text based application such as nano. But I 
> find that I can (usually?) correct the problem by scanning and pasting 
> a bit of text in nano and then do it with a GUI application.
> 
> Anyone have any idea of what might be going on?

A wild guess.  Linux has over the ages acquired (at least) two cut and 
paste mechanisms -- one from the underlying X system, and another from 
the desktop systems put on top.  They don't always agree as to what has 
to be cut and pasted; I suspect each has its own paste buffer.  They 
oftern communicate but not always.  There have been  occasions where I 
have had to cut in one pieve of software, paste into emacs, and then cut 
from emacs with the other mechanism and paste where I intended 
originally.

Also:  a lot of mouses have a middle scroll button that doubles as a 
middle clickable button.  There can be a mechanical problem here; when I 
click on my middle button, I sometimes get a click, sometimes one step 
of a scroll (usually upwards), and sometimes both.  Annoying.  It takes 
come carefulness to get the signal I want.

-- hendrik

> 
> 
> -- 
> Haines Brown  
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] problematic mouse driver?

2020-11-17 Thread Haines Brown
About the time I upgraded to Bwowulf I experienced periodic problems 
having the mouse pasting scanneted text with middle mouse button. 

I find that sometimes the mouse remembers scanned text but then is 
unable to paste it. The problem comes and goes with my wired mouse but 
is always present with my wireless mouse. It primarily occurs when 
copying text from a GUI application such as displayed by a browser and 
then pastting it into a text based application such as nano. But I 
find that I can (usually?) correct the problem by scanning and pasting 
a bit of text in nano and then do it with a GUI application.

Anyone have any idea of what might be going on?


-- 
Haines Brown  
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng