LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   can we run window applications without wine... (https://www.linuxquestions.org/questions/linux-newbie-8/can-we-run-window-applications-without-wine-562639/)

sreedharan_menon 06-18-2007 07:05 AM

can we run window applications without wine...
 
Hi Can we not run windows applications in linux by double clicking the concerned exe file or rather without wine applications etc....

acid_kewpie 06-18-2007 07:13 AM

no. that's why wine (and crossover office etc..) exist.

pixellany 06-18-2007 07:53 AM

Quote:

Originally Posted by sreedharan_menon
Hi Can we not run windows applications in linux by double clicking the concerned exe file or rather without wine applications etc....

No....
nor can you run Linux applications in Windows----or Mac applications in Linux---or Apple-II apps on a Mac

jimmy512 06-18-2007 07:58 AM

You cant run without wine, but if you configure your window manager correctly, you can tell it to automatically run .exe files with wine, without having to use
Code:

wine [exe file]
all the time. Which window manager are you using (gnome, kde, etc)???

sreedharan_menon 06-19-2007 05:39 AM

can we run window applications without wine... Reply to Thread
 
Hi
Just googled around and seemed to find Reactos,clone like windows an open source platform. Had a vague idea that could linux incorporate the procedure that Reactos obtained for running window applications itself in the linux os.
Wine at times seems to be too geeky for newbies who are used to clicking around with the mouse.
OR
Can linux incorporate a container should we say a master container, for Win32 Files wherein the applications can be run in linux as it can be done with windows...

acid_kewpie 06-19-2007 05:43 AM

whatever these are, they're just going to be attempts at invisible integration with wine.

sreedharan_menon 06-19-2007 07:12 AM

Quote:

Originally Posted by jimmy512
You cant run without wine, but if you configure your window manager correctly, you can tell it to automatically run .exe files with wine, without having to use
Code:

wine [exe file]
all the time. Which window manager are you using (gnome, kde, etc)???

Kde is the window manager, but tell me whether any difference between using gnome or kde for usage for wine

pixellany 06-19-2007 07:32 AM

Quote:

Originally Posted by sreedharan_menon
Kde is the window manager, but tell me whether any difference between using gnome or kde for usage for wine

Wine should function independently of KDE or Gnome.

Looked at ReactOS briefly---I'm pretty sure it is simply using WINE for the Windows emulation. Actually, their "advertising" is questionable in that it implies something new and different.

If WINE is giving you trouble, take a look at the commercial port: CrossOver Office (from Codeweavers)

dawkcid 06-19-2007 12:29 PM

Yes, you can.

/usr/src/linux-(version)/Documentation/binfmt_misc.txt

pixellany 06-19-2007 12:42 PM

Quote:

Originally Posted by dawkcid
Yes, you can.

/usr/src/linux-(version)/Documentation/binfmt_misc.txt

for those of us with nothing in /usr/src----what is it that will be found in this file, and how does it relate to this thread?

"Yes, you can" what? Are you answering the original question?

Valkyrie_of_valhalla 06-19-2007 01:09 PM

Hmm, interesting, I never knew about this, thanks for the tip.

For the reference, here are parts of what the file says:
Code:

This Kernel feature allows you to invoke almost (for restrictions see below)
every program by simply typing its name in the shell.
This includes for example compiled Java(TM), Python or Emacs programs.

To achieve this you must tell binfmt_misc which interpreter has to be invoked
with which binary. Binfmt_misc recognises the binary-type by matching some bytes
at the beginning of the file with a magic byte sequence (masking out specified
bits) you have supplied. Binfmt_misc can also recognise a filename extension
aka '.com' or '.exe'.

First you must mount binfmt_misc:
    mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc

To actually register a new binary type, you have to set up a string looking like
:name:type:offset:magic:mask:interpreter:flags (where you can choose the ':' upon
your needs) and echo it to /proc/sys/fs/binfmt_misc/register.
........................................

A few examples (assumed you are in /proc/sys/fs/binfmt_misc):

- enable support for packed DOS applications (pre-configured dosemu hdimages):
  echo ':DEXE:M::\x0eDEX::/usr/bin/dosexec:' > register

- enable support for Windows executables using wine:
  echo ':DOSWin:M::MZ::/usr/local/bin/wine:' > register

But it is still a program that uses wine, mostly... The only diffrence is that it is precompiled with the kernel and it can be configured to run automatically on any window manager...

dawkcid 06-21-2007 10:54 AM

Quote:

Originally Posted by pixellany
for those of us with nothing in /usr/src----what is it that will be found in this file, and how does it relate to this thread?

Well, you could use a bit of initiative... :rolleyes:

http://www.google.co.uk/search?hl=en...e+Search&meta=

http://www.linux.com/articles/56032

http://www.tat.physik.uni-tuebingen....nfmt_misc.html

Thanks for picking up the slack Valkyrie.


All times are GMT -5. The time now is 03:49 PM.