Ok, so I am a standing at the beginning on my relationship to linux and spend the last couple of days to get Eclipse running on my Chromebook using crouton.
Now I ran into this really weird problem:
When ever I start Eclipse everything works fine. I open my new project and Class and want to begin my long journey of finally really learning Java. Typing works fine but as soon as I hit enter my screen turns black. I can resolve this issue by switching back to my ChromeOS and back to XFCE again. Pressing enter again however turns my screen black again. This usually happens 2-3 times. After that it works fine as far as I can tell. Hitting backspace has a similar effect but in reverse. It works fine until i hit a certain point. Typing while the screen is black works fine btw..
What can that be? I'm happy to try and provide pretty much everything you need to help me fix this issue.
UPDATE: I just found out that when i press the little minus or plus symbol to collapse or expand lines it also goes black. Maybe thats a vital clue?
Eclipse uses SWT which poorly integrates with GTK. Try running eclipse with SWT_GTK3=0 in environment.