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

learn more… | top users | synonyms

2
votes
0answers
18 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
51 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
25 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
46 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
40 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
47 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
69 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
331 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
122 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
353 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 ...
2
votes
1answer
554 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
0answers
377 views

Set nginx configuration file to different location

I'm trying to keep all my server code/configuration files in one place. I tried nginx -c /var/www/nginx.conf but received the following error: nginx: [emerg] open() "/var/www/mime.types" failed (2: ...
0
votes
1answer
204 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
244 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
187 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 ...
0
votes
0answers
111 views

How to fix inode/mount-point mime type in xdg?

I want to associate Thunar with folders after uninstalling other file managers and upgrading to 13.10. However current state confuses me and I am not sure what shoud I fix first (if anything). $ ...
0
votes
0answers
114 views

edit mime type so that torrents are opened with Vuze 5.2.0.0

I installed Vuze from the website. How can I set it to the default application to open torrent files? I see it's possible to edit the mime app list: http://askubuntu.com/a/393410/45156 But it's ...
1
vote
1answer
107 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
123 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
200 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
214 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
930 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 ...
2
votes
2answers
722 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
190 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
304 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
275 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 ...
4
votes
2answers
275 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
3k 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
408 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, ...
5
votes
2answers
784 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
430 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
426 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
699 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
416 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 ...
4
votes
3answers
18k 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
835 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
417 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
940 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 ...
0
votes
3answers
288 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 ...
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 ...
5
votes
4answers
8k 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). ...
2
votes
1answer
1k 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 ...
4
votes
1answer
4k views

How does Chromium pick a MIME-type handler?

Chromium doesn't seem to have any obvious MIME-type configuration settings, which strikes me as a little broken. My specific problem is that there are a number of filetypes that Chromium plays ...
5
votes
1answer
712 views

Add right click menus to nautilus without nautilus-actions

I want to know how I can add action when the user right-clicks on specific MIME-types or folders without the use of nautilus-actions. I would be happy if this was possible using Nautilus Scripts as ...
3
votes
2answers
320 views

How to create new file without any default file type?

I am creating a new file either by using in terminal: touch newfilename.someext or in nautilus: File > Create New Document > Empty Document The file takes on the type "plain text document" ...
4
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 ...
4
votes
2answers
458 views

Script to find executable based on extension of a file?

I need to create a script that returns the default app to be used for a given file extension (including the path). I had a look at the file command which can return the mime type and xdg-open which ...
3
votes
1answer
353 views

Can't Drag & Drop text to unity launcher (e.g. url's, highlighted text)

I'm trying to create a unity launcher icon (.dekstop file) on which you can drop any (selected/highlighted) text from a web browser, google chrome in my case. I know you can use the "MimeType=" key ...
0
votes
2answers
787 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 ...
1
vote
1answer
100 views

Why does Kmail make JPG files larger when I forward them?

When I forward emails with JPEG attachments inline, the JPEG files size enlarge. Is this normal? Can I turn it off?