Change Text Highlight Color in Eclipse Console

1.5k Views Asked by At

Question

Is it at all possible to change the color of the text highlight in Eclipse console to something more visible in Manjaro Linux? Your time and help are both much appreciated.

Important notes

  • I am using the default GTK theme. I do not want to use a different theme.
  • For testing, I have tried using a different theme, but that didn't help.

Problem

Currently, I am stuck with a barely visible light grey text selection in Eclipse console in the following two scenarios:

  1. When manually selecting text
  2. When using the Find\Replace... search function

Supporting screenshots

Manual mouse text selection:

enter image description here

Find/Replace... selection:

enter image description here

Looking into and changing these settings did not help:

enter image description here

enter image description here

2

There are 2 best solutions below

1
Klaus On

I once ran into the same problem and used the gnome-color-chooser to resolve this issue.

1
Chandrayya G K On

You have to change property selected_bg_color value in your current GTK theme gtkrc file. I am using Ambiance theme.

So my setting are:

cat /usr/share/themes/Ambiance/gtk-2.0/gtkrc | more

gtk-color-scheme = "base_color:#ffffff\nfg_color:#4c4c4c\ntooltip_fg_color:#000000\nselected_bg_color:#f07746\nselected_fg_color:#FFFFFF\ntext_color:#3C3C3C\nbg_color:#F2F1F 0\ntooltip_bg_color:#f5f5c5\nlink_color:#DD4814"

Also refer these post which helps you in future for similar kinds of problems.