Hello,
In a terminal (gnome-terminal), I used to use the mouse right button, to copy paste highlighted text. Sometimes I lost this option: the highlight odes not work. It seems to be due to xmgrace. Do you know how to recover this way of going without closing all the xmgrace terminals?
Thank.
=========================================================================== Patrick DUPRÉ | | email: pdupre@gmx.com Laboratoire interdisciplinaire Carnot de Bourgogne 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE Tel: +33 (0)380395988 | | Room# D114A ===========================================================================
On Tue, 1 Nov 2022 20:13:54 +0100 Patrick Dupre pdupre@gmx.com wrote:
Hello,
In a terminal (gnome-terminal), I used to use the mouse right button, to copy paste highlighted text. Sometimes I lost this option: the highlight odes not work. It seems to be due to xmgrace. Do you know how to recover this way of going without closing all the xmgrace terminals?
I have a similar experience, except that I used to be able to double click with the left button to select, and paste at the text cursor with the center button, or left button drag to select and paste at the text cursor with the center button in programs like claws-mail and gvim. That hasn't worked for some time. I assumed that it was because of the decreased support for X because of wayland or that the mouse driver was rewritten or there was a security issue. The workarounds are clumsy. The technique still works in the virtual consoles (F1-F6), so something in the gui handling of mouse clicks has changed.
On 11/1/22 12:55, stan via users wrote:
I have a similar experience, except that I used to be able to double click with the left button to select, and paste at the text cursor with the center button, or left button drag to select and paste at the text cursor with the center button in programs like claws-mail and gvim. That hasn't worked for some time. I assumed that it was because of the decreased support for X because of wayland or that the mouse driver was rewritten or there was a security issue. The workarounds are clumsy. The technique still works in the virtual consoles (F1-F6), so something in the gui handling of mouse clicks has changed.
Are you using Wayland or X for the desktop? In Wayland, I just tested drag and middle-click in gvim and it worked fine.
If you have mouse support in the virtual consoles, I assume you're running gpm, which is completely different than mouse support in the graphical desktop.
On Tue, 1 Nov 2022 13:18:52 -0700 Samuel Sieb samuel@sieb.net wrote:
On 11/1/22 12:55, stan via users wrote:
I have a similar experience, except that I used to be able to double click with the left button to select, and paste at the text cursor with the center button, or left button drag to select and paste at the text cursor with the center button in programs like claws-mail and gvim. That hasn't worked for some time. I assumed that it was because of the decreased support for X because of wayland or that the mouse driver was rewritten or there was a security issue. The workarounds are clumsy. The technique still works in the virtual consoles (F1-F6), so something in the gui handling of mouse clicks has changed.
Are you using Wayland or X for the desktop? In Wayland, I just tested drag and middle-click in gvim and it worked fine.
X, and with LXDE. I've been meaning to check if wayland now allows custom keymappings. Maybe time to try gnome or kde again. In X, when I use gvim it pastes the selected text at the mouse cursor. So, if I'm editing something and want to grab some phrase from the text above, and paste it at the text cursor where I am typing, it makes a mess by pasting it where the mouse cursor is. Same in Claws mail.
If you have mouse support in the virtual consoles, I assume you're running gpm, which is completely different than mouse support in the graphical desktop.
Yes, running gpm. If I select something in vim, and click the middle button, it puts the text at the text cursor where I am typing, not at the mouse cursor. X used to behave like this for me. I find it convenient, saves me from moving around in the file with the text position.
On 11/1/22 15:36, stan via users wrote:
On Tue, 1 Nov 2022 13:18:52 -0700 Samuel Sieb samuel@sieb.net wrote:
On 11/1/22 12:55, stan via users wrote:
I have a similar experience, except that I used to be able to double click with the left button to select, and paste at the text cursor with the center button, or left button drag to select and paste at the text cursor with the center button in programs like claws-mail and gvim. That hasn't worked for some time. I assumed that it was because of the decreased support for X because of wayland or that the mouse driver was rewritten or there was a security issue. The workarounds are clumsy. The technique still works in the virtual consoles (F1-F6), so something in the gui handling of mouse clicks has changed.
Are you using Wayland or X for the desktop? In Wayland, I just tested drag and middle-click in gvim and it worked fine.
X, and with LXDE. I've been meaning to check if wayland now allows custom keymappings. Maybe time to try gnome or kde again. In X, when I use gvim it pastes the selected text at the mouse cursor. So, if I'm editing something and want to grab some phrase from the text above, and paste it at the text cursor where I am typing, it makes a mess by pasting it where the mouse cursor is. Same in Claws mail.
That's the normal behaviour for graphical programs for as long as I can remember. gvim might have been a special case, but I don't use it.