I read somewhere that directly running an app in Wine without first cd-ing to it's folder wasn't the best thing and that I should write a bash script to launch them if I don't wanna constantly cd to the right directory.
Wine creates Shortcuts in the menu for me for all the apps I install through it.
My question is, are these shortcuts the OK way to launch Wine apps or should I still make scripts and avoid using the default shortcuts?
Running Wine Apps From The Menu?
Re: Running Wine Apps From The Menu?
They should be. All those shortcuts have work directory set as specified by the installer itself. Keep in mind that some WMs might not show this path in the link properties.Alucard-sama wrote:My question is, are these shortcuts the OK way to launch Wine apps or should I still make scripts and avoid using the default shortcuts?
Running Wine Apps From The Menu?
On Mon, Mar 10, 2008 at 2:23 AM, Alucard-sama <[email protected]> wrote:
it from the directory in which the executable lies. The menu shortcut
that is created for wine just doesn't work. It probably has something
to do with the fact that you launch a program which launches another,
which launches another. It shouldn't be too common though.
It depends on the app really. I have one app that requires you to runK shweet thanks
it from the directory in which the executable lies. The menu shortcut
that is created for wine just doesn't work. It probably has something
to do with the fact that you launch a program which launches another,
which launches another. It shouldn't be too common though.
Re: Running Wine Apps From The Menu?
No it does not. As I said above a link (.desktop file) have the "Path" variable that works as a "Work directory" in .lnk file. If you trying to say this does not work for you - file bug with your distro. As all desktop environments aka WMs do support this parameter.Charity Abbott wrote:It depends on the app really.
Running Wine Apps From The Menu?
"vitamin" <[email protected]> writes:
variable.
Second, question: can one also set environment variables specific for
an app in the link, or must that then be a script (which is what I am
doing now, for example, to run Word and Excel with a Japanese input
method enabled, different from the one which I can use in my desktop
and WM).
--
Gernot Hassenpflug
First of all, that is good news for me, I did not know about the pathCharity Abbott wrote:No it does not. As I said above a link (.desktop file) have the "Path" variable that works as a "Work directory" in .lnk file. If you trying to say this does not work for you - file bug with your distro. As all desktop environments aka WMs do support this parameter.It depends on the app really.
variable.
Second, question: can one also set environment variables specific for
an app in the link, or must that then be a script (which is what I am
doing now, for example, to run Word and Excel with a Japanese input
method enabled, different from the one which I can use in my desktop
and WM).
--
Gernot Hassenpflug
Re: Running Wine Apps From The Menu?
Yes, look at any link created by resent Wine version. You will see how it handles WINEPREFIX. Just add more env vars to the list - that's all.Gernot Hassenpflug wrote:Second, question: can one also set environment variables specific for
an app in the link, or must that then be a script (which is what I am
doing now, for example, to run Word and Excel with a Japanese input
method enabled, different from the one which I can use in my desktop
and WM).