Thursday, June 9, 2022

Recent Questions - Ask Different

Recent Questions - Ask Different


Is there an app that lets you swap all open windows between monitors?

Posted: 09 Jun 2022 12:05 PM PDT

I use a separate monitor for each of my sitting and standing desks. I would like to know if there is an app that can swap all windows between the monitors when I transition between the desks.

Batch transfer thousands of photos from iPhone

Posted: 09 Jun 2022 10:52 AM PDT

I am trying to transfer many thousands of photos from an extremely full iPhone. I am using "Import from Iphone" in Preview.app (open to other methods as well), but this method opens a preview "page" for every imported photo. Over time, this slows the process down and eventually crashes Preview.app once memory is exhausted.

Is there any way to avoid opening each image as it imports? I typically just close the preview window every few minutes, which does not affect the import, but it seems stupid to need to do this, especially for a multi-hour process.

Prevent "Yesterday", "Previous 7 days" groupings when uploading files on macOS?

Posted: 09 Jun 2022 09:53 AM PDT

When uploading to chrome (presumably in other browsers/applications too), how can the files be made to appear as a regular list without the gaps/sections for "Yesterday", "Previous 7 Days" etc:

enter image description here

What know so far

After wake from sleep, windows moved from desktop on external display to desktop on MacBook display

Posted: 09 Jun 2022 11:57 AM PDT

After my MacBook wakes up, I find it's moved all the windows from the desktop on the external display, to the desktop on the MacBook display. This is extremely annoying.

I understand completely that the MacBook thinks the external display is not attached anymore because perhaps it's too slow to wake up. But moving the windows between desktops, which are a group, is just annoying because I'm using desktops to organise themes of work that I'm grouping together on purpose. So when the MacBook wakes up, I find that all the windows from both displays are now on the MacBook display, mixing everything together.

If Apple wants to do this, why not move the entire desktop that was previously on the external display to the MacBook display but keep the grouping the same?

The way I see it, things are grouped together. Windows are inside a desktop, which is a group of windows, and each screen has a number of desktops, which basically groups multiple desktops onto a particular screen.

So is there a way to tell macOS to move the entire desktop with all its contents intact to the MacBook display, instead of moving the windows between different desktops, causing the chaos I'm talking about?

How does Music "know" that an MP3 file was copied from it?

Posted: 09 Jun 2022 08:08 AM PDT

I wanted to create an audio file in Music that had many ID3 tags the same as another file already there.

So with Music.app not running, I copied the file from the Music library into a working directory.

In the copy, I changed the title, disk number, and audio with Amadeus, and replaced the lyrics with eyeD3. Then I copied the changed copy into the "auto import" directory.  When I launched Music.app, the new title/disk number appeared in the app and the one I had copied was removed.

So apparently, Music has some way of relating the copied-and-edited file to the original and saying "Oh, he's changing this song not adding a new one." However, when I restore the earlier song from backup, the new one does not disappear.  I assume it's something in the ID3 tags, though it might be in the metadata that Music stores in XML.  My question would be to learn how does this happen? so that I can take steps to prevent it.

Before anyone asks, the reason I'm not putting all the songs in at once is that I am creating the files for language learning and labeling them as different disks in the same album to keep them organized.  "copy and edit" is just a way to re-use most of the ID3 tags instead of having to put them in repeatedly.

How to remap Esc to Caps Lock? [duplicate]

Posted: 09 Jun 2022 07:55 AM PDT

How can one do such thing in macOS 12.4?

Is this possible somehow?

What would be the easiest way to achieve this thing?

Top row (Function Keys) and Delete key not working on MacBook pro 13 inch Mid 2012

Posted: 09 Jun 2022 07:52 AM PDT

Recently, I got my MacBook Pro Mid-2012 13-inch Keyboard replaced. Initially, it was working perfectly. All of sudden (while typing), I noticed that my Delete Key stop working. Then I started checking other keys also and go to know that my Volume keys are behaving differently. I mean when I press them they do work correctly, but they don't do the stock commands like turning the volume up, down, brightness, next song, etc. I came to know about the Keyboard Viewer and to my surprise, I saw that the fn key is pressed by default. As far as I remember, I never pressed the fn key. Tried lots of solutions like resetting NVRAM, and the checkbox under the System preferences -> Keyboard. I don't know what is the exact issue. Sharing the link for the Image and Video reference.

https://we.tl/t-zMJwnUgYrY

enter image description here

Where does APFS hide the resource forks and/or persistent Finder data?

Posted: 09 Jun 2022 07:21 AM PDT

Opening a directory in Finder used to create a .DS_Store in the directory.  But I just opened one today and that file was not created.  However, it did add eight kilobytes to the size of the directory.

And if I copy or move filename from APFS into a remote Debian directory mounted by SSHFS, a ._filename appears there.

But when looking here for ..namedfork or /rsrc or ..namedfork/rsrc, I find nothing.

I have an old server in my finder

Posted: 09 Jun 2022 07:09 AM PDT

I can see in my finder this server: enter image description here

I want to delete it, does somebody know how it could be accomplished?

My internal SuperDrive gets power, but won't show up in macOS

Posted: 09 Jun 2022 10:52 AM PDT

I have a 2010 white MacBook with 10.13.6 High Sierra installed, and my internal SuperDrive isn't detected. It gets power and spins up when I put a DVD in it, but the drive doesn't show up. The eject button doesn't work, it doesn't show up in system report, and drutil doesn't see a drive. I've tried looking everywhere and can't find a solution. Is there anything I can do to fix this drive?

I already reset the SMC and NVRAM more than once.

How to stop iTerm2 requiring being granted access every time

Posted: 09 Jun 2022 07:02 AM PDT

This issue is possibly related to this one, though I'm not quite sure how to translate those steps.

I'm using macOS 12.4 on a MacBook Pro (14-inch, 2021), and would like to use iTerm2 as a replacement for Terminal. At present, every time I try to access something in a protected directory (e.g. Downloads, network volumes), I'm asked for permission, like this:

"iTerm2" would like to access files on a network volume. (Don't Allow/OK)

When I allow this access for Terminal even once, I'm never asked again and it just works. I've also tried giving iTerm2 "Full Disk Access" in Security & Privacy, and still get this. I think this is a bug of some kind, given the different behavior for Terminal. Does anyone know how to give iTerm2 (and other third party apps) this access?

App store connect (erroneously?) does not prompt me for encryption exempt documents

Posted: 09 Jun 2022 06:51 AM PDT

I have a LOB app that allows users to encrypt files with a specified password. Hashing is used to derive a fixed length-key which is then used by AES to encrypt the content. (It also uses HTTPS and the native keychain, but both of these are exempt anyway).

From what I understand, this is actually not an exempt from the US export regulation since I use encryption, but not for the sake of any of the points specified in f ("support of entertainment, mass commercial broadcasts or medical records management").

However, if I take the questionnaire provided by App Store Connect, it actually just prompts me with I reminder that I am required to file a report to the US Gov if I use HTTPS, and not the usual file upload I would expect.

I figured that what triggers this outcome is this question:

Does your app implement any encryption algorithms that are proprietary or not accepted as standards by international standard bodies (IEEE, IETF, ITU, etc.)?

I chose 'No', since AES is specified by the IETF. The upload prompt only appears when I choose 'Yes' here. I really don't understand how using standardized algorithm should free me from filing a report, and apple's documentation only makes this infinitely more confusing.

My conclusions would be:

I just leave ITSAppUsesNonExemptEncryption on 'No' (which apple suggests but seems wrong to me). I file a report to the US Gov anyway as Apple is out of line here.

Q: Are my assumptions right? An if so: If the described procedure does not require ITSAppUsesNonExemptEncryption as YES, what even does?

Is there a way to allow the apps to be displayed behind the notch when a menubar is hidden

Posted: 09 Jun 2022 06:25 AM PDT

Im using Monterey with new MBP16 with notch

enter image description here

Is there a way to allow the apps to be displayed behind the notch when a menubar is hidden

I know about "scale to fit" feature, but i want to use all active size of screen. I understood, that center of my window will be hidden by notch, its absolutely ok

Siri not working as before installing Monterey [closed]

Posted: 09 Jun 2022 06:13 AM PDT

I installed Monteray and Siri has stopped showing my download folder. Mac pro 12.

Contact sent over MMS not loading properly on iOS

Posted: 09 Jun 2022 09:56 AM PDT

I had iMessage turned off, and someone with an iphone sent me a contact using 'share contact', usually I'd expect to receive a very ios-friendly contact that I can just click and add, however, this time I received in the message a file attachment with the form 'contactname.vcf' instead of the contact appearing as usual for IOS, is this because of having iMessage off or should this be rendering?

Software Update shows multiple Command Line Tools updates for Xcode versions not even installed

Posted: 09 Jun 2022 10:45 AM PDT

Following problems with the GNU gcc compiler installed through brew (messages about missing libraries that suddenly started appearing) I had to reinstall Xcode 13.4.1 yesterday.

This morning I'm now seeing several updates for Command Line Tools, for other versions of Xcode:

xcode updates

Why is this showing? And how do I dismiss those? gcc is now working fine so I don't want to mess anything up!

Keyboard shortcut to make window fill up screen

Posted: 09 Jun 2022 06:35 AM PDT

Is there a keyboard shortcut or a way of setting one to fill the window to the whole screen size, without actually being full screened.

There is a way by holding shift and clicking the green plus icon, but I'd prefer a keyboard shortcut for this.

I can’t connect to synology NAS in Finder via SSH tunnel

Posted: 09 Jun 2022 05:35 AM PDT

To be more precise, I'm stuck at the step when I try to connect the Mac to the NAS (Synology) It doesn't load a share despite being able to connect in SSH via Terminal.

My goal is to be able to navigate on the NAS like I would if It was on local network via SSH tunneling.

Is there any support or guide to setting up a synology with macOS?

Safari Issues on macOS 12.4

Posted: 09 Jun 2022 10:25 AM PDT

Problem:

Since updating to macOS 12.4, I have been seeing issues with Safari 15.5. Problem sites load just fine in Firefox (I don't use Chrome or Edge). Searches haven't revealed this as a common problem. None of these issues was present under 12.3

Tried to no effect:

  • cold rebooted.
  • disabled all plugins and extensions.
  • launched Safari in safe mode.
  • emptied caches.

Not Tried:

  • deleting plist files.
  • booting MBP in safe mode.

macOS: 12.4
Safari: 15.5
MBP 2020 Core i5, 8GB

Update 1:

In response to comment from @jaume:

  • Javascript is enabled (and has been consistently throughout this issue).
  • Block all cookies is unchecked (and has been consistently throughout this issue).

Update 2:

In response to comment from @Ezekiel:

  • Hide IP addresses is checked.

Update 3:

While not related to Safari (and therefore OT to an extent) I can confirm that this issue is also present in Mail.app. Remote content may be blocked if the Hide IP Address setting is enabled in Mail. As far as I know, this is also related to macOS 12.4 and (in hindsight) probably less to do with Safari.app and more to do with WebKit or a related codebase.

Potential Solution:

  • Unchecking Hide IP addresses appears to have solved the issue.

How do I avoid having to clear Messages notifications on multiple devices?

Posted: 09 Jun 2022 09:08 AM PDT

When I get a new iMessage, I'm happy to see a notification appear on all my devices because I might be using any of them. However once I have actually read the message, I don't want to have to go and clear the notification on all the other devices. I'd like all my devices to automatically recognize that I've read the message and clear the notification for me. Is there any way to achieve that or something similarly time-saving?

How to sync passwords between Windows Chrome and iCloud Keychain?

Posted: 09 Jun 2022 12:01 PM PDT

How can I sync passwords between Chrome and iCloud Keychain, i.e. import passwords stored by Chrome on a Windows desktop computer to the iCloud keychain in order to be used on an iPhone?

Mac cannot resolve DNS on WiFi, but works fine on cellular tethering

Posted: 09 Jun 2022 11:08 AM PDT

I have consulted the questions/answers here. But it seems nothing is working.

  • I can ping 8.8.8.8, but I cannot ping www.google.com.
  • nslookup www.google.com 8.8.8.8 and dig @8.8.8.8 www.google.com is not working.
  • I have changed the DNS to 8.8.8.8 and 8.8.4.4. It's not working too.
  • I have try to locate the file System/.../com.apple.mDNSResponder.plist. The file is there and nothing is wrong.
  • I have make sure that /etc/resolver has nothing (actually, the folder resolver isn't even there).
  • My iPhone, which is connected to the same wifi, can browse the internet just fine.
  • This Mac can browse from the same wifi yesterday just fine.
  • When I change my Mac connection to iPhone tethering 4G, only then it works fine (then I write this question).

How can I resolve this?

Result of scutil --dns:

scutil --dns  DNS configuration    resolver #1    nameserver[0] : 8.8.8.8    nameserver[1] : 8.8.4.4    flags    : Request A records    reach    : 0x00000002 (Reachable)    resolver #2    domain   : local    options  : mdns    timeout  : 5    flags    : Request A records    reach    : 0x00000000 (Not Reachable)    order    : 300000    resolver #3    domain   : 254.169.in-addr.arpa    options  : mdns    timeout  : 5    flags    : Request A records    reach    : 0x00000000 (Not Reachable)    order    : 300200    resolver #4    domain   : 8.e.f.ip6.arpa    options  : mdns    timeout  : 5    flags    : Request A records    reach    : 0x00000000 (Not Reachable)    order    : 300400    resolver #5    domain   : 9.e.f.ip6.arpa    options  : mdns    timeout  : 5    flags    : Request A records    reach    : 0x00000000 (Not Reachable)    order    : 300600    resolver #6    domain   : a.e.f.ip6.arpa    options  : mdns    timeout  : 5    flags    : Request A records    reach    : 0x00000000 (Not Reachable)    order    : 300800    resolver #7    domain   : b.e.f.ip6.arpa    options  : mdns    timeout  : 5    flags    : Request A records    reach    : 0x00000000 (Not Reachable)    order    : 301000    DNS configuration (for scoped queries)    resolver #1    nameserver[0] : 8.8.8.8    nameserver[1] : 8.8.4.4    if_index : 6 (en0)    flags    : Scoped, Request A records    reach    : 0x00000002 (Reachable)  

Result of dig:

dig    ; <<>> DiG 9.10.6 <<>>  ;; global options: +cmd  ;; connection timed out; no servers could be reached  

Result of dig @8.8.8.8 www.apple.com

; <<>> DiG 9.10.6 <<>> @8.8.8.8 www.apple.com  ; (1 server found)  ;; global options: +cmd  ;; connection timed out; no servers could be reached  

Result of nslookup www.apple.com 8.8.8.8

;; connection timed out; no servers could be reached  

Result of ping www.google.com:

ping www.google.com  ping: cannot resolve www.google.com: Unknown host  

Result of ping 8.8.8.8:

PING 8.8.8.8 (8.8.8.8): 56 data bytes  64 bytes from 8.8.8.8: icmp_seq=0 ttl=58 time=71.267 ms  64 bytes from 8.8.8.8: icmp_seq=1 ttl=58 time=48.360 ms  

EDIT: added requested TCP/IP screenshot of the connected problematic wifi.

TCP/IP screenshot

How can I obtain the backslash with a US keyboard configured with a Spanish (ES-ISO) keyboard layout?

Posted: 09 Jun 2022 10:10 AM PDT

I have a Macbook Air with the typical US keyboard layout printed in the keys, but I want to use the keyboard as if it were a Spanish keyboard because I'm accustomed to that layout and since I don't look at the keys while typing I don't mind the layout not matching the characters actually printed in the keys.

The layout of my keyboard looks exactly like this:

Macbook Air with US keyboard layout

I have configured the keyboard to behave as if it were an Spanish one, by going to Preferences > Keyboard > Input Sources and adding the "Español - ISO" layout.

That works fine, mostly, with one exception: The key at the left of the top "1" key (with the printed characters "`~") doesn't behave the same as the key in the same position in a Spanish keyboard, even after configuring the "Español - ISO" layout.

Instead of the key being "ºª\", which is the key at the left of "1" in the Spanish keyboard, it behaves as a "<>≤" key. Why is that?

So, since this is happening, I can't use those symbols ("ºª\"), of which I miss the backslash the most. How can I get the backslash with this layout without having to switch to US keyboard just to get the backslash character (below the "delete" key), and then switching back to Spanish layout? (which is a cumbersome process just to get a single character each time).

Edit: I think the problem is that the Spanish keyboard actually has an extra key that the US keyboard lacks (please note that the Shift key is shorter in the Spanish keyboard to accomodate the extra "<>≤" key). Spanish Macbook keyboard layout It seems that, for some reason, the key at the left of the "1" key is actually moved (including its keycode) down to the right of the Left Shift key in European keyboards, and a completely new key with a new key code replaces the key at the left of the "1" (in the Spanish keyboard it is "ºª\", while in other European languages it's a different set of symbols but the key code remains the same), so with a US keyboard I can't really have the full Spanish layout because of the missing key.

Noob struggling to tell terminal to install scikit-image 0.16.2 for Pyxelate

Posted: 09 Jun 2022 10:06 AM PDT

I'm using macOS Catalina version 10.15.7 I think this should be a very easy install, but apparently not. At first, I spotted terminal told me I don't have Cython. Ok. I installed it, then it gave me a long ass error command, which I have no idea to solve. I barely know what it meant. And Pyxelate can't take newest version of scikit-image. Is that my clang's file isn't match the pip3? If so, how can I fix that? I really have no idea.

  13 warnings and 1 error generated.    4 warnings generated.    error: Command "clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include -I/usr/local/lib/python3.9/site-packages/numpy/core/include -I/usr/local/lib/python3.9/site-packages/numpy/core/include -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/opt/tcl-tk/include -I/usr/local/Cellar/python@3.9/3.9.1_6/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c skimage/restoration/_unwrap_2d.c -o build/temp.macosx-10.15-x86_64-3.9/skimage/restoration/_unwrap_2d.o -MMD -MF build/temp.macosx-10.15-x86_64-3.9/skimage/restoration/_unwrap_2d.o.d" failed with exit status 1    ----------------------------------------    ERROR: Failed building wheel for scikit-image    ERROR: Command errored out with exit status 1: /usr/local/opt/python@3.9/bin/python3.9 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/34/x6521nrj71sb1tmxtpcxsj4c0000gn/T/pip-install-25qrnc9w/scikit-image_5d68c8ee27804ffa8db02d899fd06b99/setup.py'"'"'; __file__='"'"'/private/var/folders/34/x6521nrj71sb1tmxtpcxsj4c0000gn/T/pip-install-25qrnc9w/scikit-image_5d68c8ee27804ffa8db02d899fd06b99/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/34/x6521nrj71sb1tmxtpcxsj4c0000gn/T/pip-record-hddyaqi4/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.9/scikit-image Check the logs for full command output.  

MacBook Pro 13'' (2020) with Dell TB16

Posted: 09 Jun 2022 07:02 AM PDT

I'm currently able to use an external monitor via HDMI connection thanks to Thunderbolt3Unblocker but very often after unplugging the dock my laptop restarts due to an error: this seems related to a problem in windows resizing, is there any solution to that? Also, some other strange things are happening from time to time: twice or thrice in my 2 weeks of usage it happened that after unplugging and then reconnecting to the dock, the two USB-C ports of the side of the laptop where the dock was previously plugged in stopped sending any signal to the monitor, while the other two on the other side were still working fine (this seemed to happen after, when unplugged, I left the laptop go to sleep mode); display port connection is apparently not working at all, while mini display port works with a suboptimal resolution (but this is covered in this conversation: https://github.com/rgov/Thunderbolt3Unblocker/issues/28).

I'm using MacOs 10.15.7

iPhone is stuck in Recovery Mode with full storage

Posted: 09 Jun 2022 12:06 PM PDT

I was trying to update my iPhone X (GSM) from iOS 12.3.1 to iOS 14.0.1

The following steps was carried:

1- Downloading the latest firmware ipsw (size 4.61 GB) from iPhone10,3,iPhone10,6_14.0.1_18A393_Restore.ipsw from ipsw.me

2- Downloading the latest iTunes on my Windows 10 PC

3- Connecting the iPhone by an original USB cable to my PC

4- Locating my iPhone and pressing "Shift" button from my keyboard and pressing on the Update from iTunes

5- Selected the ipsw which was previously downloaded.

6- During in the middle of the update, an error came out with a code # 14.

7- My iPhone got stuck permanently on the iTunes logo

8- Tried for several times to exit the Recovery Mode by Pressing and quickly release the Volume Up button. Press and quickly release the Volume Down button. Then, press and hold the Side button. it just keep restarting and getting back into the Recovery Mode.

9- Downloaded couple of software's "Tenorshare ReiBoot Pro" and "3uTools" to force exit Recovery Mode, no good results.

The problem here is happening because I guess that I have tried to install the updates although there was no enough storage on my iPhone.

If there is anyway to delete large files in order to free space of my iPhone (while it is in Recovery Mode" it would be much appreciated.

Or

If there is a way to update the iPhone to any iOS that has a small ipsw size would help on this issue, bare in mind downgrading or using OTA (Over the Air) firmwares to be directly installed on my iPhone by a PC.

Note:

Thinking outside the box:

If there is a way to connect the iPhone to any operating system i.e. Linux and have it connected there by entering the file explorer in order to delete some large files would help, need some experiments please.

How can I change the SMB server address my Music files are on?

Posted: 09 Jun 2022 11:07 AM PDT

I store my iTunes library (now Music.app) on a Samba server. The server's DNS name has changed, but the volume/share name has not. The share is called Media and is mounted at /Volumes/Media

However, I am unable to sync my iPhone or play music in Music.app because it somehow still tried to connect to the old DNS name, even though from what I can tell the path names coded in the library don't contain the Samba server name. However when i try to sync my iPhone I get a message

*There was a problem connecting to the server "old.server.dns.name"

This happens even if I first use Go > Connect to server... in the finder and connect to the server, so my music is available at the desired path /Volumes/Media/music...

I don't want to delete my library and re-import because I'll lose all my star ratings and play counts.

How can I resolve this? How can I update the Samba server path for the music in my Music.app library?

What is the opposite of “Allow” for undoing a terminal command

Posted: 09 Jun 2022 12:27 PM PDT

I'm looking to undo a command that I have executed through ARD to allow access to non-admin users to make changes to NETWork PREF. As I now need to remove the access it seems that I'm not able to find the right "word" to execute the command.

/usr/bin/security authorizationdb write system.services.systemconfiguration.network allow  

All I need to know is what the opposite of "allow" is, as "deny" doesn't seem to work. Any help on this would be much appreciated. Thanks

No one asked but just found my way back to this post and I've realised that I can share what the solution is ...pretty simple actually.

/usr/bin/security authorizationdb write system.services.systemconfiguration.network "variable"  

Simply replace the "variable" with one of the following, based on your requirements:

"authenticate-admin" or "authenticate" or "admin" or "authenticate-admin-30"

This should be valid for 10.14 and probably above

Can I access iCloud Drive files from non-apple device?

Posted: 09 Jun 2022 06:15 AM PDT

I have an application that stores its files on iCloud Drive for synchronization. I'd like to write a cloud service that can also access the files.

For example, if I record a video on my app, I'd like to ask my service to download the file, and send it to a transcoding service, or something.

From the device, can I create an authenticated URL to the file? Alternatively, can I create a temporary token to send to the server, so that it can access the file? Then, when transcoding is complete, can I write back to the iCloud Drive?

I'm mostly trying to avoid uploading the entire file from the device to the server, because the files might be quite large.

I'm also trying to use iCloud Drive to support the seamless file sync between device and mac laptop without having to explicitly authenticate - that type of thing isn't supported by google drive, or dropbox, correct?

Thanks very much in advance, I appreciate any help at all!

No comments:

Post a Comment