Fixing the mime-key error in Filezilla, complements of Adobe AIR
I really like Adobe AIR as a platform, mainly because I generally like the idea of having a platform that can run the same apps on any of the big three Operating Systems (Windows, Mac, Linux). Unfortunately, after installing the Adobe Air alpha for Linux I was having a problem with an error every time I started up Filezilla. This would popup on every startup:
"Can't open /usr/share/mime-info/air.keys" (error 2: no such file or directory)" "Can't open /usr/share/mime-info/air.mime" (error 2: no such file or directory)"
Obviously, this wasn’t the worst thing that could possibly happen to me… but it was rather aggravating! To solve this problem I went scrounging through the depths of the interblags and finally managed to fix it. Lots of help comes from the Dusty Pixels blog, but I figured I would compile what worked for me here.
I will copy in these codes directly as I used them (and supress any output). Please note that I do sudo into root for this fix just to make sure there are no permissions errors–if you wish to go the fully ‘approved’ method, just append sudo on every single command here.
nuke@nuke-laptop:~$ cd /opt/Adobe\ AIR/Versions/1.0/xdg-utils/
nuke@nuke-laptop:/opt/Adobe AIR/Versions/1.0/xdg-utils$ sudo su
root@nuke-laptop:/opt/Adobe AIR/Versions/1.0/xdg-utils# xdg-mime uninstall --novendor /opt/Adobe\ AIR/Versions/1.0/support/AdobeAIR.xml
root@nuke-laptop:/opt/Adobe AIR/Versions/1.0/xdg-utils# sudo nano ../support/AdobeAIR.xml
This step requires that you remove the three lines starting with <magic priority=”100″> and ending with </magic>.
root@nuke-laptop:/opt/Adobe AIR/Versions/1.0/xdg-utils# xdg-mime install --novendor /opt/Adobe\ AIR/Versions/1.0/support/AdobeAIR.xml
root@nuke-laptop:/opt/Adobe AIR/Versions/1.0/xdg-utils# sudo unlink /usr/share/mime-info/air.keys
root@nuke-laptop:/opt/Adobe AIR/Versions/1.0/xdg-utils# sudo unlink /usr/share/mime-info/air.mime
root@nuke-laptop:/opt/Adobe AIR/Versions/1.0/xdg-utils# sudo ln -s /opt/Adobe\ AIR/Versions/1.0/support/air.keys /usr/share/mime-info/air.keys
root@nuke-laptop:/opt/Adobe AIR/Versions/1.0/xdg-utils# sudo ln -s /opt/Adobe\ AIR/Versions/1.0/support/air.mime /usr/share/mime-info/air.mime
And there you go! You shouldn’t have any more mime-type errors in Filezilla!
Tags: Adobe, Adobe AIR, Filezilla, mime types, Ubuntu
This entry was posted on Friday, July 11th, 2008 at 9:00 am and is filed under Linux, OSS. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
July 22nd, 2008 at 11:52 am
» Errori mime-key in Filezilla su Ubuntu 8.04 » pietrodigiorgio.it says:[...] Oggi finalmente mi sono deciso a fare una ricerca su Google ed il problema è sparito grazie alle informazioni trovate in questo post. [...]
July 23rd, 2008 at 3:27 am
Errori mime-key in Filezilla su Ubuntu 8.04 | Yourpage live news aggregator says:[...] L’errore era questo: Can’t open /usr/share/mime-info/air.keys” (error 2: no such file or directory) Can’t open /usr/share/mime-info/air.mime” (error 2: no such file or directory) Oggi finalmente mi sono deciso a fare una ricerca su Google ed il problema è sparito grazie alle informazioni trovate in questo post. [...]
August 31st, 2008 at 12:25 am
Solucionar conflicto entre Filezilla y Adobe Air | xploit29 says:[...] Fuente | Fuzzy Logic [...]
December 19th, 2008 at 9:21 am
Adobe launches AIR 1.5 for Linux | Fuzzy Logic says:[...] version we were using was a buggy version that didn’t have all of the newest features (and was unreliable at that). With this new release comes the new version for both x86 and x64 [...]