Skip to content

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

Open
@offlinehacker

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions