Questions tagged [file-association]

File extensions such as .Jpg .and .ogg, and issues with association.

File extensions provide an easy way to identify a file type. Sometimes a file may have a wrong extension, for the content, such as an executable file with a .jpg extension.
File extensions can be associated with particular applications, so that, for example, .avi files open with VLC instead of Totem.

122 questions
82
votes
11 answers

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 just curious to know how it's stored internally.
Stann
  • 15,416
63
votes
4 answers

Change all associations from gedit to another application

I started using Sublime Text 2 a week or so ago and I loved it so much I've spent $60 on it and now want to use it for everything. Gedit currently has ownership of most of the text file associations. I'd essentially like to replace any association…
Oli
  • 299,380
61
votes
6 answers

how can I change file association globally?

gedit is set by default to open about any source file. I've gone through the file properties and changed default application to VIM for C and C++ files. I'd need to do this for any source file I open now, for python files, for text files, for ruby,…
oblitum
  • 1,727
38
votes
2 answers

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 in Notepad. I figure I could try and find out…
Oli
  • 299,380
28
votes
4 answers

How to add a custom program to "Open With" list of programs in Xubuntu 13.04? How to associate a file with a program to open it with?

How to associate file types with Sublime Text 2? have downloaded Sublime Text 2. I've unpacked it in /opt/Sublime Text 2/ directory. Now I want to open all .conf files with ST2. But I can't set this easily. Xubuntu doesn't offer ST2 in the list of…
Green
  • 1,070
22
votes
3 answers

What is the relationship between MIME types and File .extensions?

I may have the wrong idea here, but I thought that: MIME types are identifying codes, embedded inside a file. File .extensions are idenifying codes, suffixed to the file's name. I thought, from something I heard in the dim dark ages, that Linux…
Peter.O
  • 25,251
18
votes
1 answer

How do I set the default file association in Ubuntu Nautilus to something that is not listed in the Open With tab?

There used to be an option for adding unlisted commands, but it seems to be gone in Unity. Does anyone know how to do that now?
mystery
  • 282
15
votes
2 answers

Which default.list should I modify for default applications and what are the differences between the two?

I would like to add miro to the default application GUI in system settings/default applications. I added ;miro.desktopnext to all rhythmbox.desktop entries eventually discovering if it was not added to audio/x-vorbis+ogg=rhythmbox.desktop as…
damien
  • 2,116
14
votes
1 answer

Prevent application from changing file associations

I recently installed Skype on Kubuntu 20.04 via snap and I discovered that it added itself at the end of the list of applications associated with every single file type on the system! Of course, this means that for the many file types recognised by…
Ratler
  • 578
13
votes
3 answers

How to associate file extension (not file type) for a particular application?

I use taskcoach to create a list of my tasks. The data I entered was saved, say, in tasks.tsk on my Desktop. Internally, this is an XML file of specific structure. Now whenever I open it, it opens in my text editor, like any other XML. I've tried…
13
votes
7 answers

Firefox application associations not working in the 'Downloads' window

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 download a file and double-click on it (through the…
Pavlos G.
  • 8,954
11
votes
3 answers

VLC is set to open the folders (Home, desktop, documents etc) in the Places menu. How to reset this?

So I downloaded something with Kget and somehow set all the folders in the Places menu to open in VLC rather than in the default file manager. How do I clear this?
10
votes
3 answers

Globally associate file type with certain application

I don't need "Ubuntu-tweak" and i know about GUI method of associating certain files with certain applications using right click and "Open with". I am having problem setting filetype association globally in a…
9
votes
3 answers

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 use some wine apps (uTorrent, Soulseek, Eudora,…
MestreLion
  • 20,726
8
votes
1 answer

How to register a shell script as the main application for a given file extension

I have a shell script "the_script" that I would like to register as the default application for the files with the extension ".ext". For this purpose, I have written an xml file to register the mime type, and a .desktop file to associate the…
julien
  • 201
  • 2
  • 6
1
2 3
8 9