[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde
Subject:    Re: [kde] How to set system-wide file associations
From:       James Richard Tyrer <tyrerj () acm ! org>
Date:       2005-04-22 1:31:38
Message-ID: 426853FA.40608 () acm ! org
[Download RAW message or body]

David Jarvie wrote:
> How can system-wide file mime-type associations be set in KDE? Using the
> File Associations tab of the Konqueror configuration dialog only seems to
> set file associations for the current user, even if that user is root.

Yes, that is that way it works.

To set this globally, you will need to do it manually.

Note that this is done in a way that may appear backwards.  Each 
application's '*.desktop' file in: "$KDEDIR/share/applications/kde" has 
a list of MIME types that it is associated with.  The MIME type files 
list only the file extensions.

The easiest way to do this globally is to set it up the way you want it 
globally in root and then copy the 'kde-*.desktop' files from: 
/root/.local/share/applications to: $KDEDIR/share/applications/kde.  You 
will then need to remove the prefix: "kde-" from the '*.desktop' file 
names. KRename is useful to do such mass renaming.

For non-KDE applications they will not have the "kde-" prefix and they 
need to be copied to: "$KDEDIR/share/applications".

-- 
JRT
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic