Update README.md
This commit is contained in:
75
README.md
75
README.md
@@ -126,9 +126,7 @@ You can use [mailcap](https://en.wikipedia.org/wiki/Media_type#Mailcap) to confi
|
|||||||
<img alt="title image" src="resources/mailcap.gif"/>
|
<img alt="title image" src="resources/mailcap.gif"/>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
A mailcap file allows you to associate different MIME media types, like ``image/jpeg`` or ``video/mp4``, with shell commands.
|
A mailcap file allows you to associate different MIME media types, like ``image/jpeg`` or ``video/mp4``, with shell commands. This feature is disabled by default because it takes a a few extra steps to configure. To get started, copy the default mailcap template to your home directory.
|
||||||
|
|
||||||
This feature is disabled by default because it takes a a few extra steps to configure. To get started, copy the default mailcap template to your home directory.
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ rtv --copy-mailcap
|
$ rtv --copy-mailcap
|
||||||
@@ -166,51 +164,50 @@ FAQ
|
|||||||
===
|
===
|
||||||
|
|
||||||
Why am I getting an error during installation/when launching rtv?
|
Why am I getting an error during installation/when launching rtv?
|
||||||
If your distro ships with an older version of python 2.7 or python-requests,
|
|
||||||
you may experience SSL errors or other package incompatibilities. The
|
|
||||||
easiest way to fix this is to install rtv using python 3. If you
|
|
||||||
don't already have pip3, see http://stackoverflow.com/a/6587528 for setup
|
|
||||||
instructions. Then do
|
|
||||||
|
|
||||||
.. code-block:: bash
|
> If your distro ships with an older version of python 2.7 or python-requests,
|
||||||
|
> you may experience SSL errors or other package incompatibilities. The
|
||||||
$ sudo pip uninstall rtv
|
> easiest way to fix this is to install rtv using python 3. If you
|
||||||
$ sudo pip3 install -U rtv
|
> don't already have pip3, see http://stackoverflow.com/a/6587528 for setup
|
||||||
|
> instructions. Then do
|
||||||
|
>
|
||||||
|
> ```bash
|
||||||
|
> $ sudo pip uninstall rtv
|
||||||
|
> $ sudo pip3 install -U rtv
|
||||||
|
> ```
|
||||||
|
|
||||||
Why do I see garbled text like ``M-b~@M-"`` or ``^@``?
|
Why do I see garbled text like ``M-b~@M-"`` or ``^@``?
|
||||||
This type of text usually shows up when python is unable to render
|
|
||||||
unicode properly.
|
> This type of text usually shows up when python is unable to render
|
||||||
|
> unicode properly.
|
||||||
1. Try starting RTV in ascii-only mode with ``rtv --ascii``
|
>
|
||||||
2. Make sure that the terminal/font that you're using supports unicode
|
> 1. Try starting RTV in ascii-only mode with ``rtv --ascii``
|
||||||
3. Try `setting the LOCALE to utf-8 <https://perlgeek.de/en/article/set-up-a-clean-utf8-environment>`_
|
> 2. Make sure that the terminal/font that you're using supports unicode
|
||||||
4. Your python may have been built against the wrong curses library,
|
> 3. Try [setting the LOCALE to utf-8](https://perlgeek.de/en/article/set-up-a-clean-utf8-environment)
|
||||||
see `here <stackoverflow.com/questions/19373027>`_ and
|
> 4. Your python may have been built against the wrong curses library,
|
||||||
`here <https://bugs.python.org/issue4787>`_ for more information
|
> see [here](stackoverflow.com/questions/19373027) and
|
||||||
|
> [here](https://bugs.python.org/issue4787) for more information
|
||||||
|
|
||||||
How do I run the code directly from the repository?
|
How do I run the code directly from the repository?
|
||||||
This project is structured to be run as a python *module*. This means that
|
|
||||||
you need to launch it using python's ``-m`` flag. See the example below, which
|
|
||||||
assumes that you have cloned the repository into the directory **~/rtv_project**.
|
|
||||||
|
|
||||||
.. code-block:: bash
|
> This project is structured to be run as a python *module*. This means that
|
||||||
|
> you need to launch it using python's ``-m`` flag. See the example below, which
|
||||||
|
> assumes that you have cloned the repository into the directory **~/rtv_project**.
|
||||||
|
>
|
||||||
|
> ```bash
|
||||||
|
> $ cd ~/rtv_project
|
||||||
|
> $ python3 -m rtv
|
||||||
|
> ```
|
||||||
|
|
||||||
$ cd ~/rtv_project
|
## Contributing
|
||||||
$ python3 -m rtv
|
|
||||||
|
|
||||||
============
|
|
||||||
Contributing
|
|
||||||
============
|
|
||||||
All feedback and suggestions are welcome, just post an issue!
|
All feedback and suggestions are welcome, just post an issue!
|
||||||
|
|
||||||
Before writing any code, please read the `Contributor Guidelines <https://github.com/michael-lazar/rtv/blob/master/CONTRIBUTING.rst>`_.
|
Before writing any code, please read the [Contributor Guidelines](https://github.com/michael-lazar/rtv/blob/master/CONTRIBUTING.rst).
|
||||||
|
|
||||||
=======
|
## License
|
||||||
License
|
This project is distributed under the [MIT](https://github.com/michael-lazar/rtv/blob/master/LICENSE) license.
|
||||||
=======
|
|
||||||
This project is distributed under the `MIT <https://github.com/michael-lazar/rtv/blob/master/LICENSE>`_ license.
|
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
.. figure:: http://i.imgur.com/quDzox3.png
|
<img alt="title image" src="resources/retro_term.png"/>
|
||||||
:target: https://github.com/Swordfish90/cool-retro-term
|
</p>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user