You are not logged in.

#1 2011-05-18 06:52:45

toru
Member
Registered: 2011-03-22
Posts: 27

Hyperlinks in XFCE4 Terminal

I have decided that it's beneficial for me to use a version of Firefox that's not the one in the repositories.  My problem is that in the XFCE terminal whenever I try to open a link it says "No application is registered as handling this file." and I don't know how to register it to do so.  It works fine when I install Firefox with Pacman, it's just that I don't want that version of Firefox.  I couldn't find any option to set the browser in the terminal.  I've already set it to the browser in the XFCE menu, and that works fine.

Offline

#2 2011-05-18 09:53:24

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: Hyperlinks in XFCE4 Terminal

If I change the web browser setting of "Preferred Applications" from Firefox to Midori, then links opened from Terminal are opened in Midori... You're saying that it doesn't work for you?

Edit: obviously I know that you don't want to use Midori wink But you can select your version of Firefox instead...

Last edited by stqn (2011-05-18 09:54:20)

Offline

#3 2011-05-18 17:29:03

toru
Member
Registered: 2011-03-22
Posts: 27

Re: Hyperlinks in XFCE4 Terminal

Yes.  That's exactly what I'm saying.  Keep in mind I'm using a version of Firefox that I downloaded.

Offline

#4 2011-05-19 01:32:48

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: Hyperlinks in XFCE4 Terminal

If you enter the full path to your version of firefox, it should work.

Edit: I've always had the official Arch Linux Firefox installed though, even if now I'm using another one (firefox3 from the AUR.) I haven't done that with the "really official" precompiled Firefox from Mozilla.

Last edited by stqn (2011-05-19 01:56:56)

Offline

#5 2011-05-20 00:45:28

toru
Member
Registered: 2011-03-22
Posts: 27

Re: Hyperlinks in XFCE4 Terminal

stqn wrote:

If you enter the full path to your version of firefox, it should work.

Edit: I've always had the official Arch Linux Firefox installed though, even if now I'm using another one (firefox3 from the AUR.) I haven't done that with the "really official" precompiled Firefox from Mozilla.

I am using the full path to firefox.  I've even gone as far as to put a symlink in /bin titled "firefox" that links to it, and then just type "firefox" in as the preferred browser.  When I do that it changes the name to "Mozilla Firefox".  Same result.  It works with the browser icon, as well as pidgin, but it is definitely not working in the XFCE Terminal.

When I type "echo http://google.com" to test it and then click on the output I get the following error:

"Failed to open the URL 'http://google.com'
No application is registered as handling this file."

Offline

#6 2011-05-20 04:17:27

ConnorBehan
Package Maintainer (PM)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,359
Website

Re: Hyperlinks in XFCE4 Terminal

I guess this is an example of freedesktop hell. The xfce terminal opens links with the command "xdg-open" and since the freedesktop people are soooooo user-friendly, they conveniently omited all info about how xdg-open works from the man page! However, I suspect that it relies heavily on desktop files so try to track down all occurences of a firefox desktop file. Every time you find one, go to the Exec lines and set them equal to the desired path.


6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

#7 2017-06-23 11:26:58

Ataraxy
Member
Registered: 2016-11-21
Posts: 10

Re: Hyperlinks in XFCE4 Terminal

Actually, xfce4 uses exo-open rather than xdg-open, for added fun.

Strangely, exo-web-browser.desktop has no MIME associations by default, so you need to add in ~/config/mimeapps.list:

[Added Associations]
x-scheme-handler/http=exo-web-browser.desktop
x-scheme-handler/https=exo-web-browser.desktop

Then set you preferred browser via "Preferred Applications" GUI app.

Last edited by Ataraxy (2017-06-23 11:27:47)

Offline

#8 2017-06-23 12:26:42

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Hyperlinks in XFCE4 Terminal

Thanks Ataraxy, but please notice this topic is six years old and things have changed since then. Closing. https://wiki.archlinux.org/index.php/Co … bumping.22


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

Board footer

Powered by FluxBB