Re: Is it a bug of nautilus or gnome?
- From: Star Liu <minxinjianxin gmail com>
- To: nautilus-list gnome org
- Subject: Re: Is it a bug of nautilus or gnome?
- Date: Tue, 10 Mar 2009 17:11:26 +0800
On Tue, Mar 10, 2009 at 4:58 PM, Alexander Larsson <alexl redhat com> wrote:
> On Mon, 2009-03-09 at 16:09 +0100, Olav Vitters wrote:
>> On Mon, Mar 09, 2009 at 11:38:58AM +0100, Alexander Larsson wrote:
>> > On Sun, 2009-03-08 at 22:41 +0800, Star Liu wrote:
>> > > Here is my problem, I can run a exe file(built by monodevelop on
>> > > debian sid amd64) directly from command line like this:
>> > > Desktop:~/MyLife/Mono/OFSM_IDE/bin/Debug# ./OFSM_IDE.exe
>> > > but the same exe file cannot be launched by double click the file in
>> > > gnome, I heard that it's because the mono package maker has installed
>> [..]
>> >
>> > Weird. I don't think we do anything that should make binfmt break. So, I
>> > can't really say why this is not working for you.
>>
>> What would happen if there is a mime type association && .desktop with
>> e.g. wine for .exe files? Would nautilus use wine or binfmt?
>
> It depends on the mime type. For files marked as executable of a
> mimetype deriving from application/x-executable we lauch, and for
> executables of mimetype deriving from text/plain we ask whether to
> launch or open.
I created a desktop file named mono.desktop into
/usr/share/applications, its content is following:
------------------
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=Mono
GenericName=Runtime
Comment=The runtime for .NET applications
Exec=mono %f
NoDisplay=true
StartupNotify=true
Terminal=false
Type=Application
MimeType=application/x-ms-dos-executable;
--------------------
and application/x-ms-dos-executable appear only in this file, not in
other desktop files. but after this, when i double click exe files
with MimeType application/x-ms-dos-executable, gnome still says
"couldn't display ....".
anything more i can try to solve this problem? thanks
>
> --
> nautilus-list mailing list
> nautilus-list gnome org
> http://mail.gnome.org/mailman/listinfo/nautilus-list
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]