I installed duramarkets mt4 and when i click the desktop shortcut it opens in text editor. i tried to make the shortcut executable but it still did not open. it only opens the terminal when i click on the exe file in dosdevices program files dir
Do you have already installed windows app support as for example wine or bottles?
yes i installed windows app support installed bottles but then uninstalled it but it said it was already removed
When you right click on the desktop-icon, can you enable "allow launching" there?
yes i can let me come back on the forum later today as i have zorin installed on external ssd via usb. i have leveno m93p mini pc with 16gb of ram in it
And when you right-click on it and choose "open with", can you set wine here and set it as default?
You could also try to copy the desktop-file into
~/.local/share/applications/
perhaps this helps.
Hello, and welcome to Zorin OS.
That sounds like a file association issue. I'm not familiar with "mt4" but you should try to run it via right-click → Open with, and search through the list of available applications to launch that with.
If this is installed through Wine, select that option.
i only have install windows application on the list
here is the desktop file info
[Desktop Entry]
Name=DuraMarkets MT4 Terminal
Exec=env WINEPREFIX="/home/elliot/.wine/dosdevices/f:/home/elliot/.wine" wine-stable C:\\users\\Public\\Desktop\\DuraMarkets\ MT4\ Terminal.lnk
Type=Application
StartupNotify=true
Path=/home/elliot/.wine/dosdevices/c:/Program Files (x86)/DuraMarkets MT4 Terminal
Icon=4727_terminal.0
StartupWMClass=terminal.exe
and one i made
[Desktop Entry]
Name=test
Exec=env WINEPREFIX="/home/elliot/.wine" wine c:/Program Files (x86)/DuraMarkets MT4 Terminal/terminal.exe"
Type=Application
StartupNotify=true
Path=/home/elliot/.wine/dosdevices/c:/Program Files (x86)/DuraMarkets MT4 Terminal
I really think we should review this:
The application you are trying to run is a Windows OS only app.
Do you have a Windows Compatibility layer like Wine, Zorin Windows App Support, Bottles - installed fully?
If so...
Which?
If Wine - is it the correct repository (Jammy) and version?
I don't think the desktop file is the problem here, it's the file association which tells the system which program to launch when opening files of a certain type/extension. The only thing that I'm not sure about is how to handle those that must run through Wine or some other compatibility layer. Normally, you could solve this by manually selecting the corresponding software from the applications list. I'm guessing that should be Wine (or equivalent) in this case.
do i need bottles installed for it to launch? on other linux os like fedora i could just create a desktop file and it would work or i used the one it created after install
You need a Windows compatibility layer, but it must not be bottles. You can also use wine or Windows App support (that includes wine and bottles).
When you have bottles or wine installed as flatpak you should also install flatseal and then in flatseal set the permissions for this programs to grant access to your system / users files, because flatpaks are isolated from the system.
i tried a few different things but was only able to launch terminal64.exe from the dir and not from the desktop. even it did make a desktop shortcut and i enabled launching but it did not work