File name Case problemsNote: Many problems running Windows programs on Wine can be solved just by putting the file in the correct case (lower case usually).
If using the chcase perl script for UNIX, just go to the offending directory and run the following command to get all the files (in this example) into lower case:
chcase -r -d '*' (goes through subdirectories)
chcase -d '*.*' (just files with the *.* format in the present working directory)
As an example of a minor problem you can encounter running a Windows program, INDX from the LMGP suite is a good example. (indx - given an input of the cell, spacegroup and wavelength, this program for calculates powder diffraction line positions, HKLs and multiplicities; as well as provide extinctions/systematic absence conditions."
Download the INDX ZIP file from your closest CCP14 based mirror via the LMGP suite for Windows by Jean Laugier and Bernard Bochu tutorials page
Extract INDX using the command: unzip indx.zip
Now try to run indx.exe (make the exe's lower case if not already) using the command:
You can also tell Wine to emulate a certain version of Windows in case this is what the program wants.
wine -winver win95 indx
Things will look like they are going OK until you try and click on some of the cell types where INDX will say it cannot find a file. This is because some of the Spacegroup database files are all in upper case, but the case sensitive Linux would like them in a mixture of uppercase/lower case.
To fix this up, rename the affected *.POS files with the file name in Uppercase, and the file
extension in Lowercase: M.POS renamed to M.pos, etc.
INDX will now work happily. In the following screen dump it is browsing for a file to open (hurrah!).