Thanks Steve. The pre_spawn script does the trick for now.

On Thu, Nov 2, 2017 at 8:58 AM, Steven Silvester <[email protected]
> wrote:

> Hi Charles,
>
> Yes, the approach you describe sounds correct for now.  We had been
> avoiding the auto-merge behavior that the classic notebook uses because the
> merge order is difficult to get right for every situation.  However, it
> sounds like we should at least allow you to provide a specific defaults
> folder.  I opened https://github.com/jupyterlab/jupyterlab/issues/3179.
>
>
> Regards,
>
> Steve
>
> On Wednesday, November 1, 2017 at 8:29:10 AM UTC-5, Charles Forelle wrote:
>>
>> Hello,
>>
>> I have the following setup:
>> -JupyterHub using the default local spawner
>> -c.Spawner.cmd = ['jupyter', 'labhub'] to run JupyterLab when single-user
>> servers are spawned (labhub extension installed).
>>
>> What's the best way to get common jupyterlab extension settings loaded
>> for each of the users' servers? (One use case: all users need to have the
>> same clientId setting configured for the google-drive extension.)
>>
>> Should I be using c.Spawner.pre_spawn_hook to run a shell script that
>> writes the settings json to /home/{USERNAME}/.jupyter/lab/user-settings?
>> Or is there another option? (I may be fundamentally misunderstanding how
>> these settings work!)
>>
>> JupyterLab 0.28.11
>> JupyterHub 0.8
>>
>> Thanks! I'm grateful for any guidance.
>> -Charles
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" 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].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jupyter/0f0b94e2-3933-4c25-954e-7a2578aea474%40googlegroups.com
> <https://groups.google.com/d/msgid/jupyter/0f0b94e2-3933-4c25-954e-7a2578aea474%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" 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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAOFssWyYg1FiZcyRV7%3DJETmcsTpG4PzOPEn2z2eSsLB-E3NnSQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to