I would like to associate ~/vw7.9.1/bin/linux86/vwlinux86gui with .im files on Ubuntu 12.04, so that a double click of an .im file will open it up.
Anyone know the magic?
Thx for any tips...
I would like to associate ~/vw7.9.1/bin/linux86/vwlinux86gui with .im files on Ubuntu 12.04, so that a double click of an .im file will open it up.
Anyone know the magic?
Thx for any tips...
You don't really need to make an association. If you make sure that command 'visual' is in your path and is linked to a VM that can run the image, you just need to make sure that the image file's permissions include the executable flag, and you can simply run the image file as any other executable.
Even better setup is to link 'visual' to the shell script in vw7.9.1/preview/bin/VisualWorks.sh and that the collocated VisualWorks.ini file has the proper mapping of the image signature to the corresponding VW installation, and then you can run image files from different VW versions the same way. The script will find the right version of VW to run the image with and also set-up VISUALWORKS environment variable accordingly so that you don't have to set the VW Home by hand. There's a readme next to the script that provides more details.