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

Improvement to work with some distros #7

Open
cystek opened this issue Jul 2, 2019 · 1 comment
Open

Improvement to work with some distros #7

cystek opened this issue Jul 2, 2019 · 1 comment

Comments

@cystek
Copy link

cystek commented Jul 2, 2019

I recently encountered a situation where the monitor-hotplug.sh was being called before the relevant info was available to execute it correctly and it was causing the script not to work even with attempts to nohup the xrandr statements to allow data to populate (specifically, in Qubes OS). The fix was to create a second script that simply scheduled the script to run immediately but in a separate process. I figured this info would be useful and perhaps a companion script or section in the readme appropriate to cover more distros.

at now -f "/usr/local/lib/monitor-hotplug.sh

@sessions-matthew
Copy link

On a similar note, after reading this I tacked a sleep 10 towards the top of the file to give my USBC displayport connected monitor some time to initialize and it works very well.

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