I am unable to see what I type in the Gedit editor using dark theme.
This is due to the default setting of highlighting the current line.
I am unable to see what I type in the Gedit editor using dark theme.
This is due to the default setting of highlighting the current line.
Here's my workaround.
Go to the Preferences menu on Gedit and change the Color Scheme on Fonts & Colors tab:
Check if the text is now comfortably readable even with the presence of the highlighted content on the selected line.
As you can see in the images, by default the Higlight current line feature is enabled in Gedit editor on Ubuntu 20.04 LTS (Focal).
Due to that, you can't see what you type in the current line properly, since the font color and highlight color are almost the same.
You can disable Highlight current line in the preferences of Gedit or change the color of the text in Font & Colors settings.
You have two options:
/usr/share/gtksourceview-4/styles/tango.xml
with root access and around the line 50 there should be something like this : <color name="aluminium1" value="#eeeeec"/>
Change the color to something less harsh like #99999c
.
Also you can take a look at this theme repository to find more themes if you want.
<style name="current-line" ...>
to something other than "aluminium1".
Sep 7, 2021 at 19:33