[CentOS] xdgurl

Fri Oct 21 09:19:43 UTC 2016
James Pearson <james-p at moving-picture.com>

Mark LaPierre wrote:
>
> Thanks for the detailed response.  Just a minor error.  The file name
> must have a .desktop extension like this:

Sorry, a copy-n-paste error when creating the email

> In a shell:
>
> [mlapier at peach ~]$ which xdgurl
> /usr/bin/xdgurl
>
> [mlapier at peach ~]$ xdgurl
> "xdg://install?url=https%3A%2F%2Fdl.opendesktop.org%2Fapi%2Ffiles%2Fdownload%2Fid%2F1476439340%2Frmfixed.bdf&type=fonts&filename=rmfixed.bdf"
> Traceback (most recent call last):
>    File "/usr/bin/xdgurl", line 21, in <module>
>      if sys.version_info.major >= 3:
> AttributeError: 'tuple' object has no attribute 'major'
> [mlapier at peach ~]$
>
> No joy,

I don't know anything about xdg and xdgurl - only a little bit about 
adding protocol handlers to Firefox :-)

James Pearson