Default application for 'Web sites' and 'Help' buttons

Message boards : BOINC Manager : Default application for 'Web sites' and 'Help' buttons
Message board moderation

To post messages, you must log in.

AuthorMessage
guenter
Avatar

Send message
Joined: 10 Feb 06
Posts: 2
Germany
Message 3020 - Posted: 10 Feb 2006, 12:13:38 UTC

Im running BOINC Manager 5.2.13 on RHEL3
and have problems with 'Web sites' and 'Help' buttons.

Whenever i click on such a button a 'gedit' window is
shown instead on the expected browser window.

How is this application defined?

I have already 'straced' boincmngr and looked for access to files with mimetypes but found nothing related.

ID: 3020 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15487
Netherlands
Message 3021 - Posted: 10 Feb 2006, 13:20:29 UTC

You have to set up the default browser.

/usr/share/applications/redhat-web.desktop
This file defines the desktop action when the web browser front panel icon is clicked on. Even though it is part of the htmlview package (which provides the user with a configurable way of invoking their favourite browser), it is actually a symbolic link to an action that always invokes mozilla! My replacement for the above desktop file instead invokes htmlview. Then the user can configure which browser by setting up a file $HOME/.htmlviewrc: for example, to invoke firefox instead of mozilla, it could contain:

X11BROWSER=firefox

htmlview is also invoked (for example) by mail clients like pine on displaying an html file, because htmlview is defined in /etc/mailcap. So the user gets a consistent browser.

ID: 3021 · Report as offensive
guenter
Avatar

Send message
Joined: 10 Feb 06
Posts: 2
Germany
Message 3043 - Posted: 13 Feb 2006, 8:26:48 UTC

I changed in all these files mozilla to htmlview, but the result is still the same:

All links are opened in gedit.

From 'strace' I have a list of 696 files which are opened without error and the only file with lot of 'gedit' lines is /usr/share/mime-info/gnome-vfs.keys
for
text/*
default_action_type=component
short_list_component_iids=OAFIID:Nautilus_Text_View
short_list_component_iids_for_novice_user_level=OAFIID:nautilus_text_view:fa466311-17c1-435c-8231-c9fc434b6437
short_list_component_iids_for_intermediate_user_level=OAFIID:nautilus_text_view:fa466311-17c1-435c-8231-c9fc434b6437
short_list_component_iids_for_advanced_user_level=OAFIID:nautilus_text_view:fa466311-17c1-435c-8231-c9fc434b6437
short_list_application_ids_for_novice_user_level=gedit,pico,openoffice
short_list_application_ids_for_intermediate_user_level=xemacs,emacs,nedit,gedit,xfte,pico,openoffice
short_list_application_ids_for_advanced_user_level=xemacs,gvim,emacs,vi,nedit,gedit,xfte,pico,openoffice
category=Documents/Plain Text

and:

text/plain
can_be_executable=TRUE
description=plain text document
short_list_application_ids_for_novice_user_level=gedit,pico,openoffice
short_list_application_ids_for_intermediate_user_level=xemacs,emacs,nedit,gedit,xfte,pico,openoffice
short_list_application_ids_for_advanced_user_level=xemacs,gvim,emacs,vi,nedit,gedit,xfte,pico,openoffice
category=Documents/Plain Text


but these lines looks ok to me.
ID: 3043 · Report as offensive

Message boards : BOINC Manager : Default application for 'Web sites' and 'Help' buttons

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.