Start native linux apps from a wine app

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
PxPert
Newbie
Newbie
Posts: 2
Joined: Sat Jul 11, 2009 12:35 pm

Start native linux apps from a wine app

Post by PxPert »

Hi to all! This is my first post!

I'm trying to use carbide.ui with wine and it works well.

But I've got a problem: this apps needs to use an external, selectable app to edit images and sound files. I don't want to install gimp for windows on wine to integrate it, so I would like to know if is there any way to start a completely native application from a windows app, just like wine does with the browser plugin.

Thanks!
User avatar
dimesio
Moderator
Moderator
Posts: 13369
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

PxPert
Newbie
Newbie
Posts: 2
Joined: Sat Jul 11, 2009 12:35 pm

Post by PxPert »

Thanks!
PS Sorry if i didn't search in the faq :roll:
abb4

Start native linux apps from a wine app

Post by abb4 »

gigabit3 wrote:
So how would you open folders (in nautilus) from a wine app
Anybody an idea?

I modified [HKEY_CLASSES_ROOT/folder/shell/open/ddeexec/application
from "folders" into @="/bin/sh run_linx_program nautilus \"%1\""
no luck..now it opens with the wine file browser.

--
View this message in context: http://www.nabble.com/Start-native-linu ... 51642.html
Sent from the Wine - Users mailing list archive at Nabble.com.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Start native linux apps from a wine app

Post by vitamin »

abb4 wrote:I modified [HKEY_CLASSES_ROOT/folder/shell/open/ddeexec/application
from "folders" into @="/bin/sh run_linx_program nautilus "%1""
no luck..now it opens with the wine file browser.
Why are you touching "ddeexec"? See 7.4 question in FAQ.
abb4

Start native linux apps from a wine app

Post by abb4 »

dimesio wrote:

abb4 wrote:
I modified [HKEY_CLASSES_ROOT/folder/shell/open/ddeexec/application
from "folders" into @="/bin/sh run_linx_program nautilus \"%1\""
no luck..now it opens with the wine file browser.
Why are you touching "ddeexec"? See 7.4 question in FAQ.

Try and error,
I'm not a programmer

I now placed it in [HKEY_CLASSES_ROOT/folder/shell/open/(there's no command
folder)
Again try and error!

It should be able to open a folder within nautilus, which is located in
/usr/bin), right?
why does @="/bin/sh run_linx_program nautilus \"%1\"" not work
I need some help.




--
View this message in context: http://www.nabble.com/Start-native-linu ... 65992.html
Sent from the Wine - Users mailing list archive at Nabble.com.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Start native linux apps from a wine app

Post by vitamin »

abb4 wrote:I now placed it in [HKEY_CLASSES_ROOT/folder/shell/open/(there's no command folder)
Create it.
abb4 wrote:It should be able to open a folder within nautilus, which is located in /usr/bin), right?
Reads it's manual about how to start it so it shows a directory. This is not related to Wine.
abb4 wrote:why does @="/bin/sh run_linx_program nautilus "%1"" not work
Probably because it doesn't exist.
abb4

Start native linux apps from a wine app

Post by abb4 »

dimesio wrote:

abb4 wrote:
I now placed it in [HKEY_CLASSES_ROOT/folder/shell/open/(there's no
command folder)
Create it.
Created it, didn't work

abb4 wrote:
It should be able to open a folder within nautilus, which is located in
/usr/bin), right?
Reads it's manual about how to start it so it shows a directory. This is
not related to Wine.
Why is this not related to WINE
If you run a Windows program in WINE, it's certainly good if it works like
it does under Windows.
In this case the program can open a folder in the file manager of Windows,
but it fails in WINE
to open in Nautilus
Can this really work from this script?

abb4 wrote:
why does @="/bin/sh run_linx_program nautilus \"%1\"" not work
Probably because it doesn't exist.
It's created in /home/bin

code

#!/bin/sh
$1 "`wine winepath -u "$2"`"

It's in the path environment.





--
View this message in context: http://www.nabble.com/Start-native-linu ... 12760.html
Sent from the Wine - Users mailing list archive at Nabble.com.
Gert van den Berg

Start native linux apps from a wine app

Post by Gert van den Berg »

On Thu, Jul 16, 2009 at 10:57, abb4<[email protected]> wrote:
It's created in /home/bin

code

#!/bin/sh
$1 "`wine winepath -u "$2"`"

It's in the path environment.
If you use a /bin/sh before it it needs to be in the working directory.
Locked