Hi All,
I am in the process of moving away from Windows and need to get my trading software running on Linux. I use MetaTrader 4 and 5 and need to have multiple installs of each.
So far, I have attempted to get MetaTrader 4 to work. When I have only one install, the menu links to the software work faultlessly. However, as soon as I install more instances, the menu links stop working. I get one "File not found" error message and multiple "Path not found" error messages. If I start multiple instances from the command line, all instances work fine.
I have consulted the Wine wiki, the "Desktop entries" section of the Arch wiki and the freedesktop.org "Desktop Entry Specification" but, so far, I have not been able to find a solution to get the menu links working.
I have tried the following:
- Changed the target in the exec part of the .desktop files from the .lnk file (set during the install) to the .exe file
- Changed from "wine" to "wine start" in the exec part of the .desktop files
- Used double quotes instead of escaping characters in the exec part of the .desktop files
- Gave a unique ID to each instances in the StartupWMClass of the .desktop files
- Gave a unique name to each of the .desktop files (This actually caused all the menu links to disappear!)
- Ran "update-desktop-database ~/.local/share/applications"
- Uninstalled then re-installed all instances of MetaTrader 4 making sure to create install directories with no spaces. Started each instance from the menu links immediately after install. Each worked. After the last instance was installed, I tried to restart the previous ones and all menu links were no longer working.
- I also tried to add a cd path/to/executable/directory command in the exec part of the .desktop files to try and start the executables from their respective directories. I tried wine executable and wine full/path/to/executable.
I have tried so many things in the last few days that I have probably not listed everything I tried!
Distro: Manjaro Gnome 5.4.35-1
Wine: 5.7 (latest available from repo)
Library or DLL overrides: none
Non-default registry settings: none
Used winetricks: yes, to install corefonts and Verdana
WINEARCH: 32 bit
I am obviously doing something wrong but I can't seem to find what! Any help would be greatly appreciated.
Cheers,
Chris
Menu links don't work when multiple instances of MetaTrader 4 are installed
-
- Newbie
- Posts: 1
- Joined: Mon Apr 27, 2020 10:44 pm