ganassa | 13 Nov 19:14
Picon

Getting confused with MIME-types: RAW thumbnails

Hi

I've installed both ROX-tumbnailers and RAWThumbnail apps (in this order), and I'm getting problems having my Canon RAW thumbnails being extracted and consequentially displayed in ROX's windows.

RAWThumbnail in itself is working fine (verified with the author by calling via script, it builds the PNG), the problem resides in MIME settings and in the way ROX treat them, settings which I realized I'm not understanding very well and trying to working on them I'm getting confued. In fact, if a query a tipycal Canon RAW in this way I get:

$file IMG_8014.CR2
IMG_8014.CR2: TIFF image data, little-endian

If I look for MIME settings in this way:

$gnomevfs-info IMG_8014.CR2
Name              : IMG_8014.CR2
Type              : Regular
MIME type         : image/x-canon-cr2
Size              : 10369894
Blocks            : 20256
I/O block size    : 4096
Local             : YES
SUID              : NO
SGID              : NO
Sticky            : NO
Permissions       : 600777
Link count        : 1
UID               : 0
GID               : 0
Access time       : Sat Sep 20 17:23:36 2008
Modification time : Sat Sep 20 17:22:49 2008
Change time       : Mon Sep 29 00:39:17 2008
Device #          : 2081
Inode #           : 21174
Readable          : YES
Writable          : YES
Executable        : NO

finally, if I right click on file via ROX and select File/Properties, ROX tell me:

Type: image/x-dcraw

...

following is my current settings:

1)
I've added via MIME RoxApp an handler to override .CR2 (other than .cr2) MIME type to be x-canon-cr2 (it looks like the author forgot capitalized ones, or I'm missing understand something maybe):

$cat .local/share/mime/image/x-canon-cr2
?xml version="1.0" encoding="utf-8"?>
<mime-type xmlns="http://www.freedesktop.org/standards/shared-mime-info" type="image/x-canon-cr2">
  <!--Created automatically by update-mime-database. DO NOT EDIT!-->
</mime-type>

The way I've added it is by including in the local Override.xml a correct XML item and running update-mime-database, after reading documentation in
http://library.gnome.org/admin/system-admin-guide/2.22/mimetypes-modifying.html.en

$ cat .local/share/mime/packages/Override.xml
cat .local/share/mime/packages/Override.xml
<?xml version="1.0" ?><mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
  <mime-type type="application/x-extension-BIF"><comment>BIF document</comment><glob pattern="*.BIF"/></mime-type>
<mime-type type="image/x-canon-cr2"><glob pattern="*.CR2"/></mime-type></mime-info>

2)
global freedesktop.org.xml has been modified according to RAWthumbnailers documentation by commenting out the:
<sub-class-of type="image/tiff"/>
line

$cat /usr/share/mime/packages/freedesktop.org.xml
  <mime-type type="image/x-canon-cr2">
    <sub-class-of type="image/x-dcraw"/>
    <!-- sub-class-of type="image/tiff"/ -->
    <comment>Canon CR2 raw image</comment>
    <comment xml:lang="bg">Изображение — Canon CR2 raw</comment>
    <comment xml:lang="ca">imatge en cru de Canon CR2</comment>
    <comment xml:lang="cs">Surový obrázek Canon CR2</comment>
    <comment xml:lang="en_GB">Canon CR2 raw image</comment>
    <comment xml:lang="fi">Canon-CR2-raakakuva</comment>
    <comment xml:lang="fr">image brute CR2 Canon</comment>
    <comment xml:lang="it">Immagine raw Canon CR2</comment>
    <comment xml:lang="nb">Canon CR2 raw-bilde</comment>
    <comment xml:lang="nl">onbewerkt Canon CR2-beeld</comment>
    <comment xml:lang="sv">Canon CR2-råbild</comment>
    <acronym>CR2</acronym>
    <expanded-acronym>Canon Raw 2</expanded-acronym>
    <glob pattern="*.cr2"/>

---

3)
also exists a gnome-raw-thumbnailer.xml created by ROXthumbnailer, which is probably involved in the problem I'm trying to solve, but I don't know how to override it/remove/modify it to let ROX read my MIME settings in the way I like:

$ cat /usr/share/mime/packages/gnome-raw-thumbnailer.xml
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
  <mime-type type="image/x-dcraw">
    <comment>Digital Camera RAW</comment>
    <comment xml:lang="cs">RAW soubor digitálního fotoaparátu</comment>
    <glob pattern="*.bay" />
    <glob pattern="*.BAY" />
    <glob pattern="*.bmq" />
    <glob pattern="*.BMQ" />
    <glob pattern="*.cr2" />
    <glob pattern="*.CR2" />
    <glob pattern="*.crw" />
    <glob pattern="*.CRW" />
    <glob pattern="*.cs1" />
    <glob pattern="*.CS1" />
    <glob pattern="*.dc2" />
    <glob pattern="*.DC2" />
    <glob pattern="*.dcr" />
    <glob pattern="*.DCR" />
    <glob pattern="*.fff" />
    <glob pattern="*.FFF" />
    <glob pattern="*.k25" />
    <glob pattern="*.K25" />
    <glob pattern="*.kdc" />
    <glob pattern="*.KDC" />
    <glob pattern="*.mos" />
    <glob pattern="*.MOS" />
    <glob pattern="*.mrw" />
    <glob pattern="*.MRW" />
    <glob pattern="*.nef" />
    <glob pattern="*.NEF" />
    <glob pattern="*.orf" />
    <glob pattern="*.ORF" />
    <glob pattern="*.pef" />
    <glob pattern="*.PEF" />
    <glob pattern="*.raf" />
    <glob pattern="*.RAF" />
    <glob pattern="*.rdc" />
    <glob pattern="*.RDC" />
    <glob pattern="*.srf" />
    <glob pattern="*.SRF" />
    <glob pattern="*.x3f" />
    <glob pattern="*.X3F" />
  </mime-type>
</mime-info>
...

The other ROX desktop I get at home is working fine: ROXthumbnailers is not installed, just the RAWThumbnail, and I'm missing the /usr/share/mime/packages/gnome-raw-thumbnailer.xml, which is probably the cause.
What I am not understanding is: how to uninstall it?

Anyone can help me cleaning this situation?

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
rox-users mailing list
rox-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rox-users
Tony Houghton | 13 Nov 19:41
Picon

URI handlers

Investigating why the URIs in infowin dialogs weren't working I
discovered from ROX-(C)Lib's source that URI handlers are defined by
apps/scripts/etc in ~/.config/rox.sourceforge.net/URI. I didn't have
this directory but it worked when I created it and added a symlink to my
Firefox wrapper named "http".

Is there supposed to be an easier way to manage URI handlers? I can't
find anything in ROX-Filer's config or a suitable applet on the software
page.

--

-- 
TH * http://www.realh.co.uk

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Stephen Watson | 13 Nov 19:46
Picon
Picon

Re: URI handlers

Tony Houghton <h <at> realh.co.uk> wrote:

> Is there supposed to be an easier way to manage URI handlers? I can't
> find anything in ROX-Filer's config or a suitable applet on the software
> page. 

Launch http://roscidus.com/desktop/node/36

--

-- 
Stephen Watson     http://www.kerofin.demon.co.uk/
If you read this on a mailing list, send any reply back to the list and not
to me.  Not even CC.
My bleeding heart does not extend to charity

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Thomas Leonard | 16 Nov 12:30
Picon
Gravatar

Re: WorkspaceList 1.0 - displays workspaces in a list

2007/12/13 Lennon Cook <lennon <at> riscque.net>:
> WorkspaceList is a panel applet which displays workspaces in a
> dropdown list, by name. It allows easy creation, deletion, and renaming
> of workspaces from its context menu. In theory you can go to a
> workspace by typing its name, or create a new one by typing a name that
> isn't in the list - however, on my system at least, it doesn't appear
> to be able to get keyboard focus. Any help getting this to work would
> be appreciated!
>
> Zero install interface and download links can be found at
> http://riscque.net/WorkspaceList

This seems to have turned into a directory...

Is this a web server problem, or should the URI be changed?

--

-- 
Dr Thomas Leonard		ROX desktop / Zero Install
GPG: 9242 9807 C985 3C07 44A6  8B9A AE07 8280 59A5 3CC1

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Lennon Cook | 17 Nov 09:53

Re: WorkspaceList 1.0 - displays workspaces in a list

"Thomas Leonard" <talex5 <at> gmail.com> wrote:
> This seems to have turned into a directory...
Fixed now; thanks for the heads up!
The problem was that the .htaccess in that direcotry had been emptied
for some reason. My host sends the 0install interface files as
text/plain unless they are named 'something.xml', and so the XSLT
doesn't work; to get around this, and still have nice names, the
interface is actually a directory, with the xml inside it named as
*.xml, and set to the DirectoryIndex in .htaccess .
 This also allows other niceties - for example, the version control
repository (for those projects where I've set one up), and the release
archives, all live inside that directory.

--

-- 
Lennon Victor Cook
"He who receives an idea from me receives without lessening, as he who
lights his candle at mine receives light without darkening" 
-- Thomas Jefferson
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
rox-users mailing list
rox-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rox-users
Yuri Bongiorno | 18 Nov 11:04
Picon

Re: Getting confused with MIME-types: RAW thumbnails

ganassa <ganassa <at> gmail.com> writes:

> 3)also exists a gnome-raw-thumbnailer.xml created by ROXthumbnailer, which is
probably involved in the problem I'm trying to solve,
[...]
> The other ROX desktop I get at home is working fine: ROXthumbnailers is not
installed, just the RAWThumbnail, and I'm missing the
/usr/share/mime/packages/gnome-raw-thumbnailer.xml, which is probably the cause.

I assure you that /usr/share/mime/packages/gnome-raw-thumbnailer.xml has not
been created by ROX-thumbnailers. 

which distribution do you use? for example, on debian/ubuntu, type:
dpkg -S /usr/share/mime/packages/gnome-raw-thumbnailer.xml

> What I am not understanding is: how to uninstall it?Anyone can help me
cleaning this situation?

It's an application directory, do you want to uninstall it? delete
'ROX-thumbnailers' directory!
But I think your problem is in your local settings. Try this: create another
user on your system, don't copy your settings in it, then log in and try
RAWThumbnail.

Bye,
Yuri

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
ganassa | 18 Nov 11:16
Picon

Re: Getting confused with MIME-types: RAW thumbnails



2008/11/18 Yuri Bongiorno <yuri <at> sociol.unimi.it>
ganassa <ganassa <at> gmail.com> writes:

I assure you that /usr/share/mime/packages/gnome-raw-thumbnailer.xml has not
been created by ROX-thumbnailers.

I trust you, especially because of the fact it's inside a root-writable-only directory, and RAWthumb is user-wide.
 


which distribution do you use? for example, on debian/ubuntu, type:
dpkg -S /usr/share/mime/packages/gnome-raw-thumbnailer.xml

Ubuntu. but now it's at home so I can't run this.
 



> What I am not understanding is: how to uninstall it?Anyone can help me
cleaning this situation?

It's an application directory, do you want to uninstall it? delete
'ROX-thumbnailers' directory!
But I think your problem is in your local settings. Try this: create another
user on your system, don't copy your settings in it, then log in and try
RAWThumbnail.

I deleted ROX-thumbnailers, and something happens, but I'm not sure about the effects. At least, MIME they are now OK.

At now:
- all CR2 files created by an EOS 400D and stored on a NTFS disk BEFORE rox-messing-up, they are not getting thumbnails
- all CR2 files created by an EOS 40D and stored on the same NTFS disk AFTER rox-messing-up, they are getting thumbnails
- all CR2 files created by any EOS I got, and moved from the NTFS to ext2 partition, they will get thumbs!

So, once solved the MIME-type trouble, I'm still getting a problem for which the cause could be related to Camera Model / Filsystem storage type / caching.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
rox-users mailing list
rox-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rox-users
Tony Houghton | 18 Nov 22:13
Picon

Resolution update

I've updated Resolution in svn with a quick hack to allow it to work
with xrandr 1.2. I haven't been able to test it with older versions of
xrandr.

--

-- 
TH * http://www.realh.co.uk

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Vesso Somlev | 19 Nov 02:27
Picon

SVN front-end for ROX

Hi people,
I wonder if any of you use a graphical front-end for svn that integrates
well with rox-filer? I was thinking about some script for the SendTo
menu. If anyone already wrote such scripts, I will be very thankful if
you send them.
Thanks again :)

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Olivier Duclos | 19 Nov 03:35
Picon

Looking for ROX-SVG

Hi,

Do somebody still has the ROX-SVG icon theme ? The link on Rox's website died a long time ago.

Thanks !
--

-- 
-OD

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

Gmane