Page 1 of 1

how to run pixilang without window?

Posted: Sun Jul 11, 2021 7:40 pm
by philipbergwerf
In the documentation I see under 'Pixilang info flags' PIXINFO_NOWINDOW. It sounds like it will run pixilang without creating a window. How to properly use this flag. Can I have a little example please?

Re: how to run pixilang without window?

Posted: Mon Jul 12, 2021 2:16 pm
by NightRadio
Two ways:
1) add "nowin" to the pixilang_config.ini
2) from command line: pixilang -cfg "nowin" yourapp.pixi

Re: how to run pixilang without window?

Posted: Mon Jul 12, 2021 8:21 pm
by philipbergwerf
My config looks like this:

Code: Select all

width 2560
height 1384
locale_lang en_US
frecent_y 153
frecent_xs 91
"nowin" 
Still when running something the window is appearing on my system. I have the newest version of Linux Lite. Is this normal?

Re: how to run pixilang without window?

Posted: Mon Jul 12, 2021 8:22 pm
by philipbergwerf
Ah I understand I removed the quotes and it works :)
Another question: Can you define in your program that it will not create a window? For example my tuning generator doesn't need a window to run.

Re: how to run pixilang without window?

Posted: Tue Jul 13, 2021 1:49 pm
by NightRadio
Unfortunately you can't hide the window from the pixi code directly. At least in the current version...