Subject: | |
From: | |
Reply To: | |
Date: | Tue, 26 Jul 2005 17:04:47 +0100 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jaroslaw Polok wrote:
Hello Jaroslaw
Where exactly is the file located on the file system?
Mark.
> 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 _
>
- --
- -------------------------------------------------------------
Mark Nelson - [log in to unmask]
IPPP, Department of Physics, University of Durham,
Science Laboratories, South Road, Durham, DH1 3LE
Office: +44 (0)191 334 3811, Direct Dial: +44 (0)191 334 3653
This mail is for the addressee only
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org
iD8DBQFC5l8flzM++u0MgcERAtnoAJ4tUc2HczInrsl1n9SaTz4NUT4DZACfZXz7
bN8sagfRaMCLE6+Vhl2XPRk=
=8T1P
-----END PGP SIGNATURE-----
|
|
|