[Bug 610674] New: Mono executables are opened in Wine, not Mono
http://bugzilla.novell.com/show_bug.cgi?id=610674 http://bugzilla.novell.com/show_bug.cgi?id=610674#c0 Summary: Mono executables are opened in Wine, not Mono Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Mono AssignedTo: bnc-team-mono@forge.provo.novell.com ReportedBy: neptunia@mail.ru QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; ru; rv:1.9.1.9) Gecko/20100317 SUSE/3.5.9-0.1.1 Firefox/3.5.9 Mono executables are opened in Wine, not in Mono. Under Ubuntu all works well: Mono executables opened in Mono and Wine executables - in Wine. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=610674 http://bugzilla.novell.com/show_bug.cgi?id=610674#c1 Andrew Jorgensen <ajorgensen@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |ajorgensen@novell.com InfoProvider| |neptunia@mail.ru --- Comment #1 from Andrew Jorgensen <ajorgensen@novell.com> 2010-06-01 20:52:27 UTC --- Can you give more information on what you mean by opened? You open them by double-clicking in GNOME? in KDE? by typing them on the command line? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=610674 http://bugzilla.novell.com/show_bug.cgi?id=610674#c2 --- Comment #2 from Ilya Chernykh <neptunia@mail.ru> 2010-06-01 21:05:24 UTC --- Open by double-clicking in Gnome. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=610674 http://bugzilla.novell.com/show_bug.cgi?id=610674#c3 --- Comment #3 from Andrew Jorgensen <ajorgensen@novell.com> 2010-06-01 21:18:41 UTC --- I can't confirm that it behaves as you say in Ubuntu. When I double-click on a NET executable in Ubuntu I get wine. Can you attach your /usr/share/applications/mimeinfo.cache and (as a separate attachment) ~/.local/share/applications/mimeinfo.cache (if it exists) from your Ubuntu system? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=610674 http://bugzilla.novell.com/show_bug.cgi?id=610674#c4 Marc Christensen <mchristensen@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mchristensen@novell.com --- Comment #4 from Marc Christensen <mchristensen@novell.com> 2010-06-01 21:22:50 UTC --- Sounds like a Gnome issue rather than a mono one. What's most likely happening is that the exe extension is being associated with Wine and then launched. Both native windows executables and .NET binaries have .exe extensions. The mime handlers in Gnome are probably not anything more than a extension to launcher mapping. What would need to happen is that Gnome needs to write a exe handler that first distinguishes between a native exe and a .NET exe and then spawns the correct runtime executable (Wine or Mono). This could be a shell script which first calls 'file' on the exe then examines the output. For example running file on f-spot returns the following: #:~> file /usr/lib64/f-spot/f-spot.exe /usr/lib64/f-spot/f-spot.exe: MS-DOS executable PE for MS Windows (GUI) Intel 80386 32-bit, Mono/.Net assembly So, a proxy-launcher script for EXEs that contained something like this might work: if file "$1" | grep 'Mono/.Net assembly' > /dev/null 2>&1; then #run program in mono mono $1 else #run program in Wine wine $1 fi This change has to happen at the Gnome level rather than Mono unless of course, they're already doing something like this and it's just not working properly -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=610674 http://bugzilla.novell.com/show_bug.cgi?id=610674#c5 --- Comment #5 from Ilya Chernykh <neptunia@mail.ru> 2010-06-01 22:29:23 UTC ---
Jorgensen
Sorry I have not Ubuntu now, just recalling. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=610674 http://bugzilla.novell.com/show_bug.cgi?id=610674#c6 --- Comment #6 from Ilya Chernykh <neptunia@mail.ru> 2010-06-01 22:42:54 UTC --- May be that was Fedora. Anyway this is the screenshot: http://www.linux.org.ru/gallery/3282583.png Created a text file, run vbnc to compile, run the resulting .exe Under OpenSUSE 11.2 I cannot run the resulting exe from the command line: it says "error executing binary file" -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=610674 http://bugzilla.novell.com/show_bug.cgi?id=610674#c7 Andrew Jorgensen <ajorgensen@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |CLOSED InfoProvider|neptunia@mail.ru | Resolution| |INVALID --- Comment #7 from Andrew Jorgensen <ajorgensen@novell.com> 2010-06-02 01:57:36 UTC --- Running from commandline is very different from running by double-clicking in gnome. Commandline running is disabled by design and can be enabled using the instructions here: http://www.mono-project.com/Guide:Running_Mono_Applications#Registering_.exe... -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=610674 http://bugzilla.novell.com/show_bug.cgi?id=610674#c8 --- Comment #8 from Ilya Chernykh <neptunia@mail.ru> 2010-06-02 02:30:06 UTC --- FATAL: Module binfmt not found. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=610674 http://bugzilla.novell.com/show_bug.cgi?id=610674#c9 --- Comment #9 from Ilya Chernykh <neptunia@mail.ru> 2010-06-02 02:44:08 UTC --- And also it worked well not only from command line, but also from clicking. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=610674 http://bugzilla.novell.com/show_bug.cgi?id=610674#c10 Ilya Chernykh <neptunia@mail.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED Resolution|INVALID | --- Comment #10 from Ilya Chernykh <neptunia@mail.ru> 2010-06-02 11:48:45 UTC --- In Ubuntu binfmt support integrated with wine and mono. Isn't it possible to do the same in Suse? Suse already has binfmt integration for Java. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com