Hello Josef,

I am a writer and a longtime Linux Mint user. I recently switched to Chakra
as Mint dropped KDE. I am not a programmer.

I have been using Leo for ten years as my primary editor. (Wow, time flies).

Here is how I install Leo.

1. Install the latest Anaconda from here:
https://www.anaconda.com/download/#linux

I use the python 3 version. I am not a programmer so it doesn't matter to
me. The latest version of anaconda comes with anaconda-navigator, an
excellent utlity that helps manage what is installed and what is not and
simplifies setting up a python environment including different versions of
python and pyQT. I have had so many bad experiences with the python
installed by distributions that anaconda has sorted out that I have learned
to start with anaconda instead of monkeying with .deb packages and python.

2. Install the prerequisites for Leo. These I usually install using pip or
the package manager in the distribution. Try pip first.

docutils, pandoc, pyxml, pyenchant, git

3. Install Leo.

Open a terminal in your home directory. git clone
https://github.com/leo-editor/leo-editor.git

4. Configure environment.

I use a shell script to run Leo from my home directory to run Leo. I always
open Leo from a terminal as often valuable information is displayed in the
terminal that doesn't show anywhere else.

    #!/bin/bash
    cd leo-editor
    git pull
    ./launchLeo.py --session-restore --session-save

I have never tried to associate .leo files or .db files with Leo. In a
decade I have actually only ever used three actual files: myLife.leo (my
organizer), writing.leo (small projects, like articles, websites etc.), and
novel.db, the book I am working on. I have generated over a thousand text
files using @file and @clean from these .leo files.

In general, try to stay away from the package manager in your distribution
when it comes to python and QT. Anaconda is your friend. :-)

Hope this helps,

Chris

On Wed, Nov 22, 2017 at 4:03 AM, Josef <[email protected]> wrote:

> Although I used python occasionally since version 1.3, programming is not
> my main occupation.
> So far I have installed leo from git, but I am missing a straightforward
> way to configure it on my Xubuntu 16.04 machine.
>
> I do not know how to create a new mime type for it and associate it with
> leo (it's easy to associate it with an existing mime type, but I do not
> want to open all XML files with Leo).
> The mime type editor, that comes with xubuntu does not seem to allow
> adding a new type!
>
> I do not know what all the dependencies are, therefore I have currently
> viewrendered not working.
>
> The Leo Debian package sources from Ville Vaino are for the jaunty version
> of Debian and do not seem to load in Xubuntu 16.04.
>
> I think it would be nice to be able install and configure Leo without too
> much hassle at least on the Ubuntu LTS versions and derivates, e.g.
> Xubuntu, Kubuntu, ...
> Ideally that would mean a matching .deb package, but I would be happy with
> a good set of instructions.
>
> --
> You received this message because you are subscribed to the Google Groups
> "leo-editor" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/leo-editor.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to