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

New chromium window does not appear until chromium is resumed #10

Open
offlinehacker opened this issue Jan 20, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@offlinehacker
Copy link
Contributor

commented Jan 20, 2019

Issue

When opening a new chromium window if chromium is suspended it does not get opened until i focus one of existing chromium windows. This is a bit annoying, but additionally window gets spawned on workspace i switched to for resuming chromium, and not the one i wanted to start it originally.

Possible solution

If it would be possible to send SIGUSR1 signal to xsuspender and force it to resume all processes it would be possible to make chromium command wrapper or bpf (https://github.com/iovisor/bcc/blob/master/tools/execsnoop.py) script that would send SIGUSR1 to xsuspender whenever a new chromium is started (one without parent).

tldr: implement SIGUSR1 signal handler that resumes all suspended processes.

@offlinehacker offlinehacker changed the title When opening a new chromium window it does not appear until resumed New chromium window does not appear until chromium is resumed Jan 20, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.