开发者

shoes url not working in Ubuntu?

i have been using Shoes in windows from couple of months and it was working awesome, but now i am having Ubuntu set up on my machine and i am trying to run shoes in it but it seems like URL is not working .... i.e nothing happens开发者_开发百科 when i click on it. Have anybody observed this problem. Any help on this? thanks Pradyumna


Looking at the source code, this would seem to to be the relevant bit:

shoes/native/gtk.c

shoes_browser_open(char *url)
{
    VALUE browser = rb_str_new2("/etc/alternatives/x-www-browser '");
    rb_str_cat2(browser, url);
    rb_str_cat2(browser, "' 2>/dev/null &");
    shoes_sys(RSTRING_PTR(browser), 1);
}

Not overly familiar with Ubuntu, but perhaps in your installation /etc/alternatives/x-www-browser isn't pointing to the right place? Either that, or Shoes shouldn't be using this path?


Sad to say that Shoes.url indeed seems broken on Linux, at least it was on Linux Mint (main edition, Ubuntu based) as well some time ago.

However I just tried it, now running Linux Mint Debian Edition, with the current shoes head and it worked beautifully. So either it's an Ubuntu specific problem or its fixed on the current Head. You could try to check out the current head

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜