Re: How to set system-wide file associations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
___________________________________________________
.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux