1. From STM32CubeIDE console to gedit
To copy, into the Clipboard, a text area selected in an "Opened Console ", use shortkey < CTRL > + < inser >.
You will then be able to paste with: < CTRL > + V.
2. From gedit to STM32CubeIDE console
To copy, into the Clipboard, a text area selected your gedit text editor, use shortkey < CTRL > + C
It is possible to paste it to the STM32CubeIDE console with: < SHIFT > + < inser >.