[systemsettings] [Bug 347870] Default Applications > Web Browser "in an application based on the contents of the URL" is confusing and undocumented

skierpage skierpage at gmail.com
Mon May 18 02:23:31 BST 2015


https://bugs.kde.org/show_bug.cgi?id=347870

--- Comment #1 from skierpage <skierpage at gmail.com> ---
Here's what I did.

First you need a menu item for your preferred browser. If that browser already
appears in the (K) application launcher > Applications > Internet menu then
you're set, otherwise you need to create it with (K) application launcher >
Right-click Applications > Edit Applications... and then follow the
only-somewhat out-of-date instructions in
https://docs.kde.org/stable5/en/kde-workspace/kmenuedit/quickstart.html ,
dodging issues like Bug 346316. This will create a
~/.local/share/applications/MyPreferredBrowserName.desktop file.  You probably
want to copy many of the config lines over from a similar browser .desktop file
shipped by your distribution, e.g.
/usr/share/app-install/desktop/firefox:firefox.desktop

Now, go into System Settings > Applications > Default Applications > Web
Browser and choose 'in the following browser" and choose Known Applications >
Internet > your preferred browser. I think this will set 
  [General]
  BrowserApplication[$e]=MyPreferredBrowserName.desktop
in ~/.kde/share/config/kdeglobals

You can always/as well/instead? go into System Settings > Applications > File
Associations, search for html, png, etc. and for each one in the Application
Preference Order click [+ Add...] and add Known Applications > Internet > your
preferred browser. I think this will update a line in
~/.local/share/applications/mimeapps.list for that mime type. (The annoying
thing here is that any decent browser supports a dozen or more mime types (
text, xml, rdf, svg, png, jpg) and URI schemes beyond just "Web pages, but it's
so fiddly to make it the default for them all.)

I still don't know whether to choose "in an application based on the contents
of the URL" or "in the following browser".

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list