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

learn more… | top users | synonyms

12
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 ...
2
votes
3answers
2k 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 ...
38
votes
6answers
32k 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 ...
16
votes
3answers
12k 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 ...
15
votes
2answers
4k 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 ...
9
votes
3answers
4k 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
1k 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
727 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
8k 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 ...
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 ...
19
votes
5answers
14k 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 ?
8
votes
3answers
3k views

Why can't I make a file association in Nautilus?

After upgrading to 11.10, the association I had created to open SGF files with an application called quarry is lost. If I select Right-button->Properties->Open With... on an SGF file, quarry is not ...
3
votes
3answers
963 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 ...
12
votes
3answers
7k 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' ...
15
votes
1answer
14k 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. ...
8
votes
5answers
9k 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 ...
6
votes
1answer
3k views

How to change file association for files opened in Dolphin from command line in GNOME?

I would like to change several default applications for files opened in Dolphin. I know I could do it manually with kcmshell4 filetypes, keditfiletype or however else but is there a way how to change ...
3
votes
1answer
2k views

adding mimetypes in Ubuntu 14.04

Ok, so here's what I want to do: I have a file with a specific extension (*.ipynb) that I want to connect with a specific program. Ubuntu however thinks it is a text/plain file. There are a lot of ...
5
votes
4answers
12k views

How do I change the MIME type for a file?

I have a file that is formatted as a .doc, but Nautilus and LibreOffice insists that it is a .txt. Both precise and Ubuntu 12.10 are that way, but Google Docs can convert it (after playing with it). ...
5
votes
4answers
888 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
240 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
7k 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 ...
3
votes
2answers
1k views

How is it determined which application is to open a file of specific mime-type?

I saw the following question, but I can't comment yet. So I decided to create a separate one. I have both transmission and deluge installed. And I have no association for application/x-bittorrent ...
2
votes
1answer
4k 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 ...
1
vote
0answers
118 views

How to assign (set) a MIME type to a file?

Is there any command that could set MIME type of a file? for example: mime --set --MIME="image/pjpeg" filename.jpg
0
votes
2answers
998 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 ...