You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

This page covers miscellaneous topics about configuring the Eclipse IDE for work with Daffodil (or generally).

Contents

Graphics Problems on Linux/Fedora

The problems I was having:

Windows/buttons/bars missing.

Frequent errors to where it would state something about SWT and recommend restarting Eclipse.

Window would go black and render Eclipse unusable until you quit and restart it.

Odd additional "DragPlaceholder" tabs added each and every time Eclipse would crash.

Below is the fix.

Whatever you use to execute eclipse, you have to add the following statement: export SWT_GTK3=0

https://bugs.eclipse.org/bugs/show_bug.cgi?id=497705

I added that export line to the script I use to launch my Eclipse and it fixed all of my issues.

You have the choice of either adding it to your /usr/share/applications eclipse.desktop file:

Exec=env SWT_GTK3=0 /bin/eclipse

Or adding it to whatever script you use to launch eclipse, which in my case is:

#!/bin/bash

export ECLIPSE_HOME="/home/username/Programs/eclipse"

export SWT_GTK3=0

$ECLIPSE_HOME/eclipse $*

I'd tried adding the '-Dswt.enable.autoScale=false' line to my eclipse.ini file and that didn't do anything, thus I resorted to altering the script above.




  • No labels