From: Steven Luo Date: Mon, 14 Dec 2009 11:27:51 +0000 (-0800) Subject: Merge documentation updates from 2.2 into c-implementation X-Git-Tag: v3.0rc1~21 X-Git-Url: http://git.maemo.org/git/?p=browser-switch;a=commitdiff_plain;h=62cd99eefeeb67d5b52444a8768645cfe76b04b6;hp=a9b3f951dddb14ac0188e3e451325592267a22d5 Merge documentation updates from 2.2 into c-implementation --- diff --git a/Changelog b/Changelog index 5bffce5..c6c0853 100644 --- a/Changelog +++ b/Changelog @@ -1,21 +1,49 @@ -2.1 -> steven676 is now the primary maintainer - -- use a config file, /home/user/.config/browser-proxy, if available - -- add support for launching Fennec and Midori out of the box - -- introduce a config option default_browser for selecting the default browser ("tear", "microb", "fennec", "midori", "other") - -- add support for launching an arbitrary browser using the other_browser_cmd config option - -- run maemo-invoker directly instead of /usr/bin/browser to avoid a loop when /usr/bin/browser is a wrapper invoking this script - -- add a new, private D-Bus method for a /usr/bin/browser wrapper to use to launch MicroB with a URI -2.0 -> several patches contributed by steven676: - -- only launch one window if Tear isn't already running - -- use gobject instead of gtk+ for main loop, uses less memory - -- use python dbus interface instead of shelling out for dbus-send - -- add 'continuous mode' option to keep proxy running (faster response) - -- kill browserd on exit if launched from the script - -- add option to use MicroB by default -1.5 -> added mime_open method used by File manager to open .html files -1.4 -> can now manually launch MicroB/browser -- while open, it will be used instead - -- without --print-reply, the initial launching message seems to get lost -1.3 -> sniff for local paths, prefix with file:// (fixes feedcircuit) -1.2 -> removed return values, added osso_browser/request namespace (fixes Pidgin) -1.1 -> fixed wrong capitalization in dbus message -1.0 +version 2.2: +* rename the package to browser-switchboard +* move the config file to $HOME/.config/browser-switchboard, and fall back + to the old location if no config file is found +* if no config file is found and Tear isn't installed, launch MicroB; + this avoids breaking link opening on a system with a freshly installed + browser-switchboard package and Tear not installed +* substantial documentation update + +version 2.1: +* Steven Luo is now the primary maintainer +* use a config file, /home/user/.config/browser-proxy, if available +* add support for launching Fennec and Midori out of the box +* introduce a config option default_browser for selecting the default browser + ("tear", "microb", "fennec", "midori", "other") +* add support for launching an arbitrary browser using the other_browser_cmd + config option +* run maemo-invoker directly instead of /usr/bin/browser to avoid a loop when + /usr/bin/browser is a wrapper invoking this script +* add a new, private D-Bus method for a /usr/bin/browser wrapper to use to + launch MicroB with a URI + +version 2.0: +* several patches contributed by Steven Luo: + - only launch one window if Tear isn't already running + - use gobject instead of gtk+ for main loop, uses less memory + - use python dbus interface instead of shelling out for dbus-send + - add 'continuous mode' option to keep proxy running (faster response) + - kill browserd on exit if launched from the script + - add option to use MicroB by default + +version 1.5: +* added mime_open method used by File manager to open .html files + +version 1.4: +* can now manually launch MicroB/browser -- while open, it will be used instead +* without --print-reply, the initial launching message seems to get lost + +version 1.3: +* sniff for local paths, prefix with file:// (fixes feedcircuit) + +version 1.2: +* removed return values, added osso_browser/request namespace (fixes Pidgin) + +version 1.1: +* fixed wrong capitalization in dbus message + +version 1.0: +* initial release diff --git a/README b/README index 656dc1d..e7917c6 100644 --- a/README +++ b/README @@ -1,29 +1,187 @@ -Browser Switchboard -version 2.2 by steven676 and xiojason -(see http://browser-switch.garage.maemo.org/) - -simple python-dbus service that proxies osso_browser events to Tear -based on code from http://paste.lisp.org/display/45824 - -installation: -0. ensure the needed python packages are installed: - python2.5, python2.5-dbus, and python2.5-gtk2 -1. place this file in /home/user as browser-switchboard -2. make executable (chmod +x browser-switchboard) -3. change /usr/share/dbus-1/services/com.nokia.osso_browser.service to read: -[D-BUS Service] -Name=com.nokia.osso_browser -Exec=/home/user/browser-switchboard -4. disable tablet-browser-service (aka browserd) (optional, saves memory) -5. you may wish to reboot. - -notes: -- opening urls will be a bit slow. it takes some time to relay the messages to Tear -- modifications to the script may require the killing of an already-running - browser-switchboard process -- just use 'kill' to stop it. -- modifying the osso_browser.service file prevents MicroB/browserd from working. - if you wish to restore MicroB/browserd, change the service file's contents back to: -[D-BUS Service] -Name=com.nokia.osso_browser -Exec=/usr/bin/browser - and re-enable tablet-browser-service again. +BROWSER SWITCHBOARD + +Browser Switchboard is a program which allows you to choose which +browser to use as the default browser. It supports MicroB, Tear, +Fennec/Mobile Firefox, and Midori out of the box, and can also be used +to launch MicroB without having browserd running. + + +Download: +Binary packages and source are available for download from the project +page on garage.maemo.org: https://garage.maemo.org/frs/?group_id=1159 + + +Quick Start: +1. Download the binary package: browser-switchboard_X.Y-Z_all.deb +(where X.Y-Z is the version number, of course). +2. Install the package using the Application Manager (open the +Application Manager, then select Application->Install from file in the +menu). + +If Tear (http://talk.maemo.org/showthread.php?t=28539) is installed, +it should now be the default browser, meaning that links in most +applications, locally-saved web pages opened in the file manager, and +entries in the Web sidebar panel should now open in Tear. If Tear isn't +installed, MicroB will be used as the default browser; keep reading to +see how to change the default browser to something else. + +MicroB can always be opened via the Web menu entry in the applications +panel (located in the Internet menu by default), or by running "browser" +from the shell. While MicroB is open, it will receive all links from +other applications; closing MicroB will restore your chosen default +browser. + +Some users have reported that a restart may be necessary to ensure that +Browser Switchboard is functioning. If you experience trouble after +installing the package, try rebooting your device first. + + +Changing the Default Browser: + +By default, Tear is used as the default browser if installed (otherwise +MicroB is the default browser). To change this behavior, you need to +create a configuration file (from the shell for now -- a configuration +UI is in the works). From a shell on your device (xterm, SSH, or +similar), run the following (where $ is your prompt, not something you +type): + +$ cat > $HOME/.config/browser-switchboard < is the primary maintainer, with +Jason Simpson (the original developer) assisting in development. + + +License: + +Browser Switchboard is available under the terms of the GNU General +Public License (GPL), version 2 or later (see the file LICENSE in the +source).