Ubuntu 14LTS.
Hi, I have some windows programs I use daily and they do not have installers, they are just run from the folders I copied over.
They need to first change to the folder before running. I created a Ubuntu .Lnk file using Nautilus (the File Manager) and moved it to the Desktop, but when I click the link it runs the program, but it saves stuff to the desktop and not to the folder of the program.
I need wine to first change to the home directory of the program then run the program. I did some searching here and found a posting with a similar issue and the suggestion was to use /D in the wine-start line.
But, try as I might I cannot make it work. I do not have programs that used an installer so I have nothing to try and copy.
Could someone please give me an example of how to make this run from a link on the desktop.
Ubuntu Username = mytest
Program = home/mystuff/TestProg/TestProg.exe
Thanks
Link to NON-Installed program
Re: Link to NON-Installed program
[Desktop Entry]
Name=TestProg
Exec=wine /home/mystuff/TestProg/TestProg.exe
Type=Application
StartupNotify=true
Path=/home/mystuff/TestProg
Icon=/myicon/path
Path= <-- this is the working directory
Gl
Name=TestProg
Exec=wine /home/mystuff/TestProg/TestProg.exe
Type=Application
StartupNotify=true
Path=/home/mystuff/TestProg
Icon=/myicon/path
Path= <-- this is the working directory
Gl
Re: Link to NON-Installed program
If you're using a unix-style path, you need to use wine start /unix. https://wiki.winehq.org/Wine_User%27s_G ... wine_startExec=wine /home/mystuff/TestProg/TestProg.exe
-
- Level 3
- Posts: 94
- Joined: Sat Sep 08, 2012 3:56 pm
Re: Link to NON-Installed program
Here is an example;
Notice the single quotes? That is all you are missing. Oh BTW, I got this game on GOG FREE!! Whoot!
Code: Select all
[Desktop Entry]
Exec=wine '/media/simon/Drive D/Neverwinter Nights Diamond Edition/nwn.exe'
Icon=/home/simon/Games/Adventure/.icons/nwn.png
Path=/media/simon/Drive D/Neverwinter Nights Diamond Edition
X-KDE-SubstituteUID=false