How can I run exe files in Dolphin on Kubuntu
I have wine installed. But how can I set it default for running exe files?
kubuntu wine mime-type
add a comment |
I have wine installed. But how can I set it default for running exe files?
kubuntu wine mime-type
1
If wine is installed correctly, double click an executive file will open that file using wine by default. Please edit your question and provide more details, such as the version of Ubuntu, how did you install wine, what happens when you double click on an executive file?
– user68186
Jan 20 at 17:34
Should your title say "How can I use Wine..." rather than "mime"?
– CentaurusA
Jan 21 at 2:22
1
@user68186 - In Kubuntu 18.04 I had the same problem with the stable wine version installed, had to create a desktop file as indicated in my answer below.
– user47206
Jan 30 at 18:15
@CentaurusA - I have simply edited the title to make things clear.
– user47206
Jan 30 at 18:52
add a comment |
I have wine installed. But how can I set it default for running exe files?
kubuntu wine mime-type
I have wine installed. But how can I set it default for running exe files?
kubuntu wine mime-type
kubuntu wine mime-type
edited Jan 30 at 18:42
user47206
asked Jan 20 at 17:26
Md Gaziur Rahman NoorMd Gaziur Rahman Noor
161
161
1
If wine is installed correctly, double click an executive file will open that file using wine by default. Please edit your question and provide more details, such as the version of Ubuntu, how did you install wine, what happens when you double click on an executive file?
– user68186
Jan 20 at 17:34
Should your title say "How can I use Wine..." rather than "mime"?
– CentaurusA
Jan 21 at 2:22
1
@user68186 - In Kubuntu 18.04 I had the same problem with the stable wine version installed, had to create a desktop file as indicated in my answer below.
– user47206
Jan 30 at 18:15
@CentaurusA - I have simply edited the title to make things clear.
– user47206
Jan 30 at 18:52
add a comment |
1
If wine is installed correctly, double click an executive file will open that file using wine by default. Please edit your question and provide more details, such as the version of Ubuntu, how did you install wine, what happens when you double click on an executive file?
– user68186
Jan 20 at 17:34
Should your title say "How can I use Wine..." rather than "mime"?
– CentaurusA
Jan 21 at 2:22
1
@user68186 - In Kubuntu 18.04 I had the same problem with the stable wine version installed, had to create a desktop file as indicated in my answer below.
– user47206
Jan 30 at 18:15
@CentaurusA - I have simply edited the title to make things clear.
– user47206
Jan 30 at 18:52
1
1
If wine is installed correctly, double click an executive file will open that file using wine by default. Please edit your question and provide more details, such as the version of Ubuntu, how did you install wine, what happens when you double click on an executive file?
– user68186
Jan 20 at 17:34
If wine is installed correctly, double click an executive file will open that file using wine by default. Please edit your question and provide more details, such as the version of Ubuntu, how did you install wine, what happens when you double click on an executive file?
– user68186
Jan 20 at 17:34
Should your title say "How can I use Wine..." rather than "mime"?
– CentaurusA
Jan 21 at 2:22
Should your title say "How can I use Wine..." rather than "mime"?
– CentaurusA
Jan 21 at 2:22
1
1
@user68186 - In Kubuntu 18.04 I had the same problem with the stable wine version installed, had to create a desktop file as indicated in my answer below.
– user47206
Jan 30 at 18:15
@user68186 - In Kubuntu 18.04 I had the same problem with the stable wine version installed, had to create a desktop file as indicated in my answer below.
– user47206
Jan 30 at 18:15
@CentaurusA - I have simply edited the title to make things clear.
– user47206
Jan 30 at 18:52
@CentaurusA - I have simply edited the title to make things clear.
– user47206
Jan 30 at 18:52
add a comment |
2 Answers
2
active
oldest
votes
When you right-click on the .exe file, you go to "Open with application with", then you select WINE.
In caseexe
files are not run as expected on (double) click (case implied by the OP, otherwise the question makes no sense), it might also be that no "Wine" program appears when trying to select it from "Open with".
– user47206
Jan 30 at 19:03
add a comment |
Normally simply executing the exe file with (double) click in the file manager should run it through Wine. If for some reason that doesn't happen (beside trying to re-install Wine in order to get the expected behavior) you could do the following:
In terminal run wine path_to_file.exe
.
In order to run it with (double) click: create a ~/.local/share/application/wine.desktop
file with the lines like
[Desktop Entry]
Exec=wine %f
Name=Run in Wine
Mimetype=application/x-dosexec
Categories=System;Settings;
then make Run in Wine the default "application" for exe files (in Dolphin: Properties > (tab) General > Add).
Alternatively, create a ~.local/share/kservices5/ServiceMenus/run_wine.desktop
like
[Desktop Entry]
Actions=wine
Mimetype=application/x-dosexec
ServiceTypes=KonqPopupMenu/Plugin
Type=Service
X-KDE-Priority=TopLevel
[Desktop Action wine]
Exec=wine %f
Name=Run in Wine
Icon=wine
in order to have a right-click context menu option ("Service Menu") in Dolphin.
I cannot test now, as I don't use Wine as we speak, but konsole -e wine %f
or sh -c 'wine %f'
might be needed for the Exec
line.
If someone can confirm Exec=wine %f
works, please comment.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1111426%2fhow-can-i-run-exe-files-in-dolphin-on-kubuntu%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
When you right-click on the .exe file, you go to "Open with application with", then you select WINE.
In caseexe
files are not run as expected on (double) click (case implied by the OP, otherwise the question makes no sense), it might also be that no "Wine" program appears when trying to select it from "Open with".
– user47206
Jan 30 at 19:03
add a comment |
When you right-click on the .exe file, you go to "Open with application with", then you select WINE.
In caseexe
files are not run as expected on (double) click (case implied by the OP, otherwise the question makes no sense), it might also be that no "Wine" program appears when trying to select it from "Open with".
– user47206
Jan 30 at 19:03
add a comment |
When you right-click on the .exe file, you go to "Open with application with", then you select WINE.
When you right-click on the .exe file, you go to "Open with application with", then you select WINE.
answered Jan 20 at 18:05
erinniserinnis
674
674
In caseexe
files are not run as expected on (double) click (case implied by the OP, otherwise the question makes no sense), it might also be that no "Wine" program appears when trying to select it from "Open with".
– user47206
Jan 30 at 19:03
add a comment |
In caseexe
files are not run as expected on (double) click (case implied by the OP, otherwise the question makes no sense), it might also be that no "Wine" program appears when trying to select it from "Open with".
– user47206
Jan 30 at 19:03
In case
exe
files are not run as expected on (double) click (case implied by the OP, otherwise the question makes no sense), it might also be that no "Wine" program appears when trying to select it from "Open with".– user47206
Jan 30 at 19:03
In case
exe
files are not run as expected on (double) click (case implied by the OP, otherwise the question makes no sense), it might also be that no "Wine" program appears when trying to select it from "Open with".– user47206
Jan 30 at 19:03
add a comment |
Normally simply executing the exe file with (double) click in the file manager should run it through Wine. If for some reason that doesn't happen (beside trying to re-install Wine in order to get the expected behavior) you could do the following:
In terminal run wine path_to_file.exe
.
In order to run it with (double) click: create a ~/.local/share/application/wine.desktop
file with the lines like
[Desktop Entry]
Exec=wine %f
Name=Run in Wine
Mimetype=application/x-dosexec
Categories=System;Settings;
then make Run in Wine the default "application" for exe files (in Dolphin: Properties > (tab) General > Add).
Alternatively, create a ~.local/share/kservices5/ServiceMenus/run_wine.desktop
like
[Desktop Entry]
Actions=wine
Mimetype=application/x-dosexec
ServiceTypes=KonqPopupMenu/Plugin
Type=Service
X-KDE-Priority=TopLevel
[Desktop Action wine]
Exec=wine %f
Name=Run in Wine
Icon=wine
in order to have a right-click context menu option ("Service Menu") in Dolphin.
I cannot test now, as I don't use Wine as we speak, but konsole -e wine %f
or sh -c 'wine %f'
might be needed for the Exec
line.
If someone can confirm Exec=wine %f
works, please comment.
add a comment |
Normally simply executing the exe file with (double) click in the file manager should run it through Wine. If for some reason that doesn't happen (beside trying to re-install Wine in order to get the expected behavior) you could do the following:
In terminal run wine path_to_file.exe
.
In order to run it with (double) click: create a ~/.local/share/application/wine.desktop
file with the lines like
[Desktop Entry]
Exec=wine %f
Name=Run in Wine
Mimetype=application/x-dosexec
Categories=System;Settings;
then make Run in Wine the default "application" for exe files (in Dolphin: Properties > (tab) General > Add).
Alternatively, create a ~.local/share/kservices5/ServiceMenus/run_wine.desktop
like
[Desktop Entry]
Actions=wine
Mimetype=application/x-dosexec
ServiceTypes=KonqPopupMenu/Plugin
Type=Service
X-KDE-Priority=TopLevel
[Desktop Action wine]
Exec=wine %f
Name=Run in Wine
Icon=wine
in order to have a right-click context menu option ("Service Menu") in Dolphin.
I cannot test now, as I don't use Wine as we speak, but konsole -e wine %f
or sh -c 'wine %f'
might be needed for the Exec
line.
If someone can confirm Exec=wine %f
works, please comment.
add a comment |
Normally simply executing the exe file with (double) click in the file manager should run it through Wine. If for some reason that doesn't happen (beside trying to re-install Wine in order to get the expected behavior) you could do the following:
In terminal run wine path_to_file.exe
.
In order to run it with (double) click: create a ~/.local/share/application/wine.desktop
file with the lines like
[Desktop Entry]
Exec=wine %f
Name=Run in Wine
Mimetype=application/x-dosexec
Categories=System;Settings;
then make Run in Wine the default "application" for exe files (in Dolphin: Properties > (tab) General > Add).
Alternatively, create a ~.local/share/kservices5/ServiceMenus/run_wine.desktop
like
[Desktop Entry]
Actions=wine
Mimetype=application/x-dosexec
ServiceTypes=KonqPopupMenu/Plugin
Type=Service
X-KDE-Priority=TopLevel
[Desktop Action wine]
Exec=wine %f
Name=Run in Wine
Icon=wine
in order to have a right-click context menu option ("Service Menu") in Dolphin.
I cannot test now, as I don't use Wine as we speak, but konsole -e wine %f
or sh -c 'wine %f'
might be needed for the Exec
line.
If someone can confirm Exec=wine %f
works, please comment.
Normally simply executing the exe file with (double) click in the file manager should run it through Wine. If for some reason that doesn't happen (beside trying to re-install Wine in order to get the expected behavior) you could do the following:
In terminal run wine path_to_file.exe
.
In order to run it with (double) click: create a ~/.local/share/application/wine.desktop
file with the lines like
[Desktop Entry]
Exec=wine %f
Name=Run in Wine
Mimetype=application/x-dosexec
Categories=System;Settings;
then make Run in Wine the default "application" for exe files (in Dolphin: Properties > (tab) General > Add).
Alternatively, create a ~.local/share/kservices5/ServiceMenus/run_wine.desktop
like
[Desktop Entry]
Actions=wine
Mimetype=application/x-dosexec
ServiceTypes=KonqPopupMenu/Plugin
Type=Service
X-KDE-Priority=TopLevel
[Desktop Action wine]
Exec=wine %f
Name=Run in Wine
Icon=wine
in order to have a right-click context menu option ("Service Menu") in Dolphin.
I cannot test now, as I don't use Wine as we speak, but konsole -e wine %f
or sh -c 'wine %f'
might be needed for the Exec
line.
If someone can confirm Exec=wine %f
works, please comment.
edited Jan 30 at 18:50
answered Jan 30 at 18:12
user47206
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1111426%2fhow-can-i-run-exe-files-in-dolphin-on-kubuntu%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
If wine is installed correctly, double click an executive file will open that file using wine by default. Please edit your question and provide more details, such as the version of Ubuntu, how did you install wine, what happens when you double click on an executive file?
– user68186
Jan 20 at 17:34
Should your title say "How can I use Wine..." rather than "mime"?
– CentaurusA
Jan 21 at 2:22
1
@user68186 - In Kubuntu 18.04 I had the same problem with the stable wine version installed, had to create a desktop file as indicated in my answer below.
– user47206
Jan 30 at 18:15
@CentaurusA - I have simply edited the title to make things clear.
– user47206
Jan 30 at 18:52