Likewise, it happened to me by installing Eclipse Mars on the Lubuntu 14 Toshiba Satellite notebook. I really looked forward to the day of the annual release of Eclipse Mars, and I was disappointed that I was so disappointed with 5 minutes of installation.
In any case, I can confirm that setting the environment variable SWT_GTK3 = 0 by export bypasses the problem. If you open a terminal and enter "export SWT_GTK3 = 0" in the shell, you will also need to run Eclipse through the command line, remaining in the same shell. If you start Eclipse using the desktop launcher icon, Eclipse will not see the SWT_GTK3 environment variable, and the problem will persist. This is because environment variables in Linux are a process, and an application launched from the desktop works in another process with a shell process in the terminal.
So, Eclipse always sees the correct environment variable SWT_GTK3 after starting your machine, it is best to export SWT_GTK3 = 0 all over the world. To do this on Lubuntu, follow these steps:
- Open a terminal window
- Open the / etc / profile file for editing as sudo (e.g. sudo gedit / etc / profile)
- Add the export line SWT_GTK3 = 0 at the end of the file.
- Save the file, close the editor and restart the computer.
- Launch Eclipse Mars and hopefully your scroll problem is fixed.
It worked for me, but, as always, YMMV.
by the way. You can verify that the SWT-GTK3 environment variable was exported after rebooting by opening a terminal window and typing the env command. You should see SWT_GTK3 = 0 in the list of environment variables and the values ββthat are displayed.
Martian odyssey
source share