PDA

View Full Version : [SOLVED] Failed to execute default web browser - input output error



unheeding
September 5th, 2012, 11:57 PM
So I have google-chrome-beta (Version 22.0.1229.26 beta) installed, and Xfce is having issues with it. Whenever I try and pass a URL through to my web browser (say, opening a link from irssi), it opens in a new tab in Chrome (great) but then returns an error saying "failed to execute default web browser - input output error." (profoundly annoying).

This only happens with Chrome, if my browser is set to Opera, it opens in a new tab in Opera and does not return the error. Same thing with Firefox. This bothers me because Chrome is the browser I want to use. Any ideas on how to resolve this? Even just suppressing the error message would work wonders for me. Thanks in advance.

irv
September 6th, 2012, 12:06 AM
So I have google-chrome-beta (Version 22.0.1229.26 beta) installed, and Xfce is having issues with it. Whenever I try and pass a URL through to my web browser (say, opening a link from irssi), it opens in a new tab in Chrome (great) but then returns an error saying "failed to execute default web browser - input output error." (profoundly annoying).

This only happens with Chrome, if my browser is set to Opera, it opens in a new tab in Opera and does not return the error. Same thing with Firefox. This bothers me because Chrome is the browser I want to use. Any ideas on how to resolve this? Even just suppressing the error message would work wonders for me. Thanks in advance.

You are using a beta version and you should expect errors. See if you can file a bug report with Google Chrome. They release beta verison for testing. If you do not want to test it, and want a more solid verison use the latest stable release. If your problem goes away then you will know it is the beta that is the problem.
Just for the record I am having an issue with Chrome but it is different then your problem.

unheeding
September 6th, 2012, 12:07 AM
Okay, the problem was with the Beta/Unstable version of Chrome... although I do really want to run the bleeding edge versions, but obviously they have some problems with Xfce. (KDE works fine, sigh)

Edit: Thank you irv.

brihecaton
October 1st, 2012, 09:47 AM
Well, Chrome 22 is the stable version now and I'm having the same problem. Somehow chrome 22 and xfce do things that previously were ok, but aren't anymore

WeNDoR
October 1st, 2012, 02:43 PM
same here ... chrome 22 and xfce do not kiss ...

ccrs8
October 1st, 2012, 06:41 PM
I am experiencing this as well. I have Chrome mapped to my "Mail Reader" main menu icon, with gmail and facebook opening up in separate tabs upon launch. If Chrome is not open already, this works fine. However, if Chrome is already open, then if I select "Mail Reader" again, a new Chrome window opens and this error occurs.

jigsaw!
October 1st, 2012, 11:51 PM
Did anyone post this error to bugtrack of Chrome or xfce?

johnjaylward
October 2nd, 2012, 04:04 PM
Did anyone post this error to bugtrack of Chrome or xfce?

https://bugzilla.xfce.org/show_bug.cgi?id=9346

unheeding
October 2nd, 2012, 10:03 PM
Here's a workaround:

1. Close Chrome
2. In Xfce's preferred applications menu, select google-chrome (try changing it to Firefox and back to Chrome if you want to be thorough)
3. Start Chrome
4. When it asks if you want to set it as the default browser, choose no.

and voila, should work.

jonas_t
October 3rd, 2012, 07:24 PM
Here's a workaround:
[...]
and voila, should work.

Mh, I tried the workaround you're outlining above, but it doesn't work for me. In Google Chrome, I chose not to set it as default browser and it doesn't say so in Chrome's preferences. Nevertheless, the error remains... any ideas? :)

jonas_t
October 3rd, 2012, 07:55 PM
It seems exo-open (which is used to launch the default applications) has problems with the return value of Google Chrome.

What works for me, thus, is to have the following shell script set as default "browser", which then redirects each launch request and all parameters to Google Chrome. Most important, it exits with return code 0 and exo-open is happy, no longer throwing the error.



#!/bin/bash
/usr/bin/google-chrome $@
exit 0


Of course, make sure it's executable by setting chmod correctly, e.g., run "chmod u+x <scriptname>" after saving the script as <scriptname>.

HTH,
Jonas