When I type the absolute path, it doesn't work:
but, if I cd to the application directory and execute it locally, it works:wine /home/ubuntu/appDir/myApp.exe
Code: Select all
cd /home/ubuntu/appDir/
wine myApp.exe
but, if I cd to the application directory and execute it locally, it works:wine /home/ubuntu/appDir/myApp.exe
Code: Select all
cd /home/ubuntu/appDir/
wine myApp.exe
This is how Windows does it and this is how Wine does it. This is notI have an uninstalled portable Windows .exe.
When I type the absolute path, it doesn't work:
but, if I cd to the application directory and execute it locally, it works:wine /home/ubuntu/appDir/myApp.exe
Code:
cd /home/ubuntu/appDir/
wine myApp.exe
You need to ask on the Ubuntu forums how to do this.I'm trying to include it in my Docky dock via a .desktop shortcut I've made in /usr/share/applications/. I don't mind
the command line for under the hood stuff, but not for launching typical user apps.
KDE allows you to set the working directory for launchers, but I don't think Gnome does and I have no idea about Unity. You could try usingwinepunk wrote:I have an uninstalled portable Windows .exe.
When I type the absolute path, it doesn't work:
but, if I cd to the application directory and execute it locally, it works:wine /home/ubuntu/appDir/myApp.exe
I'm trying to include it in my Docky dock via a .desktop shortcut I've made in /usr/share/applications/. I don't mind the command line for under the hood stuff, but not for launching typical user apps.Code: Select all
cd /home/ubuntu/appDir/ wine myApp.exe
Code: Select all
wine start /Unix /path/to/myApp.exe
Its the Windows app thats finicky, not Wine.I meant to say that line works. Why should Wine be finicky?
Not quite. All unices work the same way when they start a program:Ok, now I get it. Thanks Martin. Unix is passing the absolute path to the Windows app.