Bugs item #1963644, was opened at 2008-05-14 04:03 Message generated for change (Comment added) made by eighthave You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478070&aid=1963644...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: pd-extended Group: None
Status: Closed
Resolution: None Priority: 2 Private: No Submitted By: IOhannes m zmölnig (zmoelnig) Assigned to: Nobody/Anonymous (nobody) Summary: http-links do not open...
Initial Comment: when i click on "Help->report bug" i get the following error on the stderr and nothing happens:
/usr/bin/gnome-open 'http://sourceforge.net/tracker/?func=add&group_id=55736&atid=478070' Error showing url: There was an error launching the default action command associated with this location.
same with all other http URLs. the IRC-one works fine (it also uses gnome-open)
this is on debian lenny/sid with Pd-0.40.3-extended-20080514-debian-stable-i386.deb
i am using KDE and not gnome.
i have never touched the settings of gnome-open, so i am not sure why it does not work...
most likely (well, i am sure that) this is problem of gnome-open; however i think it does not add to a positive first glance...
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2008-05-15 15:50
Message: Logged In: YES user_id=27104 Originator: NO
I added xdg-utils as a recommended package, since it includes xdg-open, which should open irc:// URLs. I am going to leave the browsers in as a fallback, since it is better opening only http:// than nothing at all.
I'm going to leave it at that and close this report, if anyone wants to take this up, they can reopen this bug.
----------------------------------------------------------------------
Comment By: Frank Barknecht (fbar) Date: 2008-05-15 14:11
Message: Logged In: YES user_id=569446 Originator: NO
sensible-browser will not do that, but neither do firefox, iceweasel or lynx:
$ lynx irc://localhost Alert!: Unsupported URL scheme!
If you want to open irc-urls as well, you shouldn't include any pure webbrowsers in the choice list.
But if you want to start any webbrowser, sensible-browser is the standard Debian tool. It allows users to configure their favourite web browser in a central place. Many other Debian packages use sensible-browser for that task.
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave) Date: 2008-05-15 13:20
Message: Logged In: YES user_id=27104 Originator: NO
AFAIK, gnome-open will open any type of URL, like irc://, etc. and send it to the correct app. That is why I put gnome-open and xdg-open first. Will 'sensible-browser' do that?
----------------------------------------------------------------------
Comment By: Frank Barknecht (fbar) Date: 2008-05-15 09:34
Message: Logged In: YES user_id=569446 Originator: NO
sorry, I meant: "I would NOT do a real "depends" for debianutils..."
----------------------------------------------------------------------
Comment By: Frank Barknecht (fbar) Date: 2008-05-15 09:31
Message: Logged In: YES user_id=569446 Originator: NO
I think, for Debian packages "sensible-browser" should be the first one. If not already done, you could add a recommendation for "debianutils" to the dependencies for the package, sensible-browser is part of that. I would do a real "depends" for debianutils, as Pd works without browser as well. Many people don't use Gnome, especially on dedicated audio machines, and sensible-browser in turn can start the other browsers. If it doesn't start the correct browser it's a bug in the Debian package and we could report it upstream.
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave) Date: 2008-05-15 07:36
Message: Logged In: YES user_id=27104 Originator: NO
Here's the current code:
http://pure-data.svn.sourceforge.net/viewvc/pure-data/branches/pd-extended/v...
549 foreach candidate \ 550 { gnome-open xdg-open sensible-browser iceweasel firefox mozilla \ 551 galeon konqueror netscape lynx } { 552 set browser [lindex [auto_execok $candidate] 0] 553 if {[string length $browser]} { 554 puts stderr [format "%s '%s'" $browser $filename] 555 exec -- sh -c [format "%s '%s'" $browser $filename] & 556 break 557 } 558 }
If someone wants to test this more in depth, and make a patch, that would be quite useful.
----------------------------------------------------------------------
Comment By: Rich E (reakin) Date: 2008-05-15 00:57
Message: Logged In: YES user_id=1586621 Originator: NO
It works here, using Ubuntu Gutsy and Pd-0.40.3-extended-20080509-ubuntu-gutsy-i386.deb
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave) Date: 2008-05-14 08:49
Message: Logged In: YES user_id=27104 Originator: NO
Since you are using KDE, I recommend:
apt-get remove gnome-open
The URLs in the Help menu work for me on Ubuntu, Debian/GNOME, Mac OS X, and Windows. I don't use KDE at all, so if you can make it work better there, please do.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478070&aid=1963644...
Hallo, SourceForge.net hat gesagt: // SourceForge.net wrote:
Bugs item #1963644, was opened at 2008-05-14 04:03 Summary: http-links do not open...
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2008-05-15 15:50
Message: Logged In: YES user_id=27104 Originator: NO
I added xdg-utils as a recommended package, since it includes xdg-open, which should open irc:// URLs. I am going to leave the browsers in as a fallback, since it is better opening only http:// than nothing at all.
Firefox is not a fallback for XChat.
I'm going to leave it at that and close this report, if anyone wants to take this up, they can reopen this bug.
Well, it's a different bug now anyways: pd-extended tries to open unsupported url-schemes in webbrowsers. (xdg-open here throws irc-schemes to iceweasel btw.) I think the only valid solution is to handle web urls like http:// and application URLs like irc:// differently in Pd. (I don't file a report as I use pd-vanilla.)
Ciao
On May 16, 2008, at 8:04 AM, Frank Barknecht wrote:
Hallo, SourceForge.net hat gesagt: // SourceForge.net wrote:
Bugs item #1963644, was opened at 2008-05-14 04:03 Summary: http-links do not open...
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2008-05-15 15:50
Message: Logged In: YES user_id=27104 Originator: NO
I added xdg-utils as a recommended package, since it includes xdg- open, which should open irc:// URLs. I am going to leave the browsers in as a fallback, since it is better opening only http:// than nothing at all.
Firefox is not a fallback for XChat.
I'm going to leave it at that and close this report, if anyone wants to take this up, they can reopen this bug.
Well, it's a different bug now anyways: pd-extended tries to open unsupported url-schemes in webbrowsers. (xdg-open here throws irc-schemes to iceweasel btw.) I think the only valid solution is to handle web urls like http:// and application URLs like irc:// differently in Pd. (I don't file a report as I use pd-vanilla.)
Yeah, that's why gnome-open is first. It's not an ideal situation, but since most people use GNOME (its default on Ubuntu and Debian), I'm going to leave it for now. It would be great if someone who is a KDE user or anti-GNOME/KDE made it all run smoothly.
.hc
Ciao
Frank Barknecht _ ______footils.org__
PD-dev mailing list PD-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
------------------------------------------------------------------------ ----
There is no way to peace, peace is the way. -A.J. Muste