WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: waitforX  (Read 2699 times)

Offline andyj

  • Hero Member
  • *****
  • Posts: 1036
waitforX
« 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?

Offline yiyus

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

Offline andyj

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

Offline curaga

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