Maybe its a typo in your email, but you do not seem to have the 'wine' 
command anywhere.
Surely to run your application from the command line you are typing
wine /mnt/windows/program\ files/agent/agent.exe

to get that working from an icon all you have to do is put that text in the 
'Command' field of the  'execute' Tab in an icons properties.

You might still have trouble with the working directory for the application. 
Here is an example of the command line of a Quicken icon on my desktop.

winex -workdir "/home/derek/.transgaming/c_drive/Program Files/quicken" 
"C:/Program Files/quicken/QW.EXE" ""


(That is all one line)

I am using Transgaming's winex instead of wine, but I daresay the parameters 
are similar.

(And before someone asks :- Quicken runs really badly under both wine and 
winex  I was only experimenting)

HTH
derek


On Thursday 03 January 2002 04:57, Fred Fraley wrote:
> Running Mandrake 8.0, KDE 2.1.1, wine 20010305
> Gray haired grandfather ( so be gentle:-) started with Apple //e, DOS
> experience back to 3.3, WIN to 3.1, new to really using Linux, though I
> installed it all the way back to Slackware and Yggdrasil from floppies
> (kernel 0.9something as I recall)  Wow, what progress!!
>       My current problem:
>
> I can open Agent from a terminal (Konsole) with the command line
>       /mnt/windows/program\ files/agent/agent.exe
>
>      I tried that as a script (never wrote a script before).
>       did chmod -e agent
>       did chmod a -e agent
>       added #! to beginning of line
> and other items from various books I have lying around.
>       I am shown as the owner.  User, group, and all have read and execute
> permissions.  User also has write permission set.
>       Tried checking needs terminal to run.
>
> Terminal ends up with error message
>       Gdk-Warning **: locale not supported by C library
>
>
>       I came to the conclusion that command won't work alone because I must have
> a terminal session open to execute the command line from.  As "Run in DOS
> Window" (Don't be shy about correcting that assumption, because I think I
> already addressed that above)
>       So I tried Plan B.  Create new link to application on desktop.  Set
> permissions as above.
>
> Command line as above returns
>       Couldn't launch /mnt/windows/program\ files/agent/agent.exe
>
> Command line
>       Konsole -e /m-e /mnt/windows/program\ files/agent/agent.exe
> flashes an open window and closes it.  Task bar shows Agent, changes to
> Konsole, and disappears.
>
> Command line
>       xterm -e /mnt/windows/program\ files/agent/agent.exe
> returns
>       Can't execvp /mnt/windows/program\: No such file or directory
> Interesting that the window stays open, the error appears to be quite
> different, and the error appears to occur at the \, which here is a release
> for the following space in the command line and seems handled with aplomb
> with the other approaches..
>
>       So I am becoming tired, confused, frustrated.
>       Hints greatly appreciated.
>
>       Fred

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to