Oh could be something related to KDE then? : (
And yes I read the same somewhere that Chrome stills uses the gnome config for this, I have no experience in KDE but maybe it stills has some gnome config underlying somewhere in the system.
I’m trowing rocks to the air here then cause I have no experience with KDE, and probably not all this steps are needed in gnome either, but whenever I have a problem I do all of this:
Inside my /usr/share/applications/rv.desktop I added a mimetype:
MimeType=image/jpeg;image/png ... etc ... ;x-scheme-handler/rvlink;
I used gconfgtool2 to set the handler
gconftool-2 --set --type=string /desktop/gnome/url-handlers/rvlink/command /opt/RV/bin/rv
gconftool-2 --set --type=bool /desktop/gnome/url-handlers/rvlink/enabled true
gconftool-2 --set --type=bool /desktop/gnome/url-handlers/rvlink/need-terminal false
I added two files inside /etc/xdg
/etc/xdg/mimeapps.list
/etc/xdg/gnome-mimeapps.list
With the same content for both of them:
[Default Applications]
# URI scheme handlers
x-scheme-handler/rvlink=rv.desktop
The I updated the Desktop
sudo update-desktop-database
Maybe there some equivalents to KDE : (