I am running maple (9.5 and 2016) on Mageia 5/6 Linux machines. Sometimes I want to cut something (left mouse button and then drag over the desired text) from say a text file outside of maple, and paste (middle click) into
maple. It does not work. Maple seems to be using a different buffer than than most X programs do. Such cutting and pasting works within maple, but if I try the above what is pasted into maple is the last thing I cut from within maple.
I can do it by opening say xedit or nedit window, cutting from the file I want,
pasting into that editor, cutting from that editor and then pasting into maple. But that is a really ponderous way of doing things.
I am running maple (9.5 and 2016) on Mageia 5/6 Linux machines. Sometimes I want to cut something (left mouse button and then drag over the desired text) from say a text file outside of maple, and paste (middle click) into
maple. It does not work. Maple seems to be using a different buffer than than most X programs do. Such cutting and pasting works within maple, but if I try the above what is pasted into maple is the last thing I cut from within maple.
I can do it by opening say xedit or nedit window, cutting from the file I want,
pasting into that editor, cutting from that editor and then pasting into maple. But that is a really ponderous way of doing things.
I am running maple (9.5 and 2016) on Mageia 5/6 Linux machines. Sometimes I want to cut something (left mouse button and then drag over the desired text) from say a text file outside of maple, and paste (middle click) into
maple. It does not work.
On Mon, 30 Jul 2018 11:18:11 -0400, William Unruh <unruh@invalid.ca> wrote:
I am running maple (9.5 and 2016) on Mageia 5/6 Linux machines. Sometimes I >> want to cut something (left mouse button and then drag over the desired text)
from say a text file outside of maple, and paste (middle click) into
maple. It does not work. Maple seems to be using a different buffer than than
most X programs do. Such cutting and pasting works within maple, but if I try
the above what is pasted into maple is the last thing I cut from within maple.
I can do it by opening say xedit or nedit window, cutting from the file I want,
pasting into that editor, cutting from that editor and then pasting into
maple. But that is a really ponderous way of doing things.
While I don't know the answer off hand, to get any help more info will
likely be needed.
As Mageia doesn't have a package called maple, given the newsgroups
selected, I'm guessing the maple software is from
https://www.maplesoft.com
Best to specify exactly which program they offer that is being used.
While X does provide clipboard functions, most of the desktop environments have their own clipboard management. Which environment is being used, kde, gnome, mate, xfce, enlightment, lxde, lxqt, cinnamon, etc.?
Most likely the solution will be switching to a desktop environment that
only uses the X clipboard, rather then it's own.
It's also possible that maple has been written to work with an environment that is unique to a specific desktop's clipboard features.
The output of "ldd /usr/bin/maple" (with the correct path and binary
name) can help indicate which gui it's written to use (gtk, qt, etc.).
Regards, Dave Hodgins
On 2018-07-30, David W. Hodgins <dwhodgins@nomail.afraid.org> wrote:
On Mon, 30 Jul 2018 11:18:11 -0400, William Unruh <unruh@invalid.ca> wrote:
I am running maple (9.5 and 2016) on Mageia 5/6 Linux machines. Sometimes I
want to cut something (left mouse button and then drag over the desired text)
from say a text file outside of maple, and paste (middle click) into
maple. It does not work. Maple seems to be using a different buffer than than
most X programs do. Such cutting and pasting works within maple, but if I try
the above what is pasted into maple is the last thing I cut from within maple.
I can do it by opening say xedit or nedit window, cutting from the file I want,
pasting into that editor, cutting from that editor and then pasting into >> maple. But that is a really ponderous way of doing things.
While I don't know the answer off hand, to get any help more info will likely be needed.
As Mageia doesn't have a package called maple, given the newsgroups selected, I'm guessing the maple software is from
https://www.maplesoft.com
Best to specify exactly which program they offer that is being used.
The program is xmaple, a script to run their program maple in an X window rather than text based. The versions are 9.5 (yes a really ancient version) and 2016 ( a recent version) This cut and paste behavnour has been a feature for many ,many years.
While X does provide clipboard functions, most of the desktop environments have their own clipboard management. Which environment is being used, kde, gnome, mate, xfce, enlightment, lxde, lxqt, cinnamon, etc.?
kde/plasma
Most likely the solution will be switching to a desktop environment that only uses the X clipboard, rather then it's own.
It's also possible that maple has been written to work with an environment that is unique to a specific desktop's clipboard features.
I do not think so, but do not have enough info to know.
The output of "ldd /usr/bin/maple" (with the correct path and binary
name) can help indicate which gui it's written to use (gtk, qt, etc.).
I suspect it is their own implimentation of X.
No indication in the libraries that it is calling any gui software.
Regards, Dave Hodgins
I am running maple (9.5 and 2016) on Mageia 5/6 Linux machines. Sometimes I want to cut something (left mouse button and then drag over the desired text) from say a text file outside of maple, and paste (middle click) into
maple. It does not work. Maple seems to be using a different buffer than than most X programs do. Such cutting and pasting works within maple, but if I try the above what is pasted into maple is the last thing I cut from within maple.
I can do it by opening say xedit or nedit window, cutting from the file I want,
pasting into that editor, cutting from that editor and then pasting into maple. But that is a really ponderous way of doing things.
Maple seems to be using a different buffer than than
most X programs do.
On 31/07/18 01:18, William Unruh wrote:
I am running maple (9.5 and 2016) on Mageia 5/6 Linux machines. Sometimes I >> want to cut something (left mouse button and then drag over the desired text)To me, this sounds like a problem in maple, and nothing to do with any
from say a text file outside of maple, and paste (middle click) into
maple. It does not work. Maple seems to be using a different buffer than than
most X programs do. Such cutting and pasting works within maple, but if I try
the above what is pasted into maple is the last thing I cut from within maple.
I can do it by opening say xedit or nedit window, cutting from the file I want,
pasting into that editor, cutting from that editor and then pasting into
maple. But that is a really ponderous way of doing things.
Linux distro:
Maple seems to be using a different buffer than than
most X programs do.
Get Maple to fix their program.
Doug.
On 2018-08-01, Doug Laidlaw <laidlaws@hotkey.net.au> wrote:
Get Maple to fix their program.
And they will point their finger at linux which leaves me up shit creek.
So what I am trying to determine is where the problem lies. If I cut from nedit or xedit, it pastes into Maple just fine. If I cut from say konsole terminal it does not paste at all. This says that IN LINUX cutting from Konsole and nedit are treated differently. Eg, one possibility is that there are two different and distinct buffers. THAT is a linux "problem".
(by "cut" I mean "Hold down left button and drag over some text")
On 2018-08-01, Doug Laidlaw <laidlaws@hotkey.net.au> wrote:
On 31/07/18 01:18, William Unruh wrote:
I am running maple (9.5 and 2016) on Mageia 5/6 Linux machines.To me, this sounds like a problem in maple, and nothing to do with any
Sometimes I want to cut something (left mouse button and then drag
over the desired text) from say a text file outside of maple, and
paste (middle click) into maple. It does not work. Maple seems to be
using a different buffer than than most X programs do. Such cutting
and pasting works within maple, but if I try the above what is pasted
into maple is the last thing I cut from within maple. I can do it by
opening say xedit or nedit window, cutting from the file I want,
pasting into that editor, cutting from that editor and then pasting
into maple. But that is a really ponderous way of doing things.
Linux distro:
Maple seems to be using a different buffer than than most X programs
do.
Get Maple to fix their program.
And they will point their finger at linux which leaves me up shit creek.
So what I am trying to determine is where the problem lies. If I cut
from nedit or xedit, it pastes into Maple just fine. If I cut from say konsole terminal it does not paste at all. This says that IN LINUX
cutting from Konsole and nedit are treated differently. Eg, one
possibility is that there are two different and distinct buffers. THAT
is a linux "problem".
(by "cut" I mean "Hold down left button and drag over some text")
So, one part of my question is-- Do others on other distributions of
Linux notice the same problem? If not then it is a Mageia problem. If
so, then it is a problem with Linux in general.
Note that it also works in the opposite directi, if I cut in Maple, I
cannot paste into Konsole, or nedit. It pasts instead what I cut
previously from say Konsole. So:
cut from Konsole, paste into nedit. Cannot paste into Maple.
cut from nedit, paste into Konsole AND into Maple.
cut from Maple, paste into Maple, but not into Konsole or nedit.
So, nedit seems to be like type O blood, a universal doner. (but accepts
only from Konsole. ) Konsole and Maple seem to be like types A and B
blood -- cannot accept from or give to each other. What is going on
behind the scenes in Linux that any programs could behave this way.
William Unruh <unruh@invalid.ca> writes:
Not sure whether it still works (and don't have maple to try it)
but I used to run autocutsel for this problem:
https://www.nongnu.org/autocutsel/
Then, as suggested here:
https://blog.nelhage.com/2008/09/autocutsel/
run these
autocutsel -fork
autocutsel -selection PRIMARY -fork
to sync all those cut options.
-- HASM
Not sure whether it still works (and don't have maple to try it)
but I used to run autocutsel for this problem:
https://www.nongnu.org/autocutsel/
verifies that there are three (actually even more) cutbuffers, and in
general they are not synchronized.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 295 |
Nodes: | 16 (2 / 14) |
Uptime: | 04:42:11 |
Calls: | 6,642 |
Calls today: | 2 |
Files: | 12,190 |
Messages: | 5,325,747 |