macos – How to list all applications that are actively listening an audio input

I would like to know if there is any way to use terminal to list all active applications that are listening to audio devices (built in microphones, usb mics, etc) via terminal. I already know about external programs (OverSight), but I want to know specifically if there is any way for this do be done through the command line.

macos – pyglet not working in macbook

I have installed pyglet using terminal in my mac for python 3.8
Bt it isn’t working
By that i mean when i type pyglet.font.add_file('DIN Next W01 Light.ttf')
to add that font into my file it shows an error

No idea what the error is about

It runs perfectly in windows bt in mac it shows error

2020-08-13 03:35:27.643 Python(15910:1241698) -(NSApplication _setup:): unrecognized selector sent to instance 0x7f89a069bca0
2020-08-13 03:35:27.646 Python(15910:1241698) *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-(NSApplication _setup:): unrecognized selector sent to instance 0x7f89a069bca0'
*** First throw call stack:
(
    0   CoreFoundation                      0x00007fff362dbb57 __exceptionPreprocess + 250
    1   libobjc.A.dylib                     0x00007fff6ef895bf objc_exception_throw + 48
    2   CoreFoundation                      0x00007fff3635abe7 -(NSObject(NSObject) __retain_OA) + 0
    3   CoreFoundation                      0x00007fff362403bb ___forwarding___ + 1427
    4   CoreFoundation                      0x00007fff3623fd98 _CF_forwarding_prep_0 + 120
    5   libtk8.6.dylib                      0x0000000109e461f2 TkpInit + 408
    6   libtk8.6.dylib                      0x0000000109db5aac Initialize + 2454
    7   _tkinter.cpython-37m-darwin.so      0x0000000109c17dc4 Tcl_AppInit + 84
    8   _tkinter.cpython-37m-darwin.so      0x0000000109c17a98 _tkinter_create + 1144
    9   Python                              0x00000001098ef4ee _PyMethodDef_RawFastCallKeywords + 430
    10  Python                              0x00000001098eea5a _PyCFunction_FastCallKeywords + 42
    11  Python                              0x00000001099ad5a4 call_function + 724
    12  Python                              0x00000001099aa576 _PyEval_EvalFrameDefault + 25190
    13  Python                              0x00000001099ae0d6 _PyEval_EvalCodeWithName + 2422
    14  Python                              0x00000001098ee5fb _PyFunction_FastCallDict + 523
    15  Python                              0x00000001098ef8cf _PyObject_Call_Prepend + 143
    16  Python                              0x000000010993dd51 slot_tp_init + 145
    17  Python                              0x00000001099396a9 type_call + 297
    18  Python                              0x00000001098ee871 _PyObject_FastCallKeywords + 433
    19  Python                              0x00000001099ad474 call_function + 420
    20  Python                              0x00000001099aa617 _PyEval_EvalFrameDefault + 25351
    21  Python                              0x00000001099ae0d6 _PyEval_EvalCodeWithName + 2422
    22  Python                              0x00000001099a4234 PyEval_EvalCode + 100
    23  Python                              0x00000001099e18f1 PyRun_FileExFlags + 209
    24  Python                              0x00000001099e116a PyRun_SimpleFileExFlags + 890
    25  Python                              0x0000000109a009db pymain_main + 6875
    26  Python                              0x0000000109a00f2a _Py_UnixMain + 58
    27  libdyld.dylib                       0x00007fff70131cc9 start + 1
    28  ???                                 0x0000000000000002 0x0 + 2
)
libc++abi.dylib: terminating with uncaught exception of type NSException

Process finished with exit code 134 (interrupted by signal 6: SIGABRT)
```/Users/mananvyas/PycharmProjects/pythonProject/venv/bin/python "/Users/mananvyas/PycharmProjects/pythonProject/QUIZ PROJECT/FINAL PROJECT.py"
2020-08-13 03:35:27.518 Python(15910:1241698) ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to (null)
2020-08-13 03:35:27.643 Python(15910:1241698) -(NSApplication _setup:): unrecognized selector sent to instance 0x7f89a069bca0
2020-08-13 03:35:27.646 Python(15910:1241698) *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-(NSApplication _setup:): unrecognized selector sent to instance 0x7f89a069bca0'
*** First throw call stack:
(
    0   CoreFoundation                      0x00007fff362dbb57 __exceptionPreprocess + 250
    1   libobjc.A.dylib                     0x00007fff6ef895bf objc_exception_throw + 48
    2   CoreFoundation                      0x00007fff3635abe7 -(NSObject(NSObject) __retain_OA) + 0
    3   CoreFoundation                      0x00007fff362403bb ___forwarding___ + 1427
    4   CoreFoundation                      0x00007fff3623fd98 _CF_forwarding_prep_0 + 120
    5   libtk8.6.dylib                      0x0000000109e461f2 TkpInit + 408
    6   libtk8.6.dylib                      0x0000000109db5aac Initialize + 2454
    7   _tkinter.cpython-37m-darwin.so      0x0000000109c17dc4 Tcl_AppInit + 84
    8   _tkinter.cpython-37m-darwin.so      0x0000000109c17a98 _tkinter_create + 1144
    9   Python                              0x00000001098ef4ee _PyMethodDef_RawFastCallKeywords + 430
    10  Python                              0x00000001098eea5a _PyCFunction_FastCallKeywords + 42
    11  Python                              0x00000001099ad5a4 call_function + 724
    12  Python                              0x00000001099aa576 _PyEval_EvalFrameDefault + 25190
    13  Python                              0x00000001099ae0d6 _PyEval_EvalCodeWithName + 2422
    14  Python                              0x00000001098ee5fb _PyFunction_FastCallDict + 523
    15  Python                              0x00000001098ef8cf _PyObject_Call_Prepend + 143
    16  Python                              0x000000010993dd51 slot_tp_init + 145
    17  Python                              0x00000001099396a9 type_call + 297
    18  Python                              0x00000001098ee871 _PyObject_FastCallKeywords + 433
    19  Python                              0x00000001099ad474 call_function + 420
    20  Python                              0x00000001099aa617 _PyEval_EvalFrameDefault + 25351
    21  Python                              0x00000001099ae0d6 _PyEval_EvalCodeWithName + 2422
    22  Python                              0x00000001099a4234 PyEval_EvalCode + 100
    23  Python                              0x00000001099e18f1 PyRun_FileExFlags + 209
    24  Python                              0x00000001099e116a PyRun_SimpleFileExFlags + 890
    25  Python                              0x0000000109a009db pymain_main + 6875
    26  Python                              0x0000000109a00f2a _Py_UnixMain + 58
    27  libdyld.dylib                       0x00007fff70131cc9 start + 1
    28  ???                                 0x0000000000000002 0x0 + 2
)
libc++abi.dylib: terminating with uncaught exception of type NSException

Process finished with exit code 134 (interrupted by signal 6: SIGABRT)

And if i try to run it in IDLE it just shows this
enter image description here

Plzz help me out in this

There is no syntax error as it runs perfectly in windows

Thanks in advance

audio – macOS Catalina – Airpods no sound after being out of BT range

Hopefully someone can help.

Since I use Catalina 10.15 on my Macbook Pro (15-inch, 2017) I have quit annoying problems with using my Airpods.

Whenever I connect them to my macbook and walk out of Bluetooth range to grab a coffee, they disconnect and reconnect to the macbook when I’m back at my Workspace. Just as intended.

But, from time to time audio output is not working anymore. The Airpods are connected, I can configure them as Output Device via Sound Settings but I don’t hear anything.

The only fix is to actually reboot my macbook, which is annoying.

What I tried for now:

  • Disconnect and Reconnect Airpods manually
  • Remove Airpods from known BT Devices and paired them again
  • completely reset my airpods and connect them to the mac
  • reset BT Module via shift + option + Bluetooth settings
    Nothing brings it back to life except rebooting my macbook.

Does anyone now what I could try or even what’s the problem here?

Thank you in advance!

macos – Viewing Logs on Startup volume that freezes

I have a MacBook Pro (Computer A) which freezes / restarts during startup.

To investigate the problem, I purchased a brand new internal disk and did a basic installation (10.13 – the latest this model supports) on a working MacBook Pro (Computer B). This clean install boots on at least 4 Macs I have at my disposal.

But, on Computer A, it will startup, the progress bar will advance to about 60% and then it will restart and do the same thing. Or it will freeze the second time.

When I booted in Verbose mode, the last lines I got were:

DSMOS has arrived
Unsupported CPU
Unsupported CPU
Unsupported PCH
AppleHDAEngineOutput::performFormatChange (<ptr>, <ptr>, 0)
en2: promiscuous mode enable succeeded
IOConsoleUsers: time(0) 0->0, lll 0, llk1,
IOConsoleUsers: gIOScreenLockState 3, hs 0, bs 0, now 0, sm 0x0

at which point it hung.

I booted Computer B in verbose mode and was able to look at the logs and follow those error messages, but there are many additional lines there that aren’t displayed on the screen during verbose mode startup.

If I boot Computer A in Target Disk mode, I can mount its disk on Computer B, so I don’t believe the SATA cable is the problem.

Ultimately, I’d like to determine what the root of the problem is, but an interim step is to compare the log files from the disks in Computers A and B.

Is it possible to look at the log file from Computer A while accessing its disk as an external disk on Computer B?

(If you have an idea why it might be restarting/hanging, I’d welcome help on that, too.)

Disable MacBook Pro 2016 Built-in keyboard (liquid damaged) on macOS Big Sur

Problem: Water/liquid damaged MacBook Pro 2016 keyboard randomly starts to press key continuously. So the computer becomes unable to use due to continuous keyboard input.

Workarounds I’ve tried:

  1. Tried to use Karabiner Elements like I used to before, no luck. macOS Big Sur doesn’t let the Karabiner manage the kexts.

  2. Plugged off the keyboard flex from the logic board, worked just perfect but the internal CPU Cooler Fan stopped to work.

So I wonder If there is another way to disable the built-in keyboard?

disk utility – MacOS partition formatted FFFFFFF etc after bootcamp install

My macOS partition has been changed to FFFFFFF format as seen in the attached images.

There’s a similar question regarding this topic, however I would like to preserve the data on the partition in question. This is the question I’m talking about macOS partition startup Volume type FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF.

Here is what I’m given with the

diskutil list #below

command:

][1]
enter image description here

Once again, if anyone can help me with preserving the data from the partition while fixing it, I’d be incredibly grateful

apfs – Duplicate the volume where macOS is installed and make it bootable

I use my computer for work in software development. I have a new client that wants to install some special security software on my mac but I don’t want to get that installed on my main operating system. To solve this problem I was thinking to install a second macOS system on a different volume.

The problem with that is that I need to spend a lot of time setting up all the software and configurations I use for development in the new volume. So I thought it would be great to just duplicate my main volume and be able to pick to which of the volumes to boot when I start.

I couldn’t find how to “duplicate” the volumes to have an exact copy of my main fully configured operating system but completely isolated from the other operating system…

Any clue? Is this even possible?

pdf – Security Hardening Adobe Acrobat DC for macOS

The Security Team is asking me to install the Adobe Acrobat DC (Version 2020.009.20067) package to our macOS laptops. (Mojave 10.14.6)

In addition to simply push the Adobe Acrobat DC package to our macOS laptops, I need to (no sure if it is a custom package, or custom settings, or configuration profile, or policy, or .mobileconfig, or etc.) trying to mimic and do my best to apply all the security hardening requirements coming from this website:

https://www.stigviewer.com/stig/adobe_acrobat_professional_dc_continuous/2018-04-30/MAC-3_Sensitive/

Unfortunately, if you open the above website, all the vulnerabilities solutions are for Windows OS only.

How do I achieve the same on a macOS system?

I was wondering if you have any official Adobe Acrobat Pro guide or pdf or recommendations or tools that can help me to achieve my project.

I did noticed when I install Adobe Acrobat DC on a macOS laptop, 2 .plist files are created:

/Library/Preferences/com.adobe.acrobat.pro.plist

/Users/username/Library/Preferences/com.adobe.acrobat.pro.plist

Are these the files that I need to manipulate in order to achieve my goal? If the answer is yes, reading the website above, how can I determine, just from the Title Description, from each Finding ID, which is the value inside the. plist that I need to manipulate? It is kind of impossible.

If you were me, what would you do?

Thank you so much in advance for your help