Thanks for the extra detail Thomas. 

Something like this function in runLeo.py 
<https://github.com/leo-editor/leo-editor/blob/devel/leo/core/runLeo.py> to 
add command line argument might be used to invoke no-docks:

def run_console(*args, **keywords): 
   """Initialize and run Leo in console mode gui""" 
   import sys 
   sys.argv.append('--gui=console') 
   run(*args, **keywords)


It is called like this:


import leo.core.runLeo
leo.core.runLeo.run_console()


I tried simply changing it to `leo.core.runLeo.run_console('--no-dock')` 
instead but that failed, so more would be needed. A path perhaps though.


Leo 6.3-devel, devel branch, build 8051ecd172
2020-04-05 05:55:36 -0500

trace: createMenuFromConfigList NO PARENT Edit Settings doHandlersForTag,
callTagHandler,onCreate,build_menu

Redirection is not supported.

The kernel process exited. (1) 


-matt



-- 
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/3100d93f-84d9-4d2b-8a5b-c223d9e2089d%40googlegroups.com.

Reply via email to