PDA

View Full Version : Shortcut (Launcher/Starter) "start in" field


AnvarOne
August 23rd, 2008, 07:01 AM
Hello,

I want to test a (medical) program in Ubuntu 8.04.
Now I've allready installed wine so that the windows program could run. But now I have to make a special shortcut (launcher/starter). I know how to make one but I'm missing a certain field.
In a windows enviroment, if you make a shortcut and go the properties afterwards you have "start in" field.
Now for this program to run correctly my "start in" field must be different then my program location.
But in ubuntu there is no "start in" field or something like it.

My shortcut should be:
prog: /home/name/progname/bin/prog.exe
start in: /home/name/progname/database/

Can someone give me a hand on this one?

Thanks

amitkher
August 23rd, 2008, 08:35 AM
write the following into the "Command" field of the launcher:

bash -c "cd /home/name/progname/database/ ; /home/name/progname/bin/prog.exe"

AnvarOne
August 23rd, 2008, 12:11 PM
Amitkher: thanks for the reply.
But the command doesn't start the program. If I start the program without the direction to the database map he gives me an error messages.
Now I don't see anything. Even if try it in the console with sudo in front of it (then I get the error, "wine isn't owned by you"
Any id what that means?

I've checked my spelling (copy / paste) to be a 100% sure.

thanks for all the reply's...

amitkher
August 23rd, 2008, 12:30 PM
Does the following work from the terminal (run it as 2 different commands) ?

cd /home/name/progname/database/
/home/name/progname/bin/prog.exe

Oldsoldier2003
August 23rd, 2008, 12:33 PM
Moved from GH to Wine for better visibility.

AnvarOne
August 23rd, 2008, 03:57 PM
Does the following work from the terminal (run it as 2 different commands) ?

cd /home/name/progname/database/
/home/name/progname/bin/prog.exe

Yup that works perfectly :)
Can someone explains me the difference between the shortcut and the just launching the app in the database folder (thanks amitkher for the help)

Bios Element
August 23rd, 2008, 04:17 PM
Assuming it's a wine program, Prefix the file with wine as in
"wine /file/filehere/anotherfile/launcher.exe".

tomideta
December 23rd, 2011, 05:10 AM
hii all..there`s any video that can help..

tomideta
December 25th, 2011, 11:15 PM
how if..the folder been placed from network and use pasword ...

thanks all...

tomideta
December 27th, 2011, 04:32 AM
any one can help me...

i try to make desktop shortcut with a active directory folder to field in the "start in"
i`m using wine for a program ex. mgic program and the folder inside server..

program: "home/buntu/.wine/drive_c/program files/mgic/development/start.exe
start in : smb://e/server/slnsys/user/folder


can u give me a clue....because i`m new of this...thanks be4 all..