Sure!

jo...@snow:~/downloads$ gcc test-mime-info-cache-new.c -o
test-mime-info-cache-new `pkg-config --cflags --libs gnome-vfs-2.0`
jo...@snow:~/downloads$ ./test-mime-info-cache-new
Default: gedit.desktop
All:
gedit.desktop, Text Editor
texmacs.desktop, GNU TeXmacs Editor
kde-qgo.desktop, qgo
abiword.desktop, AbiWord
emacs22-gtk.desktop, Emacs 22 (X11)
jo...@snow:~/downloads$


I have then downgraded shared-mime-info as you said (by editing
sources.list, changing "unstable" to "testing", then "apt-get update"
and "dpkg -r --force-all shared-mime-info", and finally "apt-get -t
testing --reinstall install shared-mime-info"... I am not sure if it
is the standard way).

It works! I can directly open the files. Nautilus is not showing
previews of most of the graphic files, though.

Thanks,
jordi

On Thu, Mar 5, 2009 at 6:18 AM, Emilio Pozuelo Monfort <po...@ubuntu.com> wrote:
> Jordi Burguet-Castell wrote:
>> Nautilus will not open png files (unless right-clicking and selecting
>> "Open With..."), claiming the following:
>>
>> """
>> The filename "hoftmon-working.png" indicates that this file is of type
>> "png document". The contents of the file indicate that the file is of
>> type "PNG image". If you open this file, the file might present a
>> security risk to your system.
>>
>> Do not open the file unless you created the file yourself, or received
>> the file from a trusted source. To open the file, rename the file to the
>> correct extension for "PNG image", then open the file normally.
>> Alternatively, use the Open With menu to choose a specific application
>> for the file.
>> """
>
> Could paste the output of running the attached binary in a terminal?
> You have to run it like "./test-mime-info-cache-new". I'm also attaching the
> source code in case you want to compile it yourself (do it with "gcc
> test-mime-info-cache-new.c -o test-mime-info-cache-new `pkg-config --cflags
> --libs gnome-vfs-2.0`").
>
> Also, after doing that, can you downgrade shared-mime-info to the version in
> testing and see if the problem goes away?
>
> Thanks,
> Emilio
>



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to