Calling a web browser fom boincmgr

Questions and Answers : Unix/Linux : Calling a web browser fom boincmgr
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Tim Lines

Send message
Joined: 15 Oct 03
Posts: 2
Credit: 928
RAC: 0
United States
Message 144343 - Posted: 29 Jul 2005, 6:27:23 UTC

- I run boincmgr under linux (RH ES 4.0)
- Click Projects tab
- Click SETI@home project
- A list of web site buttons appears on the left
- I click a web site button
- nothing happens

How do I get boincmgr to start a web browswer and point it at the appropriate URL? Where is the web browser configuration?
ID: 144343 · Report as offensive
Scarecrow

Send message
Joined: 15 Jul 00
Posts: 4520
Credit: 486,601
RAC: 0
United States
Message 144465 - Posted: 29 Jul 2005, 13:41:23 UTC
Last modified: 29 Jul 2005, 13:50:58 UTC

I have this same problem, and asked about it in the main forums a while back. Rom Walton gave me this reply:
The manager is supposed to lookup the browser defined in the Unix mime database.

I was under the imression that all Unix style systems have them these days. Although, if you are not seeing a browser launch then it must not be setup.

Here is how the wxWidgets library defines it:

Unix: MIME type information is stored in the files mailcap and mime.types (system-wide) and .mailcap and .mime.types in the current user's home directory: all of these files are searched for and loaded if found by default. However, additional functions wxMimeTypesManager::ReadMailcap and wxMimeTypesManager::ReadMimeTypes are provided to load additional files.

____________
----- Rom

BOINC Development Team, U.C. Berkeley


I'm running seti on a Debian 3.1 machine (Sarge) with KDE and all the 'as installed' mime, mime.type, mailcap settings. I haven't taken the time to try tweaking the various mime-related files to see if I can make it go. If you're running the KDE desktop, a very good alternative is kboincspy. It provides the same functionality of boincmgr and blends into the KDE environment very nicely with it's windowed and graphical displays.
ID: 144465 · Report as offensive
Profile Tim Lines

Send message
Joined: 15 Oct 03
Posts: 2
Credit: 928
RAC: 0
United States
Message 144483 - Posted: 29 Jul 2005, 15:07:00 UTC - in response to Message 144465.  

I have this same problem, and asked about it in the main forums a while back. Rom Walton gave me this reply:
[quote]The manager is supposed to lookup the browser defined in the Unix mime database.

I was under the imression that all Unix style systems have them these days. Although, if you are not seeing a browser launch then it must not be setup.

Here is how the wxWidgets library defines it:

Unix: MIME type information is stored in the files mailcap and mime.types (system-wide) and .mailcap and .mime.types in the current user's home directory: all of these files are searched for and loaded if found by default. However, additional functions wxMimeTypesManager::ReadMailcap and wxMimeTypesManager::ReadMimeTypes are provided to load additional files.

____________
----- Rom

BOINC Development Team, U.C. Berkeley


OK, looks like everything is setup and it still doesn't work:

[linest@amd64 ~]$ grep html /etc/mailcap
text/html; /usr/bin/htmlview %s ; copiousoutput
[linest@amd64 ~]$ grep html /etc/mime.types
application/vnd.pwg-xhtml-print+xml
application/xhtml+xml xhtml xht
text/html html htm
[linest@amd64 ~]$ file /usr/bin/htmlview
/usr/bin/htmlview: Bourne-Again shell script text executable

htmlview is a script that calls firefox. If I liked opera better, I'd edit this script for a system wide change.

Maybe the mime type boincmgr is looking for is not text/html? Looks like it is:
[linest@amd64 BOINC]$ strings boincmgr | grep -i html
text/html
HTML
html
HTML document (from fallback)
text/html

But what I DON'T see there are any URLs ending in htm or html.

Guess, I've got a lot of digging to do.


ID: 144483 · Report as offensive

Questions and Answers : Unix/Linux : Calling a web browser fom boincmgr


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.