Tuesday, May 31, 2022

Recent Questions - Ask Different

Recent Questions - Ask Different


File Vault decryption paused, switch to external?

Posted: 31 May 2022 05:12 PM PDT

I have an old MacBook Pro that was running super sloooow. I decided to upgrade to an SSD. The original drive was encrypted, so I wanted to decrypt before I cloned the drive. I think that's where I made a mistake. I should have removed the drive and hooked it to my other Mac as an external, but instead I turned off File Vault encryption in the original Mac. It's been 1 week and the decryption is at 8%. I am assuming it's because the old computer is so slow that it is taking this long. Can I shut the computer down, move the drive to an external enclosure, and resume decryption using my other Mac? Will this speed things up? By the way, the drive is HFS Extended Journaled, and both my old machine and new one are running High Sierra. And yes, stupid me, don't have a backup for the old computer data. One last thing, can I use time machine on this partially decrypted drive, then use the backup to create a clone?

Run iOS/iPadOS shortcut every 30 minutes

Posted: 31 May 2022 04:26 PM PDT

I want to create an automation on my apple devices to run a set of tasks every 30 minutes. Currently, there only seems to be an option to run an automation at a certain time of day.

Is there a way to trigger an iOS shortcut automation to run every 30 minutes? The only way I can think of to make this work is to create 48 automations (One for every 30 minutes) and have them run daily, but I think its easy to understand why that is not really a solution.

Thanks in advance

Cannot open imported Keychain files

Posted: 31 May 2022 03:47 PM PDT

I was able recover Keychains folders from corrupted partition and I wanted to add them to test account in order to export needed password. This password was only available locally on that machine. However, when I try to open login.keychain-db, it does not have any effect on Keychain app.

Is there any way to recover it?

Permissions issue with shared folder using SMB. macOS can't open Linux files, but Linux can open macOS files without issue

Posted: 31 May 2022 03:46 PM PDT

I have a shared folder on macOS Catalina (It's just the default Public folder) that can be accessed by an Ubuntu machine. The share is set up using SMB.

If the Linux machine copies over a photo, text file, whatever into the shared folder, the macOS machine cannot open it. I get a permissions error. If the macOS machine does the same, the Linux machine has no problems whatsoever.

I have tried many settings on macOS to no avail including "Apply to enclosed items".

Here's a screenshot of all the sharing settings on macOS so you can see what I have done. Permissions issue

Settings for access to Files & Folders are ignored?

Posted: 31 May 2022 02:22 PM PDT

Recently after updating an app (Watchman's watchman, using Homebrew) is behaving like it no longer has access to Files & Folders, despite the fact that I have given it access in Security settings. In fact, I have several (old?) instances that I've given access:

enter image description here

Is there a reason that an app would behave this way? I'd originally thought it might be an issue with the app itself, but have not seen reports that this is the case, and am now thinking something may be wrong with how I've set up Privacy for the app?

Are there other settings that might be affecting an app's access to Files & Folders? I know I can give the app Full Disk Access, which would also cover Files & Folders, but doing that does not fix the issue.

iPhone performing autoblur on any use of camera

Posted: 31 May 2022 02:13 PM PDT

iPhone is doing autoblur when the person is far away from camera. How to stop autoblur? Went into Apple store, but they could not help. This is happening during video conferencing in several apps.

Homebrew won't install from casks

Posted: 31 May 2022 04:23 PM PDT

I've just wiped & reinstalled my M1 Macbook Pro (Monterey 12.4), and at some point during setup Homebrew has stopped working when installing from cask - the download completes, then nothing. It doesn't even return to the prompt.

For example, if I try to install VLC:

brew install --cask vlc  ==> Auto-updated Homebrew!  Updated 1 tap (homebrew/core).  ==> Updated Formulae  Updated 2 formulae.    ==> Downloading https://download.videolan.org/vlc/3.0.17.3/macosx/vlc-3.0.17.3-arm64.dmg  ######################################################################## 100.0%  

... and then silence.

If I ^C and try again, I get:

brew install --cask vlc  ==> Downloading https://download.videolan.org/vlc/3.0.17.3/macosx/vlc-3.0.17.3-arm64.dmg  Already downloaded: /Users/adam/Library/Caches/Homebrew/downloads/409341b2af745d1aeb51a7bcf0fa728f37a3cb0323b662988fcbd4b2d6c3021c--vlc-3.0.17.3-arm64.dmg  

I assume it's a permissions issue, but I'm not sure where to start.

My Homebrew version:

Homebrew 3.4.11  Homebrew/homebrew-core (git revision ea77abc722f; last commit 2022-05-31)  Homebrew/homebrew-cask (git revision c858075186; last commit 2022-05-31)  

How to add/classify extensions for Spotlight searches?

Posted: 31 May 2022 11:54 AM PDT

When add query something trip kind:image to search by kind in Spotlight, it seems to be just a extension to the extension-type search. If so, how can I add new document types to the the definition of image in this case, so I get those in the results.

Otherwise I would only get the old classic types (bmp, png, svg, icns, gif, etc), some big-name (read: Adobe) proprietary formats (ai, psd ) but not the newer formats that — might I add — have their proper QuickLook plugins registered in the system and, in Finder, behave exactly like others in the category e.g; .afdesign, .pxm (Affinity Designer and Pixelmator, respectively).

How can I modify the [I assume System-]files to expand these definitions? I'm in High Sierra, BTW.

Is there a GUI website copier application compatible with MacOS that also include Javascript elements? [closed]

Posted: 31 May 2022 11:22 AM PDT

I'm looking for website copier software with a GUI (because I'm not experienced with command line and it confuses me), compatible with MacOS, that also includes Javascript elements. The website I want to copy is also password protected and has a specific cookie set. I have the API key.

SiteSucker worked almost perfectly for me besides the fact it doesn't incorporate Javascript. Not looking to create a virtual PC.

Recommended way to install Java with brew (just to run Java apps without a development environment)

Posted: 31 May 2022 12:22 PM PDT

I saw today:

brew install --cask ripme    ==> Caveats  ripme requires Java 8+. You can install the latest version with:    brew install --cask temurin  

There are so many brew packages for Java, I don't have the overview anymore:

brew info temurin  temurin: 18.0.1,10  https://adoptium.net/  Not installed  From: https://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/temurin.rb  ==> Name  Eclipse Temurin Java Development Kit  ==> Description  JDK from the Eclipse Foundation (Adoptium)  ==> Artifacts  OpenJDK18U-jdk_x64_mac_hotspot_18.0.1_10.pkg (Pkg)  ==> Analytics  install: 4,556 (30 days), 14,596 (90 days), 39,378 (365 days)  

Is this the recommend way of installing Java with brew?

At the moment, Java is installed with this package/tap:

brew info adoptopenjdk14  adoptopenjdk14: 14.0.2,12  https://adoptopenjdk.net/  /usr/local/Caskroom/adoptopenjdk14/14.0.2,12 (191.6MB)  From: https://github.com/adoptopenjdk/homebrew-openjdk/blob/HEAD/Casks/adoptopenjdk14.rb  ==> Name  AdoptOpenJDK 14  ==> Description  AdoptOpenJDK OpenJDK (Java) Development Kit  ==> Artifacts  OpenJDK14U-jdk_x64_mac_hotspot_14.0.2_12.pkg (Pkg)  

I don't do any Java dev work, I just use some apps which are Java-based.

M1 MacBook Pro Drops Wifi Periodically

Posted: 31 May 2022 12:44 PM PDT

My 2021 M1 Pro MacBook Pro drops wifi periodically, it does this on all networks I've tried, including at the Apple Store. Sometimes it automatically reconnects, sometimes it doesn't.

Turning off bluetooth significantly reduces the frequency of the problem but doesn't eradicate it. Obviously I'd like a solution where I can have bluetooth on.

How can I diagnose this further?

Here's some other misc notes:

  • I've tried on every macOS apart from 12.4, I'm going to try that now
  • When wifi and bluetooth are both on, they will both drop at the same time. My headphones will lose audio for a second and I see the wifi reconnecting
  • A genius ran a hardware test which said everything was fine
  • iPad and multiple iPhones all fine on my home network
  • M1 MacBook Air is fine on my home network
  • Tried soft and hard reinstalls of macOS
  • Renewed DHCP lease
  • Created a new network location
  • When plugged into wired ethernet the wifi still drops
  • I've tried turning off 2.4g on my home wifi router

Toolbox/Podman Alternative for MacOS

Posted: 31 May 2022 03:05 PM PDT

I primarily develop on Linux and recently bought a Macbook, and am looking to make the development experience familiar to what I am used to. Note that this focuses on work native to the OS, rather than working over SSH which I have no problems with.

One way I used to deal with lack of package support on a Linux distro was to use Toolbox with Arch Linux, and keep development packages in a container.

This is what I would like to do with macOS as well. I have a podman setup on macOS but the Toolbox tool seems very specific to Linux. Is there a somewhat equivalent tool for mac?

I don't need desktop integration, and only need CLI packages and libraries. I am also willing to manually write podman-compose files if no such tool exists.

Bash script or AppleScript to connect & disconnect an Airplay display in Monterey+

Posted: 31 May 2022 04:06 PM PDT

In System Preferences > Displays, bottom left corner is "Add Display". I can choose another (Monterey+) Mac, Apple TV, iPad, possibly other things, to effectively become an additional display for my Mac. It's pretty cool.

I want to automate connecting and disconnecting to one of those. Either AppleScript or bash is fine. I'd really prefer not to use GUI scripting if possible, but if it's the only way I'll take that over no solution.

An anyone say definitively if this is possible, and/or how to do it?

Thanks!

How can I see ALL global shortcuts currently active across Finder + other apps?

Posted: 31 May 2022 11:46 AM PDT

I've just started using Amethyst and would love to be able to use the CTRL+optn+NumPad[0-9] shortcuts, but some of these just don't work and I'm assuming something else already has these shortcuts that are overriding Amethyst's. I've looked in SysPrefs/Keyboard Shortcuts, as well as some of the other apps like Alfred and Keyboard Maestro, but there's nothing with those matching key combinations.

Is there a way to globally retrieve ALL possible keyboard shortcuts that are currently active across the system?

An error occurred while loading the update

Posted: 31 May 2022 11:05 AM PDT

So yesterday I tried to update my iMac 2017 to the Monterey version, but I received this message

"An error occurred while loading the update"

enter image description here

ps: image from internet

enter image description here

Any ideas on how i can fix that without losing my data ?

Can't find standbydelayhigh and standbydelaylow on MacBook Pro 2021

Posted: 31 May 2022 12:56 PM PDT

When, on my MacBook Pro (M1 Pro) Monterey 12.1, I run

sudo pmset -g

I get these current power settings:

System-wide power settings:  Currently in use:   standby              1   Sleep On Power Button 1   SleepServices        0   hibernatefile        /var/vm/sleepimage   powernap             0   networkoversleep     0   disksleep            10   sleep                1 (sleep prevented by powerd)   hibernatemode        3   ttyskeepawake        1   displaysleep         15   tcpkeepalive         0   lowpowermode         0   womp                 0  

Where can I find the current values for standbydelayhigh or standbydelaylow?

MFI certification/ Detecting local wifi networks

Posted: 31 May 2022 05:02 PM PDT

I am re-posting my previous question in regards to enabling our app to detect local wifi networks so that users can connect the product to wifi.

My company is developing an app enabled sound machine. The sound machine similar to many other products today like security cameras, computers, iPhones, even some air purifiers, takes you through a set up process through the app where you can then connect the device to a Wi-Fi network.

Typically of course this Wi-Fi network that you connect to will be the Wi-Fi network in your home, or office, or wherever you will be keeping this product. When you are going through the app and get to the portion where you then connect the product to Wi-Fi all of the Wi-Fi network names in the area will pop up. So for example, if you live in apartment building your Wi-Fi network name will pop up along with maybe three or four of your neighbors.

Now this is the screen we are having a challenge with. You can manually type in your Wi-Fi network name and password and it will connect with no issues. But we are unable to get the app to detect the Wi-Fi network names in the area. This creates a massive inconvenience for users because at that point they have to type in both their WiFi network name and the password manually. They are unable to just click on their Wi-Fi network name then enter the password like other apps.

We have been reaching out to Apple development program but for some reason they have been denying us the ability to do this. We are Wondering if that is because of not having an MFI certification. Or if there is a different implementation that we are not considering.

How to enable hibernation on M1 Mac

Posted: 31 May 2022 12:50 PM PDT

I am trying to enable Windows-like hibernation (powering off the device) on an M1 Mac mini. Current power mode configuration of any Mac can be displayed with pmset -g command, and this command's output does not include a hibernatemode entry. I try to enable hibernation with sudo pmset -a hibernatemode 25 where 25 indicates power-off hibernation. Unfortunately this doesn't power the device off because the power light is still on when I put the device to sleep. Curiously enough, running pmset -g again still does not include a hibernatemode entry.

Is hibernation removed in new M1 Macs or macOS Big Sur? If not, what is the correct way to enable it?

New Macbook Pro 2019 has high temperature with low CPU usage

Posted: 31 May 2022 10:15 AM PDT

I got a Macbook Pro 2019 with Intel Core i9 Processors and it seems to heat up and get the fans spinning even with very low cpu usage.

For Example, today when I was on a video call, Both my fans were spinning quite loud and my CPU Temperature was at 57deg Celcius. When I looked at Activity Monitor, my CPU was 97.44% idle.

Is this a problem with the computer or is this normal?

MacBook Air (13-inch, 2017) [MacOs Catalina 10.15.6] Yellow tint when watching video in Netflix, Youtube or even Videos(Quick Time)

Posted: 31 May 2022 01:07 PM PDT

I noticed recently that when i try watching youtube videos in full screen, when i didn't move my mouse and the play bar disappeared , my screen turn yellowish. This happen only during full screen and only if i connect my MacBook Air with an external monitor via thunderbolt (I connect monitor with HDMI through a converter [HDMItoThunderbolt].

If i unplug the monitor from my MacBook, it becomes normal.

Any solution for this? I reach help from apple support but they seems can't fixed this issue.

zsh can't see and doesn't load the ~/.zshrc startup file

Posted: 31 May 2022 12:00 PM PDT

After upgrading to Catalina and encountering the zsh upgrade reminder when launching Terminal, I've decided to switch to zsh.

The default interactive shell is now zsh.  To update your account to use zsh, please run `chsh -s /bin/zsh`.  For more details, please visit https://support.apple.com/kb/HT208050.  

However, I'm having trouble getting Terminal/zsh to recognize the .zshrc startup file located in my home folder. ~/zshrc isn't loaded on launch, and executing source ~/.zshrc returns source: no such file or directory.

The file only contains one line, an alias tying python to python3.

Finder showing .zshrc presence next to an open TextEdit window of the file Terminal showing the lack of any aliases and the failed source command

macOS/iMac - LG UltraFine controls

Posted: 31 May 2022 10:32 AM PDT

For seemingly no reason, the macOS hotkey to control the brightness (control + F1/F2) of my LG UltraFine secondary display has stopped working.

Also, the Sound Preferences do not show LG UltraFine speakers anymore, so I cannot set the sound output to that display.

When I try to open LG Screen Manager, it quits immediately.

Can anyone else using LG UltraFine (23.7" 4K, specifically) confirm facing this issue? Any suggestions on how to fix this?


This Apple bug/personal oversight has become a nuisance on my home setup. Not only can I not control the display and sound on my UltraFine monitor through the iMac, I am unable to send the sound output from my iPad to the monitor. All this was earlier working without any problem.

When going to Apple > About This Mac > Displays, the UltraFine display shows up, implying that the monitor is being identified. But the sound and brightness controls are not working.

I have tried three different devices, an iMac, an iPad, a MBP. Neither worked, leading me to believe that the issue is with macOS/iPadOS.

Any way to use disassembled MacBook Pro keyboard and trackpad as input to Mac mini?

Posted: 31 May 2022 01:28 PM PDT

I have a mid-2012 MacBook Pro (non-retina) lying around that I don't need. It does not startup, but it's keyboard and mouse work fine. I have no use for the computer anymore.

I also have a Mac mini and I was wondering whether there is any hardware/software that allows me to use the keyboard and trackpad from my MBP as direct input to my Mac mini, just like an external keyboard/trackpad, without having to go through the OS on my MBP.

In other words, I was looking for some sort of adapter that would connect my keyboard and trackpad from my MBP to a USB input which I could use on the Mac mini. I do not want a solution like this: https://apple.stackexchange.com/a/338568

Thanks

How to use youtube-dl --cookies

Posted: 31 May 2022 07:29 PM PDT

How do I use the --cookies option to youtube-dl to download a Youtube video? Can anyone provide a worked example of how to obtain the relevant cookies for Youtube and put it in the appropriate format for youtube-dl?

Context: I want to download a private Youtube video. For various reasons, the method of logging into my Google account is complicated and involves two-factor authentication and not supported by youtube-dl's existing command-line options. Therefore, it seems the best way is to log in manually in my browser, obtain the authentication cookies somehow, and use the --cookies option -- but I can't find a worked example of how to do this.

Why does Finder tell me Pixie is zero bytes in size, but takes up 406 KB?

Posted: 31 May 2022 12:00 PM PDT

Pixie, the additional Xcode app for magnifying pixels of the screen and finding their values, takes up 406 KB of space. Finder, however, says that it's zero bytes in size. In the below screenshot, you see that under Size it says "zero bytes", followed by "406 KB on disk". What does this discrepancy mean?

Get Info for Pixie

I have relaunched Finder, but the problem persists. Pixie is fully functional.

QuickLook doesn’t work with Chat transcript files

Posted: 31 May 2022 10:35 AM PDT

Trying to use QuickLook for Chat transcript files isn't working anymore on my machine.

First it takes >10 seconds to load (for files <20KB) - and then when it does finally load, it's just an icon. I can't actually read the chat.

Anybody else having this experience?

I'm not even quite sure what to try resetting! Deleting the QuickLook plists does not seem to have changed anything.

Add Compose key to OS X

Posted: 31 May 2022 12:40 PM PDT

I want to change one of my keys on my keyboard to a Compose key so I can easily type common accents or characters, e.g.: Compose+e+' -> é.

Is there a setting I can change or a program I can install to add this feature? For instance, I would like to use Caps Lock as Compose.

Do I have to run a disk integrity check after a kernel panic?

Posted: 31 May 2022 03:14 PM PDT

Relatively new to Macs, I'm used to Windows wanting to verify HD data integrity after an unexpected shutdown. I know they use different file systems, but do Macs need to do anything like this?

Restarting sound service?

Posted: 31 May 2022 03:13 PM PDT

My macbook pro running Snow Leopard stopped making sounds a couple hours ago. I've found other reports of people with sounds working through headphones, but that's not the problem I'm seeing. I get no sound when my headphones are plugged in either.

I'm wondering if there's a LaunchAgent or LaunchDaemon to restart which would remedy this. I've already tried killing the coreaudio daemon (and it dutifully automatically restarted) but that didn't fix it.

I need to reboot for an OS update, so I think that'll probably rectify things.

Is there another way?

No comments:

Post a Comment