GNOME Bugzilla – Bug 765716
nautilus launched via gnome-shell can't find xdg-app
Last modified: 2016-04-28 11:15:45 UTC
nautilus-3.20.0-1.fc24.x86_64 1. Create and install mpv in xdg-app: https://github.com/hadess/hadess-xdg-app 2. Launch "nautilus" on the command-line 3. Right-click on a video file, select "Open with other application", and verify that mpv is in the list of available applications 4. Kill nautilus 5. Launch nautilus via gnome-shell 6. Repeat 3. -> mpv isn't in the list
We just use the GtkAppChooser, so I believe is either gtk+ or glib. Does the testappchooser in gtk+ repo work fine for you? Reassigning to gtk+ for now.
(In reply to Carlos Soriano from comment #1) > We just use the GtkAppChooser, so I believe is either gtk+ or glib. Does the > testappchooser in gtk+ repo work fine for you? It does, and so does nautilus when launched via the command-line, rather than D-Bus activated. > Reassigning to gtk+ for now. Reassigning to nautilus...
It's a bug in xdg-app, the XDG_DATA_DIRS aren't propagated to the D-Bus activated applications. See https://github.com/alexlarsson/xdg-app/issues/147