Opening picture web-links in browser...

Hi,
using 13.1 64bit…
I can not find out where to “change” the default behaviour when handling web-links
html is opened in the default-browser
pictures are opened in the installed picture-viewer
odt is opened in libreoffice instead of browser and giving me a download/saveas popup
and so on, I want all web-urls to open in the browser.
hope you can help me, thanks.

You might want to tell us which desktop environment you’re using. With KDE you can right-click on a given file icon, then Properties >> File Type Options, where it is possible to set the application preference order. (I’m sure it will be similar with Gnome too.)

ah yes sorry, KDE (I gues its 4)
setting the file association is not helping
the link is then opened in the browser, unfortunately a local file as well (which, of course, should be opened in the picture viewer)

Well, in the filetype settings there’s also the “Embedding” tab, where you can configure that this filetype should be opened embedded in the browser or that it should be asked whether you want to save this file or not.
But I think this only works with Konqueror.

If you are not using Konqueror as your default browser, you will have to change this in your browser’s settings I suppose.
For further help, you should at least tell which browser you use.

The “embedding” tab is the same of this (13.1) like of my other comp (12.3), where the links are opened in browser.

I am using firefox 28.0, but konqueror is fine, like any other browsser, as long as the link is opened in a browser.
In firefox there is no such visible setting, only “open external links in a new tab/this tab/new window”

So I gues it is a system setting, which I can not find.

Why 28.0?
The current one is 31, available in the update repo. You should install all updates… :wink: (not that it will help in this case, I think)

Do you have mozilla-kde4-integration installed?

but konqueror is fine, like any other browsser, as long as the link is opened in a browser.
In firefox there is no such visible setting, only “open external links in a new tab/this tab/new window”

So I gues it is a system setting, which I can not find.

But this in itself tells that it is a Firefox setting, not a system setting.

As I am not using Firefox myself, I cannot help further. Maybe someone else can jump in.

Maybe you should also provide some examples. I.e. what page are you opening, on what link do you click…

Or maybe I’m just misunderstanding your problem?
As I understand it, you are clicking on a link in your browser, and it is opened with an external application.
If that’s not the case, you should clarify this as well.

Not browser, everything else… when a link comes per email, or kopete, or in odt, a link like this:
http://funtooo.com/wp-content/uploads/2013/03/I-would-cry-for-u-but-real-men-dont.jpg

When I click this link, openSUSE opens it in Gwenview (default picture viewer). (When the link would “link” to a mp3, vlc is opened, when the link is about an odt, libreoffice is opened.)

A regular link, like http://www.w3schools.com/xsl/xsl_transformation.asp is opened in the default browser (firefox). Konqueror is installed by default.

I do not care what browser is started and opening the “picture” (or mp3, or avi, or odt, or xy), as long as it IS a browser at all.

On 2014-08-26 14:46, mlarue wrote:
>
> Not browser, everything else… when a link comes per email, or kopete,
> or in odt, a link like this:
> http://tinyurl.com/l6dtnb3
>
> When I click this link, openSUSE opens it in Gwenview (default picture
> viewer). (When the link would “link” to a mp3, vlc is opened, when the
> link is about an odt, libreoffice is opened.)

This setting is internal to the application you use. If you are viewing
a page in Firefox, it is Firefox. If you click a link inside
LibreOffice, it is LO which decides what to do.

In firefox, to display a link embedded inside, you need to have an
adequate plugin for that mime type. And then, the action is adjustable
somewhere I don’t remember this instant, but have a look on preferences,
applications tab.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

hm, I also use openSUSE 12.3
I made no changes to the installation, prefercences, settings or whatever, and all “http” urls are opened by the default browser, it does not matter the “source” (like opened in libreoffice, or kopete, or thunderbird, or xy)

Ok, so you want to click on a link in your email program f.e., and have it opened in the web browser then?
Why?
The link above points to a picture. So when you click on that link, the picture is downloaded and then opened. Because it is a picture it is opened in a picture viewer of course, i.e. in the default program associated with pictures.

Your Email program might have a setting to override this.
But in the end you open a JPG file (in this case). For the system there is no difference between a weblink and a local file, it is just a JPG picture.
And I don’t think that 12.3 behaved any different than 13.1 in this regard.

You might have a look in “Configure Desktop”->“Default Applications”->Webbrowser and change the settings there. At least this setting is labelled as “Open http and https URLS”. Probably this is set to “in an application based on the contents of the URL” now, but you should rather try to set it to “in the following browser:” and choose the browser you want.
Maybe the system behaves like you want then.

I do not care what browser is started and opening the “picture” (or mp3, or avi, or odt, or xy), as long as it IS a browser at all.

And why would you want to open an mp3 file or an odt file in the web browser? That’s ridiculous, even if it is a http:// URL.

I think that some clarification is necessary.

The procedure to associate a file with a <viewer app> is described in an above post.

But, that requires the viewer app to have the capability to open and view the file.

You’re asking about an ODT which is an Open Office Template (and recently is also the document). It is its own format and <not> a format an ordinary web browser can manage/view.

You might be misled that various Open Office documents can be saved and deployed in a Web format, after which web browsers can view. Or, although I haven’t explored the possibility that someone could have written an Open Office plugin to embed viewing capabilities in a browser. But, without a plugin a web browser cannot open an ODT even if you try to associate the file type with a browser… So will then prompt you to download the file so it can be opened with a proper app.

HTH,
TSU