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

learn more… | top users | synonyms

1
vote
0answers
31 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
10 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 ...
3
votes
2answers
465 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?
0
votes
0answers
15 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
34 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 ...
39
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 ...
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
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
68 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 ...
2
votes
2answers
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 ...
0
votes
1answer
78 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
17 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
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
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 ...
0
votes
1answer
391 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
164 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
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?
0
votes
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
101 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
134 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
102 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
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 ...
0
votes
1answer
43 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
125 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
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 ...
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 ...
12
votes
3answers
5k 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 ...
1
vote
1answer
747 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 ...
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
0answers
125 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 ...
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 ?
1
vote
1answer
202 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 ...
4
votes
3answers
3k views

How to associate all file types within Wine with its corresponding native application?

This is easily done for a single file type, as answered in How to associate a file type within Wine with a native application?, by creating a .reg for the desired filetype. But this is for AVI only. I ...
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. ...
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
3answers
605 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 ...
1
vote
2answers
254 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 ...
5
votes
2answers
423 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 ...
5
votes
3answers
26k 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 ...
0
votes
1answer
449 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] ...
3
votes
2answers
388 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" ...
0
votes
1answer
331 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
298 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 ...
4
votes
1answer
475 views

How to Enable dragging files on custom application on launcher?

In unity, we can drag files on application's button in the launcher to open that file with that application - however, looks like its hard to change default application. I use Komodo as editor, and ...
0
votes
1answer
559 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 ...
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 ...
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 ...
0
votes
1answer
163 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 ...
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 ...
2
votes
0answers
264 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 ...