[Scilab-users] Really headless figure generation in scilab

Stéphane Mottelet stephane.mottelet at utc.fr
Thu Apr 30 09:26:51 CEST 2020


Hi,

Le 30/04/2020 à 09:22, Clément David a écrit :
> Hello,
>
> Thanks for sharing the info Stéphane, it is documented on the scilab binary help page, on https://antispam.utc.fr/proxy/2/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/help.scilab.org/docs/6.1.0/en_US/scilab.html . However, this might not be clear enough.

Yes. Particularly, I don't see any mention of

_JAVA_OPTIONS='-Djava.awt.headless=true'

which is mandatory (and should be added on-the-fly by the Scilab 
script), I mean SCI_DISABLE_TK=1 SCI_JAVA_ENABLE_HEADLESS=1 are not enough.

S.

>   Maybe adding your usage as an example can help?
>
> Thanks,
>
> --
> Clément
>
>> -----Original Message-----
>> From: users <users-bounces at lists.scilab.org> On Behalf Of Stéphane Mottelet
>> Sent: Wednesday, April 29, 2020 3:33 PM
>> To: users at lists.scilab.org
>> Subject: Re: [Scilab-users] Really headless figure generation in scilab
>>
>> I don't think so. This is the way Scilab is launched to build the documentation.
>>
>> S.
>>
>> Le 29/04/2020 à 15:28, Antoine Monmayrant a écrit :
>>> On 29/04/2020 15:18, Stéphane Mottelet wrote:
>>>> SCI_DISABLE_TK=1 SCI_JAVA_ENABLE_HEADLESS=1
>>>> _JAVA_OPTIONS='-Djava.awt.headless=true'
>>>
>>> Thanks Stéphane for this dark magic!
>>> It works.
>>> Is this documented somewhere?
>>>
>>>
>>> Antoine
>>>
>>> _______________________________________________
>>> users mailing list
>>> users at lists.scilab.org
>>> https://antispam.utc.fr/proxy/2/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists
>>> .scilab.org/mailman/listinfo/users
>>>
>> --
>> Stéphane Mottelet
>> Ingénieur de recherche
>> EA 4297 Transformations Intégrées de la Matière Renouvelable Département
>> Génie des Procédés Industriels Sorbonne Universités - Université de Technologie
>> de Compiègne CS 60319, 60203 Compiègne cedex Tel : +33(0)344234688
>> https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/www.utc.fr/~mottelet
>>
>> _______________________________________________
>> users mailing list
>> users at lists.scilab.org
>> https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users

-- 
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
http://www.utc.fr/~mottelet




More information about the users mailing list