New answers tagged

0

Open:System Preferences > Security & Privacy, navigate to the General tab and click Open anyway button. Otherwise. Check some other alternative in this post: (do not forget to remove the quarantine extended attribute that’s set on the app): https://stackoverflow.com/questions/58457958/visual-studio-code-cant-be-opened-because-apple-cannot-check-it-...


0

Some thoughts: As far as I know have both pip version 19.2.3 as well as 21.1.1 and need to remove the old one right? Regarding removal, not necessarily. While it's certainly more true on Linux, Python is often tightly integrated into *nix-style systems. Messing with a default system installation of Python can (hypothetically) cause failures in key system ...


0

If installed with homebrew it will automatically restart. brew service name list brew services list output Stop the service: brew services stop mysql@5.5 Original Answer: https://stackoverflow.com/a/57169447/2670370


0

Try WordBoard Keyboard from App Store. Instead of using iphone text replacement, you just need to create templates, works with line breaks also. I just tried now.


0

I presume you mean window rather than screen. It's inherent in macOS, though a few controls will respond on first click, Mac is designed to not do that. Those of use used to it dislike how on Windows clicking something will action it whether you wanted it to or not. Some controls will respond - the three dots top left of a window will respond whether that ...


0

Another tool that is available is Disk Drill, it has tree editions


0

According to this Apple support page, you turn off FileVault by Choose Apple menu > System Preferences, then click Security & Privacy. Click the FileVault tab. Click the locked icon (in the lower left corner of the window, denoted "Click the lock to make changes"), then enter an administrator name and password. Click Turn Off FileVault. ...


0

I had the same problem with iTerm2(Build 3.4.5), tried to do from dock > iterm > options > (assign to) but didn't worked Following worked for me go to menu > iTerm2 > Preferences... OR use shortcut command, Go to window tab in Profile Tab (Don't Go to window tab in General Tab) and select space, whichever you want to use, using Current space ...


0

Actually, I got it working, and I found a lengthy explanation of what is going on. Apparently it's the same problem as this one: The macOS “say” utility does not work for non-root users in Sierra Lengthy explanation: https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard After running brew install reattach-to-user-namespace I can now run echo reattach-to-...


0

In the Mac OSX version of rsync (version 2.6.9) only a single remote host and path is permitted. In version 3.0.0 an enhancement was included to permit multiple remote sources: Rsync now allows multiple remote-source args to be specified rather than having to rely on a special space-splitting side-effect of the remote- shell. Additional remote args must ...


0

There is a trick way. completely empty the email file : > /var/mail/$User change the attribute of email file sudo chflags schg /var/mail/$User As except "root", no one can change this file. Then the annoying "You have mail" gone away.


0

For this specific use case I would recommend just adding history -w to your PROMPT_COMMAND (or in shell function that gets invoked thence). More generally I would suggest having a queue for commands requested outside, and using PROMPT_COMMAND to run them: run_prompt_queue() { local f for f in ~/.bash_queue.d/$$-* do [[ -f $f ]] || continue # still ...


0

The MacBook Pro belonging to my sister in law was running High Sierra. She was having a lot of problems and was advised by someone from Google to reinstall the system. The reinstall halted with an error message something to the effect that it couldn't install because the disk was being encrypted (She had at sometime in the past turned on FileVault). Now ...


0

Besides the possible-yet-complicated comment describing permission changes, this is also possible with the built-in macOS controls... But only if you're willing to accept a LOT of other restrictions. The Privacy preferences allows you to limit which apps can access which "areas" of your Mac: But, it's not very granular. I've only seen the 4 ...


1

If the disk is not mounting, then you will likely have to spend some money on a repair utility or a data recovery application, if the data is important and has no backup. Although you have specified that you are not interested in commercial software, I list below some such tools, if no better answer comes up. You may ask around your friends or nearby repair-...


0

Disabling a device can't be done from Audio MIDI Setup :( Someone suggested https://rogueamoeba.com/soundsource/ which can do it (not my discovery). In typical Mac fashion this feature isn't free.


1

/etc/sysctl.conf is no longer supported with Big Sur. To make persistent changes systctl can be issued on boot time using a launch daemon in /Library/LaunchDaemons/com.startup.sysctl.plist <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/...


0

One other thing to check... I had made a shortcut (alias) to a network drive in the Dock to make it easier to connect when I needed it. In at least MacOS Big Sur, the network drive would automatically get mounted at login. Deleting the Dock shortcut stopped the network drive from auto mounting. Not sure if this is a new 'feature', it didn't happen in earlier ...


0

I'm not sure that the issue is on the server. You are essentially trying to use your MacOS as a router. This is only possible if the MacOS is hardwired (Connected via Ethernet) to the actual router, then the MacOS can act as a WiFi router using it's native internet sharing options. In short what you are trying to do is not possible with the MacOS to my ...


1

Windows considers every Window to be a separate application instance. macOS doesn't, merely different views into the same instance. That essential paradigm difference is why you need two commands. There is a workaround, but it's very arbitrary… You can use Ctrl ⌃ F4 to cycle between all windows - but it really is all windows, no matter what or where ...


0

For me worked setting password for samba account: sudo smbpasswd -a NEW_PASSWORD ...I thought linux account is shared to samba but you need to set password extra to samba.


0

From the Apache documentation page for httpd: -D parameter Sets a configuration parameter which can be used with <IfDefine> sections in the configuration files to conditionally skip or process commands at server startup and restart. Also can be used to set certain less-common startup parameters including -DNO_DETACH (prevent the parent from forking) ...


0

On Windows this was the only thing I could get to work with a bunch of non-sequentially named jpegs (e.g. DMC003.JPG, DMC006.JPG, DMC009.JPG) Rename to sequential files in Powershell: dir *.jpg | %{$x=0} {Rename-Item $_ -NewName "Frame$($x.tostring('000000')).jpg"; $x++ } Then in Anaconda prompt: ffmpeg -framerate 15 -i Frame%06d.jpg output.mp4 ...


0

In iTerm2 you can go to Edit → Copy with Control Sequences to copy with the ANSI colour codes. Then you just need something that will render ANSI colours.


0

Personally, I had an issue with my ~/.ssh/config file. I had to remove the host which was the host of my remote machine. I just had to keep my ~/.ssh/config as Host * ServerAliveInterval 300 ServerAliveCountMax 22


0

In my case there was "Change Picture" selected in "Desktop & Screen Saver" menu. It's still possible to uncheck this programatically: /usr/bin/osascript -e 'tell application "System Events" tell current desktop set picture rotation to 0 end tell end tell ' Now you can use this: /usr/bin/osascript -e 'tell ...


0

I believe there is an issue in that TimeMachine backups use file links, so that it doesn't need to duplicate the files for each backup version. S3 doesn't understand file links, so either copies the file, taking huge space and bandwidth, or doesn't, meaning downloading a complete version is very fiddly, depending on the --[no-]follow-symlinks parameter, ...


-1

You can use the rdr command in order to forward traffic from 127.0.0.1:5432 to 192.168.1.103:543 echo " rdr pass on lo0 inet proto tcp from any to self port 5432 -> 192.168.1.103 port 543 rdr pass on en0 inet proto tcp from any to any port 5432 -> 192.168.1.103 port 543 rdr pass on en1 inet proto tcp from any to any port 5432 -> 192.168.1....


0

I had a sightly different problem, where my terminal randomly disappeared off screen, and I couldn't get it back. I knew it was still working because some local hosts it was running were still perfectly operable. To get it back, look for it in the dock (the black square icon), simply clicking on it and selecting one (any) of the processes it was running ...


3

If you also lift cmd before pressing cmd + tab again, you will cycle through the recent 2 apps, only: (you can do this much faster, just press and release both cmd and tab rapidly to see how your focus goes back and forth between the two recent apps) Alternatively, hold cmd + shift and press tab to cycle back: (if you do this without pressing cmd + tab, ...


0

As far as I can tell, from testing this and from reading elsewhere, it's a 2-step process on the Mac. Convert the newlines to something else, I recommend am unusual character like a tilde or pipe. The link below recommends a comma, but that won't work if you're doing "Last, First" names or "City, State" items. Then use the Text-to-...


0

I can't explain the exact cause, but after two months I noticed in the View tab that some of my documents were in Web Layout. I changed them to Print Layout and the problem ceased immediately.


0

I've had the same problem with the -zsh prompt when exiting the terminal, one way I solved it is went to .zshrc and found module_init had been added inside it, which had been added after I installed a malicious software, I edited the file and removed the line module init in ~/.zshrc so it stops running a process, and if this was your problem, go ahead and ...


0

I came here looking for "kali disable super key" but I suppose this applies to other linux vmware/virtualbox guests too, so I hope this helps. In my case the solution was to set "overview shortcut" in tweaks to Right super . That way I can use my (left) "command" key in my mac for copy/paste etc in the guest VM.


1

As it turns out, the issue was that my path included Postgress and VMWare despite uninstalling them. They were not added in .zshrc, but actually in /etc/paths.d (which is a directory). Inside this directory, there were 3 files, two of them named com.vmware.fusion.public and postgresapp. I simply deleted these files from /etc/paths.d, and now my zsh starts up ...


1

When working between various Linux systems I've found the following script helpful - its easy to remember/copy paste, the one below is tailored to MacOS #!/bin/bash export DEFAULT_IF=$(route -n get default | grep interface | awk '{print $2}') ifconfig | awk -v D=$DEFAULT_IF 'BEGIN{I="";}/^[a-zA-Z0-9]/{I=substr($1,1,length($1)-1);};/inet /{printf(...


1

Note too that if this is a brand-new keyboard that you are still charging using a cable, you may not be able to rename it until you disconnect the cable and connect to the keyboard wirelessly via Bluetooth.


1

This is a little too long for a comment, so adding as an "answer", even though the Op's own answer is just fine. I think the underlying problem is the same as this one: https://stackoverflow.com/questions/56984577/skip-wget-certificate-checking-in-opam Your macOS version isn't that old (Sep 24, 2020 at the oldest, with several patches even after ...


0

I was able to solve the problem by locating a .pem file that can be used by wget. I ran: ruby -ropenssl -e "p OpenSSL::X509::DEFAULT_CERT_FILE" which returned: "/private/etc/ssl/cert.pem" I then created a .wgetrc: $ cat .wgetrc ca_certificate=/private/etc/ssl/cert.pem⏎ which allows wget to work. Additionally, there should be a cert.pem ...


0

Just type killall VLC Applikation name "VLC" (VideoLan client) needs to be uppercase, like its name in installation: /Applications/VLC.app/Contents/MacOS/VLC


1

Fixed by updating from 10.14.4 to 10.14.6. Make sure to run "macOS Post Install" from a bootable dosdude1 Mojave Installer if using an unsupported device.


1

I get something similar: (eval):export:1: not valid in this context: -A In my case, it started when the gcloud installer modified my .zshrc to add this line: if [ -f '/Users/matt/Downloads/google-cloud-sdk/completion.zsh.inc' ]; then . '/Users/matt/Downloads/google-cloud-sdk/completion.zsh.inc'; fi I get the error whenever I try to tab-complete gcloud ...


1

If the Windows users are baffled by the resource fork information inside the zip-file you can simply remove that in the OSX Terminal: zip -d name_of_zipfile.zip __MACOSX This will delete the __MACOSX sub-folder (which contains the Mac specific resource fork info) from the specified zip-file. Please note: __MACOSX is case-sensitive and starts with 2 ...


2

The will likely be apple double/resource fork info zipped in with it, but that's merely "untidy" & should in no way prevent them from unzipping it. They may see such as __MACOSX ._file.xlsx file.xlsx after unzipping. If unzipped on another Mac this info is invisible & at unzip is wrapped back into the file. Losing that extra data ...


0

Go to Chorme settings, then Advanced -> System, and uncheck Use hardware acceleration when available. Then restart Chrome. Shortcut: chrome://settings/system This also removes the ability to change video background in Hangout meetings, if you were into that.


0

I ran into this issue after I reboot my Macbook. The solution that helped was toggling "Automatically hide and show the dock". I also use Spectacle to move windows around and now it moves them to their proper location, above the dock.


0

Try: sudo sysctl kern.maxfiles=64000 kern.maxfilesperproc=28000 Unfortunately it will not persist over reboots. Adding these to /etc/sysctl.conf does not appear to work in Big Sur. To see your current settings use: sysctl -a | grep maxfiles


0

It certainly won't help at all that you're running an unsupported OS on your Mac. if the app makes heavy use of Metal2 then results will be at best unpredictable. The reason your Mac should have stayed on High Sierra is precisely because it doesn't have Metal2 support.


1

DiskWarrior is quite probably the only tool that could fix the drive non-destructively. Everything else is going to just be to scavenge what it can find of your data, not fix the drive. Testdisk is probably the only free tool worth looking at.


2

KeyCastr has been taken over by new management and works perfectly well as of this writing (April 2021). There is a new release only a couple of months old. I'm typing with it on Big Sur...


Top 50 recent answers are included