Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: andyj on November 18, 2015, 03:34:35 PM

Title: waitforX
Post by: andyj on November 18, 2015, 03:34:35 PM
If the source I found online is to be believed, waitforX is hardcoded to check display :0. Is this right, or can I check :1 also? Or does it need a patch to take a display from the command line when we need to check additional displays?
Title: Re: waitforX
Post by: yiyus on November 18, 2015, 03:49:13 PM
Instead of taking an argument, it should probably read the DISPLAY environment variable.
Title: Re: waitforX
Post by: andyj on November 18, 2015, 04:10:39 PM
That would be OK too.
Title: Re: waitforX
Post by: curaga on November 19, 2015, 06:04:59 AM
Updated to honor $DISPLAY.