7

Gedit was working fine with the default desktop theme in Ubuntu 20.04. However, when I changed the desktop theme to dark, the text cursor in gedit becomes invisible, although the functionality of the editor is not hindered.

Any way to fix this?

2 Answers 2

5

Go to the Preferences menu on Gedit and change the Color Scheme on Fonts & Colors tab.
Check if the text is readable even with the presence of the highlighted content on the selected line.

2
  • Tried that. Indeed, there are color schemes that reveal the text cursor, both dark and light, such as Solarized. However, I would like to use Kate color scheme for gedit while in the dark theme for the desktop. So, this does not solve my problem, unfortunately.
    – elomage
    Jan 6, 2021 at 22:31
  • I see. Sorry for not being able to answer your question. Good luck
    – Edmund
    Jan 7, 2021 at 2:33
2

Late but it worked for me. I also like to use the "Kate" scheme. So here is what I did.

  • Select the "Kate" scheme in prefences.
  • Open then color scheme editor from the gedit menu.
  • Change the "Name" and the "ID" field i.e "KateN" and "kateN"
  • Locate the "cursor" entry, 4. from top, in the left list box and select it.
  • The click the foreground checkbox and select the black color
  • Click on "Save" button.
  • Done

The new scheme "KateN" will be saved under "~/.local/share/gedit/styles/kateN.xml"

1
  • @Kilroy "color scheme editor" is not in the menu, neither I can see a plugin with a similar name.
    – elomage
    Jan 14, 2022 at 16:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .