Ask Your Question

Strange gray spaces in text copied from Konsole

asked 2019-07-11 02:28:32 +0200

Espinosa gravatar image

updated 2020-07-27 10:47:55 +0200

Alex Kemp gravatar image

Every time I copy and paste text from Konsole - the KDE default console tool - to LibreOffice Writer the text is full of gray block characters (areas, blocks, artifacts). Thy seems to represent space, or some other white-space, character. It all looks horrible, please see for yourself. What are they? How to get rid of them?

screenshot of LibreOffice Writer with strange ugly gray blocks in text

If they do represent some kind of space " " character, why some spaces ended normally and only some turned gray?

Notes: OS: Linux; Distribution: openSuse 15.1; Desktop: KDE; LibreOffice (with Gtk/Gnome integration)

No such issue on Windows; no gray spaces when copying test from putty or cmd to Writer.

edit retag flag offensive close merge delete



Though I am not familiar with Konsole, the answer to this question might help you to understand what is happening.

ve3oat gravatar imageve3oat ( 2019-07-11 02:51:10 +0200 )edit

When you encounter a strange character, put the cursor after it and press ˋAlt + xˋ to convert it to its hexadecimal code (pressing again converts back to the character). Then search the Web.

gabix gravatar imagegabix ( 2019-07-11 06:20:10 +0200 )edit

1 Answer

Sort by » oldest newest most voted

answered 2019-07-11 07:38:05 +0200

pierre-yves samyn gravatar image


These are probably non-breaking spaces that are materialized in Writer in this way to differentiate them from spaces. This display can be disabled by ViewFields shading (Ctrl+F8).


edit flag offensive delete link more



Don't disable the reminder view unless you're ready to accept the consequences. Non-breaking spaces have different justification properties from ordinary spaces. With the view disabled, you won't understand why certain paragraphs have strange formatting like uneven spacing between words.

ajlittoz gravatar imageajlittoz ( 2019-07-11 08:06:02 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2019-07-11 02:28:32 +0200

Seen: 126 times

Last updated: Jul 11 '19