New answers tagged

1

This is a bad idea if your goal is to be productive and use the tools. But you can learn a ton by disabling SIP on a machine you don’t need and seeing what breaks when you modify the tool. If your goal is to learn, go for it. Here is why it’s “bad” and some very good resources on the history of where to add customizations on unix. Apple protects /usr via ...


3

One way is to modify the install.sh script in homebrew git source and change HOMEBREW_PREFIX to point to whereever you want homebrew to install. In my case, I've decided to use /usr/local2, because of some restrictions on /usr/local in OSX Catalina, so modify install.sh with HOMEBREW_PREFIX=/usr/local2 and HOMEBREW_REPOSITORY=/usr/local2/Homebrew before ...


1

I think this a better question than it seems because it gets at some system-level facts that are bit opaque and historical. Firstly, the reason GNU/Linux, BSD systems and some other Unix variants tend to put the root user's home directory in /root/ is to keep it out of /home/, which is often a separate mount -- potentially mounted over a network. If the /...


1

Seems that pug view rendering engine NOT INSTALLED locally as a depency, even though I installed Express globally with npm install -g express-generator Fix run a terminal window, or press CTRL-`(backtick) from inside of Visual Studio Code cd into your project directory/folder - or already there if launched the terminal from VSCode (previous step)... from ...


1

I had the same problem. Here's a suggestion that worked for me, it involves creating a daemon that will kill the service QuickLookUIService every 5600 seconds (you can tune this setting). Whole answer here with the daemon code is here: https://discussions.apple.com/thread/8506070 The one that I had to Force Quit everytime was QuickLookUIService (Spotlight). ...


0

For a MacBook Pro there is a possibility. Assuming you are using the trackpad to click, it may be worth trying a wired USB mouse. Try on all USB ports just in case. Oddly enough older MacBooks have actual ADB bus pointing devices, long after Apple supported ADB as an available port. Not sure if this is one of those Macs but a curious historical note, none ...


1

Good to know that I'm not the only one who thinks this is a problem. I ran into it while writing a Python script for monitoring parts of my macOS (10.15.7) filesystem, which also involved coping files. The script sometimes behaved erratic and produced unpredictable output. After some poking around I found out that the incapability of cp -p to preserve ...


2

I've found a cause of the same problem. An app may use it as a hotkey. In my case, I use a dictionary app (Eudic), which will read the clipboard if cmd+c is pressed twice. An easy way to check whether it is caused by an app is to activate the Guest account, which usually has few autostart apps, and to check whether the problem still exists.


0

Are you accidentally double clicking the window's title bar? In modern versions of macOS, double clicking a window's title bar mimics the behavior of the old "Zoom" button that was semi-replaced in OS X Yosemite. I find that I sometimes activate this behavior accidentally. To disable the behavior, go to System Preferences ➞ Dock and uncheck "...


Top 50 recent answers are included