Control: tags 648446 +patch On Tue, 31 Mar 2015 18:16:12 +0200 "Eduard Bloch" <bl...@unix-ag.uni-kl.de> wrote:
> It's apparently not what xdg-open users, and not what "see" from > mime-support prefers and also not sensible-browser. Ok, this bothered me too much. I checked the code, quickly, without going into detail. Found that there is "alternative style" to open URLs that uses xdg-open and this is what I wanted. The attached patch works around the mentioned problem, at least for now. Regards, Eduard.
Description: uses the "old style" of URL opening which works unlike the new voodoo code . terminator (0.97-4.1) UNRELEASED; urgency=medium . * Non-maintainer upload. * Forced to use xdg-open for browser startup (closes: #648446) Author: Eduard Bloch <bl...@debian.org> Bug-Debian: https://bugs.debian.org/648446 --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: <vendor|upstream|other>, <url of original patch> Bug: <url in upstream bugtracker> Bug-Debian: https://bugs.debian.org/<bugnumber> Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber> Forwarded: <no|not-needed|url proving that it has been forwarded> Reviewed-By: <name and email of someone who approved the patch> Last-Update: <YYYY-MM-DD> --- terminator-0.97.orig/terminatorlib/terminal.py +++ terminator-0.97/terminatorlib/terminal.py @@ -1348,7 +1348,7 @@ class Terminal(gtk.VBox): def open_url(self, url, prepare=False): """Open a given URL, conditionally unpacking it from a VTE match""" - oldstyle = False + oldstyle = True if prepare == True: url = self.prepare_url(url)