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

learn more… | top users | synonyms

20
votes
5answers
1k views

Do file-extensions have any purpose (for the operating system)?

Linux determines the type of a file via a code in the file-header. It doesn't depend on file-extensions for to know with software is to use for opening the file. That's what I remember from my ...
4
votes
2answers
159 views

xdg-open stopped working since 16.04 upgrade

xdg-mime query default inode/directory correctly gives me: nemo.desktop like I expect, and want it to. But xdg-open $HOME Gives an error: xdg-mime: mimetype argument missing Try 'xdg-mime --...
1
vote
0answers
30 views

Recognize file type by content

In Ubuntu 12.10 there was a nice app called Assogiate. It has ability to add new mimetype, add recognition by content of file and new icon, all done by mouse clicking. Now assogiate disappears from ...
8
votes
1answer
2k views

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

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 ...
0
votes
0answers
19 views

Can’t add Mediainfo to Open With list (using Nemo or mimeopen)

[While researching this problem I have found a work-around, but I’m still curious to see if anyone can explain why this is happening.] In the past I’m certain I’d added mediainfo-gui to the Open With ...
0
votes
0answers
15 views

What Mime-Type for 'Open with ClamTK'

I share files with Windows and so even though I have switched to Linux (Lubuntu) as my primary OS, I would still like to run an anti-virus program. To that end, I downloaded ClamTK. The next step ...
1
vote
1answer
47 views

Handling file open (mime type) with Python [closed]

I created a file mymime.xml <?xml version='1.0' encoding='utf-8'?> <mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> <mime-type type="text/myapp"> ...
2
votes
2answers
75 views

How can I view binary .log files with application/octet-stream mime type?

I have downloaded some log files from my server which I want to search for a specific string for debugging purposes. All of them have the .log extension. The problem is that one file has the plain ...
0
votes
0answers
75 views

Adding a mime type in 16.04

I want to treat .py file in a special way (opening with atom instead of mousepad), but they appear as regular Text. I followed this guide. I had the line text/x-python py, so I ...
23
votes
4answers
16k 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 ...
1
vote
2answers
119 views

Error with subprocess

during installation of enlightenment, I asked to run following command: sudo apt-get install -f Which results to sub-process error which is not understandable for me. Reading package lists... ...
0
votes
0answers
50 views

How to set the default application for all text MIME types text/XXX in mimeapps.list for xdg-open?

I want all MIME types of the form: text/XXX to be opened with gvim when I do: xdg-open myfile.ext Currently, the best I could find was to add one line for each text file to my ~/.config/mimeapps....
0
votes
0answers
20 views

getting rid / override a mime type (or finding from where it came…)

I have installed xfig in my (several) Ubuntu Gnome machines. In all machines it works ok and it is integrated perfectly with the desktop; I mean I can double click on an xfig file (pattern *.fig) and ...
2
votes
5answers
464 views

associating files with same MIME but different file extensions to differentt applications

How can I associate files with same MIME but different extensions to different applications. For example both .maff & .zip files have application/zip MIME ; But I need to open .maff by Firefox and ...
1
vote
2answers
1k views

14.04 MIME type “png”

Error message clicking on nnn.png images (and no image display): No default application found for the MIME type image/x-apple-ios-png. Open the "File types and programs" page in the Control Center to ...
0
votes
1answer
33 views

dolphin create service menu for all files

I want to create my own service menu entry in dolphin, that will appear for all file/directory types. Which mime type would be necessary for that? Also: where do I find the available mime-types, that ...
0
votes
0answers
36 views

How to get .ris files to open with a different program than text/plain files?

I have some files with a .ris extension. I would like these to be opened in a program called JabRef. When I right click on them and look at properties it says "plain text document (text/plain)". I ...
0
votes
0answers
28 views

MIME Type now showing up all files

I downloaded some icons from a the Ubuntu theme website. I set them up but the MIME Types are not showing up. If i click on the file properties, i can see the MIME Type in the description. However, ...
3
votes
1answer
72 views

File Manager Type Classification - Document (pdf/docx)

I have a folder with pdf, doc and docx files, I would like to sort them using the default File manager, displaying pdfs and word docs separately. Unfortunately in the 'Type' column, they are all ...
3
votes
3answers
772 views

Why do PDF documents open with ImageMagick?

Query shows evince is my default handler. But, double clicking a pdf file opens ImageMagick. A pdf file's Properties shows ImageMagick as the default handler. Why is this happening ? After ...
1
vote
2answers
563 views

How to make all filetypes open in a certain program?

I want every filetype to open in Leafpad. I tried to edit /usr/share/applications/defaults.list to associate file types. But I want all filetypes to open in a certain program, with maybe something ...
0
votes
0answers
42 views

How to assign mc file types to open different files with Software programs in v3

After searching a bit I came across words like exo-open, kde-open, gnome-open, xdg-open, but can someone tell how files are assigned to be opened by programs, should I edit midnight commander 3.0 ...
0
votes
0answers
61 views

Dot files not opening in default MIME applicaton

Can someone explain why a dot file is not opening in xdot from this sequence of commands? $ gvfs-info test.dot | grep ::content-type standard::content-type: text/vnd.graphviz # OK, so the MIME type ...
-2
votes
1answer
181 views

Chrome Magnet Links (Xdg-open fail) - Popcorn time theft

I have tried and tried and tried (i've never actually asked a Q Before, always figured it out) But this is completly messed up so i urge you who have knowledge to help me. On Chrome, Magnet links ...
0
votes
1answer
271 views

Change or reset default download application in Firefox

Every time I download a file in Firefox with an unknown extension, Firefox offers to open it with Password Gorilla (default). Firefox does show the proper application for known file types, e.g. pdf. ...
6
votes
2answers
2k views

Broken file type associations after running update-mime-database

After running sudo update-mime-database /usr/share/mime my gnome doesn't recognize any file types anymore. In Nautilus all files are now text/plain type and all now open with gedit by default. Gnome-...
1
vote
0answers
26 views

Every file opens the “Open With…” dialogue after updating mime types!

Not only that, but the open with dialogue is empty! This is my first question here, so if I made a mistake, please tell me! Some info: Kubuntu 15.04 (KDE/Openbox)
2
votes
0answers
30 views

Open html file with gedit from Unity Dash (Files lens)

I search a html file wit super-f. The file was found and Ubuntu displays these choices: open folder open file email file The above items where translated from german back to english. If I chosse ...
2
votes
1answer
135 views

Can't change PDF default

Up until yesterday my default PDF viewer was evince. Today, I tried to open a PDF and it opened with ImageMagick. I am trying to change it back to evince but with no success. What I 've tried: ...
0
votes
0answers
25 views

Change default applications? [duplicate]

I want to change my default applications in an easy way. Is there any kind of GUI method of changing the applications that open certain MIME types? I know how to change the x11 alternatives, can I add ...
0
votes
1answer
171 views

Update mime type from ~/.mime.types?

The file /etc/mime.types tells that you can have a file named ~/.mime.types in your user directory and Ubuntu will grab all your defined types from there. However, I couldn't do that. I've read that ...
1
vote
2answers
5k views

How do I determine the MIME type of a file?

I recently switched to GNOME 3 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 ...
0
votes
1answer
280 views

Ubuntu 14.04 how to change icon for .docx file type?

I tried many approaches: creating xml in ~/.local/share/mime/packages and using assogiate app, nothing works for me, most guides are outdated and not working for the latest ubuntu build. the request ...
1
vote
0answers
120 views

Running an installation routine of a third party programm on Ubuntu 14.04

Please help me with the following problem: I try to install a third party program install.bin that is from mime type application/octet-stream. Typing sudo ./install.bin; echo $? in the terminal - ...
4
votes
2answers
725 views

Prolog files recognized as Perl

Prolog .pl files are shown as Perl files, both in files browser and in Geany/Gedit syntax-highlighting. Is there a way to let it recognized Prolog files as non Perl files?
2
votes
1answer
224 views

Files starting with a comment have the wrong mime type

In Ubuntu 14.04 I have a directory with a set of LESS files, all with the .less extension. All but three of the files show a mime type of plain text document (text/plain) under Properties > Basic. The ...
45
votes
6answers
42k 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 ...
5
votes
1answer
4k 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 ...
2
votes
1answer
2k views

Cannot change icon for a filetype

I am trying to change the icon for .py file. I referred: http://askubuntu.com/a/78645/78407 http://askubuntu.com/a/56725/78407 and https://help.ubuntu.com/community/AddingMimeTypes Still no ...
1
vote
0answers
343 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
4
votes
3answers
3k 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 ...
1
vote
1answer
1k views

How to open folders with `nemo` by clicking on folder icons on the desktop handled by nautilus or directly within nautilus?

My aim is to replace nautilus with nemo from universe in ubuntu devel (currently vivid) using unity. I am close to this goal, after reading about DefaultFileManager from ubuntu help and this or this ...
1
vote
2answers
1k 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 ...
3
votes
0answers
186 views

Invalid MIME types

So each time I try to install a new package, I get an error saying: Error in file "/usr/share/applications/AESCrypt.desktop": "all/allfiles" is an invalid MIME type ("all" is an unregistered media ...
2
votes
0answers
701 views

How can I open gliffy diagrams by double clicking?

I installed a program "Gliffy" as a Google Chrome app. It saves it's diagrams as *.gliffy files. I'm wondering if I could set things up so that I can double click on this *.gliffy file and it opens ...
2
votes
2answers
130 views

chmod only certain mime-types

I'm using file --mime-type * to find the mime-types of all files in a selected directory. Many of these files should not be executable and are .conf or their type is text/plain. Is there a ...
8
votes
5answers
10k 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 ...
0
votes
1answer
47 views

Making sense of MIME mappings

I'm having a little trouble understanding exactly how MIME works on the desktop. The specific issue I'm having is that certain file types (C++ source, PHP source, and a couple others) open with Geany ...
0
votes
1answer
197 views

Mime type missing description?

I am trying to create file associations so I can double click a file and it will open with my program - and will associate an icon with that file type. I created the file myapp-xxx.xml: <?xml ...
15
votes
3answers
6k views

Firefox's “Open folder” opens Gwenview

Upgrading to 12.04 caused some problems to my Firefox. It seems like that Firefox doesn't know how to handle downloads. After some researches, I've found this solution : Kubuntu 12.04 Firefox and ...