texts: Applescript Expected “"” but found unknown token

texts:
This is my code. I wanted to run an app (Game Capture HD) twice at the same time. But I get this Syntax Error: Expected “"” but found unknown token.
Appreciate if anyone can fix it
on run
    do shell script "open -n /Applications/Game\ Capture\ HD.app"
    tell application "Game\ Capture\ HD" to activate
end run

on open theFiles
    repeat with theFile in theFiles
        do shell script "open -na /Applications/Game\ Capture\ HD.app " & quote & (POSIX path of theFile) & quote
    end repeat
    tell application "Game\ Capture\ HD" to activate
end open


texts:
When using Spotlight on my Mac, and I type Spo... (trying to launch Spotify), I get suggestions for  the Spotify website, some apps from the App Store, and files containing a fraction of the word "spo" but no Spotify.app.

When trying to search for other apps using Spotlight, if the app shows up, the focus is not on the app, it is on a web search for the app name. This is really frustrating, as i type quickly and Spotlight launches Safari instead of the app I'm searching for.

I need to mention that I did a fresh install of OS X for 2-3 weeks (didn't restore my stuff from time machine backup. I did it the old fashioned way (copy/paste to external HDD, then back to Mac), but after my install Apple released an OS X update.

Please bring some light on this situation.


texts: How to avoid / repair permission problems between Mojave and Catalina

texts:
I installed Catalina (clean install) to a new volume in the same APFS Container like Mojave. Then I  created a volume "Shared Data" that contains all personal data that I moved from "/Mojave/users/... to the new volume "Shared Data", incl. cloud data like Google Drive, Dropbox and OneDrive.

First it seemed to work, but then I remarked permission problems when switching between the two OS Catalina and Mojave.

1) How should the permissions look like on that "Shared Datas" volume ?

2) How can i repair / set this permissions for the already moved data ?

3) How do I avoid different permissions while working ?

User 502 is Mojave (4E7ABC2B-2DA4-...)

User 501 is Catalina (B9723800-87FD-...)


texts: SD card not detected through a USB hub on a newer intel-based Mac

texts:
This is my first time trying out an SD card via a USB hub on my new Mac (since there's no port for SD card on newer Macs) and I can't seem to detect the SD card; it doesn't show in disk utility and nor in finder.Does anyone know what could potentially be the cause?
This is my setup


texts: My command line says `complete:13: command not found: compdef `

texts:
When I use a terminal like iTerm or Hyper, right as I boot it up, the first message I get is:

complete:13: command not found: compdef

I don't know what this is from, and how to get rid of it. This message does not show up on the default terminal app though.

I am using zsh.


texts: Why is macOS often referred to as 'Darwin'?

texts:
In several languages, instead of returning something like "macOS", the command to view the operating system instead returns
Darwin

I see this in languages like R, and node.
Why is macOS sometimes called Darwin??


texts: What are the requirements around account de-registration?

texts: When one uploads an app on the App Store, do you need to include a delete account (or even log out account) option? Is it required to wipe that data off the server?


texts: How do I install the GnuPG PHP extension?

texts:
I'm having trouble installing a PHP native extension: GnuPG. Here's what I've tried so far.

First:

sudo port install gpgme
sudo pecl install gnupg

Output from the second command ends like so:

checking for gnupg support... yes, shared
checking for gnupg files in default path... not found
configure: error: Please reinstall the gpgme distribution
ERROR: `/private/tmp/pear/temp/gnupg/configure' failed

So, I tried installing manually, guessing at some values based on output of port contents gpgme and port contents gnupg...

pecl download gnupg
phpize
./configure --with-gnupg=/opt/local/include --with-libdir=/opt/local/lib

Alas, no luck. This ends like so:

checking for gnupg support... yes, shared
checking for gpgme_check_version in -lgpgme... no
configure: error: wrong gpgme lib version or lib not found

I then tried augmenting CFLAGS like so:

CFLAGS="-L/opt/local/lib" ./configure --with-gnupg=/opt/local/include

This returns a nonzero exit code, but then make fails. Here's the end of that output:

/bin/sh /tmp/gnupg-1.3.2/libtool --mode=link cc -DPHP_ATOM_INC -I/tmp/gnupg-1.3.2/include -I/tmp/gnupg-1.3.2/main -I/tmp/gnupg-1.3.2 -I/Applications/MAMP/bin/php/php5.3.6/include/php -I/Applications/MAMP/bin/php/php5.3.6/include/php/main -I/Applications/MAMP/bin/php/php5.3.6/include/php/TSRM -I/Applications/MAMP/bin/php/php5.3.6/include/php/Zend -I/Applications/MAMP/bin/php/php5.3.6/include/php/ext -I/Applications/MAMP/bin/php/php5.3.6/include/php/ext/date/lib -I/opt/local/include  -DHAVE_CONFIG_H  -L/opt/local/lib   -o gnupg.la -export-dynamic -avoid-version -prefer-pic -module -rpath /tmp/gnupg-1.3.2/modules  gnupg.lo gnupg_keylistiterator.lo -Wl,-rpath,/opt/local/include/lib -L/opt/local/include/lib -lgpgme
cc ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/gnupg.so -bundle  .libs/gnupg.o .libs/gnupg_keylistiterator.o  -L/opt/local/lib -L/opt/local/include/lib /opt/local/lib/libgpgme.dylib /opt/local/lib/libassuan.dylib /opt/local/lib/libgpg-error.dylib /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib  -Wl,-rpath -Wl,/opt/local/include/lib
ld: warning: directory not found for option '-L/opt/local/include/lib'
ld: duplicate symbol _gnupg_keylistiterator_class_entry in .libs/gnupg_keylistiterator.o and .libs/gnupg.o for architecture x86_64
collect2: ld returned 1 exit status
make: *** [gnupg.la] Error 1

I'm suspicious that my --with-gnupg arg somehow messed up linking, because I see -L/opt/local/include/lib in the output of that failed make run.

That's where I'm stuck. Feels like I'm trying way too hard or just going down the wrong path.

I'm using Snow Leopard (v10.6.8). The PHP command-line program I'm using came with MAMP 2.1.0.


texts: Why did I get incorrect wifi password pop up for unknown network on iPhone?

texts:
A few months ago my iPhone had a pop up saying 'incorrect wifi password' and telling me to enter the correct password, however it was for a network that I had never connected to or seen before. It happened when I was on safari on my 4G but wifi must have still been on. At the time I thought nothing of it but now am starting to think it was a bit odd. It hasn't happened again since.

I'm definitely sure I hadn't connected to that network before (the phone was only about a month old at the time and I'm very careful about what wifi I connect to).

I don't think my phone actually connected to the network as the incorrect password pop up appeared, I was also on a car journey at the time so wouldn't have been in range for very long.

Was wondering if anyone has any explanation for why this might have happened? Is there any risk of hacking to my phone?


texts: Safest way to copy files to AirPort Disk from the command-line?

texts:
I have just started using an AirPort disk (a Drobo connected by USB to the AirPort Extreme). I am trying to decide what is the ‘safest’ way to copy files to the Drobo from my MacBook Pro, which connects to the AirPort’s Wi-Fi network (802.11n-only / 5GHz).

(By “safe” I mean “able to tell that something went wrong during the transfer and throw an error” especially considering that I’ll be transferring large quantities of data to a disk which might disappear over a Wi-Fi connection. Seems reasonable to take an extra precaution or two.)

It appears that rsync does a checksum to make sure that the transfer was successful, according to this section of man rsync:

  -c, --checksum

  …

  Note that rsync always verifies that each transferred file was correctly reconstructed on the receiving side by checking its whole-file checksum, but that automatic after-the-transfer verification has nothing to do with this option's before-the-transfer "Does this file need to be updated?" check.

Except that I am not sure (and cannot find out any official source to tell me) if that is true for copying files between different folders on the same computer, since (technically) there is no “receiving side” in the traditional sense of copying from one computer to another. It certainly does not seem like rsync is taking extra time to do a checksum after the transfer, but that’s mostly guesswork, and I’m not sure how to test it sufficiently to consider any decision I might make conclusive.

(In case anyone is tempted to suggest that I read the source code of rsync I’m not familiar enough with programming to do that. In fact, I’m not even sure where to find the actual rsync code that OS X uses. See also: links on this page.)

The relevant bit of scripting that I am intending to use is here:

for i in "$@"
do
    /usr/bin/rsync \
    --8-bit-output \
    --exclude='*/.DocumentRevisions-V100/*' \
    --exclude='*/.fseventsd/*' \
    --exclude='*/.Spotlight-V100/*' \
    --exclude='*/.TemporaryItems/*' \
    --exclude='*/.Trashes/*' \
    --extended-attributes \
    --human-readable \
    --inplace \
    --itemize-changes \
    --links \
    --partial \
    --progress \
    --recursive \
    --stats \
    --timeout=30 \
    --times \
    --verbose \
    -- "${i}" "${DEST}/"
done

(n.b. $DEST is previously defined as /Volumes/DroboUSB-Backups)

This will also skip over files which have previously been copied, but fill in any missing ones, much like the "merge" command we all wish the Finder had.

1)  Did I miss any options to rsync that I should use?

(Note that I have intentionally not included --compress as most of files I’ll be copying will already be compressed.)

2)  Are there any other programs that I ought to consider instead of rsync? (Alternatives have to be something I can script from the command line, so not Transmit or ChronoSync.)


texts:
Want to buy an external monitor for a mid-2013 MacBook Air. Am wondering whether one with a Thunderbolt 2 port will be better in that it will also power the laptop. Else I'll buy one with USB-C to power the next laptop I buy, and use a USB-C to Thunderbolt 2 cable/adapter for now.

Can a monitor connected with Thunderbolt 2 power a mid-2013 MacBook Air?


texts: Can I create a shortcut to open a specific application on OS X?

texts:
I want to create a keyboard shortcut to i.e. open Firefox while I am working in another application. I know I can use ⌘ CMD+T when I am in Firefox to open a new tab.

I haven't found a way to create that kind of shortcuts in System Preferences.

Any ideas?


texts: Transfer Clash of Clans village to another iPhone

texts: I will soon buy a new iPhone. If I log in with my Apple ID in my new phone could I still access my Clash of Clans village without starting from scratch?


texts:
I was downloading a camera user manual on the Mac and Sophos threat manager indicated Generic PUA. I tried to automatically clean it up but the message came back that it required manual cleanup. What are the steps required to clean up the following location:

/Volumes/Installer/Installer.app/Contents/MacOS/AppYM


texts:
There is a yellow tooltip stuck and it floats above all other windows. I do not know from what program it came.

How can I get rid of it without restarting my computer?

EDIT:


texts: How does Siri translate all that on my phone?

texts:
How does it work? I heard it sends all your data off to the internet to be translated. But it seems like it's integrated into my phone.

Does it run on the phone or on the internet?


texts: How do I transfer the contents of my iPhone to iTunes before I get a new iPhone? I want to be able to then load all my contacts, text messages, photos, etc. to my new iPhone.


texts: Can I safely delete a “.keychain” file from Keychains when there is a corresponding “.keychain-db” file?

texts:
In the folder “Keychains” in my Library folder (~/Library/Keychains), I have a file “login.keychain” and a file “login.keychain-db”. Is the file “login.keychain” still being used in macOS Sierra, or is it safe to delete it?

I have a few other keychains with pairs of these files “name.keychain” and “name.keychain-db”. But when I create a new keychain in Keychain Access, there’s only a file “name.keychain-db”. Based on this and the modification times of the files, I’m guessing Sierra only uses the new files (“name.keychain-db”), but that the upgrade left the old files (“name.keychain”) in place as a backup? So it should be safe to remove the old files?


texts:
I was just wondering if anyone knows the emoji support that the Terminal.app has in MacOS? I'm using zsh, and I end up with this when I type it out, I get the following (note I didn't add a space after the flag on the first one, but added a space on the second one but in both cases you can see there's an overlap on the flag, also note the duplication on the spaces and f on the end of the input)

And when using vim I also get

How do people resolve this?


texts: OSX Yosemite Can't disable four-finger swipe

texts:
Intro

I want to set a custom gesture for the four finger swipe left/right, but I noticed that four finger swipe was switching between spaces. I went in to system preferences->Trackpad and changed "Swipe between full screen apps" to be three fingers instead of four.

The Problem

Even though I have set three finger swipe be the "change spaces" gesture, four-finger swipe hasn't been disabled and it is ALSO switching spaces.

What I want

The reason why this is annoying is because I am setting a custom gesture with BetterTouchTool, the space switching is happening at the same time as the gesture I want.

I want four finger swipe (between spaces) to be completely disabled so it wont happen at the same time as my custom gesture. Because setting it to three fingers in system preferences seems to do nothing.


texts: Recording audio from other applications (or entire system) without kernel extensions

texts:
I'm trying to programmatically record audio from other applications (or the entire device) on a mac to allow for the screensharing/mirroring of video+audio. While this is obviously possible, Soundflower and other applications I've found all seem to use Kernel Extensions, which would be unreasonable to include  in what is a purely userland application.
Changing audio output devices, and clicking through permissions panes is fine. But is there any way to record system audio without kernel extensions? It would seem like recording audio output is far less dangerous than screen recording, and should be allowed, but doesn't appear to be.


texts: How to add custom mouse-click actions to Safari with modifier keys?

texts:
In Safari, when you Ctrl-click on an image in any web page, a menu comes up with several options.

I'd like to be able to do a single trackpad click with a modifier key (option or command, for example) on an image, and have just one of the options from the menu be invoked immediately, instead of showing a menu.

I haven't been able to find a way to do this, but maybe I'm missing something.

I have older hardware so multi-touch gestures won't help me much.

I've also tried the Custom Application Keyboard shortcut approach, but my shortcut was not invoked when I tried it. The menu item is 'Save Image to “Downloads”' and I think I've got the quotes right, but I also tried with plain double quotes (not typographic quotes) and that didn't get invoked either.

I'm open minded about using scripting or a third party add on app to do this, just looking for the quickest approach that really works and cuts the workflow to a minimum.


texts: Xcode stops running when I don't watch it for a while. What's wrong?

texts:
I am (trying to be) running Xcode 4.3.2. on Lion 10.7.3

I noticed that when I stop watching Xcode and walk away from the computer for a while (like half an hour or so), Xcode in the mean time stopped running and has to be started again.

I read a lot about Xcode on Lion being unstable. Is that what is happening to me? Is it that unstable?


texts: How to manually add ssh key to keychain?

texts:
In the past year I've been using dsa keys to access several remote machines. On one of these machine, dsa keys have been deprecated so I simply switched to rsa. In doing so it seems that my key is not stored anymore in the keychain, so everytime I restart my computer I get asked for the passphrase.

To add the key I tried this:

ssh-add -k .ssh/id_rsa

But also this:

/usr/bin/ssh-add -k .ssh/id_rsa

It works until the next reboot.
If I open the keychain and look there for ssh I see the dsa key, the old one.
Which would be the correct way to add the new one?


texts: Why Is Mac Malware Less Frequent Than On Windows Systems?

texts:
Whenever I ask friends, colleagues and acquaintances why they have bought an Apple Mac and switched from Windows, nine times out of ten the response I receive is:

"Macs don't get viruses"

Is it true that not one single virus has been identified on Macs ?

Is it also true that the majority of malware identified is in the form of trojans, of which the most famous one I recall was the Flashback trojan which created havoc this time last year (if I'm not mistaken) and was identified by the Russian company Dr.Web, which quickly brought out a removal tool, which was then followed by other Internet Security Companies who jumped on the bandwagon to say:

"See Macs do get Viruses"

Is the underlying reason that malware is supposedly less is because Windows still dominates in usage terms for most people, but eventually in a few more years, there will be just as much malware on a Mac as on a Windows PC ?


texts:
I am a web developer and I recently found out about Network Link Conditioner, but I can't get it to work.

It appears to be working, but when I load anything in a browser, the speed is not changed, regardless of whether or not I use 100% packet loss, etc.

Can anyone tell from this log what might be causing this?

OS 10.7.5, Xcode 4.4.1.

I have tried uninstalling and rebooting in various sequences but no improvement.

Also did the steps here:
https://stackoverflow.com/questions/12414676/network-link-conditioner-seems-to-have-no-effect-on-network-behavior-on-lion-mo

When I switch it on or off, I get this in the Console:

1/19/13 3:28:19.142 PM [0x0-0x38038].com.apple.systempreferences: System Preferences(683,0x10e0b1000) malloc: *** auto malloc[683]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug.
1/19/13 3:28:19.533 PM NLCd: API Version mismatch
1/19/13 3:28:19.534 PM com.apple.nlcd: Jan 19 15:28:19 Jason.local NLCd[698] <Notice>: API Version mismatch
1/19/13 3:28:19.534 PM [0x0-0x38038].com.apple.systempreferences: _nlc_stop_simulation: (os/kern) failure
1/19/13 3:28:19.534 PM System Preferences: process command (simulate) failed
1/19/13 3:28:19.536 PM System Preferences: Stopping Network Link Conditioner
1/19/13 3:28:19.537 PM NLCBackgroundApp: Received callback that simulator was stopped!
1/19/13 3:28:31.408 PM [0x0-0x38038].com.apple.systempreferences: _nlc_start_simulation: (os/kern) failure
1/19/13 3:28:31.409 PM System Preferences: process command (simulate) failed
1/19/13 3:28:31.441 PM System Preferences: Starting Network Link Conditioner
1/19/13 3:28:37.105 PM _securityagent: audit warning: allsoft
1/19/13 3:28:37.105 PM _securityagent: audit warning: soft /var/audit
1/19/13 3:28:37.106 PM _securityagent: audit warning: closefile /var/audit/20130119222807.20130119222837
1/19/13 3:29:07.100 PM _securityagent: audit warning: allsoft
1/19/13 3:29:07.100 PM _securityagent: audit warning: soft /var/audit
1/19/13 3:29:07.100 PM _securityagent: audit warning: closefile /var/audit/20130119222837.20130119222907
1/19/13 3:29:37.104 PM _securityagent: audit warning: allsoft
1/19/13 3:29:37.104 PM _securityagent: audit warning: soft /var/audit
1/19/13 3:29:37.105 PM _securityagent: audit warning: closefile /var/audit/20130119222907.20130119222937
1/19/13 3:30:07.103 PM _securityagent: audit warning: allsoft
1/19/13 3:30:07.103 PM _securityagent: audit warning: soft /var/audit
1/19/13 3:30:07.103 PM _securityagent: audit warning: closefile /var/audit/20130119222937.20130119223007


texts: How can I toggle network services with a script?

texts:
Currently I can do this only on a per connection basis using this script:

property status : "none"
property val : "none"

on get_status()
    set status to do shell script "sudo networksetup -getnetworkserviceenabled Ethernet" as string
end get_status

get_status()

if status is "Enabled" then
    set val to "off"
else
    set val to "on"
end if

do shell script "sudo networksetup -setnetworkserviceenabled Ethernet " & val

get_status()
display dialog "Status: " & status with title "Network Toggle" buttons {"OK"} default button 1

But recently I am getting network from different sources and I would like to have a script with toggles availability for all active connections (either all on or all off).

Any idea on how I could pull this off?


texts: Google Inbox as a standalone app via Chrome

texts:
Google Inbox recently added compatibility with Safari and yet still does not play nice with Fluid.

I decided I might as well use Chrome. Google recently improved the way "desktop app extensions" work by giving them their own independent icons in Applications and Launchpad.

Unfortunately, this is acting like a glorified bookmark, rather than a standalone app. I.e., it opens with a toolbar and opens the site as a tab. I tried exploring the "contents" of the application icon Google creates. I found a plist but could not figure out if there was away to force the app to open an independent standalone Chrome window.

Any ideas on how I could modify the app to act less like a bookmark and more like a standalone desktop app ?


texts: Can I "hide" the keyboard on my iPhone 4 the way you can on the iPad?

texts:
When using my iPad to, for example, write an email, I have the option to press a button and hide the keyboard.  This is useful for reviewing an email prior to sending it.

Is there a similar feature with the iPhone?  If anything, this would seem particularly useful on the iPhone given its smaller screen.


texts: OS X Yosemite install error / Harddrive is used for backups?

texts:
I'm trying to install Yosemite onto a 15" Macbook Pro / Late 2008 model with OS X Mountain Lion on it.  I've checked Apples site and it says I can install Yosemite on this machine with these specs. When I click through the installer and get to my harddrive it won't let me select it and I get an error message that reads "This Disk is used for time machine backups"  which it isn't. I have an external drive dedicated just for that purpose. I do not have the external connected when I try to install and I have time machine turned off in preferences. Also, my harddrive is not listed in the drive list in time machines preferences.  I have no idea what's going on. I apologize if I'm missing something obvious. Can someone please help me?
thank you,
Justin


texts: New all-out installation of an old computer with time machine from another computer

texts:
I understand that time machine sometimes makes troubles when recovering thing it took from one computer to another computer that’s why the following question arises:

I have two Macs with the same Apple ID but different contents. Now I want to use the time machine from Mac A, erase everything from Mac B and initiate Mac B anew with the time machine from Mac A so as to have two identical computers.
Is that a problem?


texts: My custom shortcut for Preview app doesn't work

texts: As you can see, I defined shortcut, restart system, but it is still not visible. Why?


texts: Photos deleted before wifi still appear in photo stream

texts: when I take a picture (not connected to wifi) and delete it before I connect to wifi, it still appears in photo stream once I connect to wifi. Is there a way to turn that off and not just turning off share to photo stream?


texts: How to Instantly Lock your Mac OS X Screen, using keyboard, in Mountain Lion

texts:
I have a Macbook Air, and I want to know if there is a way to instantly lock my screen, using only my keyboard.

I saw that it is possible to lock it using the following shortcut: Control+Shift+Eject.

But since Macbook Air didn't have an Eject key, how could I still lock my screen using a similar shortcut?


texts: iMac with a dead internal drive being used as a second monitor - booting and power efficiency

texts:
I have an old 2012 iMac12,2 which had a fatal hard drive crash in early 2018 and has been running via booting from an external hard drive.

I have connected the 2012 Model to a new 2017 iMac18,3 via a Thunderbolt 3 (USB-C) to Thunderbolt 2 Adapter and a Thunderbolt 2 2M cable.

Using "Target Display Mode" (Pressing CommandF2 ) I am using the 2012 iMac as a second monitor for the 2018 iMac.

My question is 3-part:

What is the best way to ensure that the 2012 iMac is running at lowest power usage and optimal efficiency while in Target Display Mode? I feel like the processor is working in the background, even though it is just being used as a monitor.
When it turns on, it automatically tries to boot off the dead internal hard drive, which makes the computer crash. To avoid this, I have to hold "Alt" when it boots to be able to select the External USB drive (Which I already have loaded and set up with OSX). Is there any way to get it to automatically select the external hard drive to boot from?
Once it is booted, is there a way to get it to automatically enter target display mode when it is booted?


texts: How to add the Time Capsule to an existing network, in Ethernet?

texts:
I have just received my new Time Capsule.

I don’t want to create a new AirPort network, I already have one.

I want to connect the Time Capsule to my existing network, in Ethernet. I plan to plug the Time Capsule to my wi-fi access point & router (Freebox), with a (gigabit) Ethernet cable.

Which Ethernet port of the Time Capsule do I use ? LAN or WAN ? I prefer to use the LAN port, I don’t want my Time Capsule to have anything to do with my Internet connection.
How do I configure the Time Capsule ?

The guy from Apple’s tech support happened to be a joke.


texts: Sparkle updater seems to be broken or having issues

texts:
I've noticed many applications on my Mac (OS X 10.8.2) fail to update. If I command them to do a manual update, the update downloads, unpacks, and then when I click INSTALL AND RESTART the updater ends with an error. As far as I have determined so far, it is only applications which use the Sparkle updater system.

The error simply says:

  30/01/13 10:28:52.411 AM Choosy[6375]: Sparkle Error: An error occurred in retrieving update information. Please try again later.

I took that from the console.

I am wondering what might cause this. Could it be a permissions issue? I have done a permissions repair.

Can anyone suggest how I might resolve this? Or should I take this up with the folks who make Sparkle?


texts: adding a icon to home screen for a contact to facetime

texts:
I want to add a icon to iPad/iPhone homescreen such that on clicking on it results in a contact's facetime call initiation.

the closest I could come up with is a facetime url as a bookmark which on click initiates a call something like

facetime://9999999999

however it sits on a browser bookmarks bar.


texts: Desktop notifications doesn't appear at all when Mirror Displays option is checked

texts:
When the "Mirror Displays" option is not checked, I am getting desktop notifications on the display which has the "white bar" in System Preferences/Display/Arrangement - and that's working fine, but when I turn on "Mirror Display" option, although both displays do have the "white bar" in Arrangement settings, I do not get desktop notifications on any of them.

Is there a solution for this?

This is how my System Preferences/Display/Arrangement settings look like - two displays, both with white bar on the top, but still not getting any notifications:


texts: 'Operation not permitted' accessing SMB Share as root under Catalina

texts:
I have a script that copies a file from our server to the local machine. Here is the script and output

+ date
Thu Jun 11 09:16:00 ACST 2020
+ id -un
root
+ pwd
/Volumes/Macintosh HD/backups
+ mkdir /Volumes/Server_auto
+ /sbin/mount_smbfs smb://User:password@Server/General  /Volumes/Server_auto
+ ls /Volumes
Macintosh HD
Server_auto
+ ls /Volumes/Server_auto
ls: Server_auto: Operation not permitted

Ultimately I want to

cp -f /Volumes/Server_auto/Backups/Web/db_6_1500.zip ./db.zip

but I think if I can at least get a directory listing, the copy will probably work.

I can sudo this script from the terminal and it runs without a hitch. It has been running for several years from cron without a hitch, it's only after updating to Catalina that the problems have started.

I have tried

adding cron, ls and mount_smbfs to the Full Disk Access list
moving the job to a plist file in the LaunchDaemons folder

Everything works just fine except for the copy operation. Behaviour is identical under cron or plist/launchd.

This is clearly a SIP issue. Before I added cron to the Privacy 'Full Disk Access' list, I was getting the same error message when the cron job started.
Now, it's entirely blocking the external SMB share, but I don't know why or what permission to grant to make it work.
The exact same sequence of operations, when run manually as root, succeed every time.

Any ideas?


texts: Are there ways to set up advanced play count on iTunes, tracking total artist play count, etc?

texts: I'm wondering if there are advanced ways to track play count in iTunes.  I want to be able to see who my top played artists and composers are, not just songs.  Is there a way to, say, at the end of the month, see which artists and composers have been played the most, and specifically, for how many hours.  I'm on a PC, by the way.


texts: Does the 2017 iPad Pro 12.9 have better speakers than the 2015 iPad Pro 12.9

texts:
I recently had the opportunity to try playing music on the internal speakers with both models, although in different stores, and I've noticed that the older iPad's internal speakers are either quieter, have less bass response, or are otherwise less clear than the ones in the 2017 model.

I'm wondering if this is just an artifact of the different environments I listened to them in or if there are actually significant differences in audio quality.


texts: How to set the file order (arrangement) permanently in Finder?

texts:
I use High Sierra and each time I have to set the file order to "Date modified" but then the next time it defaults back to "None".

Any way to set it permanently for all folders?


texts: I just updated to macOS High Sierra. What's the best way to use Time Machine under Apple's new APFS file system. Should I use Disk Utility to convert my external Time Machine volume to APFS?


texts:
I'm using a launchd agent to run a shell script whenever I connect my thunderbolt dock. I've been able to use IOKit notifications to detect when the dock is being attached, but I also want to run a shell script whenever the dock is being detached.

To detect the attachment of the dock I use com.apple.iokit.matching's device-attach event:

 <key>LaunchEvents</key>
 <dict>
     <key>com.apple.iokit.matching</key>
     <dict>
         <key>com.apple.device-attach</key>
         <dict>
             <key>IOProviderClass</key>
             <string>IOPCIDevice</string>
             <key>idVendor</key>
             <integer>21</integer>
             <key>idProduct</key>
             <integer>4</integer>
             <key>IOMatchStream</key>
             <true/>
             <key>IOMatchLaunchStream</key>
             <true/>
         </dict>
    </dict>
</dict>

There should be an event that is fired on detach too, although I haven't fond it yet. The apple documentation on this subject is deplorable.

I really want to avoid using a polling method that keeps checking if the device is still attached. Some better solutions must

Also growl, ControlPlane and other similar apps are out of the question.

Edit:

To be clear. I want to run a shell script every time this specific dock is connected or disconnected, not whenever any device is attached/detached.


texts: Does someone know my (old) Apple ID password?

texts:
Today, I suddenly got the following message on my iPod:

Question 1: Does this mean that someone has entered my Apple ID password, or are there other situations where this dialog is triggered? Update: According to an Apple Support representative, there may be other ways to activate this pop-up than entering the password. However, the representative didn't know of any such methods herself.

Question 2: Is there any way I can learn more about the iPad that was used during the login attempt? I have visited appleid.apple.com/account/manage, but can't see any information about "non authorized logon attempts" or similar. Does anyone know if Apple keeps a record, even if it's unavailable through their customer-facing services? If yes, is there a way to get this record? Update: The Apple Support representative did not have any more information available through her systems. I asked if more information would have been available if this had been a criminal investigation. She responded that she didn't know, since such requests didn't go through her department.

If anyone wonders: As far as I can tell no harm was done. Obviously, I declined the request and immediately changed my password. But only my fiancee & I should have known the old password in the first place, so I found this a bit unnerving. The old password was unique to the Apple account and quite complex (more than 12 characters, no normal words, upper- and lowercase plus numbers). I really can't understand how anyone else can know the password unless they have installed a keylogger on my Mac or similarly advanced.

Update 2: Today, my iPhone suddenly displayed a popup saying "Use this iPhone to reset your Apple ID password [Allow]/[Don't allow]". (I regrettably forgot to take a screen shot.) Is this an indication of a sustained attack?


texts:
Here's my hardware setup :

ADSL Line in --> TP-Link TD-8840T Modem --[LAN Cable]--> TP-Link TL-WR1043ND Router.

I'm connected to the TL-WR1043ND via WiFi, and here are my pings :

Ping to modem

PING 192.168.1.1 (192.168.1.1): 56 data bytes
64 bytes from 192.168.1.1: icmp_seq=0 ttl=63 time=568.727 ms
64 bytes from 192.168.1.1: icmp_seq=1 ttl=63 time=538.867 ms
Request timeout for icmp_seq 2
64 bytes from 192.168.1.1: icmp_seq=2 ttl=63 time=1016.813 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=63 time=1199.988 ms
64 bytes from 192.168.1.1: icmp_seq=4 ttl=63 time=441.743 ms
64 bytes from 192.168.1.1: icmp_seq=5 ttl=63 time=769.507 ms
64 bytes from 192.168.1.1: icmp_seq=6 ttl=63 time=687.576 ms
64 bytes from 192.168.1.1: icmp_seq=7 ttl=63 time=1152.333 ms
64 bytes from 192.168.1.1: icmp_seq=9 ttl=63 time=737.375 ms
64 bytes from 192.168.1.1: icmp_seq=10 ttl=63 time=611.003 ms
64 bytes from 192.168.1.1: icmp_seq=11 ttl=63 time=593.407 ms
64 bytes from 192.168.1.1: icmp_seq=12 ttl=63 time=537.520 ms
64 bytes from 192.168.1.1: icmp_seq=13 ttl=63 time=705.519 ms
64 bytes from 192.168.1.1: icmp_seq=14 ttl=63 time=561.918 ms
64 bytes from 192.168.1.1: icmp_seq=15 ttl=63 time=289.272 ms
64 bytes from 192.168.1.1: icmp_seq=16 ttl=63 time=240.911 ms
64 bytes from 192.168.1.1: icmp_seq=17 ttl=63 time=300.519 ms
64 bytes from 192.168.1.1: icmp_seq=18 ttl=63 time=474.792 ms
64 bytes from 192.168.1.1: icmp_seq=19 ttl=63 time=206.313 ms
64 bytes from 192.168.1.1: icmp_seq=20 ttl=63 time=195.544 ms
64 bytes from 192.168.1.1: icmp_seq=21 ttl=63 time=377.278 ms
64 bytes from 192.168.1.1: icmp_seq=22 ttl=63 time=528.373 ms
^C
--- 192.168.1.1 ping statistics ---
23 packets transmitted, 22 packets received, 4.3% packet loss
round-trip min/avg/max/stddev = 195.544/578.877/1199.988/272.600 ms

Ping to router

PING 192.168.0.1 (192.168.0.1): 56 data bytes
64 bytes from 192.168.0.1: icmp_seq=0 ttl=64 time=266.906 ms
64 bytes from 192.168.0.1: icmp_seq=1 ttl=64 time=446.314 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=64 time=632.165 ms
64 bytes from 192.168.0.1: icmp_seq=3 ttl=64 time=711.540 ms
64 bytes from 192.168.0.1: icmp_seq=4 ttl=64 time=892.875 ms
64 bytes from 192.168.0.1: icmp_seq=5 ttl=64 time=501.928 ms
64 bytes from 192.168.0.1: icmp_seq=6 ttl=64 time=513.864 ms
64 bytes from 192.168.0.1: icmp_seq=7 ttl=64 time=642.139 ms
64 bytes from 192.168.0.1: icmp_seq=8 ttl=64 time=468.121 ms
 64 bytes from 192.168.0.1: icmp_seq=9 ttl=64 time=454.529 ms
64 bytes from 192.168.0.1: icmp_seq=10 ttl=64 time=240.409 ms
^C
--- 192.168.0.1 ping statistics ---
11 packets transmitted, 11 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 240.409/524.617/892.875/180.400 ms

What could be causing this ? I'm sitting 5 meters away from the access point.


texts:
When I enable Glances for the World Clock app on my Apple Watch, I see (only) the city that with the largest positive offset from UTC, not the one I want to see.

How do I select which city appears in Glances for the Apple Watch World Clock app?


texts: How do I display a hyperlink with an AppleScript?

texts: I am trying to get a URL via AppleScript, then displaying it as a clickable link via a window. How do I do this? (if I need to use Xcode for this, please add the answer, but provide detailed instructions, please)


texts: Macbook Pro buttons are pushed on their own

texts:
I play a game, for example Kerbal Space Program, and sometimes (pretty often) buttons are pressed on their own. No mods. It can be spacebar (stage separation) or "m" for Map. And it could be a problem in the game, but it's not because some similar stuff going on in Terraria, suddenly your character  starts to go in one direction. It's like some button is stuck, but actually it's not, keyboard is ok. What is it can be?
MBPr 2014 El Captain 10.11.1


texts: Is these usage habits leading my MacBooks result to battery bulge?

texts:
I have a Macbook Air and two Macbook Pros. All of their batteries got a bulge.

I like to use them in this way:

Always plugged to the power if there is one. 95% of the time, I plugged it to power. I do this because I think when power is on, the software runs fast.
Never restart the OS. I do this because I think it saves me a lot of time waiting for the system to restart (even though it doesn't take much)
Never shut down the machine, if I need to take the device, I just fold the screen (if not connecting to an external display)
70% of the time, I use an external display and fold the screen when using it. I do this because I like to put my keyboard on the top of the MacBook, so this would save a lot of space.

I hope to get some advice that which one (or more) of the above habits are causing the battery bulge.


texts: Weather extension showing both Celcius and Fahrenheit

texts:
In the summary, the weather is displayed in Fahrenheit units, whereas the city shows Celcius.

How can I make sure that the Mac weather extension shows both values in the same unit system?


texts:
There are two Macs and one of them finds a certain dylib when I dlopen it and another one doesn't. Seems like the library search paths are different, but DYLD_LIBRARY_PATH and DYLD_FALLBACK_LIBRARY_PATH are empty on both machines.

How can I see what paths dlopen searches?


texts: Mac will append a ' 2' (note the space) to the end of a file/folder that is  a copy of another file/folder inside the same directory... I was wondering if anybody knows how to batch remove/rename this ' 2' from a directory of folders from Terminal.


texts: Apple Airport Time Capsule with Airport express

texts:
I've a apple airport express plugged and setup already and hooked onto it's WIFI.

Recently I bought Apple Time Capsule that comes with the router. I'm wondering what are my options.

Unplug the express and setup time capsule as the primary wifi
Extend the existing wifi (apple airport express) with this time capsule (not sure if possible) and use capsule as a backup for files only.

Is the router in the time capsule better than airport express?

Please note that I live in a studio so I don't have a range requirement.


texts: Macbook 16 turning off and on display rarely

texts:
Working on a MacBook 16-inch for a couple of month.
Some weeks ago i started using an [Apple power extension cable](
https://www.apple.com/shop/product/MK122LL/A/power-adapter-extension-cable) - just for a couple of hours.

While working with MBP I saw a couple times it would turn the display off and on for one second or less (just like one very short blink that turns display fully off and on).

Just one, but like, once a day.

I thought it could be because of the power adapter extension.  I never used it so I returned to using the MBP's direct power adapter without the extension.

I have been working without extension for a couple of weeks and it was fine except today.  I saw one blink again, without any extension.

So I'm just curious (and a bit nervous because i can't go outside), is this some kind of static electricity that turns the display off and on for a second or is it a hardware or software problem?

It happens quite rarely but makes me write this question.


texts: Does syncing iphone to a new computer erases notes linked to the gmail account?

texts:
I have an iPhone with a bunch of items in the notes app I don't want to loose.
The notes are linked to a gmail account.
I want to switch iTunes library for that iPhone. Going from a PC to a mac.
iTunes wants to do an "erase and sync". Will that erase my notes as well? Or just the music?


texts: How to set an environment variable working on both bash and GUI?

texts:
Considering the current version of macOS being Catalina, I am looking for a way to set permanently an environment variable for both: bash and GUI applications.

I have searched online for a while, but all solutions found fail because:

Only applies to older version of macOS: environment.plist, /etc/launchd.config, etc.
Only applies to bash: .profile, .bashrc, etc..
Not permanent solutions: export PATH=..

How to set environment variables permanently for bash and GUI applications?


texts: How to add a caption to an image in Pages

texts:
How does one create a caption for an image in Pages? In Word it is easy, you simply right click on the image and “Insert Caption…”, but I cannot find any way to do it at all in Pages?

You can set a ‘Description’ on an image, however that only affects voiceover, which I do appreciate! But I also want the ability to move the image and it’s caption together.

I am using Pages 5.5.2, I understand that this is easier in Pages ’09, but I don't have that version anymore…

Edit: The only method that I have found that vaguely works is to create a new text box, manually make the text box the same size as the image, and text, set the paragraph style to caption, and, finally, group the image and the text box together so that they are treated as a unit. I hope that there is a simpler way that I have just missed somehow!


texts: MacBook Pro: OS X reinstall is taking "forever", (over 12 hours) to finish

texts:
This is my first time ever dealing with a Mac OS X reinstallation.
About a week ago, while working online, my MacBook Pro just started to be very very slow to do anything. I would get the WHEEL spinning for over a minute for each click on anything.

I looked for trouble shooting info and followed the procedures to use disk utility, etc. No issues with hardware were reported.
I only had like 3 issues with registry entries I believe.

I decided to backup my important files....took me 3 days because each click would take ages to be executed.

Now for over 18 hours, I'm waiting on OS X Mavericks to finish installing on my computer which is under 2 yrs old.
Oh, after the initial stage of 'installation', the download and install, which took like 4 hrs, the computer rebooted (as was expected according to videos on yt).
However instead of going to the setup page, it went back to installation window which was supposed to take 24 mins initially but I'm still waiting 4 hrs later.

Is this common with Macs?

If not, what's the problem with this Mac and how can I fix this please?

I get the long wheel spinning even during this reinstallation and I'm totally baffled by this.

Thanks for the help.


texts:
my macbook air 2011 just doesnt show the login window, after running fsck -yf it shows

...
Failed to issue COM RESET successfully after 3 attempts. Failing... disk0s2: no such device disk0s2: media is not present.
...
**** The volume "ok" could not be repaired

So what I could do now?


texts: Why were my permissions different from the default and what are the implications of "fixing" them?

texts:
For some time now my Finder "Get Info" dialogs have been displaying "Fetching...", and I recently decided to fix the problem by following the instructions for resetting my home folder permissions. As expected, this resolved the issue, but now the permissions on all of my files are

-rw-r-----   1 MyName  staff   ... FileNow

whereas before they were

-rw-r-----   1 MyName  MyName  ... FileBefore

and I wonder: Why were they different before? Is there some common operation that causes permissions to change from the default, to what I had? Was the default perhaps different in earlier versions of OS X? Are there security implications of this change?


texts: Sync/transfer TV Shows and Movies from iPhone to Mac?

texts:
I have just updated my Mac to Lion and started using iCloud. Next thing I want to do is update my phone to iOS 5, but I want to backup all my purchased TV Shows first.
Some of them are purchased on my iPhone and I would like to transfer them to my Mac.

I connected my iPhone to my Mac, clicked on my iPhone in the iTunes submenu Devices and when I click on TV Shows, I can't click on anything in there, except for Sync TV Shows. But when I click on that I get the message:

  "Are you sure you want to sync TV shows? All existing songs, movies
  and TV shows on the iPhone will be removed and replaced with TV shows
  from your iTunes library."

How can I transfer all my TV Shows and Movies to my Mac without a hassle?


texts: El Capitan Mail: How to cancel processes in Activity window?

texts:
I've found a number of questions about the "floating" behavior of the Mail Activity window in El Capitan.  I have a different question:  In all previous versions of Mail.app, processes in the Activity window could be cancelled by clicking on the "Stop" button.  In El Capitan, the Stop button no longer seems to exist.  So the Activity window tells me if something is stuck, but doesn't give me any way to cancel a process.  Is there any way to get that functionality back?

Edited: Here's an example of what I'm talking about.  This window has been stuck on "Connecting..." for more than 20 minutes.  There's no way to stop it and there's no way to find out what's going on.  Turning off Wi-Fi and restarting the app (even rebooting!) didn't do anything; that "Connecting..." process is just still there.


texts: How to prevent even root users from uninstalling or tampering the application on macOS

texts:
The aim is to prevent even root users from uninstalling our app on their mac.
Apparently, many security applications have this sort of functionality wherein a user(even with root privilege) can not uninstall or tamper with the agent on their machine.
I tried tampering/deleting an antivirus app on Catalina but I failed and noticed a few interesting things:

It has a kernel extension. But I can not remove the kernel extension(as root).
#kextunload /Library/Extensions/xxx.kext
(kernel) Kext com.xxx.kext did not stop (return code 0x5).
(kernel) Kext com.xxx.kext can't unload - module stop returned 0xdc008017.
Failed to unload com.xxx.kext - (libkern/kext) kext (kmod) start/stop routine failed.

The application is installed in /Library directory rather than the usual /Applications directory.
drwxr-xr-x    7 root  wheel   224 Oct 28 14:40 xxxx

The folder does not have any extended attributes. I can not delete this folder or any of its subfolders and getting permission denied error even as root.

The app has a bunch of launchdaemons but I can not remove them (again tried as root)
#launchctl remove com.xxx.xxx.
 Not privileged to remove service.

Tried killing the processes, again operation not permitted.

The app comes with an uninstaller which can somehow uninstall the app, but it needs a special password (separate from system password) to be entered to work

Many of Apple's own apps and services have this sort of behavior but they come with the system and are backed up by System Integrity Protection.

How can a third-party app achieve this sort of behavior? This is not unique to this particular application but antivirus have similar sort of features. Any insight on how to achieve this..

Note: Ours is an enterprise app that will be installed on machines owned by the companies and managed by IT but end users will have root access on their machine.


texts: Mid-2014 Macbook Pro i7 15" OS 10.6.8 boot fails

texts: I pulled my hard drive from a kaput i7 Macbook Pro because it had Snow Leopard (10.6.8) with Rosetta Stone. I need to run older G5 software. I put the drive in an external case, and hooked it up via USB to the newer Macbook Pro. I see the old drive on the screen when I boot normally under 10.11.5. However, when I boot up with the option key down, I get to select the 10.6.8 drive - but all I subsequently get is a gray screen with a small apple symbol. What is the problem please?


texts: Scripted SFTP command line file transfer Mac OS X

texts:
I'm working with someone who's been doing simulations on various computers and FTPing the results to a website using a script and the basic mac ftp command basically something like (this is not exact just what i remember from when i last looked at it)

ftp -i username@host password
cd /dir/
put file 1
put file 2
...

and so on...

I need to upgrade this process to use SFTP for security purposes, but there's no way that I can tell to put the password in a single line script for the SFTP program that's built into mac OS X.  Is there some other way to do this?  I tried using something called LFTP which seemed to connect to the server but the files would always stay at 0% when they were trying to transfer.  Any help would be appreciated.


texts: Why volume goes up automatically on my iPhone 6s when I'm running on a treadmill?

texts:
When I'm running on a treadmill the volume goes up automatically while I'm watching Netflix or listening to Spotify.

It seems to go up one bar at the time, with about 1 second pause in between the increments. There's nothing pressing the volume buttons as phone is lying flat on the treadmill panel. It seems to stop when I'm running slower or walking.

I have a pair of wired Senzer H2 Earphones connected to my iPhone 6s.

What could be causing this interference? And why it's going up but never down?


texts: Clean install of Mountain Lion on MBP early 2011 failed

texts:
I want to install a fresh version of mountain lion via usb stick on my macbookpro (early 2011) + new Samsung 840 SSD. (NVRAM cleared, HDD Empty)

1.) I created a usb installer as described here: http://macs.about.com/od/macoperatingsystems/ss/Create-Bootable-Copies-Of-The-Os-X-Mountain-Lion-Installer_4.htm
2.) Rebooted, Pressed ALT/Option
3.) selected the USB Stick as Boot medium
-> After a little while a forbidden icon is displayed

The internet recovery works fine, but installs 10.7.5 .. i want 10.8.2.

What is the problem here? How to fix it. I dont want to install 10.7 and update to 10.8.


texts: Prevent mounted volumes/folders from clogging the desktop on log in

texts:
I have a lot of volumes (folders) mounted from remote machines, about 10 of them, which I set to be mounted automatically when I'm logging in by adding them to the Login Items list in Users & Groups. Of course, I made sure to tick the Hide check box of each of the volumes, yet OS X opens each of the folders whenever I log in so I have to close them one by one manually.

When an application starts, the hide button makes sure no windows are drawn visibly. Can Finder be configured to respect the "hide" flag similarly?


texts: I was required to give my birthday when creating an Apple ID. How do I now keep this information private? I see it has appeared on my Google calendar and I am hoping it does not appear on my contacts' calendars as well.


texts:
I'm trying to trigger a function key using applescript. I need it to press the 'volume up' key with fn.

I wrote the following AppleScript but it isn't effective:

tell application "System Events"
    key down 63 -- fn
    key code 111 -- f12
    key up 63
end tell

just executing key code 111 gives me the same result as the code above,

 key down 63

doesn't seem to effect the behaviour of the script, the f12 key is being pressed, without the function modifier.

Is there anything like

 using function down / using fn down

just like there is for the command key

 using command down

or is there any other way to achieve this?


texts: Immediate email push notifications account + app combos?

texts:
Which accounts (e.g. @gmail.com, @outlook.com, @icloud.com, etc.) paired with which apps (e.g. Mail, Gmail, Outlook, etc.) will give me immediate push notifications for any email received?

I'm looking for those combinations that generate a push notification within 5 seconds.

For example, imagine if when Outlook is paired with a Gmail account, it uses 15 minute polling to determine when a new message arrives. This would not satisfy my requirement above. On the other hand, imagine you use the built-in mail app with an @icloud.com account, and you enable Push in the settings. This should send immediate push notifications, satisfying the requirement above.

I'm looking for several solutions, not just one so that I can have multiple "inboxes" or workflows.


texts: How can I change Keychain permissions without being physically present?

texts:
According to Apple's Documentation, for certain operations, the user must be physically present.  However, I am trying to administer a Xcode Server build box via Screen Sharing, and I can't add or remove keychain items because of this restriction. This server is inside of our corporate firewall. Is there a way to remove this restriction for this server?

In the Console, SecurityAgent gives this message when I try to Allow access to a keychain item:

  Ignoring user action since the dialog has received events from an untrusted source


texts: Best way to run Shell commands on VirtualBox Guest

texts: What's the best way to run shell commands on a MacOS guest VM? Can't seem to run it through VirtualBox's guestcontrol, only lets you launch apps, not run commands directly. Saw some people suggest SSH, but wanted to see if there's a more direct way before I start down that path. Thanks!


texts: El Capitan: will System Integrity Protection defence stop sandbox program from accessing System.log?

texts:
OS X El Capitan apparently has this new security feature known as System Integrity Protection, which limits root access to an array of files including: /system, /bin, /sbin, /usr, /etc, /tmp and /var.

I have a program I developed which accesses the file system.log located in the /var/log/ directory.

My Question is:

Will my program (running in the sandbox) be able to access the file /var/log/system.log with the 'System Integrity Protection' system running?

Thanks in Advance.


texts: Find who is intercepting traffic on port 80

texts:
Every 7–10 days, all internet browsing on my Mac stops working. I can use Firefox, Safari, Chrome, but I'm able to surf only Google and few other sites.

So I tried to telnet a webserver on the local LAN on port 80

telnet 192.168.10.10 80

telnet says "connected", but "tcpdump -n host clienthost" at the server side can't see any traffic. I expect to see at least a SYN packet from the client.

When I telnet the same server to port 25

telnet 192.168.10.10 25

I can see immediately the regular SYN traffic coming on the server's tcpdump.

My suspect is that the Mac has some "socket filter" or "IP filter" or "Interface filter" installed, which is intercepting traffic on port 80 and forwarding to the real server only when after a correct HTTP request is composed on the socket (I composed it with telnet).
Please note that OS X firewall and parental control are both switched off.

Who is intercepting all my HTTP traffic? I have uninstalled all anti-viruses now.

Is there a way, a commandline tool or an application, which enumerates all socket/IP/interface filters and remove them?

A similar tool for windows could be sysinternal's "autoruns", but on OS X?

EDIT:
The solution to the specific problem has been found: it was OS X parental control. It was disabled, never activated, but the parental control filter was still filtering port 80. We entered on System Preferences -> Parental control, clicked on the lock icon and unlocked with the user's password. Then we clicked a second time on the lock icon to lock again, and traffic on port 80 has been immediately started to flow directly from my telnet client to the server.
A bug on apple parental control activation ?

The question is still open: how can I enumerate all IP/socket/interface filters installed on OS X ?


texts: How can I create keyboard shortcuts to move to previous / next full-screen app?

texts:
I'm trying to add keyboard shortcut to move to prev/next full-screen app.

I'm now @ Keyboard > 'Keyboard shortcuts', there is no options under 'Mission Control'. And I have no idea of what to add in 'Application shortcuts' for it.

In addition, I would like to change the shortcut in 'Mission Control' which 'Move left/right a space', but doesn't seem like I can change it.

Any idea?


texts: touchbar and keyboard brightness adjustment

texts:
Is there a way to manually control keyboard backlight with a MBP touchbar?

The same way the old F6 key was working on non touchbar laptop


texts:
I have got all the dates and times for my class seminars set in iCal, and I've also made week-long events that coincide with my colleges week numbering.

The thing is, I forgot to let out this Easter holidays, which are two weeks that should be blank.

What I want to do is select all events and move them two weeks. How can I do that?


texts: So today I went to buy something on the itunes store, but it said that I had to change my password since the account is pretty old. I did that, then tried to log in again, but it said my password was wrong. I kept entering it in and eventually my account got disabled. To disable it I have to enter security questions that I never set, and enter in my birthday, which apple constantly says is wrong. I click on the email option, but no email comes in to the recovery email that I set up. Please help!


texts: Could aluminium dust inside a Macbook Air create a short circuit?

texts:
I have a Macbook Air and I'm very happy with it, except for the fact that it made a creaky noise. It turned out the bottom plate wasn't screwed on properly and I had to reseat it (I tried to let a Genius do this, but out of the three Geniuses I visited, no one of them had  the proper screwdriver and wanted to take my Macbook for repair or switch it for a new one, I refused this because I don't want to live for a week or more because of such a stupid problem).
So I bought a special pentalobe screwdriver and screwed the bottom plate off. I noticed there was some aluminium dust inside the Macbook Air because the plate has been moving a little and has been scraping onto the body.

Could this dust create a short circuit theoretically?

One little problem is that one screw (of the 10 screws) doesn't tighten anymore, because the bottom plate has been screwed on wrongly in the first place. What kind of glue is the best to use to attach the screw? Of course it must be possible to unscrew it at some point when I want to install a new/bigger SSD.

This might sound terrible to the Apple fans who don't want to mess with their machines, but I don't think getting it repaired by a Genius or switching it with a new one solves anything, because this creaking problem is very common and it might start all over again.


texts: how to turn on hardware virtualization on Macbook pro with BootCamp with no OSX

texts:
I haven't been able to turn on hardware virtualization on a Mac with BootCamp (Windows 10).
All the solutions I have found say that I need to restart and choose OS X ( including How to turn on Hardware Virtualization on Late 2013 MacBook Pro (for Windows 8.1 using Boot Camp)?), but my problem is that BootCamp is the only partition there is my machine.


texts: Disable scrolling in iCal and iTunes when apps aren't selected

texts:
Sometimes I'll have iCal or iTunes open alongside another app, and I'll accidentally scroll up or down while the mouse is hovering over iCal or iTunes and it will actually scroll even though neither of the apps are selected.

How do I disable scrolling on iCal and iTunes when the app isn't selected?

Note: I'm on a 2011 MBP w/ Lion


texts: How do I remove the recently added section in Music?

texts:
I recently updated my old iPhone 5 to iOS 9.

One of the things I don't like about the new music player is that when I start it up after I turned on my iPhone, half the screen is taken up by useless stuff, the main offender is the "recently added" section.

Is there a way I can get rid of this recently added section?


texts:
When I have my external monitor hooked up, I access it by mousing off the left hand side of my Macbook display. Can I switch this so that I can access the external by mousing off to the right of My Macbook display?

The reason I ask, is my monitor is on the right side of my macbook, and it's unintuitive to mouse left to get to a screen on the right.


texts: Sharing contacts with husband who has separate Apple id

texts:
My husband and I have separate Apple IDs. We have family sharing and are able to share our calendars. But we want to share our contacts in a way that is easily accessible on all our computers and devices (Mac OS and iOS.) We keep our computers and devices up to date so we are running recent if not the latest versions of OS and iOS. I have not found a way to share our contacts in the Contacts app without constantly tweaking or creating a third Apple ID, which is too fiddly for me. Is there a third party option that would meet our needs?
Thanks.


texts:
I accidentally created an @icloud.com address for my kid's (under 13) Apple ID, and now I want to change the primary email to his correct address. However, there is no option for setting a new primary email when I sign into his account at appleid.apple.com. The correct address is listed under Alternative Email Addresses
 I thought maybe I'd have to change it through my account, but I couldn't find any help there either. How can I change his primary email address?

EDIT: The only buttons next to the alternative email address are edit and delete. There are no buttons next to the primary address. Both addresses are verified


texts: Does Erase Disk delete the Recovery Partition?

texts:
I was trying to reformat my Mac Mini Mid-2011, so I went to Disk Utility. I saw that there was a Recovery Partition. Then I did an Erase Disk, which I thought was only erased the main partition and would leave the Recovery Partition.

Then I rebooted and held down cmd+R. The screen showed "Starting Internet Recovery", which means that my local Recovery Partition is gone, right? :(

I was hoping to save time by using the local Recovery Partition instead of downloading from internet.


texts: How to upload HD video to YouTube using unlimited 4G LTE on iPhone?

texts:
I have unlimited 4G LTE with Sprint so I should be able to upload to YouTube using it, but YouTube can only allow SD (Standard Definition) upload. The HD upload says, "Requires WiFi".  (this was done by going to Photos app, and then using Share to YouTube).

But my WiFi will be slower... and sometimes I don't have WiFi if I am outside... so is there a way to upload it using the unlimited 4G LTE?


texts: Need an Applescript to handle specific incoming mail.

texts:
Here's what I'd like the Applescript to do: upon receiving an email (I'm using Apple Mail) from a specific address, I'd like, firstly, that email to be deleted (not just moved to trash), and secondly, to send an email to myself with the simple message: "You got mail." Upon receiving that message, I would then go and read the deleted message using my account's web access (retrieved messages there are only deleted a month later).

The issue I'm trying to solve is that I don't want the emails from that contact to be easily accessible by anyone using my computer. I could create a new email address just to receive mail from that contact, and keep that address completely off of Apple Mail, but that would force me to manually check the account from the web every couple of hours.

Hopefully that's clear.

Thanks


texts: keyboard preferences ignores modifier key settings

texts:
I'm using a Windows-type Logitech keyboard with my OS X 10.6.8 iMac. I've always just used the "Modifier Keys" setting in the Keyboard pane of System Preferences to reverse the Option and Command keys in order to get the usual Mac key behavior. Recently, however, it seems that these preferences are being ignored. I created a second account for my wife, and even though I swapped the modifier keys in the prefs dialog, the setting is ignored and Windows-style behavior continues. The same setting worked on my account but were ignored on hers (though they stayed as set, as if they were being honored).

More mysteriously, I undid those settings on my account while mucking around with a different peripheral, and now when I try to go back to swapped command and option keys, the setting is ignored on my account too! It seems that "inherited" pre-10.6.8 settings are honored, but that one can't swap those keys using 10.6.8 and have the system pay any attention.

Is there some duplicate preference file somewhere I should trash? Any other thoughts?


texts: I want to install Big Sur on my MacBook Air 2014, but I’m concerned about reports that the installation of Big Sur did brick some older MacBook Pro. I couldn’t find any information regarding my MacBook Air 2014. Is it safe to install Big Sur on a MacBook Air 2014?


texts:
I'm trying to merging two list but always have an error

set myNewList to ""

set myClipboard to the clipboard
set theList to words of myClipboard
##set theLength to (get length of mylist)

set ColortheList to {"42f489", "5cdf64", "FFFF00", "41f4d0", "4191f4", "4286f4", "4286f4", "f44192", "f44192", "f44192", "42f989", "5cdf54", "FFFF40", "41f4d5", "4191f2", "4386f5", "4246f4", "f55192", "f46192", "f24192"}

repeat with a from 1 to length of theList
    copy ({item a of theList, item a of ColortheList}) to the end of the |myNewList|

end repeat

Return :

  error "Can’t set end of \"\" to {\"whateverfirstitemis\", \"42f489\"}." number
  -10006 from last insertion point of ""

How can I create a new list with the items of my clipboards merge with the colorlist ?


texts: Folder-based photo management software for local use

texts:
You'd think that there is more than enough photo management software out there. But for quite a while now, I have struggled to find Mac software suitable for my requirements.

The management software will be used on normal everyday pictures (holidays, landscapes and so on) as well as a large collection of documentary pictures with little artistic value from renovating protected old buildings. Working with those documentary pictures will require extensive tagging and search functions.

I don't strictly require built-in editing and raw conversion functions.

My requirements list:

Native Mac program (or at least very well ported interface from a different OS)
Pictures must be stored in a folder structure on disk, not a monolithic catalogue
This folder structure must follow changes made within the software, and any changes made in Finder must be tracked and represented in the photo manager
The manager must be able to write geotags, textual tags and timestamp corrections directly into the images (in order to make the metadata available to 3rd party apps -- sidecar files like those used by Darktable are useless there)
Geotags must be viewable on a map
Metadata and changes to the image catalogs must be easily syncable using classic, non-cloud tools like rsync, unison, Bittorrent Sync or SyncThing.

Bonus points for:

support of other operating system
hierarchical tags
user-definable integration of external editing tools

Apart from KDE's really great DigiKam, which suffers from a not-yet-perfect Mac port, I did not find any software fulfilling those rather simple requirements. Perhaps someone here can point out what I missed.

I evaluated the following programs:

Digikam. Great. It's just heavily using the KDE ecosystem, which makes building the port on a Mac hard. It's also badly integrated in the OSX desktop.
Aperture. That's what I'm currently using. Syncing catalogues between machines using rsync is not trivial. Managed libraries don't properly follow changes done in Finder. Tagging is unnecessarily complicated.
Lyn. Small, lean, Mac only. Rather rudimentary. Doesn't fulfil requirement 4.
Darktable. See no. 4 above -- sidecar approaches are impractical for me, and "darktable will never ever open source files for writing".
Capture One. Fails on point 3, and the support told me that syncing between machines should only be done through manual import/export of sessions.
Media Pro. Same as above.
Unbound. Very rudimentary. No external tools configurable. Needs Dropbox as sync backend.
Pixa. Seems to be developed only very slowly, which does not make me feel good about its longevity. Doesn't really seem like photo management, but rather more like digital asset management. No geotagging.
Apple Photos / Google Photos. Cloud based. Too rudimentary.

Edit: November 2019 additions

Skylum Luminar 4. Represents the folder-based structure on disk perfectly in its DAM component. Offers flexible plugin management. Can not handle geotags at all, however, and lacks a proper EXIF/ITPC editor.

So far, those are my test results. Is there anything I'm missing / got wrong? Is there any software available that would fulfill my requirements?


texts: Turn off encrypted backup on iPhone that has a profile without removing profiles

texts:
I have iPhones that have profiles on them that were password protected profiles and those passwords have been lost.  So we need to wipe the iphones and was hoping to to a backup first and then restore without the profiles on there.  Problem is, it won't let me do a backup without encrypting first.  I have read that in order to not encrypt the backup you need to remove the profiles, but in this case we can't remove the profiles.
Is there any way to turn this encryption off??


texts: iCloud won't let me download some deleted iTunes TV episodes again

texts:
I have purchased a bunch of TV shows iTunes.

The original files for these shows are no longer on my hard drive and I probably deleted them. They show up in the iTunes directory, but when I try to play, I get a dialog box that says "The TV show could not be used because the original file could not be found. Would you like to locate it?"  If I say yes, I get a file dialog. This is not useful, because the files are no longer on my computer.

Now, Apple tells me that if I've purchased a show and delete it from my disk (say, to save space), I can download it from iCloud:

http://www.apple.com/itunes/inside-itunes/2012/03/movies-now-available-on-icloud.html

So, I follow the instructions, go to the iTunes Store, go to purchased TV shows and select the program I purchased, but each episode only says "Downloaded", and there's no way to re-download the missing episodes.

This is not true for all shows. For some shows that are not on my hard drive, I see a little iCloud icon and am able to click & download the missing episodes.

It's possible that the un-downloadable shows were downloaded and deleted before iCloud supported downloading purchased episodes, but I don't know for certain if that's the problem. It just a hypothesis I don't know how to test.

Any thoughts on how to restore access to these deleted shows within iCloud?


texts: How to increase the size of the OS X user interface without lowering the resolution?

texts:
I can adjust a few things, such as the Dock, but I don't see a way to say, "I want 1080p resolution, but I'm sitting 5 feet away and want bigger menus, fonts, etc across the entire system."

This is for a computer to be used as an entertainment center, mac mini 2007 running OS X 10.6.8.

I can upgrade to Lion if that provides a useful solution.

How do I increase the sizes of everything system wide so it's readable from a distance, while keeping the high resolution I desire for movies and games?


texts:
I have old macbooks with Lion. Because these are testing machines for different tasks, many reinstallations happens. Downloading the Xcode from the AppStore every time (2.5GB) is slow. Further complicating matters is the "download size" of Xcode 4.3.6 (the latest Xcode for Lion) is 2.5GB, but the application size in /Applications is 3.5GB - so happens some unpacking or so.. and want ensure than the simple copy of the Xcode.app is safe as I don't want a heavy solution that requires:

time machine
SuperDuper or command line dd nor any other disk-copy utility
any other backup strategy - incremnetal or not...

Simpy want to know:

is enough copy the Xcode.app from the /Applications folder to another machine?
when I just installed the Xcode from the AppStore, is enough copy the Xcode.app to another notebook (same HW, same OS version).
if not - why - what is the difference in the RESULT (exactly) between copy and installing Xcode from the AppStore.

How can I safely reuse one download for multiple installs?


texts:
I have seen this useful feature in several Windows File Explorer clones - the flat view. Basically the feature allows you to view all the files in the current directory and sub-directories, side-by-side, as if they were all in the same directory. Useful when trying to compare/find files. I don't think it exists in Finder, but what about the various Finder replacements?

Showsize Flat View Example


texts: Cannot install High Sierra or Sierra, get "installer payload failed signature test"

texts:
A user came in with their OS all garbaged up. It wouldn't start and when I used Target Mode and copied off documents and scanned the snot out of them I came up with a number of viruses. Afterward I booted into OSX Utilities (CMD + R) and erased the drive.

I then attempted to reinstall the OS but it wouldn't work, I can't remember the error anymore. I tried to install High Sierra but it gave me the message that it couldn't connect to any servers, even though I had internet-recovery booted.

I reformatted the drive to APFS format, no help. I got a USB of HS and same message.

I got a USB of Sierra instead, used it successfully on another machine (2011 MBAir) reformatted this drive to Mac OSX Extended and it began but about 2/3 of the way through stopped and gave me the "installer payload failed signature test" error.


texts: Mac wakes up from sleep every two hours on Mac OS X Yosemite

texts:
Since upgrading to the first stable release of Mac OS X Yosemite a few days ago, my Mac Mini wakes up roughly every two hours from sleep for about a minute, then goes back to sleep. This is particularly annoying at night since I sleep my Mac, and it's in the bedroom, so I notice when it turns on.

In my Console, here's some of the lines from it from when it wakes up:

14/10/19 6:48:06.000 am kernel[0]: Wake reason: RTC (Alarm)
14/10/19 6:48:06.000 am kernel[0]: RTC: Maintenance 2014/10/19 10:48:06, sleep 2014/10/19 09:00:12
14/10/19 6:48:06.001 am SyncServer[910]: [0x7fdd69c19d80] |SyncServer|Warning| Refreshing watchdog because of a calendar time change alert.
14/10/19 6:48:06.000 am kernel[0]: Previous sleep cause: 5
14/10/19 6:48:06.000 am kernel[0]: AppleThunderboltNHIType2::prePCIWake - power up complete - took 1 us
14/10/19 6:48:06.000 am kernel[0]: The USB device USB 3.0 HUB (Port 1 of Hub at 0x15000000) may have caused a wake by issuing a remote wakeup (1)

From the last line, yes, I've got a USB 3 hub plugged in to my USB 3 port on the Mac. But there are no devices plugged into the hub. Nevertheless, I'll try unplugging it tonight, but I suspect it won't make a difference.

Also, I've already disabled "Wake from network access", disabled "Power Nap", and pretty much disabled everything else in the "Energy Saver" system preferences pane.

When I run pmset -g, I get:

Active Profiles:
AC Power    -1*
Currently in use:
 standby              1
 Sleep On Power Button 1
 womp                 0
 autorestart          0
 hibernatefile        /var/vm/sleepimage
 darkwakes            0
 networkoversleep     0
 disksleep            0
 sleep                0 (sleep prevented by iMovie, coreaudiod, iTunes, AddressBookSour)
 autopoweroffdelay    14400
 hibernatemode        0
 autopoweroff         1
 ttyskeepawake        1
 displaysleep         60
 standbydelay         4200

I often have wake problems with my Mac, especially after upgrading to a new OS, and this time is no exception:

OS X Mavericks wakes my Mac from sleep every hour or so
Mac wakes up from sleep every night and then goes back to sleep immediately


texts: How do you change an iPad back from Korean to English?

texts: How do you change back an iPad from Korean to English?


texts: Updating Native Mac OSX Mavericks Apache 2.2 to 2.4 - disabling old version?

texts:
I have a small problem when I try to update to the new version of Apache WebSrvr on my Mavericks Mac.

I compiled and make installed to a different folder than the native: /usr/local/apache24/.

which httpd  => /usr/local/apache24/bin/

I set the enviroment variable for it also.

which apachectl => /usr/local/apache24/bin/apachectl

but when I try to start the server it takes the the binaries from the /usr/local/apache2/

Is there a way to migrate everything to the new instance of the Apache Server?


texts:
Whenever I add a picture to MS Word, the resolution becomes distorted along with the quality of the image. In windows, you can reset a picture and it will be displayed with the correct dimensions. Resetting in MS Word for Mac doesn't do that, it actually doesn't affect the picture at all.

Anyone found a way to fix this ?


texts: Quicker way to copy files to a set of different folders for classification purposes

texts:
I think this is a pretty classic setup, hence I'm hoping for a solution here.

In the finder, I have a folder "pictures" containing 15,000 pictures.

For each of these pictures, I'd like to send it to a sub-folder of the folder "categories". For instance, if there is a picture of a boat, I want to copy (not move) this picture to "categories/boat".

Currently I have two finder windows open, one with "pictures" and one with "categories" and I drag&drop every single picture one by one, while holding the Option key (to copy instead of moving).

Doing this with a mouse or trackpad becomes tedious very quickly and is slow and error-prone. I am open to any suggestions, even indirect ones leading to an identical outcome.

The absolute ideal would be that I could assign keys 0..9 to each destination folder, then I select a picture in the Finder, hit "5" and it goes to the destination folder assigned to 5. But I must be dreaming, right?


texts: How do I show the Dock in full-screen mode?

texts:
This one took me awhile to discover, but you can show the Dock while in Lion's new full-screen mode:

Place your cursor to the side where you currently store your Dock (right, left, or bottom), so that it's sitting on the last pixel of that edge. Then lift your finger and push towards the edge again, holding it in the push. Voilà, the Dock appears.

Small thing, but I found this particular interface just brilliant. It prevents the Dock showing up accidentally, which could be a common problem in full-screen mode, given that, well, we're using the entire screen all the way up to that edge that normally triggers the Dock.


texts:
I have looked through  a lot of these questions and none seem to apply. I am trying to install cocoapods and run pod init in my xcode project. When I run sudo gem install cocoa podsI get right the end and see this:
Building native extensions. This could take a while...
ERROR:  Error installing cocoapods:
ERROR: Failed to build gem native extension.

current directory: /Library/Ruby/Gems/2.3.0/gems/ffi-1.12.2/ext/ffi_c
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby -I /Library/Ruby/Site/2.3.0 -r ./siteconf20200314-453-8td9mi.rb extconf.rb
mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/include/ruby.h

extconf failed, exit code 1

Gem files will remain installed in /Library/Ruby/Gems/2.3.0/gems/ffi-1.12.2 for inspection.

And of course when I run pod init inside my Xcode project I get:
-bash: pod: command not found


texts: I want to clean install OS X (El Capitan) on my MacBook Pro with two internal hard drives

texts:
I have a MacBook Pro Late 2008 with two hard drives in it. (I replaced the CD drive with my original drive and I added SSD 60 GB on which I installed the OS X Yosemite. This happened some years ago.) Now I wish to upgrade my SSD to a larger size and also do a CLEAN installation of El Capitan on it. I can find information on how to do clean install no problem. However, before I go ahead my concerns/questions are:

1) If I simply install El Capitan onto the new SSD, will the new OS recognise my other drive without problems and additional steps?

2) Back-up; should I clone both drives to an external drive and also create a Time Machine backup - would this be sufficient to then migrate all the necessary files back?

3) On the second drive I have a bootable Windows partition - I can start my Mac with Windows OS by holding ALT during startup now. Will this option appear after this whole procedure or will it have to be recreated from scratch again?


texts: Download link for older Safari Technology Preview version 51

texts:
As was answered in this question, Cannot paste images from clipboard to Facebook in Safari unlike Google Chrome, Safari Technology Preview 51 has the attribute to copy and paste Facebook and Tumblr images. Apple has recently upgraded Safari Technology Preview to release 52 and it has more Facebook related bugs than release 51. It has also lost that attribute.

Where can I download Safari Technology Preview version 51?


texts: How can I determine the source of these notifications? (macOS)

texts: How can I determine the source of these notifications? I don't have any app that is called "Computing on Demand" and I can't find any reference to it on the Internet. I've thought about turning off all notifications and turning back on one by one but I'm not sure that would turn them off if its malicious.


texts: Restoring iPhone's state from a dd hard drive image

texts:
This article, Recover Lost Data From Your iPhone, in its "Method 1" suggests a promising method to backup iPhone's entire state, that is iOS settings, apps, email settings, media files, that is everything to the least detail, using Unix/Linux dd utility that makes an image of the iPhone's hard drive. This allows treating iPhone backups akin to snapshots of a virtual machine or global restore points, which is very useful. However, despite of the article's title, it doesn't explain how to actually restore an iPhone's state from a file produced by dd utility.

Any ideas how to restore from dd hard drive images? Or maybe suggestions about better methods to save/restore iPhone's entire state?


texts:
does anyone know when the arp cache in OS X Lion gets emptied? Or which automatism causes it to get emptied? Is it a time period, which can be set somewhere?

Thanks!


texts: what else can i do to try and solve repeating letters on MBP

texts: so i have a 2019 16" MBP on Catalina 10.15.7 and have had intermittent repeating letters.  a number of months ago i took it to an apple authorized center and they wiped it and installed a new keyboard.  I thought the issue was solved but recently it has returned.  I have disabled repeating letters in keyboard preferences to see if that made a difference and it doesent.  I's and sometimes S's repeat. I also have bluetoothed an older apple keyboard from my 2011 imac and i still get the repeating letters when using that.   Varies as to which letters.  I have also run the Apple hardware diagnostic test by restarting the MPB and holding the D key down.  No hardware issues.  Is there anything elase i can do to try and solve the issue so as not to have to send it back in?  Anything else to check?


texts: tracing stuck local to local mails in macOS

texts:
I'm sending myself a mail like this:

AdministorsMBP2:~ administrator$ mail -s "subject here" me@mydomain.com <<< "message"
AdministorsMBP2:~ administrator$ echo $?
0

The command returns zero, meaning success.
mailq command says empty.
my gmail inbox is empty too.

so what happened? did the mail go through , if not how I trace this.

mail command borrowed from: https://stackoverflow.com/a/13447901


texts: Anyway to get Mac OS Server to play with in a VM

texts:
I work in the IT department at a company that will in the near future be getting a Mac OS Server.

Although I'm not in charge of maintaining the server, I thought it might be beneficial for me to at least get a bit of hands-on experiencing using one.

I was planning on installing it onto a VM (like I would a trial version of Windows Server) and play around with it that way.

Is there anyway I can achieve this?


texts: Google Calendar iOS app background sync issue

texts:
I am using the Google Calendar app to sync all my calendars since I find it smarter than the standard iOS calendar app. However, I am unable to get my Google Calendar app to sync in the background on my iPhone. The app starts syncing to my calendars as soon as I open it, but it does not update events in the background if I don't start it.

I have my Gmail account set up correctly in the "Accounts" section, with "push" turned on and "every 30 minutes" manual sync if push is not available.

Background app refresh is enabled.


texts: How can I work in other applications while using PowerPoint presenter view on mac?

texts:
In Windows it is possible to switch between and work with open applications when PowerPoint is open in presenter view. In this mode, the audience sees only the PowerPoint presentation, while you use the other applications.

So the presenter is viewing the presentation via the MacBook and the audience sees it on a projector.

This does not seem possible on the Mac. Does anyone know how this can be achieved?


texts: Cannot get 4k monitor to work with macbook air early 2014?

texts:
I have an early 2014 macbook air and per this I can connect it with a 4K monitor with some success.

After resetting the NVRAM (Opt+Cmd+P+R) I got my Display Settings to show ASUS VP28U with mirror option ticked.

However, the monitor does not show anything. Given the fact it detected the display and made my macbook screen super small , is there a workaround ?

As soon as mirror option is unticked, my screen reverts to old display.

FYI, I have found this and this post but they do not work ?


texts: How to open a URL without launching a new safari tab?

texts:
I would like to write a script (AppleScript or shell script) to open a URL such as

https://itunes.apple.com/ca/station/beats-1/idra.978194965

which then launches iTunes and play a radio station.

The problem is that all the commands I found will first open a Safari tab and then redirect to iTunes for the playback.

Is there a way to not have an empty Safari tab/window left after launching this URL?


texts:
I'm on a laptop running OS X 10.3.9 (Panther) and I've downloaded "QuickTime 7.5 for Panther updater" -- and for the life of me I can't figure out how to install it.

The file mounts as a disk image. When I doubleclick it I see a QuickTime75_Panther.pkg file which opens when I double click. Inside I see a lot more files but nothing that lets me install. Help?


texts: Auto-correct on my iMac is checked so why is it not working in Apple Mail?

texts:
"Correct Spelling Automatically" box is checked in Keyboard settings.
"Check Spelling As I Type" is checked in in Mail preferences.

With the proper boxes checked, why is iMac Mail not correcting misspellings in emails? Auto-correct is working in Safari when I type this post. On my Macbook Air I am getting autocorrect when typing up emails. On my iPhone it is working. Why not on iMac Mail? Anyone have any ideas?


texts: How can I test an iOS app with just a Macbook?

texts:
I have a MacBook Pro and need to test my apps integration with another developer's iOS app. They have provided an installation link (itms-services://), but I don't have an iOS mobile device.

Is it possible to install and test their app on my MacBook with some sort of emulator?


texts: Can't load a specific webpage using Chrome or Safari while logged in, but they work on other account and Firefox also works

texts:
I'm trying to access The Guardian's website, and I get errors with both Safari and Chrome.

In Safari:

  Safari Can't Open the Page

  Safari can't open the page "https://www.theguardian.com" because Safari can't establish a secure connection to the server "www.theguardian.com".

In Chrome:

  Your connection is not private

  Attackers might be trying to steal your information from theguardian.com (for example, passwords, messages or credit cards). NET::ERR_CERT_REVOKED

EDIT: The problem appears to have morphed somewhat in Safari, and I've found the same issue with Kinja. Now, instead of it refusing to load the page, it loads a page that looks like this:

Both sites appear to have certificates issued by GlobalSign Organization Validation CA, and both have the error "This certificate has an invalid issuer".

When I use Safari on my wife's user account or use Firefox on my own account, the website loads fine. How can I fix my browsers on my user account such that they also successfully load the website?

So far, I've unsuccessfully tried:

In Safari, going to Preferences > Privacy, clicking 'Manage Website Data…' and deleting everything.
Going into Keychain Access and resetting my login keychain to the default.
Deleting the Safari-relevant folders in ~/Caches.

Neither fixes the problem, but the problem is not present on other user accounts, so I don't think it can be a system-level issue.


texts: Re-mapping tilde ~ to escape with hidutil, hex code is wrong on technical note?

texts:
I want to map my esc key to ~ tilde.

Using this reference: How do I remap a key in macOS Sierra, e.g., Right Alt to Right Control?

I found this technical note

Using this code:

hidutil property --set '{"UserKeyMapping":
    [{"HIDKeyboardModifierMappingSrc":0x700000029,
    "HIDKeyboardModifierMappingDst":0x700000032}]}'

The problem is the escape key outputs \| and not ~.  I thought that maybe a typo resulted in the codes being swiched.  so I also tried 0x31, 0x32, 0x33, 0x34, 0x35.

BOTH 0x32 and 0x31 result in \| back slash char...  Does anyone know the correct code to use for the tilde ~ key, that one you use to go to the home dir. Thanks

Edit:  langue is US English, Mac OS 10.14,


texts: Macbook Pro 2011 Wifi stops working after a few minutes, needs PRAM reset to get working again

texts:
My 2011 MacBook Pro is running High Sierra and has a WiFi problem. It stops working after a few minutes and shows "No wifi hardware installed" after reboot. A PRAM / NVRAM reset sorts this out until the next time. SMC reset also temporarily solves the problem.

The computer also has Windows and Ubuntu installed and the wifi works fine in both. Does anyone know a fix for this?

Normally I would just update to fix most Apple problems but the latest update (2018-001) won't install as it will render the Bootcamp partition unbootable!


texts: Verify code signature of a package installer

texts:
On macOS when you open an app downloaded from the internet Gatekeeper automatically verifies the code signature and in case of any problem warns you and blocks the app.
As far as I understand that only happens for applications (.app extension) and Gatekeeper won't do the same for package installers (.pkg extension).
I decided to do an experiment to check that. I used a package installer (1Password-7.8.pkg) with a valid signature and removed the signature completely, essentially I did the following:

pkgutil --expand 1Password-7.8.pkg Unsigned.unpkg
pkgutil --flatten Unsigned.unpkg Unsigned.pkg
pkgutil --check-signature Unsigned.pkg

The output of the 3 step is:
Package "Unsigned.pkg":
   Status: no signature

Then I double-clicked on the Unsigned.pkg and was able to do the installation without any warning or blocking from the Gatekeeper.
That experiment proves that Gatekeeper doesn't verify the code signature of a package installer (.pkg extension) automatically, am I right?
If the assumption above is current, it leads to the second question. How do I verify the signature of a package installer manually before running it?
Apple has a great article on how to check the signature of a package installer: https://support.apple.com/en-us/HT202369: you simply need to open the installer and click on the padlock in the upper-right corner. This works smoothly in most cases.
But if an installer contains the pre-install script, when you open the installer you see a popup with the text "This package will run a program to determine if the software can be installed." the popup looks like this:

In that case, the padlock is grayed-out and you can't click on it until you click "Allow".
The problem is when you click "Allow" the pre-install script will run and it means that you are running some kind of a script before checking its authenticity.
Usually, the pre-install script only checks the requirements and compatibility as stated in the popup title. But potentially it can do arbitrary stuff e.g. the zoom installer case: https://twitter.com/c1truz_/status/1244737672930824193
So is there an option to verify the code signate of a package installer from the GUI before running it or Apple just missed that case and I need to submit a feature request to them?
Of course, you can always verify the signature from the terminal like that:
`pkgutil --check-signature, but running that command for any package installer downloaded from the internet doesn't seem right and there should a native and more convenient way to do that.
Thanks!


texts: annoyance: latest version of Skype under Standard (non-admin) user on macOS 10.13

texts:
I always run my systems under an Admin \ Standard user dichotomy.  In other words, I always use my system as a Standard user and never login to the Admin user (except when doing the initial clean install and configuration).

This seems to mostly work on macOS (except for this previously noted annoyance).

However, I specifically have an irritating problem with Skype, where it will pop up a authentication Window stating:

  An update is ready to install.  Skype is trying to add a new helper tool.

...and asking for my Administrator account credentials.

Now, I've had other programs ask for similar authentications for updates and installs from time to time, and I simply put in my credentials and it installs some update quickly and I continue about my business.  No problem.

However, with Skype, it seems something is simply not working - like perhaps it wasn't designed with Standard users in mind.

After entering my Administrator credentials - nothing installs.  The authentication window simply disappears and nothing happens.

But even worse... the window will inevitably appear again after an hour or two.  So I'm constantly being harassed with this notification, and no matter how many times I authenticate the request (dozens of times so far), it just keeps coming back.

Note that I had this same problem back in Yosemite running whatever version of Skype was the latest back then.  I recently did a clean install of High Sierra, and I had hoped this problem would disappear.

Nope.  Any ideas?


texts: Remove Mac OS X from disk without erasing it

texts:
I have many hard drives on my Mac. Several of them have one version or another of macOS. Most importantly:
Disk A: Sierra. I boot from this disk
Disk B: /Users directory and High Sierra. I do not boot from this disk.
I want to remove High Sierra from Disk B without touching my Users directory, any user data, or erasing the disk.
How should I proceed?


texts: Is it possible to ask Siri to read dictated text?

texts:
Speech recognition is very useful - when I'm driving I always use it for dictating text to my iPhone 5.

However, before sending the message I like to check that the text was recognized correctly. Reading the text while I'm driving is not safe.

Is there a way to ask Siri to read the dictated text?


texts: Mid 2012 Mackbook Pro performance problems

texts:
I bought an used Macbook Pro Mid 2012 and it has performance issues. Basically it hangs from time to time even when its not under heavy load. I started to inspect the possible causes and I found out the SSD unsafe shutdown count is 18 183 what is a really huge number, my co-workers laptop has like 8-20.

The idea I came up with is that maybe my ssd lost power randomly, what the system can handle (with simply waiting until the ssd will be available again) but the system will hang until it the ssd comes back.

Could this be the cause of the performance regression?


texts: How can I show geolocation of one specific photo on a map in iOS?

texts:
Just changed from Samsung Galaxy 5 to iPhone. Galaxy's feature I liked was click on a photo, then more info, and if the photo was geotagged, it would open a map showing location.

I can only show location of groups of photos on my iPhone, is there any way to select a single photo and show the location on a map? I see the generic location (i.e., Downtown Long Beach) but I can not see a specific location.

Anyone know a way to bring up a map of a single selected photo?