Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] choose display #17

Open
kaliiiiiiiiii opened this issue Nov 4, 2024 · 0 comments
Open

[Feature request] choose display #17

kaliiiiiiiiii opened this issue Nov 4, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@kaliiiiiiiiii
Copy link
Contributor

and pass it onward in __ainit__ to os base (linux.py) and use this display string as the display_env if set

    def __init__(self, pid: int, scale_factor: float, displayStr: Optional[str] = None) -> None:
        self.pid = pid
        self.scale_factor = scale_factor
        self._loop = asyncio.get_event_loop()

        display_env = displayStr or os.getenv("DISPLAY")
        self.display = display.Display(display_env)
        self.tab_pid = self.get_window()

For multiple XVFB//X11 displays, or pseudo-headless

@kaliiiiiiiiii kaliiiiiiiiii added the enhancement New feature or request label Nov 4, 2024
@Vinyzu Vinyzu self-assigned this Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants