Gnome: mime types, file associations and defaults.list

I installed the new Gnome 2.8 during the weekend and now my file type associations is completely bloated. The mime system is intact - Nautilus recognises files properly. However, Nautilus doesn't know which applications to open a specific file with. I have read other posts and found useful information, but not the solution.
This post in FedoraForum gave me a hint to what's causing the problem:
http://fedoraforum.org/forum/showthread … post127530
It seems that the file defaults.list is missing from /usr/share/mime/applications. Apparently this file contains the associations  between applications and mime types. I have not be able to find out which package should provide this file or how to recreate it. Can anyone help - maybe provide the name of the package that provides this file?
Thanks,

Yeah, I got tired of Evolution not knowing about opening *.docs in openoffice.  After several hours of research, the key is the /usr/share/applications/mimeinfo.cache,  /opt/gnome/share/applications/mimeinfo.cache, and the MimeType fields in the *.desktop files.  The mimeinfo.cache in /usr was empty and the /opt one had gthumb and other apps but no OO:
[MIME Cache]
application/x-gnome-stones=gnome-stones.desktop
image/jpeg=gthumb.desktop
application/postscript=ggv.desktop
...snip...
That's a lot of blather to say that the fix for Evolution/OpenOffice was to add the proper MimeType entry to /usr/share/applications/ooo645writer.desktop:
MimeType=application/vnd.ms-word;application/msword
and then run "update-desktop-database".  Problem solved.
Another problem is that within Evolution it says an attached doc is a "application/msword" and not a "Microsoft Word Document".  Unfortunately this is because freedesktop.org decided to use application/vnd.ms-word instead of application/msword like the rest of the world.  If you check the vnd.ms-word entry in /usr/share/mime/packages/freedesktop.org.xml it defines an alias msword but the new mime system doesn't appear to recognize aliases yet.  The solution I used was to rename the entry to msword.  Another possible solution might be to remove the msword alias from the vnd.ms-word entry and create a new msword entry based on the vnd.ms-word one.  Then run "update-mime-database /usr/share/mime".  Hope that made sense.
I think the defaults.list is part of the previous GNOME MIME setup cause I don't have one and I'm not experiencing any problems.  For other apps check for the associations in the mimeinfo.cache's and if missing add the MimeType's to the app's *.desktop.

Similar Messages

  • Problem in file association and main-class in JWS

    Hello , all
    I have a problem in JWS with file association and main-class. I have a java application that has two entry classes, one is appmain.class that is required to launch from web, and the other is player.class that is required to launch when user double-click the .abc extension file.
    In JWS 5.0+, there is a association element in JNLP syntax that can be used to make the file association with .abc extension. But how can I declare the main-class in JNLP file?
    If I declare the application-desc element as <application-desc main-class="player">, the player.class will be launched from web. But if I declare it as <application-desc main-class="appmain">, the .abc extension wil be associated to the appmain.class.
    Does anyone know how to solve this problem? Thank you for your kindly help.

    One way is to define a third main that refers
    to the other two, as appropriate. E.G. if the
    web based main does not include -open as
    its arguments, it is easy.class WebStartSpringboard {
      /** Call web based main unless args include -open. */
      public static void main(String[] args) {
        if (args[0].equals("-open") ) {
          OpenFileBasedClass.main(args);
        } else {
          WebBasedClass.main(args);
    }Other measures might be taken for a situation
    where the web based version does include a
    -open argument.

  • Comprehensive mime.types file for MimetypesFileTypeMap?

    Anyone have pointers to a comprehensive 'mime.types' file to drop in for MimetypesFileTypeMap's use?
    (One that's likely to have all the most common file extensions... so I don't have to build my own over time.)
    Thanks,

    video/x-m4v

  • Default file associations and RTF (rich text format)

    I use pop3 email accounts for work.
    I receive daily emails with .rtf (rich text format) file attachments.
    When I open the emails, the attachments are listed.
    I touch to open and QuickOffice loads to open them.
    According to the QuickOffice website, QuickOffice does not support rtf files.. and it certainly does error on them. Why does QuickOffice open at all? I do not need any of its functions except the one it doesn’t have.
    I have installed at present, this list of file managers.
    Android’s default file manager
    OI File Manager
    Astro file manager
    Cool reader
    All of these applications support rtf files.
    How do I set the file association for rtf files to an application which supports them?
    Thanks for reading.

    I have the same problem any help would be appreciated

  • Enabling the ability to uncheck QT file associations in Default Programs

    I have Windows 7 here, and it comes with this nice little utility that lets you set the default programs for various file types (Control Panel\All Control Panel Items\Default Programs\Set Default Programs\Set Program Associations). When I select Quicktime, there are various boxes that I can check, but there are also various boxes that are pre-checked. I would like to uncheck them, but they are greyed out. How can I uncheck them?
    I hope Apple engineers understand the absurdity of having a specific tool for setting file type associations, and them making that tool unable to set file type associations. It sort of defeats the purpose doesn't it?
    For the record, I am administrator and UAC is disabled.

    File associations are a mess right now. Many programs (Opera included) handle them their own way. There's a project underway to handle associations in a standard way (see MIME actions, shared MIME info, desktop entries, all at freedesktop.org), but not all software uses it; KDE is a notable holdout (3 at least, not sure about 4).
    Note that that first spec link, MIME actions, is currently "in the requirements-gathering / early-planning stages." That means there is no spec for that. As I said, a mess.
    Most likely, Opera and Thunderbird detected you were running KDE and special-cased their association-finder to ask KDE instead. Now that you aren't, they're falling back to their normal behavior: use the first .desktop file to claim the MIME type. As I recall, both applications offer ways to specify associations in their preferences; you might just want to stick to that for now. Or use a desktop environment.
    The kernel-level MIME support is designed to allow execution of strange files using interpreters. For example, you could directly execute Windows applications (as in "./notepad.exe") by setting the kernel to "interpret" application/exe files using wine. No applications use it for opening files.

  • QT stole all my file associations and won't give them back

    Once I installed the latest iTunes, Quicktime decided to steal all my file associations. Now anytime I click on an mp3 on a website, I get that annoying QuickTime plugin that takes up the entire page when I used to get a Windows Media Player plugin that either opened as a new instance, or in the left media column.
    I went into the MIME and File Types settings for Quicktime and removed everything, I also went into my Windows File Types and made sure mp3s were set to play with Windows Media Player. None of this helped.
    How can I get my file associations back?
    Thanks.

    Try altering the tag for the ringtone: right-click on a ringtone in iTunes and select Get Info, go to the Info tab and make a slight change to the Artist, tap OK and try syncing again.  If it transfers to your phone do the same for the others.

  • Auto File Associations and product activation

    Hello
    There are two things I want to address in an Office 2013 deployment.
    1. After the the installation completes, I am prompted with selecting file associations for Word. Is there a way to automate this?
    2. I am also prompted to activate the product. I have modified the config.xml in \\SCCMSVR\Sources\Applications\Microsoft\Office 2013\proplus.ww to include
    <Display Level="none" CompletionNotice="no" SuppressModal="yes" AcceptEula="yes" />
        <Setting Id="AUTO_ACTIVATE" Value="1" />
    I have also tried adding AUTO_ACTIVATE and the value of 1 in the Modify Setup Properties section of the msp we are using.
    Thanks for any help.

    I am hoping there is some way to address the file associations in the OCT file. 
    "File Associations" - do you mean the "Default File Types [Office Open XML formats vs.
    OpenDocument formats] topic discussed here?
    https://social.technet.microsoft.com/Forums/office/en-US/d7176465-fd99-43d4-b83e-d21f42b5999f/o365-firstrun-suppression-policy-settings-do-not-suppress-file-formats-chooser-when-installed-on-eu?forum=officesetupdeploy
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • Since the upgrade to lightroom CC I have lost my file associations and cannot restore it

    Can anyone advise how to restore my LR file associations. I had to uninstall lightroom 5 as it always opened instaed of the new version. Now I cannot associate JPG or NEF files with lightroom, it will not link to it despite selecting the executable.

    I don't have LR associated with any type of file extension. Not one file type extension has Lightroom associated with it and I have both LR 5 and 6 installed.
    All image type files are associated with Photoshop or the Windows image viewer (whatever MS calls it), not LR.
    Actually LR is not for Opening image file unless you have already imported them into the catalog. I guess if you wanted to you could associate those file types to LR so when they are double clicked the Import dialog window open so you can import them into LR. But AFAIK that isn't the norm. YMMV

  • HELP: Fail to surf a web contain MIME type file

    I am currently using Safari version 1.3.2
    I tried to surf a music website but the following message has shown.
    "The page has content of MIME type “application/x-oleobject”. Because you don’t have a plug-in installed for this MIME type, this content can’t be displayed."
    Does anyone know how to solve this problem?
    Many thanks!
    I BOOK G4   Mac OS X (10.3.9)  

    Hi Phe,
    The only solution is to use Microsoft Windows I'm afraid. OLE is a Windows only technology.
    Send feedback to the website about it only being accessible to Windows users.

  • Launch.rtc file association and Windows 7

    I have had 2 customers of mine now report not being able to get into my LiveMeeting sessions (via this link https://www.livemeeting.com/cc/topechelon/join?id=BBKE&role=attend ).
    I remotely connect to their machine, and see that that are using Windows 7.  When they click the link, it prompts them to Open or Save launch.rtc, and when you click Open it starts to open the file with something like Adobe Reader.
    So I go to the Default Programs for file assocations... there is an entry for .rtc-ms that has the LiveMeeting icon associated with it.  But right above it is .rtc and it show the "unknown" icon (as in it doesn't know what program to use for .rtc)
    Again, two customers at different locations... both using Windows 7 and both trying to get into the same meeting.
    Please help...

    Hello all, this seems to be an unanswered question that has stumped a lot of people.  Hopefully this will help solve the issue for others.  It worked for me.
    Browse to
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.rtc and delete the
    “.rtc” key
    Browse to
    HKEY_CLASSES_ROOT\.rtc and delete “.rtc” key
    Go to Control Panel and open
    Programs and Features
    Repair
    the
    Microsoft Office Live Meeting 2007 install
    Go to Control Panel and open
    Default Programs
    Select the second item “Associate a file type or protocol with a program”
    Scroll to
    “.rtc” and confirm that the Live Meeting Icon is present (orange color indicating that it is associated with the rtcrouter.dll file) and the
    Current Default is pointing to “Microsoft Office Live Meeting Router”
    Joe G

  • File Association and FW CS3

    I have tried to associate .jpg files and .gif files with FW
    CS3, and my Windows XP Pro will not do it. It only recognizes
    Fireworks 8 .... even though I use the browse button in the File
    Types window and browse to Adobe Fireworks CS3. I have tried this
    through the Control Panel and the Files Types tab, and by
    right-clicking on a .jpg and selecting Open With and then browsing
    to FW CS3.
    I also uninstalled and reinstalled FW CS3 hoping that would
    help. Still not working.
    I'd love to be able to right-click on a .jpg file and open it
    with FW CS3 like I have been able to do with all my versions of FW
    going back to FW3.
    Does anyone have any suggestions for me?

    By the way,
    If that method doesn't work,
    -Go to the Start Menu and select Run
    -Type C: (the letter of your hard drive)
    -From the Menu choose Tools > Folder Options
    -Now click the 3rd tab named File Types
    -Wait until the Flashlight animating Icon has finished. You
    should now
    see a whole list of icons. These are file types
    -Go to the file type you wish to change. You could scroll
    until you
    reached the right file type but this takes too long. So
    instead just
    type the three letters of your file type - the extension in
    order (do it
    quickly or you will just select a starting letter instead of
    a follow up
    letter. For example choose PNG;
    -In the subcategory it says Details for '***' extension'
    where '***'
    is the file type you chose. There are two buttons there.
    Click the
    Advanced button
    -A new dialog window opens named "Edit File Type". Select the
    "New"
    button
    -Another new dialog window opens named New Action. In the
    Action
    field type a name for the action you want to perform. For
    example Open
    in Fireworks CS4
    -Now click the Browse button and select the executable with
    which you want to open the file extension. (Fireworks
    CS4.exe)
    -Click OK in the New Action window
    -Click OK in the Edit File Type window
    -Click Close in the Folder Options window.
    Do the same for all other file extensions you want to change.
    Linda Rathgeber - Adobe Community Expert
    http://www.adobe.com/communities/experts/members/8.html

  • File Associations and 64 vs 32 bit

    Since installing CS4, I've noticed the majority of my 3rd party plugins don't work.
    I do like keeping the 64 bit version - for when I need maximum RAM useage on huge files, but:
    how can I set my files to open under the 32 bit version and not 64?
    Every time I right-click and choose the 32 bit one (under the programs (x86) folder) it always defaults back to the 64 bit version?
    any thoughts?

    Fix it in Windows Explorer Tools > Folder Options... > File Types > Advanced.
    If "Advanced" is not available click "Default".

  • Devspace of type file(F) and raw(R) together

    I have a database with data devspaces located in a filesystem (F).
    I want to migrate to devspaces of the type raw (R).
    My Question: Can I use both types of devspaces in one database together?
    Thanks for any help.
    Bernhard

    > For very modern filesystems (ZFS, VxFS > 4) this may be true but the FS check for e. g. ext3 and UFS still check the inode integrity compared to/in the superblocks, in practice checking an ext3 even with one big file can take hours. On Linux this will be done every 180 days after rebooting if not switched off before. This can increase a downtime unexpectedly if you don't know that you need to switch it off.
    I stand corrected on this - thanks for pointing out this. Really might become naughty on the half-yearly reboot.weekend,...
    > > Concerning the faster extension... we format RAW devices too  - so where do you expect to save time here?
    >
    > Just for curiosity: since when are RAW devices formatted? I can build a 4 TB database in about 10 minutes where 9,5 minutes are used to format the log area; using a filesystem this is a several-10-hour task with high load on the SAN, even if formatted sequentially. I never saw in the last 12+ years that RAW devices are really "fomatted" as the log area is
    >
    > Two weeks ago I added 400 GB to a database using a script, it didn't take a minute until the space was available so I don't know...
    Hmm... Ok, I just spend half an hour wading through what is called our Volume-Management code...
    Really looks like as if we just performa few wrtie I/Os into the RAW devs (something like, start - middle - end of the whole device area) and write the header page.
    You could have the same behaviour for Filesystem-Data-Vols by switching off formatting via the DB parameter.
    Why this is just done for Data-Volumes? Phew.. no idea actually.
    > > The reason why we changed the recommendation is simply that the benefits don't equal out the potential problems that can occur due to things like double allocation, handling mistakes etc.
    >
    > Sapinst (up to 7.0 SR3) still has "raw device" as default selected. One has to explicitly choose filesystem, I don't know, however, for later installations.
    >
    > I still think that RAW devices are a better choice for big installations, nobody can accidentially to an rm -rf I agree though that the handling is different and that one has to take special care.
    Well... ahem... the installation media barely represent current recommendations.
    No parameters, no recent patches, no nothing.
    Basically they represent a defined and working starting setup from where you can move on (<-- MY personal opinion! Not to be mistaken as official! ).
    Seen that way I totally agree with Oracles decision to kick out RAW device support and I wouldn't recommend to move to them either. (but also not to convert a working RAW dev-installation to filesystem  - the effect is simply not worth the conversion effort).
    Hey, Markus - thanks for pointing my misbelieves here!
    regards,
    Lars

  • File name and folder list

    My alphabetized list of folders and filenames on my hard drive has suddenly changed to a list ordered by most recently modified. [I keep my files on the hard drive rather than under users]. How do I change it back. Thanks

    Click on the Name header just above the list of items.
    (34450)

  • File extention and default application

    When i open a .doc file it's open the wrong application. How can i set the default application i want to open.
    thanks

    Click the file, click File>Get Info, then under "Open With", select the app you want .doc files to open with, and click "Change All".
    Good luck!
    P.S. Welcome to Discussions!
    Message was edited by: joshz

Maybe you are looking for

  • Business Process Modelling without CAF GP

    Hello, i don't use the SAP CAF GP for desinging my process, but i want to do it in the SAP Style used in GP (means with blocks and actions, ...) so that it looks like the processes from SAP (on paper). Are there any tutorials? The only one i found is

  • Copy multiple Roles at a time

    Is there some way to copy multiple Security Roles(PFCG) into new Roles? I do not want to copy several roles into 1 role(composite role) Rather, I want to make copies of several roles at one shot. Currently PFCG allows only copying 1 role into a new r

  • Hide/Show Dynamic Action Stopped Working

    Good Morning, Once I upgraded my application to Apex 4.2.2, my dynamic action stopped working. It worked fine in 4.1. I also used javascript to hide/show my fields. code below <script language="JavaScript" type="text/javascript"> function onPgLoad()

  • Time Capsule 6 hours uptime from new to crash

    this is my story, I bought a time capsule in Puerto Rico (in an apple store, Plaza de America Mall) five days ago (I was on holiday), when returning to Spain, today friday, i installed the TC and everything set up perfectly for 6 hours and then the T

  • Problemas en illustrator para importar excel

    Hola amigos tengo problemas para importar un archivo excel en illustrator, para poder hacer un gráfico.