Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6237913
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T11:07:04+00:00 2026-05-24T11:07:04+00:00

Using the Eclipse SDK under Linux, there’s an entry in the list of External

  • 0

Using the Eclipse SDK under Linux, there’s an entry in the list of “External web browsers” for “Default system web browser”. How is this default determined?

I set up and selected an entry that calls my own version of xdg-open which is just a wrapper to launch Chromium. But, when I launched a project from the GWT plugin, it defaulted back to “Default system web browser”.

I don’t use a major desktop environment (neither GNOME nor KDE), so I’m unsure how any default would be set. But it would be nicer to set this globally and avoid per-application (or per-plugin) configuration in the future.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T11:07:07+00:00Added an answer on May 24, 2026 at 11:07 am

    Ended up source diving. I wrote and stepped into a simple Eclipse Application that only gets the default browser the way Eclipse (the IDE) itself does (in org.eclipse.ui.internal.browser.SystemBrowserInstance):

    Program.findProgram("html")
    

    Turns out Eclipse identifies my “desktop” as DESKTOP_GIO, because I have the GIO library installed as part of some GNOME dependency. Because it ID’s me as such it calls this libgio function:

    g_app_info_get_default_for_type("text/html", false)
    

    According to the docs, GIO applications use the X Desktop Group (XDG) “standard” Shared MIME-info Database to find applications that support a given MIME type.

    In my case, I’ve never registered any application as the default handler for text/html, but Eclipse simply chooses the first one returned (which happens to be winebrowser, since it has a wine-extension-html.desktop entry in my ~/.local/share/applications/ directory).

    In the end I used:

    desktop-file-install \
        --rebuild-mime-info-cache \
        --dir ~/.local/share/applications \
        custom-script.desktop
    

    to add a desktop entry for my custom script, and:

    xdg-mime default custom-script.desktop text/html
    

    to set it as the default for “html” files.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When using Eclipse PDT with XDebug to debug a PHP web application, is there
I am using Eclipse as my SDK for web project and I need tomcat
Using Mac OS X 10.6.2, Eclipse SDK 3.5.2. I installed the Android plugin, following
I am using the Blackberry SDK 4.6 eclipse plugin to create applications. My applications
When using Eclipse over X-Windows on a remote shell (X port forwarding), is there
I'm trying to use SendInput() on Windows but I'm building under MinGW using Eclipse
I'm using eclipse + Android SDK on Ubuntu. I would like to print the
I'm using eclipse + android SDK. I'm trying to create a table with data
I'm using eclipse + Android SDK. I need to round a float value to
I am using eclipse and java sdk of app-engine. I found the link for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.