Skip to content

Remove the need to click the Skull Icon to leave Molden

License

Notifications You must be signed in to change notification settings

boneta/molden-noskull-patch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

No-Skull Patch for Molden 💀🛇

Simple and dirty patch for Molden, the ancient chemical/molecular viewer. Allows to close Molden without the need to click the annoying Skull Icon. Works for both the control panel and main window.

Molden Closing

Tested on Molden 7.3 and gcc/gfortran 8.5/9.4/11.4 on a Linux machine.
No warranty at all, although it is so simple that it should not break anything.

Usage

  1. Download the source code of Molden and untar it
  2. Apply the patch: patch src/xwin.c noskull.diff
  3. Compile Molden
  4. Run Molden
  5. Close Molden without the skull icon!!!

Note

If your gfortran compiler is 10 or higher, you may need to add -fallow-argument-mismatch to the FFLAGS in the makefile before the compilation. This is an issue of molden itself and independent of the patch.

Full and quick compilation example

wget https://ftp.science.ru.nl/Molden/molden7.3.tar.gz
tar -xzf molden7.3.tar.gz
cd molden7.3
curl https://raw.githubusercontent.com/boneta/molden-noskull-patch/master/noskull.diff | patch src/xwin.c
make
./bin/molden

Releases

No releases published