Mark Nelson wrote:
> Hello
>
> I want to change a couple of the KDE helper applications that are used
> to view certain types of file. For example our users want to use gv
> instead of the standard kde postscript viewer. I know how to do this
> for an individual account, what I need to do is to change the system
> default. I have looked and looked but can't find out how to do it.
Creating a desktop file alike:
[Desktop Entry]
Name=sthg
Exec=sthg %u
Terminal=0
Type=Application
Encoding=UTF-8
Categories=Application;sthg;
MimeType=some-mime-type
InitialPreference=X
Where X > preference for the original app handling "some-mime-type"
then running desktop-file-install
shall do it for KDE, although I'm not sure that would work
for GNOME (well application will be added to menus/list of handlers
for given mime-type but I'm not sure whether InitialPreference
key will be taken into account ..)
Jarek
__
-------------------------------------------------------
_ Jaroslaw_Polok ___________________ CERN - IT/ADC/LE _
_ http://home.cern.ch/~jpolok ___ tel_+41_22_767_1834 _
_____________________________________ +41_78_792_0795 _