Wine Environment Variables - ubuntu-16.04

I'm trying to launch Eclipse on my Ubuntu 16.04 computer using Wine but I need to set an Environment Variable to javaw.exe for it to run. I have consulted the Wine User Guide and couldn't understand it. https://dl.winehq.org/wine/docs/en/wineusr-guide.pdf
If you could help that would be great. Thanks.

Related

How to get my windows conda to recognize my ANTs installed in Ubuntu?

My conda environment that runs python code is on my Windows 10.
I installed ANTs successfully in my Ubuntu- Windows subsystem for Linux.
How do I get my Windows to recognize this now? How do I export the WSL path to my Windows path variable?
This is my WSL Ubuntu in my Windows 10 system, with Ants and N4BiasFieldCorrection
This is my conda environment in Windows 10 unable to find the installed ANTs
Please help.
I don't think you can do what you are asking at the moment. Ubuntu is installed as a separate sub-system in Windows and applications installed in that subsystem are not accessible in Windows. This might change soon but I don't think it's possible right now.
In my opinion, you have to create the conda environment in your WSL, then you can work with it from Windows using Visual Studio Code with Remote - WSL extension.

Raspberry Pi, pinet, install printer

We're having two issues:
1)
We are having a problem installing printer drivers to a Pinet installation on a Ubuntu 15.04 virtual machine. The printer is a Xerox Fujitsu DocuCentre-V C3373
There is a GNU/Linux driver available here.
We've run the shell script in the Ubuntu VM, and followed the instructions, but the printer doesn't show up anywhere.
We also tried following the Ubuntu add printer method, and that does add a generic printer, but the output is quite bizarre.
2)
We were trying to do these things in the Ubuntu VM, because we couldn't figure out how to copy the files to the pinet chroot folder.
Where I have looked around, I've seen instructions for installing CUPS on a raspbian to get AirPlay working. I'm not sure if that is a suitable approach.
Thanks in advance for any help.

Eclipse Mars Scrolling in Lubuntu

Just installed Eclipse Mars on Lubuntu 14.
While scrolling up and down in the console or editor - I get a kind of black rectangle covering some text, or the test is kind of twisted visually (lines become non-straight).
Anyone know how to fix this?
Haven't had this in previous versions of Eclipse on the same comp.
Exactly the same thing happened to me installing Eclipse Mars on Lubuntu 14 Toshiba Satellite notebook. I was really looking forward to the day of the Eclipse annual release of Mars and I was disappointed to be so disappointed with 5 minutes on installing.
Anyway, I can confirm that setting environment variable SWT_GTK3=0 by way of export does circumvent the problem. If you open a terminal and type "export SWT_GTK3=0" in the shell, you will also need to start Eclipse via the command line while remaining in the same shell. If you start Eclipse via a desktop launch icon, Eclipse will not see the SWT_GTK3 environment variable and the problem will persist. This is because environment variables in Linux are per-process and an application launched from the desktop is running in a different process to a shell process in a terminal.
So that Eclipse always sees the correct SWT_GTK3 environment variable after starting your machine, best you export SWT_GTK3=0 globally. To do this on Lubuntu, follow these steps:
Open a terminal window
Open the file /etc/profile for editing as sudo (e.g. sudo gedit /etc/profile)
Add the line
export SWT_GTK3=0
at the end of the file.
Save file, quit editor and reboot your machine.
Launch Eclipse Mars and hopefully your scrolling problem is fixed.
This worked for me but, as always, YMMV.
btw. You can check 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 values that are displayed.
It seems like a new bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=469027
It happens also under Kubuntu. Anyway the workaround, at least for me, is to export the following environment variable:
SWT_GTK3=0
I solved my problem in Ubuntu 15.04 with Eclipse Mars by adding the following code in the start of data in the Exec option in eclipse.desktop (/home/.local/share/applications):
Exec=env UBUNTU_MENUPROXY=0 SWT_GTK3=0 /usr/lib/jvm/...
In that way you leave intact your OS preferences and act only on Eclipse starting script.

Canopy Does not Start on Windows 7 despite successful installation

I have a 64bit Windows 7 machine. Never had issues with EPD.
I repeatedly tried to install both 64bit and /or 32bit Enthought Canopy.
Despite installation being successful neither of them starts.
I looked on Task Manager and the process does not even start.
I have removed every other version of Python I have had and still no ability to launch caonpy
any advice on how to solve this?
Delete the environmental variables called PYTHONPATH and PYTHONHOME
Go to Control Panel\System and Security\System > Advanced Settings > Environmental variables.
Also see: https://support.enthought.com/entries/23665767-How-do-I-set-PYTHONPATH-and-other-environment-variables-for-Canopy-

Can't run eclipse on netbook MSi wind! HELP

I just got this MSI wind netbook and tried to run eclipse on it. I installed JDK6 on the netbook already. Whenever I open eclipse there is nothing show up on the screen except a "warning sound" that alerts. What is the problem here?
ps.I just started learning java.
Most likely the Eclipse starter program can't find where you installed Java. Since Eclipse is a Java program, it needs a JRE installed (comes with the JDK typically) to run. Assuming you're running Windows on your MSI Wind, check to make sure the java executable is on your path in your computer environment settings (windows key + printscreen button, or windows key + pause button are the shortcuts to open the computer properties dialog if I remember correctly. Then go to advanced).
You can test if java is on the path by opening a cmd.exe shell window and typing 'java'. If it says it cannot find java, then you need to fix the path.
See this link for additional troubleshooting details: http://www.eclipsezone.com/eclipse/forums/t99010.html
You could try reinstalling the JDK. Perhaps having it on a different disk than the default (D: versus C:) is causing some trouble? It certainly isn't a problem with the hardware, I'm running Eclipse on Windows on an MSI Wind.
Use "Add/Remove programs" in the control panel to remove the java versions you have installed.
Then visit "java.com" and use it to install Java, and verify that it is working. You do not need more than that to use Eclipse.