Page MenuHomePhabricator

enlightenment_open and x-scheme-handler
Open, NormalPublic

Description

Hi,

I'm getting issue to get enlightenment_open working with x-scheme-handler declared in ~/.local/share/applications.
I created the following file:

$ cat ~/.local/share/applications/ssh.desktop      
[Desktop Entry]
Type=Application
MimeType=x-scheme-handler/ssh
Exec=terminology --hold -e xdg-ssh %u
$ cat ~/.local/share/applications/mimeapps.list
[Default Applications]
x-scheme-handler/ssh=ssh.desktop

Then if I try to start it from the command line, no application is started:

$ enlightenment_open ssh://::1
$ echo $?
1

It looks like enlightenment_open is not using ~/.local/share/applications at all:

$ strace -fF -s 1024 enlightenment_open ssh://::1 2>&1 | fgrep $HOME
stat("/home/beber/.cache/efreet", {st_mode=S_IFDIR|0755, st_size=20480, ...}) = 0
inotify_add_watch(8, "/home/beber/.local/share/mime", IN_MODIFY|IN_ATTRIB|IN_CLOSE_WRITE|IN_MOVE|IN_CREATE|IN_DELETE|IN_DELETE_SELF|IN_MOVE_SELF|IN_UNMOUNT) = 1
open("/home/beber/.local/share/mime/globs", O_RDONLY) = 10
open("/home/beber/.local/share/mime/magic", O_RDONLY) = 10
access("/home/beber/.local/share/applications/defaults.list", R_OK) = -1 ENOENT (No such file or directory)
open("/home/beber/.cache/efreet/desktop_util_lady-voodoo_en_US.eet", O_RDONLY) = 10

Is there anything I can do to help resolving this?

Enlightenment version: 0.20.5
EFL version: 1.17.0

Thanks!

beber created this task.Sep 15 2016, 1:13 PM
zmike added a subscriber: DaveMDS.Sep 19 2016, 8:16 AM
zmike triaged this task as Normal priority.May 22 2017, 6:53 AM
zmike added a subscriber: bu5hm4n.
zmike added a comment.Aug 17 2017, 2:19 PM

I think I recall something related to this being fixed at some point?

no idea from my side, I remember I fixed another one related to e_open but I never looked into this one