4
2
When I go to Picasa Web to see another user's album, I can download pictures using Picasa with it. This launched a URL like
picasa://downloadfeed/?url=http%3A...
In Firefox, when I click this, I can choose to open it with /usr/bin/picasa
and it works fine.
In Chrome however, it doesn't suggest to choose an application to open it, but sends it to xdg-open
instead, which fails. When I try to launch such a URL with xdg-open
in a console, I get :
$ xdg-open picasa://foobar
kio (KRun): ERROR: #### NO SUPPORT FOR READING!
I've found a post on a forum that says that you can configure xdg-open
associations in ~/.local/share/applications/defaults.list
:
$ cat ~/.local/share/applications/defaults.list
[Default Applications]
text/html=google-chrome.desktop
but I have no idea what to use for Picasa links. Furthermore, man xdg-open
indicates that
xdg-open supports file, ftp, http and https URLs.
I've also tried editing the file associations in KDE's System Settings to add a "picasa" entry in the "uri" group. I logged out and in again (just in case), but it still won't work.
Does anybody know how I can get Google Chrome to manage these URLs properly?
what version of Picasa are you running? – codeLes – 2010-01-05T20:44:11.620
3.0.5744-02, but it doesn't really matter. I just want to associate the
/usr/bin/picasa
command with thepicasa:
URL scheme. The version of Picasa should not matter, but the version of Chrome might. – ℝaphink – 2010-01-05T20:57:26.447I wasn't sure, but I did see something on the tubes that mentioned versions 2.7 and up... so you should be good /if/ that was an issue. no other clues yet... – codeLes – 2010-01-05T22:19:29.853
1Just to point you in the right direction, on KDE I believe xdg-open calls kfmclient (some functions were moved to kioclient for KDE 4). So you'll probably want to tweak kfmclient rather than xdg-open. Not sure on how to add URI handlers to kfmclient though. – John T – 2010-01-08T10:47:31.680