El Foro

How to add an ini file path to run command?

Autor Respuestas
lineke Tuesday 11 March 2014 at 22:42
linekeAnonymous

Hi all,

I have successfully installed Eudora v7.1.0.9 using PlayonLinux and everything seems to be working fine.

I would just like to know if there is a way to specify a different ini file when running Eudora using a PlayonLinux shortcut.

For example, if I were using wine normally, I would run the following command to launch Eudora with a different ini config file from the normal one:

wine /home/user/.wine/drive_c/Program\\ Files/Eudora/Eudora.exe eudora2.ini

When I look at the desktop shortcut created by PoL, I see the following exe line:

/usr/share/playonlinux/playonlinux --run "Eudora" %F

Is there any way to add "eudora2.ini" to the shortcut's exe line?

Also, if I want to specify a path for the ini file, how should I do that?

(eg. C:\Program Files\Eudora\eudora2.ini, or /home/user/playonlinux/etc/Eudora/eudora2.ini, full path or relative, etc?)

My apologies if this has already been covered. I tried reading the manual and script documentation, and did several forum searches, but did not manage to find anything that seemed to cover this question. (But my tech level is pretty low so it may have been there and I just didn't understand it - if so sorry again!)

Thanks very much in advance to all for any help you can give!
petch Wednesday 12 March 2014 at 1:39
petch
Developer

Configure button > (select the shortcut) > General tab > Arguments

Paths should better be windows-style paths I think; Also the current directory should be the one containing the executable, so it can be relative to that.
lineke Wednesday 12 March 2014 at 2:55
linekeAnonymous

thanks very much for the quick reply, petch!

i tried what you said and it worked - the program loaded with the correct alternate ini configuration. relative path seemed to work fine too.

only problem is the list of my mail folders disappeared from the display when using the alternate ini shortcut, but that is probably because of something i did wrong in the ini file and not because of playonlinux, so i am marking this solved.

thanks again for your help! :)

Editado por: lineke