site  contact  subhomenews

ROX URI handling

January 15, 2011 — BarryK
Jemimah reported about ROX URI handling:
http://murga-linux.com/puppy/viewtopic.php?t=63400&start=150

I have setup /root/Choices/URI as explained by Jemimah.

Puppy has /usr/local/bin/xdg-open as a symlink to defaulthandler, however I have applied Jemimah's suggestion and now xdg-open is a script:

#!/bin/bash

case "$1" in
'') exit
;;
*://*) exec rox -U "$1"
;;
*@*.*) exec rox -U "mailto:${1}"
;;
*) exec rox "$1"
;;
esac


The script defaulthandler really needs to be rewritten, but will leave that for another day.

Tags: woof