Sunday, August 15, 2021

Recent Questions - Ask Different

Recent Questions - Ask Different


How to open Facebook page in Safari on the app instead?

Posted: 14 Aug 2021 11:37 PM PDT

When people share a link to a Facebook page, it opens up in Safari. Am using iOS 14.7. The issue is, I'm not logged in on mobile. Is there any way to make it open in the app instead?

Choose specific UI accent color

Posted: 14 Aug 2021 11:01 PM PDT

Accent & Highlight Color Options

Screenshot from System Preferences>General.

In macOS Mojave 10.14.6 (current OS for me), and other versions close in age, the highlight color used throughout the system can be changed to any RGB color of your choosing, with "Other."

As you can see, the accent color lacks such a setting; the grey on the right is "Graphite" color. Can this accent color be changed in any similar way? The color choices provided are too limited for me.

Change UI's menu select blink rate

Posted: 14 Aug 2021 11:01 PM PDT

Back in System 7 there was an option to change how many times a menu item would blink when selected:

System 7 General Control (gaussian blur)

Is it still possible to change this setting in modern-day macOS versions? (I am using 10.14.6 Mojave) Looking in System Preferences>General I don't see any relevant setting.

Disable Smart Copy/Paste globally

Posted: 14 Aug 2021 09:53 PM PDT

If I copy a word and paste it at the beginning of a filename in Finder, a space it automatically added with it. For example, if I copy the word fruit and attempt to paste it at the beginning of a filename basket, I would get fruit basket instead of fruitbasket (notice the automatically-added space).

I can disable this feature in Safari and TextEdit, but the setting appears to be missing in Finder. Furthermore, as I never use this feature, I would much prefer for it to be disabled globally. Can this be done?

Auto­mat­i­cal­ly move mouse point­er to default but­ton on dia­log box

Posted: 14 Aug 2021 08:00 PM PDT

Is there a way to auto­mat­i­cal­ly move the cursor to default but­ton on dia­log boxes or confirmation messages? I've been a windows user for a long time and this function can be easily set in the Control panel. Am wondering if there's a similar functionality in MacOS Big Sur.

Which CPU temperature should I look at to monitor thermal throttling?

Posted: 14 Aug 2021 07:38 PM PDT

I'm using iStat Menus to display temperature readings from multiple sensors. I want to keep an eye on the CPU temperature to see if the cores are close to their thermal throttling threshold, but there are a lot of temperatures so I am confused.

enter image description here

Questions:

  1. Which "CPU temperature" should I look at?
  2. At which temperature threshold would thermal throttling kick in?

Note that I'm not asking whether the CPUs are currently under throttling, which has already been answered here. The point is to monitor the temperature so that I can know if they will get throttled and adjust the workload or fan speed accordingly.

Here is the hardware information in case that's relevant.

Hardware:        Hardware Overview:          Model Name: MacBook Pro        Model Identifier: MacBookPro14,1        Processor Name: Intel Core i5        Processor Speed: 2.3 GHz        Number of Processors: 1        Total Number of Cores: 2        L2 Cache (per Core): 256 KB        L3 Cache: 4 MB        Hyper-Threading Technology: Enabled        Memory: 8 GB        Boot ROM Version: 429.120.4.0.0        SMC Version (system): 2.43f7        Serial Number (system): XXXXXXXXXXXX        Hardware UUID: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX  

diskarbitration is 'Preventing Sleep' how to safely quit this process?

Posted: 14 Aug 2021 05:19 PM PDT

I used quit in Activity Monitor on diskarbitrationd process and it wouldn't quit. I then used force quit and my external hard drive was corrupted. How do I sleep my computer when diskarbitrationd process is preventing sleep?enter image description here

iPhone Photos just rarely show up in iOS Photos... already did everything possible

Posted: 14 Aug 2021 04:30 PM PDT

perhaps some of you is going to make a big Change for me and gets all the props of honour I can give! My Problem:

My iPhone 8 Plus Photos (iOS 14.7.1) most of the time (!) won't show up on my Macbook Pro 2012 (Mojave 10.14.6). Sometimes they are displayed and can be imported - but mostly they don't... On the other hand, the iPhone is displayed in the sidebar on iPhoto EVERYTIME! ... but mostly the program says "no photos".

  • So most of the time there are COMPLETELY NO PHOTOS - or seldomely ALL photos. Nothing in between (to sort out another appearantly common bug).
  • The connection goes with cable because I just don't want my photos on any Apple cloud (if possible), so I think I turned the iCloud-settings off the whole time.
  • "Photos", which I want to keep as the transfering program, is using a library on my external drive.
  • I tried shutting down and restart the phone and the notebook, as "Photos" in any random order. I think the last time it helped, but the next times it doesn't.

Can you help me please how I can fix the problem? That yould be great! Thank you and beste regards

Felix

How do I get Apple Photos to sync on macOS?

Posted: 14 Aug 2021 02:50 PM PDT

I'm aware that Apple Photos syncs in the background according to it's own rules, but Apple Photos on macOS hasn't synced (according to the status at the bottom of my library) for almost 20 hours, despite my having taken several photos (all of which appear in Photos on my other devices and in iCloud) in the meantime.

What do I need to do to get Apple Photos to sync when I need it to, or at least on a more reasonable schedule?


macOS 11.5.1

Dimmed icons in Files app on IPad?

Posted: 14 Aug 2021 01:36 PM PDT

I tried to export some files from an app to my google drive. The files turned up looking like this. Dimmed, with a red circle icon. The files are however NOT on google drive, they just show like this in the files app.

What's going on?

files listing

macOS Automator workflow works as Workflow, but not as Application

Posted: 14 Aug 2021 01:20 PM PDT

I'm running macOS 11.5.2 on an M1 iMac. I've written an Automator app consisting of a Run Shell Script action followed by an Run AppleScript action to see if the java process is running and if not to let me know by text message.

I do this by a shell script that creates a file if the process is running. (If the process is not running the file isn't created.)

Next an AppleScript checks for the test file's existence. If it exists it deletes the file and returns with 0. If it doesn't exist it sends me a text message.

This works great when I run it from in Automator as a Workflow, but when I execute the Automator app that I created it gets as far as creating my test file and properly deleting it, but the text is not sent. I do see the app in System Preferences > Security & Privacy > Privacy > Automation allowing it to access Finder.

Here's the code that's in Automator:

Run Shell Script action:

PROCESS=java  number=$(ps aux | grep -v grep | grep -ci $PROCESS)    if [ $number -gt 0 ]      then          echo Running > /Users/imac-m1/Desktop/Running.txt;  fi  

Then I pause for 2 seconds via Automator to give the filesystem a chance to create the file.

Then...

Run AppleScript action:

tell application "Finder"      if exists POSIX file ("/Users/imac-m1/Desktop/Running.txt") then          -- display dialog "it exists"          tell application "Finder"              delete the file "Running.txt" of the desktop          end tell          return 0      end if  end tell    -- display dialog "Missing!"  tell application "Messages"      set targetBuddy to "(860) 555-121T"      set targetService to id of 1st account whose service type = iMessage      set textMessage to "AARGGH! CrushFTP Java Not Found!!"      set theBuddy to participant targetBuddy of account id targetService      send textMessage to theBuddy  end tell  

Any ideas?

How to get informed about system update is available

Posted: 14 Aug 2021 01:07 PM PDT

enter image description hereI'm running mac book air with M1 chip. I have it more than one time that I get information about system update with security fix, reading heise-news. I have set everything at automatic-update. However, I never get a notification. What must I do to fix this?

Does the M1 chip (Apple Silicon) use hyper-threading? (a.k.a. simultaneous multithreading (SMT))

Posted: 14 Aug 2021 01:26 PM PDT

With regard to the Apple M1 chip, I have looked around at various sites but have not seen any mention of the SMT feature more commonly know by Intel's trademark, Hyper-Threading Technology.

I suppose one could presume there is no SMT in the M1, but I would prefer seeing a definitive statement.

What App Is This (iPad Pro)?

Posted: 14 Aug 2021 11:12 AM PDT

Have been seeing this app used on many different YouTube channels. Just saw this video (at 4:06) and had to know.

enter image description here

Does anyone know what app this is?

Circumventing "not enough storage" to backup iPhone error on mac

Posted: 14 Aug 2021 01:50 PM PDT

I've backed up my iPhone to my Mac for years, with no issue. However, recently, on macOS bigSur 11.4 on an M1 Air, my iPhone XS has thrown up a "Not enough storage on this mac" to backup error.

I have 26 GB free, and I've never seen a backup take up more than 10 GB. Most space on my iPhone is taken up by a third party podcasts app with lots of downloads, but that's not new and it hasn't caused issues before, and anyway, the downloaded not be backed up to my Mac. Is there a way to get around this error warning, given it shouldn't really be happening?

disk space

I Lost my documents, downloads and desktop folder access. Please help

Posted: 14 Aug 2021 10:27 AM PDT

I tried to empty my bin on macbook pro but somehow the My access to downloads, documents and desktop got restricted. Some utility or libraries might got deleted that caused this. The icons of mentioned folders are not even there. Please help how to restore it

enter image description here

Apple ships with default broken ``touch``

Posted: 14 Aug 2021 06:59 PM PDT

The default touch utility on macOS does not respect the -h flag.

If one wants to use the -h flag as claimed in the man pages of Apple, one has to use the GNU version of touch.

How is that a thing, that Apple ships with software not following its own man pages? Is there a way to update touch to a newer version that respects what is written in its man pages?

Edit: I am using macOS Big Sur, with APFS, fully up to date as of 2021-08-15. The default touch has man pages written in 1995.

How to make VM1 connect to fakedns server on VM2?

Posted: 14 Aug 2021 11:35 PM PDT

I am trying to create a mini malware analysis environment between a few MacOS VMs to analyse the network activity of MacOS malwares.

Some context about the VMs:

  • Both VM are MacOS Catalina 10.15
  • Both are in a private network (Both VMs can ping each other)

I have installed Python3 on VM2 and installed fakedns to simulate as a DNS server.

I have also changed the DNS server of VM1 to point towards VM2 by using the following steps:

  1. System Preferences
  2. Network
  3. Under Ethernet, click "Advanced"
  4. Select "DNS" tab and click "+" and entered the IP address of VM2.
  5. Clicked "Ok" and "Apply" to apply changes.

At this time, I also started the FakeDNS by entering sudo python3 fakedns.py <IP address of VM2>

However, when I did nslookup something.com on VM1, (based on my Wireshark capture), it went out via loopback port and not the ethernet port. [Refer to picture below, this Wireshark capture was taken from VM1] Wireshark capture of loopback port

EDIT: The two screenshots below are the IP address of VM1 and DNS tab of VM1, with IP address of VM2 set as the DNS enter image description here enter image description here

This screenshot is the IP address of VM2 and I did not configure anything on VM2 enter image description here

When I entered nslookup anything.com <IP address of VM2>, I managed to get the response. However, if I am to enter nslookup anything.com, it goes via the default connection. Is there a way to change the default DNS path??

EDIT #2: This is the screenshot of the network adapter of VM1 (I'm using VMWare Fusion to run the VMs) Both VMs have the same interface as the screenshot below. enter image description here

Also, I've checked my netstat table in VM1 and realised that there's no default route. So I added route add default 172.16.6.1 and below is the Internet routing table enter image description here

I've tried nslookup anything.com after setting the default route, and flushing my DNS cache, but it still doesn't work.

Can I fit a 12GB tensorflow model in the mac air m1 chip with 16GB Unified RAM

Posted: 14 Aug 2021 10:40 PM PDT

I've read that the M1 chip uses a 'unified memory' architecture, where both the CPU and the GPU share RAM.

Is this equivalent to the VRAM on a traditional NVIDIA GPU?

E.g. If I have a 12GB tensorflow model, can I load this model into the 16GB RAM space on my M1 Chip?

Edit: In Addition to the answer below, I have tested out yolov4 from this repo: https://github.com/hunglc007/tensorflow-yolov4-tflite

 python detect.py --weights ./checkpoints/yolov4-416 --size 416 --model yolov4 --image ./data/kite.jpg    Init Plugin  Init Graph Optimizer  Init Kernel  Metal device set to: Apple M1    systemMemory: 16.00 GB  maxCacheSize: 5.33 GB  

which shows the 5.33 GB VRAM model has a total of ~16GB to work with

Using Big SUr 10.6.3 with external seagate 5tb HD

Posted: 14 Aug 2021 11:01 PM PDT

So im using the mentioned HD as my second travelling drive. Everythings been working fine, no drops of the device, no sudden disconnects in general until one night, after some work, off to sleep, accidently dislodged the power of my lappy with hard drive still connected. When awaking, lappy was drained with th emessage, 'One Touch' has been removed. Since then, its been a problem. In disk utility, Seagate shows up with 'One Touch' volume greyed out. After about 8 hours, after messing around with terminal commands, not really knowing what im doing... it magically appeared back in my finder. This was after trying commands and nothing seemed to work. Unless of course it was working yet needed some time to show. So the next day all is working fine again, until now, has decided to not show up.....again. So im back where i started, trying some terminal commands.. nothing working yet when entering diskutil list now this shows with the difference of /dev/disk2s2 being labelled FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF instead of what it had previously shown - One Touch. Im clearly a novice novice, so any help would be greatly appreciated. In the meantime ive got a recovery scan going on, contacted seagate with them offering to send me a new drive. Im confident i can recover all my data, just in the meantime, if i can get it to mount again, then ill be able to continue the work i need to do.

diskutil list  /dev/disk0 (internal, physical):     #:                       TYPE NAME                    SIZE       IDENTIFIER     0:      GUID_partition_scheme                        *251.0 GB   disk0     1:                        EFI ⁨EFI⁩                     209.7 MB   disk0s1     2:                 Apple_APFS ⁨Container disk1⁩         250.8 GB   disk0s2    /dev/disk1 (synthesized):     #:                       TYPE NAME                    SIZE       IDENTIFIER     0:      APFS Container Scheme -                      +250.8 GB   disk1                                   Physical Store disk0s2     1:                APFS Volume ⁨HD — Data⁩               200.1 GB   disk1s1     2:                APFS Volume ⁨Preboot⁩                 282.6 MB   disk1s2     3:                APFS Volume ⁨Recovery⁩                622.9 MB   disk1s3     4:                APFS Volume ⁨VM⁩                      2.1 GB     disk1s4     5:                APFS Volume ⁨Macintosh HD⁩            15.3 GB    disk1s5     6:              APFS Snapshot ⁨com.apple.os.update-...⁩ 15.3 GB    disk1s5s1    /dev/disk2 (external, physical):     #:                       TYPE NAME                    SIZE       IDENTIFIER     0:      GUID_partition_scheme                        *5.0 TB     disk2     1:                        EFI ⁨EFI⁩                     209.7 MB   disk2s1     2: FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF ⁨⁩              5.0 TB     disk2s2  

Result of sudo gpt command (it's better in initial question) :

start        size index contents   0               1       PMBR   1               1       Pri GPT header   2              32       Pri GPT table   34              6   40         409600    1  GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B   409640       2008   411648 9767129088    2  GPT part - FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF   9767540736    398   9767541134     32       Sec GPT table   9767541166      1       Sec GPT header   DemoDc@Heartheartrecords-MacBook-Pro ~ %  

Finder Tags just show list of tags, not tagged files?

Posted: 14 Aug 2021 02:01 PM PDT

I like the idea of Finder tags and I want to use them. I tried tagging files in Finder. Then I clicked the tag in the sidebar and... it just shows a list of all my tags... instead of the documented behavior listed on Apple's website as well as user forums. Please pardon my impudence for daring to question the absolute wisdom of the Mac user interface and its documentation, but is there anything outside of the listed instructions that I need to do in order to get tagged files to show up? I just wanna use tags.

And... question dismissed and deleted in 3, 2...

How many 27" Thunderbolt Displays does the 2020 M1 Mac mini support?

Posted: 14 Aug 2021 11:17 AM PDT

Apple's website does state that "One display with up to 6K resolution at 60Hz connected via Thunderbolt" so it's probably not possible as per this question regarding how M1 powered MacBooks supporting only a single 27" Thunderbolt Display as follows: enter image description here

However, would an M1 Mac mini support dual 27" Thunderbolt Displays if connected as follows?

enter image description here

If they cannot be daisy chained via Thunderbolt 1 would a second Thunderbolt Adapter perhaps change things if used as follows:

enter image description here

I've seen how the M1 can be connected up to 6x displays in total using Display Link. However, I'm specifically interested in using the 2x 27" Thunderbolt displays I already have.

If you've got this working with a Mac mini, please share your experience. Thunderbolt 1x supported daisy chaining up to 6x 27" Thunderbolt displays and it would be very interesting to know if this is at all a possibility?

Can't mount NFS share in Big Sur. Crashes with NFSv4, rpc error with v3

Posted: 14 Aug 2021 04:03 PM PDT

I have an NFS mount being served from a Raspberry Pi that worked in prior versions of macOS.

I can see the mount on the remote server with showmount:

$ showmount -e 10.0.100.119                                                              Exports list on 10.0.100.119:  /mnt/ssd/shared-nfs                 *  

And rpcbind seems to show all the ports configured correctly:

$ rpcinfo -p 10.0.100.119      program vers proto   port      100000    4   tcp    111  rpcbind      100000    3   tcp    111  rpcbind      100000    2   tcp    111  rpcbind      100000    4   udp    111  rpcbind      100000    3   udp    111  rpcbind      100000    2   udp    111  rpcbind      100005    1   udp  54106  mountd      100005    1   tcp  47295  mountd      100005    2   udp  57827  mountd      100005    2   tcp  49259  mountd      100005    3   udp  54143  mountd      100005    3   tcp  50115  mountd      100003    3   tcp   2049  nfs      100003    4   tcp   2049  nfs      100227    3   tcp   2049  nfs_acl      100003    3   udp   2049  nfs      100227    3   udp   2049  nfs_acl      100021    1   udp  44848  nlockmgr      100021    3   udp  44848  nlockmgr      100021    4   udp  44848  nlockmgr      100021    1   tcp  40361  nlockmgr      100021    3   tcp  40361  nlockmgr      100021    4   tcp  40361  nlockmgr  

If I go into the Finder, press CMD+ K and connect to nfs://10.0.100.119:/mnt/ssd/shared-nfs, it gives an error in Console.app:

nfs: STAT(NSM) rpc service is not available, unable to mount with current lock mode.

If I connect explicitly with NFSv4, with nfs://vers=4,10.0.100.119:/mnt/ssd/shared-nfs, Console.app shows ReportCrash Saved crash report for mount_nfs[60875] version 150.40.3, and if I view it, some of the relevant lines are:

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)  Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000020  Exception Note:        EXC_CORPSE_NOTIFY    Termination Signal:    Segmentation fault: 11  Termination Reason:    Namespace SIGNAL, Code 0xb  Terminating Process:   exc handler [60875]    VM Regions Near 0x20:  -->       __TEXT                      10f907000-10f913000    [   48K] r-x/r-x SM=COW  /sbin/mount_nfs    Application Specific Information:  dyld3 mode    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread  0   mount_nfs                       0x000000010f90c1da 0x10f907000 + 20954  1   libdyld.dylib                   0x00007fff204ca621 start + 1  

I was also trying to mount the thing via the CLI (e.g. mount -t nfs -o vers=4 10.0.100.119:/mnt/sshd/shared-nfs /Volumes/share), but couldn't find any way to do it that didn't result in an error.

Installing Mojave on External Drive from Yosemite?

Posted: 14 Aug 2021 05:08 PM PDT

How can I install MacOS Mojave on an external drive without updating my internal drive's currently installed OS: Yosemite?

There are a few tutorials floating around but they seem to be out of date, the ones I've found mention running the app store downloader, then opening the contents of the file Applications/Install macOS Mojave.app. I've downloaded the Mojave install files via the Install macOS Mojave.app but the downloaded files were placed on the target volume instead and don't match the file names that the tutorial lists.

The machine I'm using is a MBP113, on macOS 10.10.5. It is compatible with macOS Mojave.

In Pages on iPad, formatting to add line over paragraph?

Posted: 14 Aug 2021 12:04 PM PDT

I'm writing a document with Pages on iPad. When I select the "Heading 3" style it puts a line above the text, like this:

I can't find how to create that kind of formatting manually, outside of the named styles. Where is the option? Here is the part of the screen with formatting controls. I don't see anything to create a border or line above a text block.

Mac won’t connect to internet

Posted: 15 Aug 2021 12:06 AM PDT

I have an interesting problem and I believe I may be halfway to understanding it but don't know how to fix it. My home network has two routers. One is the main one and is in a cabinet so I do not have wifi enabled as the cabinet limits the range of the wifi. I have a second router placed elsewhere which runs my wifi. Currently Ethernet shows connected but no access To the internet. My guess is there is an issue with the iP address as the internet works on wifi with the Ethernet cable disconnected and slowly with it connected. With wifi off the Ethernet still doesn't connect to internet even though shows green. I guess there is a conflict and would appreciate some advice. Thanks in advance

Duplicated table in Numbers

Posted: 14 Aug 2021 01:02 PM PDT

I think I have exactly the problem described here: https://discussions.apple.com/thread/250476270?answerId=250909160022#250909160022 - Numbers apparently drawing the spreadsheet on top of itself, offset, for no obvious reason. Presumably I hit the wrong shortcut key and didn't notice at the time.

enter image description here

I assume the given answer will solve my problem... but I don't understand what it's telling me to do, and I don't seem to be able to add a comment to the thread. What it suggests doing is as follows:

Select both, then open the format inspector, choose Table and check the Table Names checkbox.

Both tables should have the same name. The duplicate will have " - 1" added to the end.

Afte checking that any recent editing has been done in the origina (and repeating it there if that is not the case)l, delete the duplicate.

This isn't at all clear to me.

How do I "select both"?

I have the format inspector opened... I think... but there is no Table Names checkbox. (Maybe this is due to my failure to "select both"?)

How do I "delete the duplicate"?

(OS 10.14.6, Numbers 10.1 (6913))

Number keys on the Numeric Keypad part of the Magic Keyboard don't work with Terminal

Posted: 14 Aug 2021 08:03 PM PDT

When I'm in Terminal, I've noticed that pressing the . or numbers 0 through 9 produce the error sound and don't register a value.

The same keys pressed on the "regular" keyboard work as expected.

Is this the expected behavior?

** edit **

Those keys work in other applications.

When I start a new Terminal window or tab, these keys work correctly.

However, when I start PowerShell 7 (pwsh), typing 0-9 then . produce OpOqOrOsOtOuOvOwOxOyOn. When I exit pwsh, returning to zsh, and type those keys, the behavior reappears.

What are pros and cons for MacPorts, Fink and Homebrew?

Posted: 14 Aug 2021 10:50 PM PDT

I'm just migrating from Ubuntu Linux to Mac, and everything is new and I'm re-learning a lot of stuff.

On Linux I had the excellent apt-get to manage software packages. I googled for an alternative on Mac and found about MacPorts, Fink and Homebrew.

I will use this computer primarily to develop Ruby on Rails applications.

So, what are the differences between them? Which are the upsides and downsides? Which one is best maintained and has more packages?

No comments:

Post a Comment