An open API service indexing awesome lists of open source software.

https://github.com/lebedov/chooser

Choose browser when opening a URI
https://github.com/lebedov/chooser

launcher web-browser xdg

Last synced: about 1 month ago
JSON representation

Choose browser when opening a URI

Awesome Lists containing this project

README

          

.. -*- rst -*-

Chooser
=======

Package Description
-------------------
`chooser` is a graphical utility that enables one to choose which
web browser to use when opening a URI.

.. image:: https://img.shields.io/pypi/v/chooser.svg
:target: https://pypi.python.org/pypi/chooser
:alt: Latest Version

Quick Start
-----------
Make sure that `pyxdg `_ and
`wxPython `_ are installed on your system.
If you have `pip `_ installed, run::

pip install chooser

You can also download the source tarball, unpack, and run::

python setup.py install

from within the source directory.

To invoke the utility when attempting to view a selected URI via the mouse popup
menu provided in many desktop environments, set your default web browser to::

chooser "%s"

Configuration
-------------
By default, `chooser` searches for several common web browsers. One may also
specify which browsers to display in the configuration file
`~/.config/chooser/chooserrc` as follows::

[Browsers]
Firefox: /usr/bin/firefox
Chromium: /usr/bin/chromium-browser

Development
-----------
The latest source code may be obtained from `GitHub
`_.

Author
------
See the included `AUTHORS.rst
`_ file for more
information.

License
-------
This software is licensed under the `BSD License
`_. See the included
`LICENSE.rst `_ file
for more information.