WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: waitforX  (Read 2293 times)

Offline andyj

  • Hero Member
  • *****
  • Posts: 1020
waitforX
« on: November 18, 2015, 12: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?

Offline yiyus

  • Newbie
  • *
  • Posts: 17
Re: waitforX
« Reply #1 on: November 18, 2015, 12:49:13 PM »
Instead of taking an argument, it should probably read the DISPLAY environment variable.

Offline andyj

  • Hero Member
  • *****
  • Posts: 1020
Re: waitforX
« Reply #2 on: November 18, 2015, 01:10:39 PM »
That would be OK too.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: waitforX
« Reply #3 on: November 19, 2015, 03:04:59 AM »
Updated to honor $DISPLAY.
The only barriers that can stop you are the ones you create yourself.