Ceci est une ancienne révision du document !
Titre : File Associations (Open with) Double clicking a file will, usually, open it in the appropriate application. So, double clicking a Word document will load up the Word application which will, in turn, open the chosen Word document. This is called ‘file association’. If a file does not have an application associated with it, then you will be asked which application should be associated with this file type and if it should be made permanent. Alternatively, you can right-click a file and choose which application it should open in. This is especially true if one file can be opened in a variety of applications. For example, an MP3 file. You may want to open it, this time, in an audio editing application instead of playing it like you normally would.
Types de fichier (S'ouvre avec)
Habituellement, un double clic sur un fichier l'ouvrira dans l'application appropriée. Ainsi, un double clic sur un document Word chargera l'application Word qui, à son tour, ouvrira le document Word choisi. Ceci s'appelle « Types de fichier (S'ouvre avec) ». S'il n'y a pas d'application associée à un fichier, on vous demandera quel programme devra être associé à ce type de fichier et si vous voulez que l'association application-type de fichier devienne permanent (ou par défaut). Par ailleurs, vous avez la possibilité de faire un clic droit sur un fichier et de choisir le programme avec lequel vous voulez l'ouvrir. Ceci est particulièrement vrai si un fichier peut être ouvert avec plusieurs applications ; par exemple, un fichier MP3. Cette fois-ci, vous pourriez vouloir l'ouvrir avec une application d'édition de données audio au lieu de l'écouter comme vous le feriez normalement.
Kubuntu As with Windows, when you double click a file, and Kubuntu has no idea what type of file it is, you’ll be presented with a window asking you which application you want to try and load the file with. You can also right click a file and choose ‘Open With…’ from the menu. Often an application will install and associate itself with a file type. This will show when you right-click a file and choose ‘Open With’ and you see several options. Sometimes human error occurs and you associate a file type with the wrong application. This can be corrected in System Settings > File Associations. Here you can manually add/edit file types. These settings are also helpful in that you can have an order of preference. So, for example in the screen shown, I have the file type ‘jpeg’ set to open in Gwenview first. Should that fail, Kubuntu will try and load it in GIMP and so on down the list. This is the list of options that I mentioned previously.
Kubuntu
Comme sous Windows, quand vous double-cliquez sur un fichier et Kubuntu ne reconnaît pas ce type de fichier-là, une fenêtre de dialogue s'affichera pour vous demander l'application avec laquelle vous voudrez essayer de charger le fichier.
Vous pouvez aussi faire un clic droit sur un fichier et choisir « Ouvrer avec » dans le menu contextuel. Souvent une application s'installera et s'associera avec un type de fichier. Vous le verrez lorsque vous faites un clic droit sur un fichier et choisissez « Ouvrer avec » suivi de plusieurs options.
Parfois il y a une erreur humaine : vous associez un type de fichier à une mauvaise application. Vous pouvez corriger cela dans Paramètres système > k
Gnome Shell
In Gnome Shell a few applications are mentioned as default for some operations, like web-browsing, e-mail, etc. These programs can be selected in Activities > Applications > System Settings > Details > Default Applications.
Other files, like a simple text file, can be attached to a default program by means of right-clicking the file in the file-manager. A menu appears showing the possible options.
The default setting for this type of file is gedit, so, when you double-click the file, gedit will run and it will open the text file. Should you want to open the file with a program other than gedit, choose the second option: Open With Other Application.
Depending on the file-type you will see some programs listed. Should you still not find the program you want to use here, chose Other Application. A new window is opened with the list of programs. When even this list is not enough to choose from, select the button Show other applications at the bottom of the window. Now all installed programs are listed. Should your desired program not be in this list, then I suggest to install it first.
A small variation to this all makes it possible to change the default program to open a certain file-type. Right-click the file, choose Properties, select the tab Open with, choose the right program, select the button Set as default. From now on, when you double-click the file, the newly chosen program will open it.
Xubuntu
Just like many other Desktop Environments, in Xfce and Xubuntu you have a selector accessible within the file manager that allows you select an application per file type.
First, open the file manager by going to the mouse menu at the top left > Accessories > File Manager, and then go to a directory that has files you wish to open.
Double-clicking on a file will open it in the default application associated with it. A single right-click will bring you to a menu that allows you to open with the default application associated with it, or with other applications which may be associated with that file type.
You also have the option of “Open With Another Application…” which will bring up an “Open With” window that allows you to select any application for association, or a custom command, and also gives you a checkbox for “Use as default for this kind of file” – so it remembers it as your default preference. Just like with Gnome Shell, you can also set the application you wish to open the file with by opening the “Properties” dialog for the file and changing the “Open With” setting, which will change the default application for that and other files of the same type.
Finally, there are limited default application associations under the mouse menu > Settings > Settings Manager > Preferred Applications. This settings menu will allow you to select the default Web Browser, Mail Reader, Terminal Emulator, and File Manager.
Lubuntu
Even in the minimalist LXDE environment, there are options to control file associations, and the process is very similar to those already described above. Let’s start with the “Preferred Applications” window: from the main menu, select Preferences > Preferred Applications.
This window allows you to set system applications, but only two options are presented: Web Browser and Mail Client. (NOTE: I am using Lubuntu version 11.04; your mileage may vary.) The defaults are Chromium and Sylpheed, respectively; however, if you have other applications installed, then you can select them from the provided dropdown lists.
As with the other window managers described above, double-clicking a file in LXDE will open that file in the default preferred application. If, however, you would like to open that file with a different application, you can right-click the file and the pop-up menu will list any other applications with which that file type is compatible.
Select (i.e. left-click) the desired application from the pop-up menu, and the file will open in that application.
If the application with which you want to open the file is not listed in the pop-up menu, then you can select “Open With…” from the menu to select any application you have installed on your system from the Choose an Application window.
From the Choose an Application window, you are, by default, placed on the “Installed Application” tab; from here, you can can expand each category to browse for the application you want. There is also a “Custom Command Line” tab which allows you to create a custom command to launch the application of your choice using the power of command line options to control it. In both cases, you can choose to make your selection the default application/action for this type of file by putting a “check” in the check-box at the bottom of the window. If you do, your choice will be saved and it will become the default action every time you open a file of this type; otherwise, your choice will be valid for only this one selection, and all future attempts to open a file of this type will revert to the saved default.
Selecting the “File Properties” for a file provides you with an “Open with…” option that is identical in function to the “Open with…” option from the file’s pop-up menu, as described above.