Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
7
rated 0 times [  7] [ 0]  / answers: 1 / hits: 9106  / 2 Years ago, mon, february 21, 2022, 8:52:34

I have installed MonoDevelop and after that Wine, but when I want to open an EXE file and then double click on it, it always runs with the Mono runtime, and if I want to run it with Wine, I should right click on it and choose Wine.



Well, in properties and in show other applications there isn't Wine that choose it for the default application... I have this problem for all types of applications and files.



When the software you want to run is in the right click application (Open With),
I can't choose it in properties for the default. In fact, I can't find it in properties, because it is in open with option in right click...



What should I do to fix this problem?



I'm running Ubuntu 12.10 (Quantal Quetzal), 32 bit.


More From » 12.10

 Answers
1

first of all, add your new MimeType :


from the terminal open sudo gedit
and copy the code bellow


[Desktop Entry]
Version=1.0
Encoding=UTF-8
Hidden=false
Icon=my/icon/path <-- optional (for the file icon)
Type=MimeType
Patterns=*.xxx <--- my file extention
MimeType=application/myAppName <--- the mimetype of the file
Comment=My Comment

and save it to /usr/share/mimelnk/application/myApp.desktop "replace myapp with your app


linking your app with this mimetype:


use ubuntu Tweaks to link the file type with your app


note:
the wine apps is located on the path /home/<userName>/.wine/drive_c/Program Files/Notepad++


also you can use locate 'yourApp.exe' to find its path


[#33941] Tuesday, February 22, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
eving

Total Points: 162
Total Questions: 102
Total Answers: 112

Location: Trinidad and Tobago
Member since Thu, Dec 1, 2022
1 Year ago
;