LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-18-2007, 08:05 AM   #1
sreedharan_menon
LQ Newbie
 
Registered: Aug 2006
Posts: 7

Rep: Reputation: 0
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....
 
Old 06-18-2007, 08:13 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
no. that's why wine (and crossover office etc..) exist.
 
Old 06-18-2007, 08:53 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
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
 
Old 06-18-2007, 08:58 AM   #4
jimmy512
Member
 
Registered: Oct 2006
Location: London
Distribution: Arch
Posts: 183

Rep: Reputation: 31
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)???
 
Old 06-19-2007, 06:39 AM   #5
sreedharan_menon
LQ Newbie
 
Registered: Aug 2006
Posts: 7

Original Poster
Rep: Reputation: 0
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...
 
Old 06-19-2007, 06:43 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
whatever these are, they're just going to be attempts at invisible integration with wine.
 
Old 06-19-2007, 08:12 AM   #7
sreedharan_menon
LQ Newbie
 
Registered: Aug 2006
Posts: 7

Original Poster
Rep: Reputation: 0
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
 
Old 06-19-2007, 08:32 AM   #8
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
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)
 
Old 06-19-2007, 01:29 PM   #9
dawkcid
Member
 
Registered: May 2007
Location: UK
Distribution: LFS,Slackware,Slamd64,NetBSD
Posts: 102

Rep: Reputation: 15
Yes, you can.

/usr/src/linux-(version)/Documentation/binfmt_misc.txt
 
Old 06-19-2007, 01:42 PM   #10
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
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?
 
Old 06-19-2007, 02:09 PM   #11
Valkyrie_of_valhalla
Member
 
Registered: Jan 2006
Location: Romania
Distribution: Suse 12.0, Slackware 12.1, Debian, Ubuntu, Gentoo
Posts: 301

Rep: Reputation: 30
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...

Last edited by Valkyrie_of_valhalla; 06-19-2007 at 02:10 PM.
 
Old 06-21-2007, 11:54 AM   #12
dawkcid
Member
 
Registered: May 2007
Location: UK
Distribution: LFS,Slackware,Slamd64,NetBSD
Posts: 102

Rep: Reputation: 15
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...

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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
users can't run wine installed applications GSalah Linux - Software 4 12-17-2006 08:41 AM
What are the best helper applications for window managers? JevidL Linux - Software 9 06-04-2004 03:32 AM
window manager applications xviddivxoggmp3 Linux - Software 5 03-22-2004 04:05 AM
Applications with wine jimmye68 Linux - Software 5 06-16-2003 08:49 PM
Putting Window base applications on server gemsem Linux - Software 1 06-01-2003 11:39 PM


All times are GMT -5. The time now is 03:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration