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]: Add capability to turn off screen and set position #21

Open
bzhpwr opened this issue Jan 28, 2023 · 2 comments
Open

Comments

@bzhpwr
Copy link

bzhpwr commented Jan 28, 2023

Hi,

First, thank you for this cool tool :)

With gnome-randr.py, i use something like this as a keyboard shortcut

  # Turn off second screen when using first monitor as a TV
  gnome-randr.py --output "DP-1" --auto --primary --output "DP-3" --off
  # Turn on second screen when I need second screen
  gnome-randr.py --output "DP-1" --auto --primary --output "DP-3" --left-of "DP-1"  --auto

Is it possible to add left-of and right-of option to set the screen position and maybe the off option to turn off one screen ?

Thank U :)

@maxwellainatchi
Copy link
Owner

Hi @bzhpwr! Glad you like it. I made this tool mostly just to learn Rust, and as I no longer have access to a working Linux install, I'm not going to be contributing more to it for the time being. If I ever decide to fix my Linux install I'll work on it again. This definitely would be a great feature to add though!

Re: the off option, there's already an issue open for adding support (#13).

@maxwellainatchi
Copy link
Owner

Oh also, someone has a PR open (#18) to set the positioning, though not quite --left-of and --right-of. I didn't like how it was implemented so I didn't merge it, but you're welcome to use that branch if it's helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants