Chemtool is a small program for drawing chemical structures on Linux and Unixsystems using the GTK toolkit under X11. A short and possibly outdated description of the availablefunctions is available here. Chemtool relies on transfig by Brian Smith for postscript printing and exportingfiles in PicTeX and EPS formats. Its companion program, XFig, is recommendedfor enhancing the output of chemtool, and for creation of 2D diagrams and schematics in general. Both are included with most distributions of Linux,and are available through a number of websites including www.xfig.org. If you want to import chemtool drawings into wordprocessing programs other than LaTeX, you will probably want to add a previewbitmap to them, as neither StarOffice/OpenOffice nor that software from Redmondseem to be able to display postscript inserts on screen without them. For this purpose, using either ps2epsi, which comes with ghostscript, or epstool, a part of gsview is recommended. Since chemtool-1.6, thisoption is supported directly (through the equivalent function offered by recentversions of transfig).Chemtool was originally written by Thomas Volk, then a student of chemistry andbiology at the university of Ulm, Germany. His version, which was described inan article in the german periodical LinuxMagazin, was using plain X11. I became involved in development shortly after reading this article, adding a few bond types and such, and gradually took over from him as he was lacking time due to his exams drawing near, and probably generally moving on to other things. Note that i am not doing this alone - much of the progress is due tocontributions of code, translations, examples or just ideas.A more recent review of chemtool appeared in Nachr. Chem. Tech. Lab.49 (2001) 1310-1314.As Thomas Volk continued to host the project web pages for a long time, this page here is still a poor excuse for a webpage, mainly just a point to gather new versions. This will change... i promise. :-)The "development snapshots" at the bottom of this page are usuallynot (intended to be) less reliable than the "released" version - they just may contain incomplete new features, or features that maybe gone again in the next snapshot if they prove to be unnecessary or too hardto implement correctly.Please contact me at martin@ruby.chemie.uni-freiburg.de if you have any questions or suggestions.History of pre-1.4 changesHistory of pre-1.5 changes Chemtool-1.6.15 release candidate Test build for MS Windowschemtool.zipThis is currently just 1.6.14 with some trivial bugfixes and several portability improvements.It was compiled on Linux with the help of the MXE cross-compiling environment, and appears towork on at least Windows7 and Windows Server 2003 (probably works on XP as well, but I could nottest this). Note this does NOT mean that I intend to switch to Windows...The zip currently does not include the language packs, as I have not yet found outwhere they should be installed. Feedback is appreciated.
Install Xfig On Ms Windows
To make this more than just another bugfix release, and because thedevelopment cycle for 1.7 is taking longer than intended, i have addedsome of the improvements from the 1.7 alphas:two new bond types for drawing p-orbitals
configurable distance between the individual lines of multiple bonds
"free electron pairs" drawn with the numeric keypad can bedone in "two dots"-style by holding the shift key
SVG export has been adjusted to some limitations of the SVG "Tiny"specification (mobile devices) and the current Firefox "Deer Park"builds (without losing functionality)
chemtool can now export to OpenOffice SXD format when Alexander Bürger's fig2sxd is installed
NOTE: gcc 4.0.x apparently miscompile chemtool when the "-O2" optimizing option is used (as it is by default) - the resulting binary will crash on startup. If you need to use gcc-4, either compile it without optimization(remove the "-O2" option from the Makefile before running "make") or change the declaration of "const char *fontsizelabel" inline 2983 of file main.c to a "static const char*" UPDATE: This is actually not a gcc bug, but an error on my part that somehow did not usually lead to failures with older compilers. Instead of changing the declaration of fontsizelabel, change the "15" in the declaration of the bondnumsarray (line 2981) to a "22" or wait for 1.6.8 (thanks to Richard Guenther / Michal Marek).chemtool-1.6.7, sourcecode in tar.gz formatchemtool-1.6.7-1.src.rpm, source rpm package chemtool-1.6.7-1.i586.rpm, SuSE 9.1 binary rpm package (using GTK 1.2)chemtool-1.6.7-1.i386.rpm, SuSE 8.2 binary rpm package (using GTK 1.2)chemtool-1.6.7-1.x86_64.rpm, SuSE 9.2 binary rpm package for AMD64(using GTK 2)Chemtool-1.6.6 (February 12th, 2005)This release fixes the stupid bug that made the molfile preview crash immediately. It also corrects the rendering of wiggly (unknown stereochemistry)bonds and adds a sample .sdf file.chemtool-1.6.6, sourcecode in tar.gz formatchemtool-1.6.6-1.src.rpm, source rpm package chemtool-1.6.6-1.i586.rpm, SuSE 9.1 binary rpm package (using GTK 1.2)chemtool-1.6.6-1.i386.rpm-SuSE81, SuSE 8.1 binary rpm package (using GTK 1.2)Chemtool-1.6.5 (February 6th, 2005)This release fixes several issues with MDL molfile im- and export, addssdf file reading/browsing, v3000 molfile format reading and molfile previewas well as a Dutch translation (Myckel Habets) and FreeBSD portability fixesin the configure script.
This is the third article in a series on using Microsoft Windows Subsystem on Linux (WSL). The first article discussed how to enable Linux on Windows and install it on an ESXi server. The second article covered some of the things you can do with WSL after it's been installed. This final chapter will cover using graphical programs on it.
#sudo apt-get remove openssh-server#sudo apt-get install openssh-server [Click on image for larger view.]Figure 1. Installing OpenSSH Server. Windows 10 comes with an SSH server, and it will either need to be disabled or the port that will be used for SSH on WSL will need to be changed. I chose to do the latter and use port 2200 for WSL SSH.
[Click on image for larger view.]Figure 2. Connecting to WSL SSH server. Note: If you're having difficulty getting OpenSSH Server running, you can always try another SSH server such as Dropbear. To install and use dropbear do the following:
To use WSL with graphical programs, an X server will need to be installed on the Windows 10 system and the DISPLAY variable will need to be set in Bash. Fortunately, there are many X servers that run on Windows; some of the more popular free ones are Xming, Cygwin X, and vcXsrv.
Once the applications have been installed, you can start them by setting your display and executing the application on the Bash shell. Figure 5 shows xeyes running (a program with "eyes" that follow a moving cursor). # export DISPLAY=:0# xeyes [Click on image for larger view.]Figure 5. Running an X application.Three other applications that I worked with were Blockout (a 3-D Tetris-like game), VLC (a video player), and the Firefox Web browser. All of them were installed using apt-get:
Microsoft has a very good Web server and doesn't recommend running one on WSL, but I was able to install, configure, and run the Apache2 server, albeit with some warning on startup, and while it was running.
In this three-part series I first walked you through downloading and installing Windows 10 on vSphere. I then showed you how to use it for what it was designed for, and finally I pushed its limits to do things it was expressly designed not to do. This demonstrates that WSL is a valuable tool that you may want to install and become familiar with. Although the graphics programs are inconsistent, the rich set of text line tools make it a valuable tool for developers and casual users alike.
You can install packages by visiting the "Ubuntu Software Center" (on yourcomputer's application bar or else search for it by clicking on your ubuntubutton). The Ubuntu repository includes over 10,000 packages! The packagesare organized by type so that you can browse the list of availableapplications or get a feel for what is available. If you know the specificname of an application, type it into the search box in the software center.
Once you find an apoplication you want to install, click the "Install"button - if the install button is not present, click "More info" then "UseThis Source" and type your password then the "Install" button should beavailable.
WinFIG requires some DLLs from the Visual Studio 2019 redistributable. Usually these are already on your computer, if you already installed other recent software. If WinFIG shows a Windows error message at startup (DLL is missing, configuration error or similar) download and install the package, which you can get from Microsoft here.
I prepared a set of PostScript 1.0 fonts from GhostScript 8.53. With that WinFIG can display text objects identically to the PostScript export. See the GPL copyright note inside. Without these fonts WinFIG will use the default font, which is Arial. The fonts are only required for Windows. On Linux they are usually part of the base installation or installed as a dependency of GhostScript.
Sometimes your installed version of Winfig won't support your Xfig Drawing file. If you've got the wrong version of Winfig installed, you'll need to install the correct version. This problem is most common when you have an older version of the software application, and your file was created by a newer version that it cannot recognize.
After installing XQuartz 2.7.11 on my macOS High Sierra, logging out of my Mac and logging in again was enough for this to work via my MacOS Terminal. However, you may avoid having to logout and log in by opening the XQuartz Terminal application (XQuartz > Applications > Terminal), and running your X application from there. For example: 2ff7e9595c
Comments