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

learn more… | top users | synonyms

8
votes
1answer
417 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
415 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 ...
6
votes
2answers
670 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 ...
22
votes
2answers
7k 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
575 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
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
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 ...
2
votes
1answer
668 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 ...
7
votes
4answers
1k 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
803 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
38k 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
829 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 ...
2
votes
5answers
468 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 ...
31
votes
2answers
10k 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
18k 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
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 ...
4
votes
1answer
5k 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 in-...
5
votes
1answer
870 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
565 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" ...
6
votes
1answer
4k 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
534 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
434 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 ...
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 ...
1
vote
1answer
123 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?
3
votes
0answers
645 views

How to edit mime types on precise [closed]

In precise, when I try to change default icon for a specific file type with Assogiate, there is no effects; not even if I try this operation under root rights. Are there some workarounds known for ...
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 ...
3
votes
0answers
341 views

Setting the icon for my mime type [closed]

I've added my mime type to ubuntu by the .deb package. I made this file for sharedmimeinfo: http://paste.ubuntu.com/920693/ (I know the first row is wrong) I can't see the icon for my extension how ...
4
votes
1answer
544 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
384 views

Adding mime type

Hello i'm creating an ide called SLY. Sly creates .slyproj files i want that when user click on it they see the file icon, and sly must open up! i asked on the IRC i made sly.sharedmimeinfo : http://...
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 ...
4
votes
2answers
726 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?
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 ...
1
vote
1answer
234 views

How do I set a custom thumbnailer for audio/x-vorbis+org?

Google shows this error referenced on some Thunderbird bug, but it's not clear to me how they resolve it. Here is my issue: I have vorbis file: xdg-mime query filetype "my-file1.ogg" → output: x-...
4
votes
1answer
6k 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
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 ...
5
votes
3answers
1k views

Changing default applications doesn't work in system settings or on file types

Despite several attempts at a solution, I still can't change the default applications in Ubuntu 11.10. If I change them in system settings they revert back as soon as I close the dialogue. Next time I ...
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 ...
13
votes
6answers
6k 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 ...
7
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
1answer
1k views

How to change mimetype image for PSD file (Photoshop)?

Following this link https://help.ubuntu.com/community/AddingMimeTypes, I first typed a command to discover the mimetype for psd extension ~$ grep 'psd' /etc/mime.types image/x-photoshop psd ...
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 ...
5
votes
3answers
4k 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 ...
3
votes
3answers
1k 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 ...
4
votes
1answer
777 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
5answers
19k 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 ?
2
votes
1answer
296 views

gnome-open confused: Could not display “/home/msw/anything”

My trusted friend gnome-open (which I call go for short) has ceased working. It interprets any argument given to it as a directory and will not recognize anything else. I have traced out the somewhat ...
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 ...
13
votes
3answers
9k 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' ...