xdg-open doesn't recognize custom protocol
Hello everyone,
I am trying to register a custom protocol handler in Ubuntu. I followed all the steps I found on google but it still isn't working.
1. I created the .desktop file and put it in ~/.local/share/applications. Here are the contents of this file :
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=Arya
Exec=/home/mickael/pixeon/pixviewerng/bin/arya %U
Icon=/home/mickael/pixeon/pixviewerng/bin/icon.png
Terminal=false
MimeType=x-scheme-handler/pixeon
2. I ran xdg-mime to register my protocol. Here is the exact command I ran :
xdg-mime default ~/.local/share/applications/arya.desktop x-scheme-handler/pixeon
3. I am now trying to open my custom protocol, here what I run :
xdg-open pixeon:teste
And I get the following error : gvfs-open: pixeon:///teste: error opening location: The specified location is not supported.
I also tried registering my protocol using gconftool. All values seem set correctly (checking with gconf-editor) but the protocol doesn't work either. I even tried registering it in firefox (about:config) but it didn't work either.
When I double click on my desktop file, the app launches, so the error isn't with the desktop file contents. There must be something obvious that I'm missing.
Can someone help me?
|