MIME type is a standard way that computers use to refer to the file-type/format

learn more… | top users | synonyms

11
votes
6answers
5k views

Where is “open with…” in Nautilus?

In Ubuntu 11.04 I usually edit my *.fig files by clicking on the icons. The application (script) which opened the file was texfig. This script was chosen by "open with..." in nautilus. But now there ...
31
votes
4answers
25k views

Where are file associations stored?

How does Ubuntu or any other Linux systems store file associations? Is there some /etc/asscociations file or something? I know that I can right click on file and change it via "open with", but I'm ...
14
votes
3answers
9k views

How do I change the icon for a particular file type?

I'm trying to change the icon for application/x-hwp files. I've added the icons to the proper places, and checked it with assoGiate (after reading this thread). It shows that my desired icon is ...
2
votes
2answers
1k views

How can I remove / change the “Open With” list?

I have one problem. Just look at image: So I want to remove one of Dev-C++ IDE and Microsoft Visual Studio Version Selector (I've tried to install Microsoft Visual Studio and it doesn't works,and ...
15
votes
2answers
2k views

How to prevent Wine from adding file associations?

Wine automatically adds certain mimetypes and file associations (e.g. notepad.exe for .ini files). There already is an answer that explains how to remove these associations. But how can one prevent ...
8
votes
3answers
3k views

What is the relationship between MIME types and File .extensions?

I may have the wrong idea here, but I thought that: MIME types are identifying codes, embedded inside a file. File .extensions are idenifying codes, suffixed to the file's name. I thought, from ...
4
votes
1answer
3k views

File association to unlisted application

While browsing files in nautilus, I want to open a tex file with kile. But, when I get to a dialog similar to the screenshot below, I do not see kile. Yet, I see it in the "Open With" menu. How do I ...
8
votes
2answers
980 views

How to change handler of APT: URLs?

In Firefox on a fresh install of 10.10 when visiting apt.ubuntu.com/p/banshee (for example) I get prompted with the following window: However, I was under the impression that apturl was supposed to ...
4
votes
1answer
646 views

How to add a MIME type with a project created in Quickly?

I've built an application I want to release however I would like the files to open with the application. I have modified the .desktop file accordingly, however quickly seems to have no option for ...
20
votes
2answers
6k views

Remove Wine's Notepad from “Open With” options

A few facts: I use Wine. Wine ships its own version of Notepad. For some files, this copy of Notepad has somehow become associated. There is no possibility of me ever actually wanting to open anything ...
18
votes
5answers
11k views

How to play a webm video file?

I have tried vlc, Banshee and Totem but none of them recognize the webm format. Even the system does not recognize its mime-type. How do I play it ?
3
votes
3answers
899 views

Web browser downloads only open target folders - cannot open files

After installing xubuntu packages in order to check xfce, I reverted back to gnome2. During the first login, I noticed that thunar was now selected as the default file manager. Preferred applications ...
0
votes
2answers
3k views

How do I determine the Mime type of a file?

I recently switched to gnome3 and was surprised to find that there was no way by which we could set the default applications. I am writing a nautilus extension using bash. I want to find the mime ...
11
votes
3answers
5k views

Why does update-mime-database complain about uri/rtspt and other unusual types?

When running update-mime-database - usually automatically launched by apt-get - why do I reliably get complaints like: Unknown media type in type 'all/all' Unknown media type in type 'all/allfiles' ...
8
votes
4answers
8k views

Firefox application associations not working

No matter what changes i make to file associations (actions) in the 'Applications' tab in Firefox, they're totally ignored. For example, i set .wmv and .avi files to open with 'smplayer' but when i ...
7
votes
1answer
2k views

How are file-extensions/mime-types/icons/default applications asssociated?

Is there a way / application to add a file extension / mime-type to the system. What I want to achieve is: Have a default program for opening files of this type Have a special icon for this filetype ...
8
votes
1answer
10k views

How to get the mime type of a file from the command line?

I'm trying to get the mime type of a file from the command line as a printed string (eg. application/vnd.oasis.opendocument.spreadsheet). I looked up how to do this and found the xdg-mime command. ...
5
votes
4answers
647 views

'file --mime-type' and 'mimetype' Commands Returning Different Results

Hi I am trying to work out why PHP is returning an 'msword' file type when it should be 'excel' so have tested on my Ubuntu box using both the 'file' and 'mimetype' commands. As you can see from the ...
4
votes
1answer
88 views

Mimetype mess after calibre installation. How can I fix it?

I always get text/plain or application/octet-stream when running "mimetype" on all file types. The command "file --mime-type" seems to identify correctly the different file types. For instance, if I ...
4
votes
2answers
6k views

Kubuntu 12.04 Firefox and Rekong don't know how to open downloaded files

I just installed Kubuntu 12.04 beta 1. Both Rekong and Firefox don't know how to "Open Containing Folder" for downloaded items. They also don't know how open the item itself. (I'll give the specific ...
1
vote
1answer
3k views

Where is the file used by file(1) and libmagic to determine mime types?

According to man 5 magic: "The file /usr/share/misc/magic specifies what patterns are to be tested for, what message or MIME type to print if a particular pattern is found, and additional information ...
0
votes
2answers
710 views

Can I disable Chromium's in-browser mp3 player?

When I click on a link in Chromium to an mp3, can I make the default behavior be to download it and not to start playing it with some in-browser thing? I've disabled all of my plugins, so it's not ...