Thursday, June 9, 2022

Recent Questions - Ask Different

Recent Questions - Ask Different


What kind of server can we connect from iPhone Files app?

Posted: 08 Jun 2022 05:28 PM PDT

If I remember it correctly, in the past I was able to connect to smb and/or webdav servers from iPhone Files app. But I tried to connect to my webdav server today and it doesn't work.

Actually it can create the connection, but not navigate and show the files.

enter image description here

What kind of server can we connect from iPhone Files app?

My hello-world.cpp build in Xcode is too big (65 kB) [migrated]

Posted: 08 Jun 2022 03:51 PM PDT

On Linux, for this type of code:

#include <iostream>    int main(int argc, const char * argv[]) {      std::cout << "Hello, World!\n";      return 0;  }  

the final build binary was around 15 kB or something.

In Xcode on my Macbook Air M1 it is 65 kB!

What am I doing wrong?

Merge Unallocated Space with a macOS Extended (Journaled) Partition via Terminal

Posted: 08 Jun 2022 01:50 PM PDT

I have a 2 TB external hard drive and it contains an exFAT partition named "2 TB HDD" of 1.5 TB and a macOS Extended (Journaled) partition named "Time Machine" of 500 GB. I noticed that the Partition button in Disk Utility was greyed out when I selected the Partition Map itself, or either of the two partitions.

I decided to use a Windows machine with DiskGenius to knock the 1.5 TB partition down to 1.3 TB so I could allocate an extra 200 to the 500 GB macOS Extended (Journaled) partition, making it 700 GB.

Now I have 1.3 TB of exFAT, 200 GB of unallocated space, and 500 GB of macOS Extended (Journaled).

My question is: How can I merge the 200 GB unallocated space with the 500 GB macOS Extended (Journaled) partition using Terminal? I am aware that if I run the wrong command I could lose all of my data. This is why I am asking here — to figure out the command.

Note: DiskGenius is unable to merge these 2 together.

Repeated kernel panics: panic(cpu 2 caller 0xffffff8019f6799f): userspace watchdog timeout: no successful checkins from remoted since load

Posted: 08 Jun 2022 01:39 PM PDT

My MacBook Pro (13-inch, 2018, Montery) freezes at the loading screen. I have tried reseting SMC, PRAM, reinstalling MacOs. The problem persists and I was able to derive the kernel panic report only in a safe mode. No peripherals attached.

panic(cpu 2 caller 0xffffff8019f6799f): userspace watchdog timeout: no successful checkins from remoted since load  service returned not alive with context : is_alive_func returned unhealthy : device not connected (code: 0x2  service: logd, total successful checkins since load (180 seconds ago): 19, last successful checkin: 0 seconds ago  service: WindowServer, total successful checkins since load (150 seconds ago): 15, last successful checkin: 0 seconds ago  service: remoted, no successful checkins since load (180 seconds ago)  service: opendirectoryd, total successful checkins since load (180 seconds ago): 18, last successful checkin: 0 seconds ago    Panicked task 0xffffff8ba7f2d000: 3 threads: pid 88: watchdogd  Backtrace (CPU 2), panicked thread: 0xffffff86db01e540, Frame : Return Address  0xffffffe5a832b690 : 0xffffff8016a81c8d   0xffffffe5a832b6e0 : 0xffffff8016be1596   0xffffffe5a832b720 : 0xffffff8016bd0963   0xffffffe5a832b770 : 0xffffff8016a21a70   0xffffffe5a832b790 : 0xffffff8016a8205d   0xffffffe5a832b8b0 : 0xffffff8016a81816   0xffffffe5a832b910 : 0xffffff8017315223   0xffffffe5a832ba00 : 0xffffff8019f6799f   0xffffffe5a832ba10 : 0xffffff8019f675f2   0xffffffe5a832ba30 : 0xffffff8019f66971   0xffffffe5a832bb60 : 0xffffff8017283a8c   0xffffffe5a832bcc0 : 0xffffff8016b872e6   0xffffffe5a832bdd0 : 0xffffff8016a5c9ab   0xffffffe5a832be60 : 0xffffff8016a731f9   0xffffffe5a832bef0 : 0xffffff8016bb35aa   0xffffffe5a832bfa0 : 0xffffff8016a22256         Kernel Extensions in backtrace:           com.apple.driver.watchdog(1.0)[D6F8B92D-3418-34BA-B42B-F553E0C44C29]@0xffffff8019f65000->0xffffff8019f67fff    Process name corresponding to current thread (0xffffff86db01e540): watchdogd  Boot args: chunklist-security-epoch=0 -chunklist-no-rev2-dev    Mac OS version:  21F79    Kernel version:  Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:22 PDT 2022; root:xnu-8020.121.3~4/RELEASE_X86_64  Kernel UUID: 3C587984-4004-3C76-8ADF-997822977184  KernelCache slide: 0x0000000016800000  KernelCache base:  0xffffff8016a00000  Kernel slide:      0x0000000016810000  Kernel text base:  0xffffff8016a10000  __HIB  text base: 0xffffff8016900000  System model name: MacBookPro15,2 (Mac-827FB448E656EC26)  System shutdown begun: NO  Hibernation exit count: 0    System uptime in nanoseconds: 183789442963  Last Sleep:           absolute           base_tsc          base_nano    Uptime  : 0x0000002acab45d98    Sleep   : 0x0000000000000000 0x0000000000000000 0x0000000000000000    Wake    : 0x0000000000000000 0x000000030acc9770 0x0000000000000000  Compressor Info: 0% of compressed pages limit (OK) and 0% of segments limit (OK) with 0 swapfiles and OK swap space  Zone info:    Zone map: 0xffffff8073560000 - 0xffffffa073560000    . PGZ   : 0xffffff8073560000 - 0xffffff8074561000    . VM    : 0xffffff8074561000 - 0xffffff8540fc7000    . RO    : 0xffffff8540fc7000 - 0xffffff86da893000    . GEN0  : 0xffffff86da893000 - 0xffffff8ba72f9000    . GEN1  : 0xffffff8ba72f9000 - 0xffffff9073d5f000    . GEN2  : 0xffffff9073d5f000 - 0xffffff95407c5000    . GEN3  : 0xffffff95407c5000 - 0xffffff9a0d22c000    . DATA  : 0xffffff9a0d22c000 - 0xffffffa073560000    Metadata: 0xffffffe5328d0000 - 0xffffffe5528d0000    Bitmaps : 0xffffffe5528d0000 - 0xffffffe5558d0000    last started kext at 20314425767: >driverkit.serial 6.0.0 (addr 0xffffff7fafcb5000, size 28672)  last stopped kext at 126338230190: >IOPlatformPluginLegacy  1.0.0 (addr 0xffffff7fafbb1000, size 36864)  loaded kexts:  >!ATopCaseHIDEventDriver    5450.8  >!APlatformEnabler  2.7.0d0  >X86PlatformShim    1.0.0  >AGPM   129  >!AHIDALSService    1  @filesystems.autofs 3.0  >!AUpstreamUserClient   3.6.9  >!A!IKBLGraphics    18.0.7  >!AGFXHDA   140.3  >!AGraphicsDevicePolicy 6.5.7  >!ABridgeAudio!C    240.6  @AGDCPluginDisplayMetrics   6.5.7  >!A!ICFLGraphicsFramebuffer 18.0.7  >pmtelemetry    1  |IOUserEthernet 1.0.1  >usb.!UUserHCI  1  >!AHV   1  >!ADiskImages2  126.100.13  >!AThunderboltIP    4.0.3  >!ABacklight    180.8  >!AMCCSControl  1.16  >BridgeAudioCommunication   240.6  >!AAVEBridge    6.1  >!A!IPCHPMC 2.0.1  >!A!ISlowAdaptiveClocking   4.0.0  >BCMWLANFirmware4387.Hashstore  1  >BCMWLANFirmware4378.Hashstore  1  >BCMWLANFirmware4377.Hashstore  1  >BCMWLANFirmware4364.Hashstore  1  >BCMWLANFirmware4355.Hashstore  1  >!AFileSystemDriver 3.0.1  @filesystems.tmpfs  1  @filesystems.lifs   1  @filesystems.hfs.kext   583.100.10  @BootCache  40  @!AFSCompression.!AFSCompressionTypeZlib    1.0.0  @!AFSCompression.!AFSCompressionTypeDataless    1.0.0d1  @filesystems.apfs   1934.121.2  >!ABCMWLANBusInterfacePCIeMac   1  @private.KextAudit  1.0  >!ASmartBatteryManager  161.0.0  >!AACPIButtons  6.1  >!ASMBIOS   2.1  >!AACPIEC   6.1  >!AAPIC 1.7  @!ASystemPolicy 2.0.0  @nke.applicationfirewall    402  |IOKitRegistryCompatibility 1  |EndpointSecurity   1  @Dont_Steal_Mac_OS_X    7.0.0  @kec.!AEncryptedArchive 1  >driverkit.serial   6.0.0  >!AActuatorDriver   5450.14  >!AMultitouchDriver 5450.14  >!AInputDeviceSupport   5450.4  >!AHS!BDriver   5450.8  >IO!BHIDDriver  9.0.0  >!AHIDKeyboard  228.2  @kext.triggers  1.0  >!AAudioClockLibs   140.1  >!AGraphicsControl  6.5.7  >!A!ILpssUARTv1 3.0.60  >!A!ILpssUARTCommon 3.0.60  >!AOnboardSerial    1.0  |IOAudio!F  340.2  @vecLib.kext    1.2.0  |IOAccelerator!F2   462.8  |IO!BSerialManager  9.0.0  |IO!BPacketLogger   9.0.0  |IO!BHost!CUSBTransport 9.0.0  |IO!BHost!CUARTTransport    9.0.0  |IO!BHost!CTransport    9.0.0  >IO!BHost!CPCIeTransport    9.0.0  |IOAVB!F    1040.6  @plugin.IOgPTPPlugin    1040.3  |IOEthernetAVB!C    1.1.0  |CSR!BHost!CUSBTransport    9.0.0  |Broadcom!BHost!CUSBTransport   9.0.0  |Broadcom!B20703USBTransport    9.0.0  >!AIPAppender   1.0  @!AGPUWrangler  6.5.7  >!AThunderboltDPOutAdapter  8.5.1  @!AGraphicsDeviceControl    6.5.7  >!ABacklightExpert  1.1.0  |IONDRVSupport  597  >X86PlatformPlugin  1.0.0  |IOGraphics!F   597  >!ASMBus!C  1.0.18d1  >IOPlatformPlugin!F 6.0.0d8  |IOSlowAdaptiveClocking!F   1.0.0  >usb.IOUSBHostHIDDevice 1.2  >usb.cdc.ecm    5.0.0  >usb.cdc.ncm    5.0.0  >usb.cdc    5.0.0  >usb.networking 5.0.0  >usb.!UHostCompositeDevice  1.2  >!AThunderboltPCIDownAdapter    4.1.1  >!AHPM  3.4.4  >!A!ILpssI2C!C  3.0.60  >!A!ILpssDmac   3.0.60  >!AThunderboltDPInAdapter   8.5.1  >!AThunderboltDPAdapter!F   8.5.1  >!ABSDKextStarter   3  |IOSurface  302.14  @filesystems.hfs.encodings.kext 1  >!AXsanScheme   3  >!AThunderboltNHI   7.2.81  |IOThunderbolt!F    9.3.3  >usb.!UVHCIBCE  1.2  >usb.!UVHCICommonBCE    1.0  >usb.!UVHCI 1.2  >usb.!UVHCICommon   1.0  >!AEffaceableNOR    1.0  |IOBufferCopy!C 1.1.0  |IOBufferCopyEngine!F   1  |IONVMe!F   2.1.0  >!ABCMWLANCoreMac   1.0.0  |IOSerial!F 11  |IO80211!F  1200.12.2b2  |IOSkywalk!F    1.0  >mDNSOffloadUserClient  1.0.1b8  >IOImageLoader  1.0.0  >!AOLYHALMac    1  >corecapture    1.0.4  >usb.!UHostPacketFilter 1.0  |IOUSB!F    900.4.2  >!A!ILpssI2C    3.0.60  >!A!ILpssGspi   3.0.60  >usb.!UXHCIPCI  1.2  >usb.!UXHCI 1.2  >!AEFINVRAM 2.1  >!AEFIRuntime   2.1  >!ASMCRTC   1.0  |IOSMBus!F  1.1  |IOHID!F    2.0.0  |IOTimeSync!F   1040.3  |IONetworking!F 3.4  >DiskImages 493.0.0  |IO!B!F 9.0.0  |IOReport!F 47  $quarantine 4  $sandbox    300.0  @kext.!AMatch   1.0.0d1  |CoreAnalytics!F    1  >!ASSE  1.0  >!AKeyStore 2  >!UTDM  533.120.2  |IOUSBMass!SDriver  210.120.3  |IOSCSIBlockCommandsDevice  456.121.3  |IO!S!F 2.1  |IOSCSIArchitectureModel!F  456.121.3  >!AMobileFileIntegrity  1.0.5  $!AImage4   4.2.0  @kext.CoreTrust 1  >!AFDEKeyStore  28.30  >!AEffaceable!S 1.0  >!ACredentialManager    1.0  >KernelRelayHost    1  |IOUSBHost!F    1.2  >!UHostMergeProperties  1.2  >usb.!UCommon   1.0  >!ABusPower!C   1.0  >!ASEPManager   1.0.1  >IOSlaveProcessor   1  >!AACPIPlatform 6.1  >!ASMC  3.1.9  |IOPCI!F    2.9  |IOACPI!F   1.4  >watchdog   1  @kec.pthread    1  @kec.Libm   1  @kec.corecrypto 12.0```  

After upgrading/reinstalling some app using Homebrew, how to automatically set its notification settings?

Posted: 08 Jun 2022 01:41 PM PDT

I found each time after I upgrade or reinstall Evernote, macOS prompts me for setting its notification permission settings. Could I make it sticky so I don't have to reset it each time? Or, could I set it with some command so I can run it together with the homebrew command to upgrade/reinstall?enter image description here

allow setugid with sandbox-exec

Posted: 08 Jun 2022 01:25 PM PDT

I have an executable (Google Chrome) that apparently "is running setugid()". I cannot find a way to make it work when called from within a /usr/bin/sandbox-exec sandbox without sudo.

I'm trying to run a nodejs process in a sandbox so that it doesn't have access to the filesystem outside of its directory. The node process needs to spawn Chrome however, which I'm trying to run without the sandbox.

Given the following sandbox profile:

(version 1)  (allow process-exec      (literal "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome")      (literal "/usr/bin/sudo")      (with no-sandbox)  )  

The following two commands work:

  • /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome
  • /usr/bin/sandbox-exec -f ./profile.sb sudo /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome

(although the second one is really not smart) but this does not work:

$ /usr/bin/sandbox-exec -f ./profile.sb /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome  2022-06-07 23:06:50.267 Google Chrome[21533:679255] The application with bundle ID com.google.Chrome is running setugid(), which is not allowed. Exiting.  

Note that I am not trying to run Chrome with sudo, I just happened to notice that the error went away when run under sudo.

I'm not sure what's preventing chrome from "running setugid()". I've read somewhere that it's something called "AppKit", but I'm not sure how it gets involved here. Is there a way to have sandbox-exec allow the chrome process to do what it needs, without sudo?

Any help is appreciated, be it some solution or more info about this setguid. I've already asked on the Apple Developer Forums but to no avail since sandbox-exec is not officially supported (although used by Chrome and Bazel).

Terminator won't start after installation with brew

Posted: 08 Jun 2022 01:31 PM PDT

I am new to Mac, having moved from ubuntu. I would like to use Terminator terminal so I sucessfuly install it with brew: brew install terminator:

terminator -v  terminator 2.1.1  

At first, I cannot run it with Spotlight search on Lounchpad only from Terminal. When I run it, I get the error message below:

ConfigBase::load: Unable to open /etc/xdg/terminator/config ([Errno 2] No such file or directory: '/etc/xdg/terminator/config')  Unable to load Keybinder module. This means the hide_window shortcut will be unavailable  Unable to bind hide_window key, another instance/window has it.  PluginRegistry::load_plugins: Importing plugin command_notify.py failed: Namespace Notify not available  ActivityWatch plugin unavailable as we cannot import Notify  PluginRegistry::load_plugins: Importing plugin activitywatch.py failed: module 'activitywatch' has no attribute 'AVAILABLE'  

I copied the config file from ubuntu ~/.config/terminator/config to my Mac and first log ConfigBase disappears.

How should I use Terminator on my Mac and how do I fix errors with module and plugin?

Method to circumvent macOS Facetime sandboxing

Posted: 08 Jun 2022 11:51 AM PDT

I would like to use another software camera that modifies my screen to be able to include non-traditional resources in my video stream during calls. One example may be using ManyCam to route various sources into the call as well as change sources during presentation, etc.

Is there a physical USB webcam emulation device with both input and output that will accept video input from a source (such as stated) and then route this video back into a Mac as a valid webcam sources such that Facetime can recognize and use it as a webcam?

`networksetup -setadditionalroutes` doesn't appear to work, but `route add` does

Posted: 08 Jun 2022 10:53 AM PDT

I have eth and lte interfaces, the latter has higher priority, I'm trying to route all requests to a certain subnet over eth. For this I'm using the following command: sudo route add -net 169.46.82.160/27 89.252.130.1 and it works great.

However apparently it'll stop working after reboot, and I should instead use networksetup to make the change permanent.

So I've got the names of my network services from networksetup -listallnetworkservices and tried the following command (tried both with Ethernet and ZTE Mobile Broadband): networksetup -setadditionalroutes "Ethernet" 169.46.82.160 255.255.255.224 89.252.130.1. And to my dismay it doesn't work, requests still get routed over ZTE. How can this be fixed?

Restoring from new to old

Posted: 08 Jun 2022 11:38 AM PDT

I have an iPad running iOS 15 and also one running iOS 10 (not upgradeable). Can I use the iOS 10 iPad as a backup for the newer one?

How to fix blurry fonts on external monitor (M1 Mac Mini)?

Posted: 08 Jun 2022 10:14 AM PDT

I previously had a HP U28 28" 4k monitor hooked up to it which worked fine. Now I've changed to a LG 32GN600-B 31.5" 2k 165Hz screen due to me also gaming on it with my Windows machine and when running 2k the fonts look so atrociously blurry that it gives me a headache within minutes. What can I do about it?

Would this be the recommended solution as of June 2022?

MacBook charging only with 5W instead of 80W

Posted: 08 Jun 2022 01:18 PM PDT

So I have a pretty strange problem I don't really understand. I always charge my MacBook Air 2020 (M1) with my phone's Supercharger. First, I had the OnePlus 9 Pro with a 65 Watt charger and my MacBook always took like 40 - 60 Watts from it, depending on the usage. Lately, I upgraded to the OnePlus 10 Pro which comes with an 80 Watt charger and now my MacBook constantly only takes 5 Watt from it to charge and I don't really get it.

I know that it has to work and I know that it actually should too but I don't know the real problem here.

Why does "iPhone Findable After Power Off" not work from iCloud website? [closed]

Posted: 08 Jun 2022 12:32 PM PDT

I have an iPhone 11 running iOS 15.5. I was trying to test the "iPhone Findable After Power Off" function by powering down the phone and then trying to find it by logging in with my AppleID at https://www.icloud.com/find but I couldn't get it to work. I tried fiddling with all the settings on my iPhone that I thought could possibly be relevant. Finally, I found the solution: this function does not work when accessing icloud.com through a web browser, but only through a "Find My" app on an Apple product.

The page listing features of iOS 15 says this: "Locate your devices using the Find My network if they've been erased, or for up to 24 hours even after they've been turned off."

Apple's support page for "Add your iPhone to Find My" says this: "On a supported iPhone with iOS 15 or later, turning on the Find My network allows you to locate your iPhone for up to 24 hours after it's turned off, or up to 5 hours when it's in power reserve mode (iOS 15.2 or later)."

It is only at a different support page that I found this: "If you're using iCloud.com/find, you can't see your device's location if it's powered off, the battery has run out, or more than 24 hours has passed since its last location was sent to Apple."

My question is why. My understanding is that the U1 chip in my iPhone stays on even when the device has been powered down, and the U1 chip will be tracked by Apple when other people's iOS devices having U1 chips get within range of my turned-off iPhone. Is there any technical reason why that information (the location of my turned-off iPhone) cannot be provided through the iCloud website, but only through the Find My app? Or is there a policy reason for this?

I do not own any other Apple product aside from my iPhone. I like the fact that if I misplace my phone, but it's still online, I can log in to the iCloud website and get the location of the phone. But if the phone is not online, why can I not still use my laptop running Windows, or my Android tablet, to track it?

how can I copy paths in the $PATH environment from bash to zsh?

Posted: 08 Jun 2022 04:39 PM PDT

How can I copy all the the command paths from the bash environment $PATH variable to the zsh environment?

I'm on macOS 11.6.1 (and about to install 11.6.6).

Many of the commands I used in bash don't work in zsh (the new default for Apple's Command line shell for new accounts). How can I get started with fixing my path?

Apple fsck.hfs borks on corrupted journal

Posted: 08 Jun 2022 04:03 PM PDT

Got message, "Unrecognized disk" and a choice of eject, initialize, or ignore

I chose ignore, then used "repair disk"

Made no difference.

Can this be fixed without reinitializing?

Telnet in Monterey

Posted: 08 Jun 2022 03:36 PM PDT

I'm struggling to open telnet in Monterey through the browser. I can manually telnet using the command and works perfectly; same if I setup iTerm2 as the default app but I'd really like to use the native Terminal. In the preferences I have the "New windows open with default profile" selected.

The error I'm getting is:

[Command not found: telnet]    [Could not create a new process and open a pseudo-tty.]  

For "Live Text" in macOS Monterey, can you have it scan all of your photos, and use the Live Text OCR'd content to search against in Spotlight Search?

Posted: 08 Jun 2022 02:19 PM PDT

MacOS Monterey includes "Live Text", which is OCR to use when viewing your photos, including handwriting recognition.

But I have thousands of photos, many of which are photos of presentations, pictures of Powerpoint slides taken from my seat in the audience, etc. I also have hundreds of screenshots with text from YouTube.

I'd like the Mac to slowly work its way through ALL of my photos and add the recognized text as some type of searchable attribute, attached to each photo.

So can I have Live Text OCR my entire photos library?

Enable/load .plist issue after Big Sur update

Posted: 08 Jun 2022 03:08 PM PDT

I've spent the last day googling this issue and can't get it figured out. Apparently, Big Sur treats load and unload as legacy and you are supposed to use enable and disable however I've tried many different combinations of commands and still can't get my plist to work. Load and unload give Input/Output errors.

I have a script that runs every 30 minutes during the day. It is located in ~/Library/LaunchAgents and is called com.office.ks.ExportData. It worked fine before Big Sur but now doesn't run. If I type launchctl list I see that the process has a 126 error.

I've tried so many different types of commands using user/501, gui/501, sudo, changing where spaces are, etc. I can't seem to get anything to work. All I'm trying to do is get my script to run every 30 minutes between 9am-5pm which never was an issue before.

sudo launchctl enable user/501/~/Library/LaunchAgents/com.office.ks.ExportData.plist  

Can somebody please help me get this plist enabled? When I type the above command it doesn't give a message but doesn't give an error either. It just goes to the next line waiting for a new command.

Better way to access Safari website data on iOS?

Posted: 08 Jun 2022 11:00 AM PDT

It is really irritating to have to one at a time delete hundreds of cookies/caches from websites I have never visited. (Would that Apple would allow us to block third-party cookies).

Is there an API that would allow me to build my own app in Xcode to handle it in a better way? Or something like Cookie 6 (macOS) for iOS? Or someone else's open source that I can compile?

I'm not willing to jailbreak, nor to install something with source code not vetted by me or Apple.

For example, clearing all website data and then logging in to Facebook.com adds five third-party cookies. Three of them are from domains owned by Facebook, but do not end in Facebook.com. The other two are obviously from advertising services.

enter image description here

This is why I use DuckDuckGo for almost everything, and Safari only occasionally. DuckDuckGo lets me clear everything after a session. I use Safari for a few domains where I'd like to keep their cookies only, but the cost of that is consumption of storage space that doesn't benefit me and prevents syncing all the music I'd like.

The cookies are less irritating than the consumption of limited storage space. But if third-party cookies are accepted, cross-site tracking is implied. Since I cleared all website data (recently), I have not visited any site with "math" in the name. Only Facebook, UniGen.us, and three SE subdomains. Yet I have a cookie from mathoverflow.com And Safari says it's size is zero bytes. Obviously, it is at least one byte. But more of an issue are the megabytes of third-party local storage resulting in updates and Music syncs failing for insufficient space.

Microsoft/Windows keyboard number pad with macOS

Posted: 08 Jun 2022 01:07 PM PDT

I recently purchased a Microsoft keyboard with a number pad.

When trying to use the Mac calculator app with the number pad I have an issue where typing a number will clear out previous numbers.

E.g if I wanted to type 100 in the calculator, I would press 1 0 0. However the result that shows in the calculator is not 100, but just 0, because it was the last number I pressed.

Example:

enter image description here

Are my mappings incorrect and causing this issue?

Edit:

Using Key Codes to check what each key on the numpad does:

1 on the numpad, seems to provide two key down events:

enter image description here

MacBook App Store not downloading or updating apps

Posted: 08 Jun 2022 10:01 AM PDT

When I want to download an app (clicking on the cloud with arrow icon) or when I want to update an app (like XCode), the app gets the "square in circle" icon and stays like this forever.

  • clicking on the square does not stop/cancel the process
  • signing out and back in the App Store or restarting the MacBook (Big Sur) did not help (i.e. the same behaviour when signing back in or after restart.
  • there is Internet (since I see and choose App Store content)

Is there a command line (in the terminal) to force cancel a started download / update? Is there a place (log file or already installed logging app) to see the errors why App Store is stuck?

How to remove Disabled Software in macOS 11?

Posted: 08 Jun 2022 05:07 PM PDT

I found three items in System Report. I've checked /Library/Extensions/, /Library/StagedExtensions and /private/var/db/Receipts. All related files has been deleted. But the three items persist after restarting.

How should I remove them?

OS: macOS 11.1

Three disabled softwares

Boot Camp Issue with Mac Pro 3,1 and ATI Radeon RX580 graphics card

Posted: 08 Jun 2022 12:05 PM PDT

I have a Mac Pro 3,1 with an ATI Radeon RX580 8GB graphics card, a dosDude Catalina (10.15.6) install on an internal SSD and and a Windows 10 Pro (latest Version and updates) install on an internal HD.

Both macOS and the Windows work fine along with all parts of the Mac. As I a have the Radeon card I do not have a boot screen until either Catalina has mostly started up or Windows has started to boot, so I cannot change the booting by holding down the Option key.

I previously ran El Capitan instead of Catalina, and with that I had installed in Windows the Boot Camp 4 drivers, which allowed me to select macOS from the Boot Camp Assistant and reboot from Windows into El Capitan. From El Capitan I could select the Windows drive in the start up disc control panel and reboot into Windows.

However, since upgrading to Catalina, I can still select the Windows drive in the start up disc control panel and reboot into Windows. However if I select macOS from the Boot Camp Assistant and reboot the Mac, it always reboots into Windows.

My current work around is to shut down, remove the Windows drive, reboot in to Catalina, select Catalina in the Startup Disk control panel, reboot into Catalina, shut down, re-install the windows drive, start up and it starts up into Catalina again with the Windows disk mounted. I can then just select the Windows drive in the start up disc control panel and reboot into Windows when I need to.

From what I have read it's an issue with boot camp not liking the APFS file system Catalina uses. I have also read that a newer version of Boot Camp would fix the issue. I have upgraded Boot Camp to version 6, but this cause other issues in Windows and in the end I had to format the windows drive and re-install it from scratch along with the Boot Camp 4 drivers.

Can anybody tell me how I can get this issue sorted out so I can just switch using Boot Camp?

Many thanks

Duncan

How can I prevent Cisco AnyConnect VPN from opening on startup?

Posted: 08 Jun 2022 12:25 PM PDT

Cisco AnyConnect VPN opens whenever I log in and its screen covers everything for a few minutes and can't be minimized. It's really annoying and I'd like to know if there's something, maybe in its config.plist, that will prevent it from opening on startup. Does anyone know?

I have to use Cisco AnyConnect for work, so I can't delete it.

Can I disable pinch to show all open tabs in Safari?

Posted: 08 Jun 2022 10:12 AM PDT

Too often, when I try to move my cursor and click, or try to drag something or select text, and my two fingers end up on the trackpad at the same time, all my open tabs shrink into this view:

enter image description here

This is extremely disruptive as it makes me lose my focus and then I have to locate the page I was currently on, click it and then resume working.

I can't tell what this specific feature in Safari is called (I want to still be able to pinch to zoom in and out of a page), and couldn't find info anywhere on how to completely disable it.

Can I disable this? (or I can use another browser, obviously...)

Difference between "diskutil mount" and "sudo mount"

Posted: 08 Jun 2022 01:47 PM PDT

I was looking for a way to mount the EFI partition on macOS when I realized there was actually two commands to mount a partition: mount and diskutil mount. What is the difference between them? I couldn't find anything about their differences online.

How to quickly move mouse cursor between monitors?

Posted: 08 Jun 2022 04:13 PM PDT

I have two external monitors, positioned horizontally on each side of my MacBook Pro. When I am working in the far left or far right screens, I find it a little annoying to have to move the cursor all the way across to get to the opposite side (usually requires multiple swipes on the touchpad).

Is there some easier way to do this? I already have BetterTouchTool installed but did not see anything in there that would do this. I was thinking of some kind of key combo shortcut I could use that would jump the cursor to the next screen.

enter image description here

How to simulate location in Safari for macOS?

Posted: 08 Jun 2022 05:29 PM PDT

I am developer and I'm trying to simulate a different location other than my own on Safari on OS X / macOS. How do I do that?

This is not a duplicate of how might one spoof geographic location on a desktop Mac. That question is about spoofing the location system-wide. I am not trying to (and actually don't want to) spoof my location system-wide, I just want to change it for Safari only.

OS X: Unicode Input

Posted: 08 Jun 2022 02:20 PM PDT

I think the only thing I like about Windows is the fact that you can easily enter Unicode characters using the Alt key plus the numeric keypad.

I hate using the Show Emoji & Symbols for this sort of thing as it's very tedious and I can't find a way of entering a code I already know.

I know that OS X allows Unicode input using the Unicode Hex Input source, but when enabled I can't use the option key to enter other useful characters. For example the typographical apostrophe (') now requires the full unicode (2019) rather than the original keyboard combination.

The question is: is there anything which allows me to easily enter unicode without losing the use of the option key for the rest?

Is there a way to prevent those pesky .DS_Store files from being ever created?

Posted: 08 Jun 2022 12:25 PM PDT

Is there a way (eg. a binary hack into Finder) to stop it from creating .DS-Stores on LOCAL Volumes?

I am using Leopard, therefore these don't work:

Also, BlueHarvest slows down my computer.

No comments:

Post a Comment