[eclipse] Ubuntu 9.10 problemen

Examenroosters, algemene discussies, ...

Moderator: Praesidium

User avatar
nasam
Posts: 233
Contact:

[eclipse] Ubuntu 9.10 problemen

Post#1 » Sat Oct 31, 2009 11:59 am

Problems with Eclipse buttons in Ubuntu 9.10

After upgrading to Ubuntu 9.10 (Karmic Koala) some buttons no longer work in Eclipse 3.5. Clicking has no effect but keyboard shortcuts still work.

It looks like Eclipse is doing some nasty stuff advanced hacking in SWT on GTK. This bug is fixed in 3.6M2 but you can work around the issue in Eclipse 3.5 by launching Eclipse through the following small shell script (assuming Eclipse is installed in /opt/eclipse-3.5):

#!/bin/sh
export GDK_NATIVE_WINDOWS=1
/opt/eclipse-3.5/eclipse

Ik heb trouwens gemerkt dat het pakket default-jre installeren een pak kan helpen als er performance problemen zijn. (vroeger was de sun jre het beste, nu blijkbaar niet meer)
Last edited by nasam on Sat Oct 31, 2009 5:13 pm, edited 1 time in total.
http://www.nathansamson.be" onclick="window.open(this.href);return false; Flattr me!Image

User avatar
Robbe
WOZ
Posts: 2161
Contact:

Re: [eclipse] Ubuntu 9.10 problemen

Post#2 » Sat Oct 31, 2009 2:22 pm

Code: Select all

GDK_NATIVE_WINDOWS=1 /opt/eclipse-3.5/eclipse
ik denk dat dit gemakkelijker gaat zijn en het bevuilt je environment niet
"I'm not afraid of falling, I'm afraid of landing" -- Sam
How To Ask Questions The Smart Way

Zingen? UKA-n dat ook!

User avatar
nasam
Posts: 233
Contact:

Post#3 » Sat Oct 31, 2009 5:12 pm

Jah, zo heb ik het ook gedaan...

Maar op zich maakt het niet uit, want die export zit in een script, en da heeft dus alleen maar invloed op wat er in het script staat (= alleen eclipse).

Of ben ik nu totaal verkeerd?


Behalve natuurlijk als ge eclipse uitvoert als ". ./eclipse" ofzo...
http://www.nathansamson.be" onclick="window.open(this.href);return false; Flattr me!Image

User avatar
Robbe
WOZ
Posts: 2161
Contact:

Post#4 » Mon Nov 02, 2009 1:06 pm

nasam wrote:Jah, zo heb ik het ook gedaan...

Maar op zich maakt het niet uit, want die export zit in een script, en da heeft dus alleen maar invloed op wat er in het script staat (= alleen eclipse).

Of ben ik nu totaal verkeerd?


Behalve natuurlijk als ge eclipse uitvoert als ". ./eclipse" ofzo...
Inderdaad, ge hebt gelijk! Ik dacht maar, variabelen moeten niet expliciet geexporteerd worden om ze te gebruiken, maar bij nader inzien zitten ze dan ook niet echt in de execution environment van alle commando's die je dan oproept ^^

En zo hebben we weeral wat bijgeleerd!
"I'm not afraid of falling, I'm afraid of landing" -- Sam
How To Ask Questions The Smart Way

Zingen? UKA-n dat ook!

Return to “Algemeen”

Who is online

Users browsing this forum: No registered users and 3 guests

cron