Results 1 to 8 of 8

Thread: eclipse problem in gnome

  1. #1
    Join Date
    Dec 2009
    Location
    Yonghe District, New Taipei City, Taiwan (R.O.C.) - UTC+8
    Posts
    18

    Question eclipse problem in gnome

    hello all
    I've a problem about eclipse in Gnome openSUSE 11.2.
    I cannot build a new C/C++ project.
    In this image, "Next" button was invalid while pressing.
    Could you please tell me how to solve problem?


  2. #2

    Default Re: eclipse problem in gnome

    Try creating a script to launch Eclipse and add this line before Eclipse starts:

    export GDK_NATIVE_WINDOWS=1

  3. #3

    Default Re: eclipse problem in gnome

    I typed 'eclipse buttons' into the forum search box, and found about five different threads with this solution in, without actually really having to look.

    Just sayin...

  4. #4
    Join Date
    Dec 2009
    Location
    Yonghe District, New Taipei City, Taiwan (R.O.C.) - UTC+8
    Posts
    18

    Default Re: eclipse problem in gnome

    Quote Originally Posted by gnunn2 View Post
    Try creating a script to launch Eclipse and add this line before Eclipse starts:

    export GDK_NATIVE_WINDOWS=1
    But it doesn't work.

  5. #5
    Join Date
    Dec 2009
    Location
    Yonghe District, New Taipei City, Taiwan (R.O.C.) - UTC+8
    Posts
    18

    Default Re: eclipse problem in gnome

    Quote Originally Posted by gnunn2 View Post
    Try creating a script to launch Eclipse and add this line before Eclipse starts:

    export GDK_NATIVE_WINDOWS=1

    After adding export GDK_NATIVE_WINDOWS=true to a script, it works.
    Problem has been solved, Thank you.

  6. #6

    Default Re: eclipse problem in gnome

    Quote Originally Posted by johnhmj View Post

    After adding export GDK_NATIVE_WINDOWS=true to a script, it works.
    Problem has been solved, Thank you.
    Weird, I wonder why true worked and 1 did not since for me using the parameter 1 works fine. Oh well, another mystery

  7. #7
    Join Date
    Jun 2008
    Location
    Stockholm
    Posts
    76

    Default Re: eclipse problem in gnome

    Hi.

    I had the same problem in KDE4 and 11.2 and solved it by putting GDK_NATIVE_WINDOWS=1 (or true, I think both ways worked for me) in my Eclipse start script. But this doesn't work when Eclipse is restarted (after an update for example). Is it a bad idea to put GDK_NATIVE_WINDOWS=1 in my .profile so it's always there when Eclipse is starting or restarting?

    Regards, Micke.

  8. #8

    Default Re: eclipse problem in gnome

    Quote Originally Posted by thermopyle View Post
    Hi.
    I had the same problem in KDE4 and 11.2 and solved it by putting GDK_NATIVE_WINDOWS=1 (or true, I think both ways worked for me) in my Eclipse start script. But this doesn't work when Eclipse is restarted (after an update for example)
    Here's Ubuntu's /usr/bin/eclipse (3.5 ):
    Code:
    #!/bin/sh
    
    # work around e#290395 / LP: #458703
    export GDK_NATIVE_WINDOWS=true
    
    xuldir=/usr/lib/xulrunner-$(/usr/bin/xulrunner-1.9.1 --gre-version)
    LD_LIBRARY_PATH=$xuldir${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} /usr/lib/eclipse/eclipse "$@"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •