Adding shortcuts for Wine
Having dabbled with Linux for years, I have now finally decided to consign M$oft to the dustbin. Since installing Ubuntu 9.04 as a dual boot system some weeks ago, I have found no need to boot into Window$ at all. However, as a programmer (during the last several years in Delphi Pascal) I have written half a dozen utilities which I still want to use – at least until I have learned to reprogram them in Python! In general they work well using Wine (I have version 1.0.1), give or take minor display issues arising from different fonts and sizes.
My problem is that I cannot create desktop, panel, or menu shortcuts for these programs. Each program is contained entirely in its own folder (I hate the bloated Window$ Registry, and always prefer to have .ini or .dat files containing any necessary information) so there is no setup to be done; simply copying the program's folder from Window$ to Ubuntu is all that's needed. This means that Wine cannot be used to install the program into Ubuntu, which in turn means that there is no automatic Applications -> Wine -> Programs entry.
My approach was to copy the folder MyProg into /.wine/drive_c/ , then to right click MyProg.exe in that folder and select “Open with Wine Windows Program Loader”. Subsequently a double click on MyProg.exe runs the program correctly, but this means navigating to the MyProg folder each time I want to run the program. I have tried three ways to create a shortcut:
1.Right click on a blank area of screen and choose Create Launcher. Leave Type as Application, and put “/home/username/.wine/drive_c/MyProg/MyProg.exe” either by typing, or using Browse. This creates a screen launcher but, when clicked, the Launcher does absolutely nothing, not even an error message.
2.Creating a launcher on the Panel is equally non-effective.
3.System -> Preferences -> Main Menu . Then under Wine -> Programs select New Item and fill in the Create Launcher box as before. Now under Applications -> Wine -> Programs I have a new menu item for MyProg, but clicking on this produces exactly the same as before – nothing at all.
Using Configure Wine to add MyProg.exe into the Applications tab makes no difference. And going to home/.local/share/applications/MyProg and setting Properties -> Permissions to read and write, and clicking the “Allow executing file as program” makes no difference either.
Even using the Command Line (Alt/F2) to run “/home/username/.wine/drive_c/MyProg/MyProg.exe” produces nothing, although this is said to log error messages.
Has anyone any suggestions for creating working shortcuts for Wine with non-installable programs? Perhaps Wine can be used to copy the MyProg folder across from Window$, which would be at least part of a setup procedure. I'd be most grateful for any help!