SliTaz SliTaz Forum

You are not logged in.

#1 2012-05-07 17:00:50

cybot
Member
Registered: 2012-05-01
Posts: 5

Browser doesn't come up by clicking an URL

Hey Guys!

I have a problem. If I click on an URL e.g. in XChat the browser doesn't open.

In Pidgin I fixed it by using a manual command to open the browser (midori %s) and it works fine but every other program doesn't open my browser.

Nothing happens. Favorite application - browser is set to midori.

Offline

#2 2012-05-07 17:44:35

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Browser doesn't come up by clicking an URL

I noticed this too. In XChat I just right clicked the link and clicked open link in my browser. Funny enough, it works when you do it that way.

Offline

#3 2012-05-07 17:59:38

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Browser doesn't come up by clicking an URL

http://xchat.org/faq/#q221

Hold down left Ctrl key, left clk the url.

If you really want to change this to plain left-click you can type: /set gui_url_mod 0, provided you have XChat 2.6.6 or newer.

Offline

#4 2012-05-07 18:24:01

cybot
Member
Registered: 2012-05-01
Posts: 5

Re: Browser doesn't come up by clicking an URL

I know Trixar, but it doesn't work. It's not a XChat problem, NO links call the browser. Doesn't matter which programm I use, if there is a link and I try to open it it just don't work.

Offline

#5 2012-05-07 19:12:12

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Browser doesn't come up by clicking an URL

Like mojo pointed out, it Is a problem with XChat - probably a change they made in the current version. I also tested my way with Midori, the Firefox on the repository and my own Firefox as I tried them (as I installed them in that order).

Offline

#6 2012-05-07 19:24:40

cybot
Member
Registered: 2012-05-01
Posts: 5

Re: Browser doesn't come up by clicking an URL

It actually is a $BROWSER variable bug which xdg-open doesn't get. And xdg-open doesn't have midori in its list of popular browsers which it checks when no browser is set:

[c]/usr/bin/xdg-open: line 406: xprop: not found
/usr/bin/xdg-open: line 436: firefox: not found
/usr/bin/xdg-open: line 436: google-chrome: not found
/usr/bin/xdg-open: line 436: mozilla: not found
/usr/bin/xdg-open: line 436: netscape: not found
xdg-open: no method available for opening 'http://thisisacensored.url'[/c]
EDIT: I fixed it by adding midori to xdg-open.sh. Probably not the best way to fix it but it seems like it doesn't get the $BROWSER variable.

Changed it to sth like this: "if no $BROWSER declared check midori first and then the other"

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.021 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]