First off ... just because you can do:
sudo launchctl load <file>
From the command line doesn't mean it will work on reboot:
sudo shutdown -r now
| #!/bin/bash | |
| # fix-mouse: Fix stuck mouse events after wake from screensaver | |
| # | |
| # After waking from screensaver, macOS sometimes leaves a ghost "loginwindow" | |
| # overlay (layer 2004) covering one display, silently eating all mouse events. | |
| # This script finds and moves that overlay off-screen using the Accessibility API. | |
| # | |
| # Usage: fix-mouse | |
| echo "Checking for stuck loginwindow overlays..." |
First off ... just because you can do:
sudo launchctl load <file>
From the command line doesn't mean it will work on reboot:
sudo shutdown -r now
| module.exports = function(grunt) { | |
| var fs = require("fs") | |
| var path = require("path"); | |
| var xml_parser = require("xml2js"); | |
| var vision_path = "/var/www/vision"; | |
| var assets_xml = vision_path + "/website/etc/siteDefinition/assets.xml"; | |
| var assets_dest = vision_path + "/website/public/js/assets/"; | |
| var watch_files = [vision_path + "/website/public/js/**/*.js", "!" + assets_dest, assets_xml]; |