LinuxQuestions.org
(
/questions/
)
-
LinuxQuestions.org Member Success Stories
(
https://www.linuxquestions.org/questions/linuxquestions-org-member-success-stories-23/
)
- -
WINE file association handler
(
https://www.linuxquestions.org/questions/linuxquestions-org-member-success-stories-23/wine-file-association-handler-4175594469/
)
dugan
11-29-2016 09:10 PM
WINE file association handler
Just wrote the following script to launch .exes in WINE from a file manager:
Code:
#!/bin/sh
exe="$(realpath "$1")"
cd "$(dirname "$exe")"
wine "$exe"
Set it as the default "Open With..." action for .exes, and they'll a) launch with WINE and b) behave as expected after being launched with WINE.
All times are GMT -5. The time now is
01:05 AM
.