As far as I understand, there will be some useful commands in the future but not today. So we have to decide what we will do for the next release.
Or is this something that can be configured in any way? I don't think so.

-- Michael

Marshall Schor wrote:
Some useful leads:

http://www.linuxworld.com/news/2006/101106-portland-project.html describes xdg-utils, and says Fedora, OpenSUSE, and Debian have already committed to installing the utilities.
One utility enables visiting a Web page in the user's chosen browser.
On Debian, this capability is available via the command "x-www-browser", which launches the user's graphical browser of choice.
OSDL's xdg-utils extends the availability across distributions.
See http://portland.freedesktop.org/wiki/ for details on xdg-utils. It is licensed under the MIT license, and the MIT/X11 license is listed as category "A" (allowed) on Cliff's 3rd party page.

-Marshall

Michael Baessler wrote:
Hi,

when testing the annotation viewer some misconfiguration came up.

The annotation viewer has the possibility to use the browser to show the annotation results. By default on Linux the "mozilla" browser is used. On "old" Linux systems, "mozilla" is correct to call, but I think on newer Linux systems, "mozilla" was replaced with "firefox". I'm not an expert for Linux systems and I'm not sure if that is true for all. But if, we may should change our code and initialize the static browser settings in BrowserUtil.java

/**
* An initialization block that determines the operating system and the browser launcher command.
  */
 static {
   String osName = System.getProperty("os.name");
   if (osName.startsWith("Windows")) {
     if (osName.indexOf("9") > -1) {
       __osId = WINDOWS_9x;
       __browserLauncher = "command.com";
     } else {
       __osId = WINDOWS_NT;
       __browserLauncher = "cmd.exe";
     }
   } else if (osName.startsWith("Linux")) {
     __osId = LINUX;
     __browserLauncher = "mozilla";
   } else {
     __osId = OTHER;
     __browserLauncher = "netscape";
   }
 }

Do we have an expert that knows what is the best setting here?

-- Michael






Reply via email to