This should have a button at the bottom left called "Environment Variables", click on this. ![]() On your windows desktop, right click on "My Computer" and select "Properties".We need to update the Path variable and create a DISPLAY variable as follows: As in Part One, there are some Environment settings that seem to need setting.This time your command prompt should look like this (which should be very similar to the non graphical one we used before, to try and make you feel at home!):.Run your "Start X Win" shortcut again (which will run the updated C:\cygwin\usr\X11R6\bin\startxwin.bat).To rectify these download this copy of startxwin.bat and save it on top of the old one: no clipboard sharing with Windows, not starting in home directory). So far so good, but the default installation does make some odd choices (e.g.This should launch the "X Windows Calculator":.This should report the GCC C compiler version (G ) as seen before:.To check things are working properly, try typing the following command:.Also, a new black and yellow "bash" window should appear:.A new icon should appear on the windows system tray (the right had side of the task bar, by the clock):.After a short wait, a black window should appear briefly and then disappear.Run your new shortcut (which will run C:\cygwin\usr\X11R6\bin\startxwin.bat).I suggest you call this shortcut "Start X Win" rather than "Shortcut to startxwin.bat" Make a new shortcut on your desktop to this batch file:.This will take a while, have a cup of tea.Click on the next button, and let Cygwin download and install the X Windows system.Find the "XFree86" (UPDATE: "X11" entry) (X Windows) entry (about second from last), and click on the text "Default" which should change to say "install".Click on "Next" until you reach the "Select Packages" screen.On my computers, Cygwin handled the transistion very smoothly, so I would expect there to be no big differences needed to these instructions. UPDATE: Since this was written, the XFree86 group decided to change their license terms, and this had the knock on effect of a rival group being setup, X.org, whose software is now used by most Linux distributions (and Cygwin) instead. ![]() This has not received proper testing yet. In particular, we will need to use the graph plotting program gnuplot (see Part Five). ![]() In particular, there are fancy editors like nedit and emacs (note emacs does have a text only version that is very hard to use as well) which can do colour coding of programming files. By installing this for Cygwin, it allows us to run lots of graphical unix programs. X Windows is the graphical system used on most Unix and Linux computers. So far we have only installed and used simple "Text Only" unix programs.
0 Comments
Leave a Reply. |