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

'BadWindow' when executing nitrogen right after xrandr #135

Open
cmosig opened this issue Jun 5, 2020 · 0 comments
Open

'BadWindow' when executing nitrogen right after xrandr #135

cmosig opened this issue Jun 5, 2020 · 0 comments

Comments

@cmosig
Copy link

cmosig commented Jun 5, 2020

I am getting the following error:

The program 'nitrogen' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 205 error_code 3 request_code 20 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

when executing nitrogen --head=1 --set-scaled path

This line is executed right after enabling the respective screen using xrandr (in a shell script). This error occurs consistently. If I wait another second after enabling the screen and then run nitrogen then the error does not occur.

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

1 participant