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

learn more… | top users | synonyms

0
votes
0answers
21 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
20 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 ...
0
votes
1answer
31 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
47 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 - ...
0
votes
0answers
13 views

No mime icon for .cue in Icon View

OS: Ubuntu 14.04 Hi, I cannot see proper icon for .cue files in Icon View (File Manager) - it's mime-empty, however in List View it's OK. What I have done till now: I just created audio-x-cue.png ...
0
votes
0answers
21 views

xdg-mime is extremely slow!

During the installation of the software I am developing (http://www.lithographx.org), I use xdg-mime to install three new file types and their possible extensions. And to either add or remove them ...
2
votes
1answer
46 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 ...
0
votes
0answers
10 views

Why is Ubuntu not starting after I changed freedesktop.org.xml from Mime to run swf files?

So, I changed the file mentioned above and tried to update the Mime, but the update failed for some reason. And within a minute the shortcuts from left toolbar started disappearing, and all the ...
0
votes
0answers
85 views

I can't get ssh:// links to open in a simple index.html webpage

I want to have an ssh link open up on click. I am having students VNC to an Ubuntu VM for them to learn Linux on Cumulus Linux switches. I was reading this thread: How to change what xdg-open does ...
0
votes
1answer
101 views

Why does the pdf documents open with ImageMagick?

Query shows evince is my default handler. But, double clicking a pdf file opens ImageMagick. A pdf file Properties shows ImageMagick as the default handler. Why is this happening ? After ...
0
votes
0answers
19 views

Help me understand the mime-type differences

In Ubuntu my html test page with an audio or video attribute, functions normally. However, If I were to test the very same html document on lubuntu, that very same html document displayed in the very ...
1
vote
0answers
129 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
1
vote
1answer
478 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 ...
0
votes
0answers
30 views

Icon used for custom mime

I finally created a good file association for Qt using mimeopen -d /"pro file location" using this link However it doesn't show an icon when I open the pro file. How can I set this?
3
votes
0answers
107 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
164 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
105 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 ...
0
votes
1answer
44 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
136 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 ...
0
votes
0answers
173 views

PCmanFM will not recognise kingsoft office mime types

I have kingsoft office installed in Lubuntu 14.04 and am using PCmanFM. When I am browsing files in the file manager all of the Kingsoft office files will show up as chequered grey and white icons. ...
0
votes
0answers
73 views

No thumbnails for fresh installed xmind and projectlibre application

I've just installed Xmind and Projectlibre in Ubuntu 14.04 64bits. When I click on a .xmind file, it opens Xmind. When I click on a .pod file, it opens ProjecLibre and that's ok. But they both have ...
1
vote
0answers
137 views

Confusion for mime files: magic, magic.mgc, magic.mime

I'm using Ubuntu. I'm trying to use ruby gem 'shared-mime-info' for an application I'm writing. I understand that magic.mgc is a compiled version of magic file which has magic number definitions for ...
1
vote
1answer
795 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 ...
4
votes
1answer
250 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
3answers
638 views

How Do I Create Mime Types For New Documents (Command Line)?

How do I give my application's custom document a custom icon? Additionally, how do I make the file manager open these documents when a user double clicks on them? I have to do this on the command ...
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 ...
0
votes
1answer
463 views

Firefox: change default application

Me default djvu viewer is okular: xdg-mime: $ xdg-mime query default image/vnd.djvu okular.desktop in $HOME/.local/share/applications/mimeapps.list: [Added Associations] ...
0
votes
1answer
343 views

'file --mime-type' vs 'mimetype' for php files

I'm trying to understand the difference between file --mime-type and mimetype. They are giving me different results on Ubuntu 12.04.4 LTS for this simple php file. <?php echo 'Hello world!'; ...
1
vote
1answer
310 views

xoj (Xournal) files handled as gzip despite presence of correct MIME type

So I had to uninstall the ppa version of Xournal and build from source (with a modification). And now .xoj files open automatically with KDE's archive manager Ark, and are identified as being of type ...
1
vote
1answer
220 views

How to add a mimetype icon in the home directory?

About the mimetype I have created a mimetype and I want to add an icon for it. The mimetype is for To-do lists, it matches the TODO pattern and is of type text/todo. I can confirm that upon ...
0
votes
1answer
167 views

Remove option from “open with…” menu item?

I'm using 13.10. I want to remove LibreOffice Writer from my "open with..." menu for html, xml and tex documents, because I almost never use writer (except when someone sends my a word document) and I ...
1
vote
2answers
262 views

How to get Icon-Names for MIME-types in a bash script?

is there a way to convert the output of file --mime-type FILE e.g. "application/pdf" into an icon-name, depending on the current icon-theme, or even a full link? Where is that specified? I ...
2
votes
0answers
278 views

What is the replacement for AssoGiate?

During the update to Saucy, the AssoGiate module is removed as it has been declared obsolete. I can find no replacement for the editor of the MIME file types database which is compatible with UBUNTU ...
3
votes
1answer
1k views

Problem associating file type to application

I'm trying to make gpxviewer the default application to open .gpx files. The problem is that it doesn't appear in the "Open with" window neither I can add it. What I have tried: Using Ubuntu Tweak ...
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 ...
1
vote
1answer
252 views

file command reports text/plain for .css file

I'm trying to get xdg-open to open css files with correct editor, but can't get file to report correct mimetype for a file.css file. There is an entry both in /etc/mime.types and a file already exist ...
8
votes
1answer
349 views

How to make my application accept folders from Unity Launcher?

When dragging a file, all the entries on the launcher that are able to open that file stay lightened while the others fade. As far as I know, this is based on the Mime Types specified on the .desktop ...
1
vote
1answer
363 views

docx format opened simultaneously with LO writer and Kingsoft writer

im using ubuntu raring 64 bit now, i just downloaded kingsoft office for i686 arhcitecture, unfortunantely it seemed that i downloaded it wrongly (i downloaded the 32 bit rpm version!) and forced to ...
5
votes
2answers
443 views

How to set icon for tex files?

In Ubuntu 12.04 with all mate, cinamon, gnome, unity desktops, the following issue: I use Latex frequently. My files end with extension .tex. The mime.types associated with tex is text/x-tex. The ...
15
votes
2answers
5k 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 ...
0
votes
1answer
501 views

Icons for custom mime-type does not show up with Ubuntu-mono-dark theme

I manually installed LuxRender 1.2.1 under /usr/local/bin/ and it works fine and dandy. I then created 5 new mime-types for LuxRender *.lxs, *.lxo, *.lxm, *.lxv and *.flm file formats (scene, objects, ...
6
votes
2answers
1k 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. ...
0
votes
1answer
486 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 ...
2
votes
1answer
550 views

What is the purpose of /usr/share/icons/gnome/scalable/mimetypes/?

Adding an Icon section in AddingMimeTypes has this: Now we need to associate an icon with the MIME type. Get an SVG icon and name it "text/extension .svg", or whatever your modified MIME type ...
5
votes
4answers
924 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 ...
0
votes
1answer
584 views

Video runs locally but not on apache 2 server

I have a simple html page in which i am running video using html5 tags, when i run that page using firefox it runs the page and video properly. But when i run this page by setting the apache server ...
5
votes
3answers
27k views

How to add MIME Type for the Apache webserver?

In ubuntu, i am running simple html page that can run mp4 video, i have configured Apache Server and have run simple test page for hello world, its working fine. In Apache Webserver i have read that ...
10
votes
2answers
1k views

Double-clicking on .md or .mkd or .markdown files doesn't open them in ReText but in the default text editor

I installed ReText 3.1.3* and all suggested dependencies on Lubuntu 12.10 using apt-get. If I run touch ~/Desktop/abcd.md, and subsequently double-click on abcd.md in PCManFM or on its icon on the ...
1
vote
1answer
622 views

Ubuntu 12.04 - Thunderbird 17.0.2 - Set MIME enconding quoted printable

Ubuntu 12.04 - Thunderbird 17.0.2 How can I set the MIME enconding = "quoted printable" for messages containing 8-bit characters?
1
vote
2answers
1k views

Associate .mm files with Freeplane

I use Freeplane mind-mapping software. It creates .mm files which Nautilus reports as Troff MM input document. I want to be able to open a file with Freeplane by double-clicking it in Nautilus. I ...