Thursday, December 16, 2021

Recent Questions - Ask Different

Recent Questions - Ask Different


Intel iMac intermittent slow downs using Photoshop (and not maxing out mem / CPU)

Posted: 16 Dec 2021 08:34 AM PST

Some days my iMac (i5 2.7GHz, 20GB mem) runs Photoshop fine. Other days it is almost unusable - the screen takes so long to re-draw that it's imposible to draw with my pen tablet.

I've checked everything I can think of:

  • Watching CPU and memory graphs whilst using Photoshop. There doesn't seem to be a difference between days when it's working well and days when it's not.
  • Other processes using resources. I've quit everything that I can. No difference.
  • Spotlight indexing - it's not.
  • SSD Smart Status - "unavailble" so I guess it could be a failing drive
  • Memory integrity - I've tested with Memtest86, no errors
  • Free disk space - around 50GB free
  • Experimenting with different cache settings inside Photoshop - no difference
  • Malware checks - ran Malwarebytes (then turned it off so it's not slowing stuff down)

Any ideas why it is sometimes slow and other times fine?

How to lock/block Safe Mode from standard user account?

Posted: 16 Dec 2021 05:45 AM PST

Is there a way to prevent a standard user from signing into safe mode and only allow the admin of my mac to boot/sign into safe mode?

How can I let Edge ask for being the default browser?

Posted: 16 Dec 2021 05:43 AM PST

On my Mac I use Safari for private purposes and Edge for work purposes.

When I'm working, it's convenient to have Edge as the default browser. Now I have to set it each day manually (after the working day I set it back to Safari, which asks for that).

What I want is that Edge does ask for being the default browser. Is this possible?

What traffic is not sent? Send all traffic over VPN connection

Posted: 16 Dec 2021 06:13 AM PST

When setting up a new VPN in System Preferences > Network, in the Advanced page you can select a checkbox to

Send all traffic over VPN connection

It is disabled by default.

What traffic would not be sent over the VPN if it were left disabled?

Override mail.app default css stylesheet used to display messages

Posted: 16 Dec 2021 04:19 AM PST

I see there are workarounds to override the default stylesheet in Safari but I am trying to do the same in the mail.app I tried:

defaults write com.apple.mail UserStyleSheetEnabled 1  defaults write com.apple.mail UserStyleSheetLocationURLString "~/maillocal.css"  defaults write com.apple.mail WebKitUserStyleSheetEnabledPreferenceKey 1  defaults write com.apple.mail WebKitUserStyleSheetLocationPreferenceKey "~/maillocal.css"  

But it doesn't work. Anyone manage to get around it on Big Sur 11.6?

Photo returns to original position after being dragged to new position

Posted: 16 Dec 2021 04:45 AM PST

According to a web search, I should be able to drag a photo into a new position in the Photos app that is native to iPhone.

When I do that, the thumbnail moves when I drag, but when I release, it simply moves back to its original position. At no point do the photos rearrange themselves to accommodate the new position of the dragged photo.

What am I doing wrong? I have the iPhone SE. According to Settings->General->About, the iPhone is running iOS 14.4

Camera and microphone stopped working on iPhone 7

Posted: 16 Dec 2021 02:35 AM PST

I have an iPhone 7 with iOS 15.1 an suddenly the camera and microphone (to make calls or send voice messages) stopped working. When I try to hit the button to take a picture with the camera, nothing happens (I only see the "press" animation of the button). Yes, the phone fell down from the table once, but I don't know if the camera and microphone stopped working immediately after this.

The strange thing is, that I can send photos with the Signal app. So the camera doesn't seem to be damaged, right?

Updates are installed. There is also free storage space (so the storage is not full).

Any other things I can/should try?

EDIT: When trying a test call with the "Phone Diagnostics" app, the app crashes.

How do I set a different profile pictures for the computer user account and Apple ID iCloud account on macOS Monterey?

Posted: 16 Dec 2021 02:06 AM PST

In previous versions of macOS, I had a separate profile picture for the user account on the computer and the Apple ID iCloud account. With Monterey, it seems to have combined them such that if I change one that it automatically changes the other.

How can I set the profile picture for the local user account without changing the Apple ID iCloud account?

Ideally, I would like to unlink them. Alternatively, I'm wondering if there is a way to modify a preferences file rather than going through the UI to avoid the trigger that would sync the two.

How I can run iOS app twice on MacOS Apple Silicon(M1)?

Posted: 16 Dec 2021 03:40 AM PST

I am engaged in the development and testing of iOS applications, there was a need to run two instances of the application at the same time. Can anyone suggest a way how to do it?

  • I tried to copy the app file and run the copy, but it foreground the current application
  • I also tried to run through the terminal using the command open with flag n, it will crash
  • When you try to open it through the terminal as a different user, the application crashes too.

How to look through log files in console or erminal to find if a USB/external hard drive was mounted?

Posted: 16 Dec 2021 01:14 AM PST

I use Big Sur. I'm looking for any USB/external hard drive mounts in my computer from the last 30 days. I tried searching for " USBMSC" in my console log files for the day, when I knew there was at least one mount that day, but nothing came up, so it's inaccurate. Where/how can I accurately find USB/external hard drive mounts in Terminal?

macOS Monterey AD Join

Posted: 16 Dec 2021 12:44 AM PST

I'm trying to perform an AD Join on a new macOS Monterey (12.0.1) device. Date/time are already checked.

It looks like it is working. System Preferences -> Users/Groups -> AD is connected (green symbol) but it seems that the device receive no certifications from our AD. When I take a look into KeyChain, I cannot find the machine certificate, our root certificates, etc...)

If I enter the same command for AD Join on a macOS Catalina (10.15.7) device, the AD Join is working AND the device receive all neccessary certification. You can find them in keychain

I'm using following command:

dsconfigad -add "DOMAIN HERE\ -alldomains disable \ -computer "HOSTNAME HERE" \ -user "USER HERE \ -password "PASSWORD HERE" \ -mobile enable \ -mobileconfirm disable \ -ou "OU HERE" \ -force   

Do you have any idea, why the Monterey device did#t receive that?

If you need any furhter information, let me know.

Thanks in advance.

permission denied to add current directory to path

Posted: 16 Dec 2021 01:02 AM PST

I am trying to install NGC CLI on company's Mac following the instructions given here.

https://ngc.nvidia.com/setup/installers/cli

When I try to run the third command there which is

echo "export PATH=\"\$PATH:$(pwd)\"" >> ~/.bash_profile && source ~/.bash_profile  

I get

zsh: permission denied: /Users/rezaafra/.bash_profile

The output of ls -l ~/.bash_profile is

-rw-r--r--  1 root  staff  447 Dec  3 08:45 /Users/rezaafra/.bash_profile  

Can anyone help please?

Programs don't show up in jobs if I start them in the background with a shell script

Posted: 16 Dec 2021 06:27 AM PST

I want to launch a three programs (2x streamlit, 1x python) in the background with a shell script:

#!/bin/sh  cd /Users/mc/src/crypto/ || exit  streamlit run dashboard.py &  streamlit run dashboard_basis_viewer.py &  /Users/mc/.virtualenvs/crypto/bin/python basis_calculator.py &  

This script works (i.e. the programs start fine) but there are two problems:

  1. None of the processes show up under the jobs command
  2. If I close the terminal (iTerm), all those processes are still running

If I launch the last 3 lines manually from the command line, I don't get either of those problems. What's going on here? How can I fix it?

Downtime ignoring schedule

Posted: 16 Dec 2021 01:05 AM PST

I've setup screen-time for my daughter's MacBook and want downtime to block apps between 10pm and 6am. But when I set downtime to "on" and scheduled to "on", all apps are blocked on her MacBook no matter what time it is. Inverting the schedule, setting just 4:55am to 5:00am, etc. No matter what, all apps are blocked. Turning downtime off and back on, she gets a notification that she has five minutes until downtime, no matter what the schedule says.

What am I missing?

What is the normal/base case configuration of system extensions found on Monterey?

Posted: 16 Dec 2021 02:08 AM PST

I'm trying to determine whether anything suspicious is going on with my mac.

I would like to know Monterey's typical system extension configuration for comparison.

  1. Upon initial install and typical use, what is the typical number of system extensions found in System Information\Software\Extensions

I am seeing at least 580 extensions. Is this normal? I was reading an online post that said the normal number was more like 15.

Also using terminal commands this article, I only apparently find 4 kernel extensions, and zero system extension.

  1. What are any and all folders that can contain system extensions?

I only know of the system/library/extensions folder, and the /Library/Apple/System/Library/Extensions/ folder.

  1. Can anyone attest to the existence of the following extensions on their system:

/Library/Apple/System/Library/Extensions/RemoteVirtualInterface.kext, Date Modified: 12/31/1969

Thanks.

Strange pop-up during upgrade to XCode 13.2

Posted: 16 Dec 2021 02:10 AM PST

During the process of updating Xcode from verison 13.1 to 13.2, I got a pop-up stating:

Existing software on your system loaded a system extension signed by "Oracle America, Inc." which will be incompatible with a future version of macOS. Contact the developer for support.

enter image description here

This seems wierd. Has anyone else experienced this? I can't find any recent results on Google.

If it was part of the XCode upgrade, then why doesn't it state that... and why is it talking about Oracle?

If it's not part of the upgrade... well... the only thing I can think of is that I had Oracle Virtual box installed a long time ago (uninstalled long ago also because it is apparently not compatible with Monterey)... but why would this popup be re-triggered by an XCode upgrade?

Oh, and most importantly, did someone just put a rootkit on my mac?

How to use Mail even if harddrive is full?

Posted: 16 Dec 2021 01:32 AM PST

I get the error

Mail cannot save information about your mailboxes because there isn't enough space in your home folder.

And have no choice but to quite Mail.

How can I use it anyway?

Best cloud alternative to a Mac AFP onsite file system

Posted: 16 Dec 2021 01:43 AM PST

I have a publishing company as a client that has asked me to help them migrate an outdated Mac server to a cloud based model so they would be able to have a more resilient system, as well as easily accommodate some tasks that are currently not able to be done outside of the office.

After looking into different systems to help accommodate this the main hurdle I seem to be running into is the user authentication pieces as this is a security step that we are feeling is necessary since ultimately they will have their entire staff on this system and as they leave they would like some control over access.

My question is, since this is something I feel like a lot of organizations did a few years ago, what was the prefered path? Did you end up moving to a windows server, or just running a mac server in AWS, or did you use a different file system to accommodate the future growth you were projecting for the organization?

I did see this post on here, and it almost answers the questions, but we are wanting a solution that can lock files while they are being viewed if possible.

The team is currently about 15 people, and we are wanting to find the most cost effective solution while still utilizing something similar to the process they have now where they use the "Connect to Server" feature on the mac to mount the shared drive onto their desktop. I have found a few similar solutions, but ones like this feel a little outdated, and then you have a system that AWS manages that is a bit expensive for the amount of people utilizing it.

Is there even a happy median between old software and expensive enterprise level for something like this?

Thank you for all of your suggestions in advance!

iTunes Photos sync tab eternally spinning wheel

Posted: 16 Dec 2021 04:29 AM PST

iTunes 12.9.5.5 on Mac Pro Mojave 10.14.7

There will be a 500 point bounty awarded for any useful answers on this question. I will award retrospectively, as otherwise it will timeout in a week.

Note: This structure has been working perfectly for years/decades. Recently this symptom was displayed - after I got a new iPhone 13 Pro Max, which has subsequently been returned to Apple, replaced with an SE2. Since that first error, now all iPhones/Pads display the same symptom - yet an iPod Classic I've since dragged out of retirement does not. The Classic cannot 'see' Photos.app as a sync option, only my user's ~/Pictures folder. All the other devices have always been set to use the Photos.app Library.
This, I consider a vital clue.

I've so far tested three devices - an iPad & two iPhones, all show the same symptom. When a connected device is selected, to show the Summary & sync pages, all tabs work fine except for the Photos tab, which just shows the spinning wheel; no headers, no info at all - even the ability to switch off sync would let me try twice, un-sync, re-sync.

enter image description here
Intentionally small image

Sync works [except no photos are transferred] Music, documents & other data will sync & backup just fine. A full Restore also works, though I only tested that on one device, I think it's sufficient to show that generally the connectivity & iCloud sign-ins are working OK.
All devices are different generations running different iOS versions, 12.5.1, 14.8 & the newest an iPhone SE2 on 15.0.2 [now 15.1].

Photos.app itself appears to be behaving normally.
I use no iCloud sync at all for photos, all are stored locally in the Photos.app on a separate internal drive.

Fixes tried so far - first, everything from Linc Davis' answer on the Apple Forum - itunes circle wont stop spinning when photos sync

Restart device
Connect to root USB
Delete iPod Photo Cache [backed up first]
Check Photos album names [no slideshows, no soundtracks]
Repair Photos Library

Then additionally,

Boot Mac in safe mode
Launch iTunes in safe mode
Check drives - boot APFS & storage HFS+ with Disk Utility and Disk Warrior - no issues.
Tested variations on permissions - default & ignore ownership.
Moved library to default location on boot volume & reassigned as System Library; repaired again.
Uninstalled [thoroughly] Dropbox & Google Backup & Sync - both of which may attempt to intercept images to save online.
Disabled Antivirus real-time protection.
Cloned boot volume to internal SSD [my fastest SSD is on a PCI riser which the machine thinks is 'external'.]
Tested with SIP on & off.
Tested an empty, brand new Photos Library file, in the default location [removing the other first].

To complete a full sweep of "things I don't know what they do but might help", in Onyx I cleaned all this lot..

enter image description here

Still no joy.

I did, rather surprisingly, persuade an ancient [2006?] iPod Photo to show me the Photos tab & successfully sync a few small selected photos. I thought that may have unclogged the same tab for the phones… alas not.
What is maddening is I can have both connected at once, & switch repeatedly from a perfectly cromulent iPod photos page, to a totally borked iPhone photos page.

Console shows these three messages over & over. I have no clue what they mean…

default 12:21:32.979042 +0000   deleted     com.apple.iTunesCacheExtension : 0  default 12:21:32.985231 +0000   deleted com.apple.iTunesCacheExtension : 0  default 12:21:32.988853 +0000   deleted removing filtered services: {("com.apple.iTunesCacheExtension")}      default 12:22:33.038607 +0000   pkd plugin /Applications/iTunes.app/Contents/PlugIns/iTunesCacheExtension.appex is still valid.  default 12:22:33.064951 +0000   deleted com.apple.iTunesCacheExtension : 0  default 12:22:33.081487 +0000   secinitd    iTunesCacheExtension[93640]: root path for bundle "<private>" of main executable "<private>"  default 12:22:33.101440 +0000   secinitd    iTunesCacheExtension[93640]: AppSandbox request successful  default 12:22:33.162911 +0000   iTunesCacheExtension    --> purgeable media items not enabled  default 12:22:33.162946 +0000   iTunesCacheExtension    returning 0 bytes for level 3  default 12:22:33.163021 +0000   iTunesCacheExtension    result: <private>  default 12:22:33.163162 +0000   iTunesCacheExtension    calling completeRequestReturningItems  default 12:22:33.163419 +0000   deleted com.apple.iTunesCacheExtension took 0.126815 seconds, returned: {      "CACHE_DELETE_AMOUNT" = 0;      "CACHE_DELETE_ID" = "com.apple.cache_delete";      "CACHE_DELETE_URGENCY" = 3;      "CACHE_DELETE_URGENCY_LIMIT" = 3;      "CACHE_DELETE_VOLUME" = "/";  }  default 12:22:33.749416 +0000   iTunes  <ATHostMessageLink 0x600003740160> <-- Processing incoming message 'Ping':  {      Command = Ping;      Id = 214;      Session = 0;      Type = 0;  }  default 12:22:37.481806 +0000   deleted removing filtered services: {(      "com.apple.iTunesCacheExtension"  )}  default 12:22:37.486918 +0000   deleted Purgeable op results: {      "CACHE_DELETE_ELAPSED_TIME" = "0.002715253";      "CACHE_DELETE_ID" = "com.apple.cache_delete";      "CACHE_DELETE_NONPURGEABLE_AMOUNT" = 0;      "CACHE_DELETE_TOTAL_AVAILABLE" = 441937303;      "CACHE_DELETE_URGENCY" = 3;      "CACHE_DELETE_URGENCY_LIMIT" = 3;      "CACHE_DELETE_VOLUME" = "/Volumes/OhDaSpace";      "com.apple.AssetCache.builtin.CacheDelete" = 0;      "com.apple.MailCacheDelete" = 0;      "com.apple.ReportMemoryException.CacheDelete" = 0;      "com.apple.Safari.CacheDeleteExtension" = 0;      "com.apple.TMCacheDelete" = 0;      "com.apple.activity_tracing.cache-delete" = 0;      "com.apple.bird.cache-delete" = 0;      "com.apple.cloudphotosd.cpl.cachedelete" = 0;      "com.apple.cloudphotosd.ilmb.cachedelete" = 0;      "com.apple.commerce.cachedelete" = 0;      "com.apple.coresymbolicationd.cache-delete" = 0;      "com.apple.desktoppicture.cache-delete" = 0;      "com.apple.iTunesCacheExtension" = 0;      "com.apple.ibooks.CacheDeleteExtension" = 0;      "com.apple.imagent.cache-delete" = 441937303  

iOS 14 Offer Codes - Can user use the new Offer code after subscription expired?

Posted: 16 Dec 2021 09:03 AM PST

If I provide an offer code, for a 1-month of free subscription, to a user for free access to my app, after 1 month can the same user use the new code for a 1-month of free subscription?

OR

User can use the offer code only 1 time?

How do I change the organizer on my family sharing accounta

Posted: 16 Dec 2021 08:00 AM PST

My ex husband is listed as the organizer in our family sharing account. He states he no longer has access to either his iCloud or @me accounts. My card is the one on file. How do I change the organizer to myself or cancel this account?

Best approach for: Dual boot Mac OS and Win 10 And shared files volume

Posted: 16 Dec 2021 06:52 AM PST

I've got a somewhat older macbook pro (mid 2014) and it starts lagging. And since I'm working professionally on it I'm thinking of buying a new macbook or Win laptop. But since I never had a clean install I first want to try a few things.

Clean up internals, new cooling paste and clean OS install. But since I'm also thinking of switching from Mac to Windows I also want a dual boot of Win10. So I can try working with Windows for a month. Since I will be switching between operating systems I want to have an additional volume for all my work files.

But I'm not sure how to partition the 1tb ssd.

  • What partitions would I need and what type
  • Would there be performance issues working on a volume type that one of both don't prefer?

I'm thinking of, first make 3 volumes, install Mac OS, then on create a boot camp with Boot Camp Assistant.

Any help would be welcome

iPhone USB disabled because another network is connected due to touchbar

Posted: 16 Dec 2021 12:36 AM PST

I was offline due to an outage with my ISP. I disabled Wi-Fi and connected to my 2016 Macbook Pro running macOS (10.12.4-10.12.5) an iPhone to use its personal hotspot to connect, but when I did, the hotspot did not kick in as it has on past Macs. Instead, in the Network System Preferences, I see this message for iPhone USB:

Attached iPhone USB is disabled because another network is connected. Uncheck the box below to connect anyway [✓] Disable unless needed

If I uncheck the box, the interface changes to Connected, but I want the device to only be active when needed. The mac seems to be incorrectly detecting that I don't need it when I do.

I tried removing all of the Network devices and restarting the machine, but even after restarting, the problem persisted.

I did some spelunking and found using ifconfig that en8 was to blame. If I sudo ifconfig en8 down, it makes that interface inactive and then the mac enables the iPhone USB device.

The details on the en8 device aren't very helpful:

$ sudo ifconfig -v en8  en8: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 index 4      eflags=1000080<TXSTART,ECN_ENABLE>      ether ac:de:48:00:11:22       inet6 fe80::aede:48ff:fe00:1122%en8 prefixlen 64 scopeid 0x4       nd6 options=281<PERFORMNUD,INSECURE,DAD>      media: autoselect      status: active      type: Ethernet      link quality: 100 (good)      state availability: 0 (true)      scheduler: QFQ       qosmarking enabled: no mode: none  

The only identifying information there is the mac address, which resolves to a generic "private" space.

Using networksetup -listallnetworkservices gives no hint as to what that device might be and the device doesn't appear in the list from networksetup -listallhardwareports.

I persisted and found en8 listed in System Information:

System Information showing iBridge

The device is iBridge, which with a search reveals that iBridge is for the touch bar.

Even with en8 down, the touchbar appears to work, which makes me think the ethernet device is not in use at all.

I suspect this behavior is a bug and will need to be fixed in a future OS update, but I'm hopeful for some prospects.

Is it safe to leave en8 inactive, or what issues might I encounter with that device inactive? Is there another way to configure that interface such that it is still up and functioning as Apple intended, but without signaling to the OS that it's a viable connection to a network when it is not?

Is screenshot to OCR possible on macOS?

Posted: 16 Dec 2021 04:17 AM PST

I want to be able to take a screenshot on my mac, then send that to an OCR engine and get back the text it has identified.

Are there any existing software tools that do this for macOS?

How to find the currently connected network service from the command line?

Posted: 16 Dec 2021 09:05 AM PST

I would like to find out which of the available network services (e.g. Ethernet or Wi-Fi) is currently active. In this screenshot from the Network Preferences, you can see that Wi-Fi is currently active (the green dot):

Network Preferences

How can I get that information from the command line?

The networksetup command allows me to list the available network services:

$ networksetup -listallnetworkservices  An asterisk (*) denotes that a network service is disabled.  Ethernet  FireWire  Wi-Fi  

It can also show some details on the service, like the device name:

$ networksetup -listnetworkserviceorder  An asterisk (*) denotes that a network service is disabled.  (1) Ethernet  (Hardware Port: Ethernet, Device: en0)    (2) FireWire  (Hardware Port: FireWire, Device: fw0)    (3) Wi-Fi  (Hardware Port: Wi-Fi, Device: en1)  

Unfortunately, the info on which service is active (the green dot from the screenshot) is not available in this info. Is there another command that I could use to get this information?

Where can I download Safari for Windows?

Posted: 16 Dec 2021 12:24 AM PST

This sounds like an absurd question, I know, but when I go to:

http://www.apple.com/safari/

There isn't a download link! I'm sure it used to be there :-/

Here's what I see:

enter image description here

Scrolling further just has more features. No link!

Is there any way to view saved wifi passwords on the iPhone?

Posted: 16 Dec 2021 12:24 AM PST

I've previously connected to a wifi network on my iPhone but I've no way of finding out the password. So is there any way to view saved wifi passwords on the iPhone?

The error "Keychain "login" cannot be found to store ..."

Posted: 16 Dec 2021 02:59 AM PST

When I start up my MacBookPro/osx/snow leopard , I get this error with yahoo messenger..

What is this keychain thing? Is this some Mac thing?

Any links to explain this concept and how to resolve it?

Thanks,

No comments:

Post a Comment