Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
  • 0
FunshineX

Multiple screens - set which displays shell

Question

I have a computer with a screen directly attached, and 4 more attached via cable.  When I book the computer, the main bios is printed to the attached screen, and stops at Initializing Components...  The shell is then printed on one of the other screens.  How can I set the shell to run on the main attached screen, not the ones connected via cable?

Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0
bind(address: string): boolean[, string]
Tries to bind the GPU to a screen with the specified address. Returns true on success, false and an error message on failure.
A GPU can only be bound to one screen at a time. All operations on it will work on the bound screen. If you wish to control multiple screens at once, you'll need to put more than one graphics card into your computer.

That was taking right from the wiki.

 Type that into a lua prompt or make an autorun command for it.

Link to post
Share on other sites
  • 0

The screen switch is because the "primary" component system is provided by OpenOS, not the Lua BIOS or the sandbox. The BIOS binds the first GPU to the first screen, and that is what OpenOS will show the boot progress log on. Once OpenOS' component additions are loaded, the last screen with a keyboard is set as the primary screen, which is then bound to the primary GPU. The definitons of "first" and "last" are basically random. All that is guaranteed is that the primary screen will have a keyboard, unless there is no screen with a keyboard.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.