On Monday, December 9, 2019 at 3:29:34 PM UTC, John Kane wrote:
>
> I, clearly am missing something. What I just tried.
> Linux Ubuntu 18.04
> I have a file ~/.leo/leo.session. It is empty at the moment.
> Load Leo from terminal:
> setting leoID from os.getenv('USER'): 'john' Leo 5.8.1-b2 devel, build
> 20190213233241, Wed Feb 13 23:32:41 PST 2019
> workbook.leo automatically loads.
> Cpen ~/leodocs/Quotes.leo
> Add one item & save
> Quit Leo
> Check ~/.leo.session—empty
> Tried
> Alt-X session-restore
> Terminal message: Please select an "@session" node
>
> What am missing?
>
> On Mon, 9 Dec 2019 at 02:38, vitalije <[email protected] <javascript:>>
> wrote:
> >
> > If you start Leo with one or more file names then it will open only
> those files you provided. However, if you start Leo without giving any file
> it will open the files that were open last time it was closed i.e. files
> listed in ~/.leo/leo.session. So, you have two options:
> >
> > provide list of file names you wish to open at startup, or
> > start Leo without file names and then open outlines you wish to be open
> on next start and close Leo
> >
> > HTH Vitalije
> >
> > PS: you can also press Alt-x and then type session-restore ENTER and Leo
> will immediately load last saved session
> >
> > On Sunday, December 8, 2019 at 9:54:36 PM UTC+1, John Kane wrote:
> >>
> >> A hopefully simple question from a LEO neophyte/incompetent.
> >> I normally use Loo for simple notes and as a place to hold bits of
> quoted text in outline format.
> >> I would like to set up Leo to load 2 or 3 outline files on start–up.
> >> I understand that i can do this in a ~/.leo/leo.session file but so far
> I have mucked it up. Can someone point me to an example? I think the
> problem is that I do not know how to specify a node.
> >
> > --
> > 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] <javascript:>.
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/leo-editor/aea406c0-abc5-4e44-bef7-7bca15042b6c%40googlegroups.com.
>
>
>
>
>
> --
> John Kane
> Kingston ON Canada
>
Don't you have to start Leo with --session-restore, for the session file to
be loaded? And possibly --session-save, for your sessions to be saved when
you exit Leo?
FWIW below is my ~/.leo/leo.session. The name of one file slightly elided
with X's, but you get the idea. I have three files open in this session...
$ more
~/.leo/leo.session
["/home/jkn/ownCloud/@leo/jknprojects.leo#Diary:10",
"/home/jkn/ownCloud/@leo/xxx-xxxxx.leo#Daily Links:0",
"/home/jkn/ownCloud/@leo/projects.leo#@settings:0"]
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/leo-editor/b7343359-2fda-4555-87c8-7a01ba41b37d%40googlegroups.com.