[ubuntu-it] cambiare mime-settings in Gnome
Fabio Marzocca
thesaltydog a gmail.com
Gio 3 Nov 2005 09:30:48 UTC
Questo lo puoi fare per ogni file-type attraverso il menu tasto destro
di nautilus, Open with...
Comunque ti allego di seguito una procedura:
File Association. At the top of the context menu for a file in
Nautilus is found the 'Open with "Preferred Application" menu item.
Next, is found the 'Open with' menu item, which lists all other
applications which can open the file. These menu items are controlled
respectively by the following files:
/usr/share/applications/defaults.list
/usr/share/applications/mimeinfo.cache
Each line in defaults.list contains a desktop file followed by a
mimetype. For example, the line
application/postscript=evince.desktop
shows that Evince is the preferred application for opening postscript
files. Each line in mimeinfo.cache contains a desktop file followed by
a list of mimetypes. For example, the line
image/gif=gthumb.desktop;gimp-2.2.desktop;
gnome-eog.desktop;
shows the list of applications available for opening gif files. Gnome
constructs the mimeinfo.cache file by processing the mimetypes
recorded in the desktop files. Gnome comes with a pre-built
system-wide defaults.list. At the user level there are parallel files
~/.local/applications/defaults.list
~/.local/applications/mimeinfo.cache
Users can add lines to these files as follows.
In a Nautilus window, right click on a file
Select Properties
Select the 'Open With' tab
To add to the current 'Open With' list
Hit Add and select an application
Hit Add again
Select the preferred application radio button
Maggiori informazioni sulla lista
ubuntu-it