Skip to content

Fix xdg-mime for proper Plasma 5 support

Ongun Kanat requested to merge ongun.kanat/xdg-utils:master into master

I realized xdg-mime does not run kbuildsycoca5 when fiddling with my defaults causing Plasma 5 to use old defaults.

This adds checks for Plasma 5 and runs kbuildsycoca5 after updating mimeapps.list file. The path of the file is detected via qtpaths utility.

I've tested it with empty mimeapps.list and XDG_CONFIG_HOME env var set.

Edited by Rex Dieter

Merge request reports

Loading