gvfs-mime not considering subdirectories of $XDG_DATA_DIRS/applications
- From: Peter Mattern <matternp arcor de>
- To: gvfs-list gnome org
- Subject: gvfs-mime not considering subdirectories of $XDG_DATA_DIRS/applications
- Date: Tue, 21 Apr 2015 18:21:12 +0200
Hello.
It seems gvfs-mime doesn't consider subdirectories of
$XDG_DATA_DIRS/applications.
I ran into this trying to configure Dolphin that comes with desktop
entry file /usr/share/applications/kde4/dolphin.desktop:
$ gvfs-mime --set inode/directory dolphin.desktop
Failed to load info for handler 'dolphin.desktop'
Also, the file's path is translated into a wrong filename
$ gvfs-mime --query inode/directory
Default application for 'inode/directory': Thunar.desktop
Registered applications:
[...]
kde4-dolphin.desktop
After moving dolphin.desktop to /usr/share/applications everything works
flawlessly.
Posting here as I couldn't find any information in the specs whether or
not subdirectories of /usr/share/applications should be considered in
the first place and hence don't know whether or not this should be
considered a bug.
xdg-mime does handle desktop entry files in those subdirectories without
issues.
Seen using GVFS 1.24.1 on Arch Linux.
Regards,
Peter Mattern
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]