Why are three newly-downloaded, up-to-date, unrelated applications not starting: "not supported on this type of Mac" *not a PowerPC problem* Today, I downloaded the latest stable versions of three largely unrelated programs: Pixen, Tiled, and Gideros Studio (free Gideros pack).
All three of these programs have crossed out icons, and return the same CoreServicesUIAgent pop-up alert:

"You can't open the application [Pixen/Tiled/Gideros_Studio] because it is not supported on this type of Mac."

I used these three applications, same versions, on a newer, more powerful Mac OS X Lion earlier in the day. My Mac (that has this problem) is running Snow Leopard.

(( I tried downloading Battle for Wesnoth to see if this would happen with all applications, but was unable to run Wesnoth. I believe I got a bad download mirror or something, because the folder didn't seem to decompile correctly and it took a long time to download (this is not important right now, I think. My main problems is these other applications). ))

Earlier in the day I successfully ran StarCraft 2 and a different game launcher. I also used Safari successfully. StarCraft 2 had an update for Macs today that appeared to prevent HotCorners from working at all while SC2 is the active application, whereas they normally worked fine while running SC2 in windowed mode (before today).
The SC2 mac-specific updates were defined as:

Command-click now properly issues a right-click command to the game.
Enabling the “Disable OS Keyboard shortcuts” option no longer causes a system hang on exit.

I'm not sure if this is important, but it was the only significant thing that happened prior to the topical error. It is only the new downloads that won't run at all, and these were downloaded after the SC2 update that appeared to affect the system (via HotCorners, at least).

I repaired my harddisk permissions, but nothing improved. When I ran the executable from Pixen.app/Contents/MacOS/Pixen, I was returned the following:

Macintosh-3:~ ~$ /Users/~/Downloads/Pixen.app/Contents/MacOS/Pixen ; exit;
-bash: /Users/~/Downloads/Pixen.app/Contents/MacOS/Pixen: Bad CPU type in executable

I got the same error for the other two apps.

===============================

I really have no idea why these three unrelated apps aren't running. Symptoms of a virus? I've never dealt with/experienced virus infections on any of my Mac systems before. Any insight into the causes of this are welcome.

Thank you in advance for your time. I can provide more information if it's needed.

Problem identified. My machine only runs 32-bit at the moment. The latest versions of Tiled are 64-bit, and Gideros is all 64-bit. After a redownload and some minor glitches, Pixen seems to work fine. I downloaded an operational albeit outdated version of Tiled in the mean time. I really need to upgrade to 64-bit.
I guess I overreacted when all three had the same error, and indeed Pixen shouldn't have had the error (and no longer does). I didn't anticipate that Tiled would be 64-bit either. Oh well. Thanks for any and all input.


How to disable Swapfile in OS X El Capitan I've tried these commands in OS X El Capitan, but it doesn't work:

$ sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.dynamic_pager.plist

$ sudo rm /private/var/vm/swapfile*

$ sysctl vm.swapusage
vm.swapusage: total = 2048.00M  used = 596.00M  free = 1452.00M  (encrypted)

I have 16GB of RAM and 256GB SSD, I just don't want the SSD to tear down faster just because I enable the swapfile.

El Capitan has its System Integrity Protection system, which you must disable before you can touch some OS inner workings, such as swap.

You'll need to reboot your Mac in Recovery Mode (holding Command+R at boot time). Open Terminal as root, then disable System Integrity with:

csrutil disable

Now you can disable swap.

After all done, you should enable System Integrity again using:

csrutil enable


What would happen if a Time Machine backup over Wi-Fi is in progress and I remove my laptop? I just purchased an AirPort Time Capsule and set up backups of my OS X Sierra. (Actually, they're going to a USB drive connected to it but I think it amounts to the same thing.)

If leave for work with my laptop in the middle of a backup, will Time Machine handle that gracefully and do something sane or will it have a meltdown and corrupt the backup and all the other backups and become unusable?

Time Machine should handle this gracefully, with the in-progress backup continuing the next time you connect.

I have many many Time Machine backups that have all been done over wifi, and I have honestly paid no attention to whether or not backups are in progress or complete while taking my laptop in and out of the house.


Unable to enter safe mode. Gets stuck at progress bar (100%) while trying to log in Macbook Pro Retina 13", late 2013.

Unable to enter safe mode (via holding shift key). Result as in title.
Hangs after me waiting for mutliple minutes.

What troubleshooting can I do?

Need safe mode to do other troubleshootings.

Edit1: note, that the progress bar at first moves but very very slowly, compared to non-safe-mode logging-in.
Maybe I should wait overnight or something?
Is there a way to show any debug messages while this is running?

Also asked on Apple forum: https://discussions.apple.com/message/31699416#31699416

The "solution" was just to wait much much longer (longer than any other boot you have seen), patiently and not assume it was broken :).


How to detect network connectivy on an interface? I have moved to a new location, and my Mac Pro 2013 running Sierra 10.12.6 is currently using the Wi Fi. I would like to hardwire it.

Now, there is a wiring closest with a bunch of poorly labeled cables within it, ostensibly matching to the various outlets throughout the building.

Unfortunately, the Mac Pro is quite far from the wiring closet.

I'm curious if there is a simple command I could use (some kind of net status command, or whatever), perhaps combined with grep, or something of the like, that will let me know when the Mac sees one of its interfaces light up.

Much like having one person at the breaker box watching a light, while the other person across the building vainly flips breakers trying to locate the one that controls the light, my hope was that I could plug the Mac Pro in to the wall, start up this command or script, and have someone watching the screen as I started plugging candidate cables in to the switch, hoping to find the right one easily versus having to run back and forth.

I guess I could just put "ping stackoverflow.com" in to a repeating loop and have the person shout "Eureka!" when a ping gets through, but I was hoping for something a bit more base level that was detecting "net tone" for lack of better word, even before DHCP and the rest of the network plumbing got in place.

Can I simply loop ifconfig in to an awk script to show me which, if any, of the en#: items become active? Currently, I have 8 (en1-8) listed (among other things). One of which is active (en2), which I assume is the Wi Fi.

Is it crass to assume that once I get a cable plugged in that either en1 or en2 will light up depending on which port is plugged in?

These ports don't have a light on them do they? Honestly, I never checked. That would be acceptable as well.

If they are watching the screen why not go to System Preferences -> Network and watch the connected indicator.  It will show connected when connected to a switch even before DHCP.

This is also where a cable tester comes in handy.  Even the cheesiest of testers will work for this.  Check these out:

https://www.homedepot.com/p/Klein-Tools-LAN-Explorer-Data-Cable-Tester-with-Remote-VDV526-100/309925931

Or a simple tone tester...

https://www.homedepot.com/p/Sperry-Lan-WireTracker-Tone-and-Probe-Wire-Tracer-ET64220/202520187


Apple Lion OS X 10.7.3 Update Wifi As soon as I restarted the system after installing the 10.7.3 update, my wifi stopped working. It wouldn't connect. It would get a private ip assigned to it.

So, I switched on and off the wifi, changed the network settings several times by removing the wifi and adding it again, restarted the system, and when all of these didn't help, I phoned Apple support. After asking me to fiddle with the router, computer and several other things, he accepted that the new update was having issues. And I needed to roll back to the old version. Has anyone run into the same problem? Is there anyway to fix this?

Many times the Combo Update will resolve problems.  Download that update (on another system if you have to) and install it, then restart. I have not seen generalized WiFi issues after the 10.7.3 update, so it is very likely the combo update will help.


Is is possible to get audio notifications working for subfolders for Apple Mail on macos? I want to receive audio notifications for email that lands in a particular subfolder of the Inbox. The filtering is done server side so I can't use a rule to generate a audio notification.
I tried accomplishing this with a smart folder/mailbox  but I'm not getting an audio notification for new email arriving in the subfolder.
Is it possible to get an audio notification on individual subfolders?
I can get audio notifications when the email lands directly in the inbox.

As best I can tell, the "New messages sound" setting in Mail -> Preferences -> General is not related to the "New message notifications" setting.
So it does not appear to be possible to turn on audio notifications on/off for subfolders. The audio notification only can happen when an email lands in the inbox.


Finder generic icons for music/movies on second drive I have added an SSD to my iMac with OS X Lion and wanted to reorganise files a little:

System and home folder on SSD
Music, Documents, movies on HDD

That's not hard, but when I move the Music folder to Finder's sidebar I get a generic folder icon. Is there any way to get the music icon for that folder (which is on a different drive)? I find it visually quicker and easier to find the correct folders in the sidebar if they have custom icons.

Only solution I found is to use ColorfulSidebar.bundle and get Snow Leopard style color icons (and change them as you like in folders info panel), but I would like to have the newer gray style all over system. The ColorfulSidebar also does not work for in-app file browsing (you always get gray icons).

Unfortunately the icons now appear to be hardcoded, it used to be the case that you could just name a folder Movies in your home folder and it would gain the icon but not anymore.

According to this: https://stackoverflow.com/questions/8380562/adding-buttons-to-finder-toolbar

DropBox are going to pretty extreme lengths to get their icon in the sidebar, using code injection.

In other words, I don't think it is possible I'm afraid.


Disabling the software escape button on touchbar Is there any way to disable permanently the software Escape button on the Touch Bar. After two months I can't get used it, and can't help touching it inadvertently in the middle of some important operations.

Any solution other than drilling through the touchbar is welcome.

You can't remove it, it's permanent (unless viewing expanded touch bar view).


Save and upload PDF files with browser with iPad Pro I wonder if there is a simple way to download and save a pdf from a website and then upload the same file to another website through an HTML5 form.

When you view the PDF on the website in Safari, press the "share" icon and then select "Save to Files". Now store the PDF document, for example on iCloud Drive.

Then browse the second website and click the button to upload a file. You will be asked then if you want to take a photo, access your photo library or "Browse". Choose "Browse" and you'll be able to select the PDF document, you've saved earlier.


Legendary sudo rm -rf / Just curious, what happens in OS X Maverick if someone issues sudo rm -rf /?
I heard most modern *nix systems are protected from this epic fail.

In the interest of science, a VM died to answer this question:

testrm:~ admin$ sudo rm -rf /

WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.

To proceed, enter your password, or type Ctrl-C to abort.

Password:
rm: /dev/fd/0: Operation not supported
rm: /dev/fd/1: Operation not supported
rm: /dev/fd/2: Operation not supported
rm: /dev/fd/3: Not a directory
rm: /dev/fd/4: Bad file descriptor
rm: /dev/fd: Operation not supported
rm: /dev: Resource busy
rm: /home: Resource busy
rm: /net: Resource busy
rm: /private/var/log: Directory not empty
rm: /private/var/run: Directory not empty
rm: /private/var: Directory not empty
rm: /private: Directory not empty
rm: /System/Library: Directory not empty
rm: /System: Directory not empty
rm: /: Is a directory
testrm:~ admin$

Interestingly, it succeeded. Back in the Slackware 2 days, I tried this on Linux and after it deleted the dynamically linked libraries rm was using, it failed.


AppleScript UI Scripting and click I would like to click and have automatic action with a software,
I can refer to it and get the value of the text but can't manage to click

tell application "System Events" to tell process "app"

    click static text "General Info" of UI element 1 of row 1 of table 1 of scroll area 1 of front window

end tell

This return missing value

and if I do   select static text "General Info" of UI element 1 of row 1 of table 1 of scroll area 1 of front window then I have a return (but no click obviously)

what can I do to click in this area ?

I have a similar issue with a dropdown menu with I have to select and set a value

set value of pop up button 1 of group 3 of group 2 of scroll area 1 of group 3 of front window to "Open"

I can't manage to select a value (for example the second value inside the menu)

You can try using Automator “Watch Me Do” and record your actions in that business application. When you are done recording your actions, you can select all of those recorded actions and copy them to your clipboard. You can then paste into a script editor document. From there you will be able to see the commands and UI elements then just backward engineer them to suit your needs

For example in this following image, the commented code was what I pasted into script editor from the copied commands of “Watch me do” in Automator.  The compiled code was my re-wording of it


Use early 2009 20" iMac as external display for 2015 rMBP I wanted to use a mini display-port cable then use "target display mode" to make the iMac an external display, but I just read that early 2009 iMac's don't have target display mode as a feature.

Anybody knows of a solution?

This cannot be done with your particular iMac (2009 20")

Per the Target Display Mode System Requirements Page it specifically says:

  A supported iMac with OS X v10.6.1 or later.

The supported iMacs are:

  iMac (27-inch Late 2009)
  iMac (27-inch Mid 2010)
  iMac (Mid 2011)
  iMac (Mid 2012-Mid 2014)

However, there is an App that allows you to turn a spare Mac into an extended monitor.  It's called Air Display.  This is not my ideal solution as video intensive applications don't perform well with software solutions.

If you need a secondary monitor, you may have to get a dedicated monitor to meet your needs


Update Preferences Panel after using default write I am using default write to set/unset Block all incoming connections option of OSX firewall.

sudo defaults write /Library/Preferences/com.apple.alf globalstate -int 2
sudo defaults write /Library/Preferences/com.apple.alf globalstate -int 1

I realised that the option is not set if the preference panel is open.
Is there a way avoid this behaviour, possibly refreshing the Preference Panel UI after setting the new value?

Depends on whether you want to stick with shell, or use applescript. This applescript script gives you a popup for password:

do shell script "defaults write /Library/Preferences/com.apple.alf globalstate -int SomeInteger" with administrator privileges
tell application "System Events" to if (first application process whose name is "System Preferences") exists then
    tell application "System Preferences"
        quit
        delay 1
        activate
        set current pane to pane "com.apple.preference.security"
    end tell
    tell application process "System Preferences" to tell window 1 to tell tab group 1 to tell radio button "Firewall" to perform action "AXPress"
end if

In Terminal, it looks messy:

sudo defaults write /Library/Preferences/com.apple.alf globalstate -int SomeInteger; osascript -e 'tell application "System Events" to if (first application process whose name is "System Preferences") exists then' -e 'tell application "System Preferences"' -e 'quit' -e 'delay 1' -e 'activate' -e 'set current pane to pane "com.apple.preference.security"' -e 'end tell' -e 'tell application process "System Preferences" to tell window 1 to tell tab group 1 to tell radio button "Firewall" to perform action "AXPress"' -e 'end if'

Replace SomeInteger with a value.

Update:

set firewallState to do shell script "defaults read /Library/Preferences/com.apple.alf globalstate"

if firewallState is "1" then
    tell application "System Events" to display notification with title "Switching Firewall from This to That"
    set newState to "2"
end if

if firewallState is "2" then
    tell application "System Events" to display notification with title "Switching Firewall from That to This"
    set newState to "1"
end if

do shell script ("defaults write /Library/Preferences/com.apple.alf globalstate -int " & newState) with administrator privileges

tell application "System Events" to if (first application process whose name is "System Preferences") exists then
    tell application "System Preferences"
        quit
        delay 1
        activate
        set current pane to pane "com.apple.preference.security"
    end tell
    tell application process "System Preferences" to tell window 1 to tell tab group 1 to tell radio button "Firewall" to perform action "AXPress"
end if


Decrypt iPod Music Files I recently moved computers and don't have all my music in my iTunes (and honestly don't need it there anymore). I have all my music on my iPod and while I know how to get the music files off of it, they are encrypted. Is there a way to decrypt my music files to their original names so I can then back them up to my external hard drive?

Currently all the file names are seemingly random 4 characters.

I'm currently using Windows 7.

These files are not, in fact, encrypted. The id3 tags are still intact. If you re-add the files to iTunes, the proper names and artists should show up, assuming they were tagged correctly in the first place.

If you have "copy files to iTunes media folder when adding to library" and "Keep iTunes Media Folder Organized" checked in advanced preferences, it should rename the files and put them in folders by artist in your music folder when you add the files to iTunes.


Using AppleScript to sync iPhone in Catalina Prior to Catalina I used a script to trigger a sync to my iPhone and iPad - similar to:

tell application "iTunes"
    tell every source whose kind is iPod to update
end tell

Catalina removed iTunes and iOS devices are now synced using Finder.

What do I need to call in order to trigger a sync in Finder?

I expanded on dyindude's answer to make a single script that opens Finder, navigates to your device in the sidebar, waits for the sync button to appear, and clicks it. This assume's your device is named iPhone:

tell application "Finder" to open ("/" as POSIX file)

tell application "System Events" to tell outline 1 of scroll area 1 of splitter group 1 of window 1 of application process "Finder"
    set theElements to first UI element of every row whose name is "iPhone"
    repeat with e in theElements
        try
            if name of e is "iPhone" then
                tell e to perform action "AXOpen"
                exit repeat
            end if
        end try
    end repeat
end tell

tell application "System Events" to tell application process "Finder"
    repeat until button "Sync" of splitter group 1 of splitter group 1 of window "iPhone" exists
    end repeat

    click button "Sync" of splitter group 1 of splitter group 1 of window "iPhone"
end tell


iPod Touch 4: Use as phone/text? I have an Android phone and an iPod Touch.  The camera on the iPod Touch is front-facing and much better than the one on the Android, and with so much communication among my social groups moving towards photo/video I feel kind of left out because my phone sucks at this.  Unfortunately, I can't just switch from my current phone to an iPhone, but really I already have a Touch so ideally there would be some way for me to just get it to act as much like an iPhone as possible.  How would I do this, and is there a way to do it without being reliant on WiFi?

Your iPod is very similar to an iPhone. However, there is one major difference - it does not have the ability to send and receive cellular. Any kind of video chatting with an iPod requires WiFi. You may be able to communicate with Bluetooth also; however, what I have read it can only go between to Apple products and has very little range.


Obtaining the .dmg file for OS X Lion on a new MacBook Pro that has Lion preinstalled I recently purchased a new MacBook Pro with Lion preinstalled. I'm about to replace the hard drive, and I wanted to burn the Lion installer to DVD so that I could install OS X on the new HDD. However, all instructions I've found for creating a Lion boot disc assume that you've purchased and downloaded Lion from the App Store. On my new machine, is it possible to get the .dmg file and burn it so that I can reinstall Lion on my new SSD?

If this is not possible, what is the recommended approach?

Sadly, Apple doesn't include a Lion install disc in the packaging with the new Macs, nor do they make it available to download.

They did just release Lion Recovery Disk Assistant which will allow you to make a recovery disk out of an external hard drive, which you can use to recover the existing installation or do a new install.


How To Enable The "Hidden" Debug Menu? Following on from my previous question entitled "What is the function(s) of the hidden Debug menu in Disk Utility?".

How do I enable the Debug Menu via Terminal command or otherwise, thereby increasing the functionality of Disk Utility ?

Quit Disk Utility if it's open.
Open the Terminal application in /Applications/Utilities.
Type this exact command and hit Enter key:

defaults write com.apple.DiskUtility DUDebugMenuEnabled 1
Quit the Terminal application.
Launch Disk Utility and you will have a the Debug menu.


iMessage or text question Random question...If your iPhone is off, do text messages continue to show real times that they were sent to you OR the time when you turned the phone back on?

The time stamp shows the time the message was successfully sent. This is shown in local time (i.e. whatever time it was in your time zone).


How to resume a "paused" application after an out of memory situation? Occasionally - even with abundant care - my 16GB MBPro runs out of application memory and the dreaded "No more application memory available" dialog appears.

Fortunately we are still able to access Activity Monitor:  and the first thing I do is kill the web browsers that tend to accumulate large amounts of memory over time.

Less fortunate is that - even after verifying that the Memory Used + Swap Memory are less than 10GB combined, it is still not possible to resurrect the Paused applications.

If it were not possible to resuscitate the paused apps - then what good is this notification?  Are we compelled to simply kill the apps ourselves?  Given there is now sufficient memory for any of the remaining open apps to continue then why are they still unable to do so?

Not in front of my mac right now, but basic steps would be:

Open the Terminal application: just type Terminal into Spotlight
List the running processes : ps -ax
Find the process you want to unpause. You need its PID *Process Id
To unpause, strangely enough you use the "Kill" command on the process with the CONT flag: kill -CONT [app_pid] dont forget the -CONT as otherwise you will kill it instead of unpausing. In your example that'd bekill -Cont 69971

You can get the pid from the Activity Monitor if you have that column showing


Why is my S key intermittently typing ß inßtead of s <----See MacBook (White) 2.4Ghz Intel Core Duo, 2GB 667 MHz DDR2 SDRAM, OS X 10.6.7

Keyboard language - Canadian English (have also tried US English).  All other languages
removed, computer language ENGLISH.

All keys type fine apart from the S key which frequently types a ß or when capitalized an Í.  I am typing from a USB keyboard which types the S (s - see) fine no issues but as soon as I reach over and type on the laptop - ß there it is.

Have looked and Googled without help, I see a few others with the issue with no resolve.  Ready to throw this computer out the window!

You can check to see what OS X thinks is happening when you press the key by opening the Keyboard Viewer applet.

First, go to Language and Text in System Preferences, to enable it:

Then select 'Show Keyboard Viewer' from the Input Sources icon in the status bar.

Now, when you press the key, you can see which combination of keys OS X thinks is being pressed. You can use the keyboard viewer to enter text, too, in order to work around the problem:

You can confirm this way that it is indeed a hardware problem.


Importing CDA song files into iTunes I have a mac without a disc drive on it, I also have some CDA files on my computer that need to be interpreted into an audio format that is more compatible with modern music programs so that I'm actually able to use them

iTunes is an amazing program to do this with, but it's not letting me import the files into it.

I've tried:

Double-clicking on the files
Right-clicking on the files and choosing iTunes to open them with
Dragging and dropping the files into iTunes (Even though I was pretty sure that wouldn't work because of the way drag and drop works)
Importing the CDA files into Audacity

Also, I'm having some trouble finding another converter online, and since I love the simple design of iTunes, I would much rather prefer to convert the files on there.

CDA files are not song files, it's just a shortcut.
It doesn't contain any song information, so you can't convert it to other formats.
You need to import cd into a usable format using iTunes on the computer that owns the disc drive.

=======

Note that macOS sees them as "exec" files just because it does not recognize the file type and does not know what else to do with it.


Reset and reformat external SSD to APFS I have got this 256GB external SSD that I had divided in two partitions with 2 bootable versions of macOS: 10.11 in one partition and 10.12 in another.

Now I want to just have one APFS partition, but restoring the disk from Disk Utility did not help. I cannot get to a single APFS partition.

This is the output of diskutil list:

  /dev/disk0 (internal, physical):
     #:                       TYPE NAME                    SIZE       IDENTIFIER
     0:      GUID_partition_scheme                        *121.3 GB   disk0
     1:                        EFI EFI                     209.7 MB   disk0s1
     2:          Apple_CoreStorage Macintosh HD            121.0 GB   disk0s2
     3:                 Apple_Boot Boot OS X               134.2 MB   disk0s3

  /dev/disk1 (internal, physical):
     #:                       TYPE NAME                    SIZE       IDENTIFIER
     0:      GUID_partition_scheme                        *1.0 TB     disk1
     1:                        EFI EFI                     209.7 MB   disk1s1
     2:          Apple_CoreStorage Macintosh HD            999.3 GB   disk1s2
     3:                 Apple_Boot Recovery HD             650.0 MB   disk1s3

  /dev/disk2 (internal, virtual):
     #:                       TYPE NAME                    SIZE       IDENTIFIER
     0:                  Apple_HFS Macintosh HD           +1.1 TB     disk2
                                   Logical Volume on disk0s2, disk1s2
                                   5642582C-EEF0-4BFF-AE7E-D2E4BA96E592
                                   Unencrypted Fusion Drive

  /dev/disk3 (external, physical):
     #:                       TYPE NAME                    SIZE       IDENTIFIER
     0:      GUID_partition_scheme                        *250.1 GB   disk3
     1:                        EFI EFI                     209.7 MB   disk3s1
     2:                 Apple_APFS Container disk4         124.8 GB   disk3s2
     3:                 Apple_Boot Recovery HD             124.3 GB   disk3s3

  /dev/disk4 (synthesized):
     #:                       TYPE NAME                    SIZE       IDENTIFIER
     0:      APFS Container Scheme -                      +124.8 GB   disk4
                                   Physical Store disk3s2
     1:                APFS Volume SSD Storage             860.2 KB   disk4s1
     2:                APFS Volume Senza titolo            864.3 KB   disk4s2

I see the two partitions as separate disks in Disk Utility:

Open Terminal and get the details

diskutil list

Below I assume the external "Apple_Boot/Recovery HD" has the disk identifier disk3s3 and the APFS container disk3s2.
Remove "Recovery HD".

diskutil eraseVolume "Free Space" %noformat% /dev/disk3s3

Expand "Container disk4" to fill the free space.

diskutil apfs resizeContainer disk3s2 0

Delete volume (here the volume "Senza titolo")

diskutil apfs deleteVolume disk4s2


RDP Client for Mac with File Copy&Paste Feature Is there any RDP client, that allows to copy&paste files to/from host machine.
RDC for Windows (at least the last one) does it, RDC for Mac 2.1.1 does not.

iTap RDP for Mac (http://itap-mobile.com/desktop/rdp/) supports clipboard redirection and a bunch of advanced RDP features (RemoteFX, TS Gateway to name a few). I use it on a daily basis.


Does the coupons.com printing uninstaller leave anything behind? A family member installed the coupons.com printing software on my Mac. Googling around tells me that the uninstaller doesn't fully remove elements of the installation from the Windows version. I haven't been able to find any information on the Mac version, however.

I'm not encouraged by the fact that the installer wants you to quit your browsers before running it, but there are no obvious extensions installed in either Safari or Chrome.

I don't really know specifically about the "coupons.com" printing software, but there are some ways to find out if there are some things left behind by the software. These are the best places to look:

Macintosh HD/Applications/
Macintosh HD/Library/Internet Plug-Ins
~/Library/Application Support/
~/Library/Caches/
~/Library/Containers/
~/Library/Logs (These are just text logs. No
real trace)
~/Library/Preferences/
~/Library/Printers/

If you need something more user-friendly or automatized, try the "CleanMyMac" app.

PD: The fact that it needs to quit your browsers it's actually a good thing. It might be removing plugins or extensions.


Get first item in list using AppleScript How do I get the first item from a list into a variable?

I'm trying to get the first window of an application's windows.

I tried

tell application "System Events"
    repeat with theProcess in processes
        if not background only of theProcess then
            if processName is "Xcode" then
                set theWindow to first window of windows
            end if
        end if
    end repeat
end tell

but it throws this error:

  Can't get window of every window.

Unless you have an explicit need for going about it in the manner shown in your question, I'd keep it much more simple and use:

tell application "System Events" to set isRunning to exists (processes where name is "Xcode")
if isRunning then set theWindow to (first window of application "Xcode")

Otherwise, modifying your existing code block in the following manner will get that same result as the two lines of code above:

tell application "System Events"
    repeat with theProcess in processes
        if not background only of theProcess then
            if name of theProcess is "Xcode" then
                tell application "Xcode"
                    set theWindow to first window of application "Xcode"
                end tell
            end if
        end if
    end repeat
end tell

If you want to use the first two line of code in my answer in a more tokenized manned, as an example, use:

set appName to "Xcode"
tell application "System Events" to set isRunning to exists (processes where name is appName)
if isRunning then set theWindow to (first window of application appName)

Then all you need to do is set appName to the target app in the first line of code and the two lines of code following it stand as is and do not need to be edited for use with other app names.


Blued and syslogd Eating CPU and Flooding system.log My machine occasionally goes into a state where almost 100% cpu is eaten by syslogd and blued. At that time, numerous copies of the following block appear in the console:

4/29/14 10:31:45.000 AM kernel[0]: Item[208]: mID: 216  [0xffffff802ed70000]  OpCode 0x0401 (HCI Inquiry) from: blued (40)  Asynchronous  status: 0x00 (kIOReturnSuccess) state: 1 (WAITING) timeout: 43210
4/29/14 10:31:45.000 AM kernel[0]: mHCIRequestDeleteWasCalled = FALSE
4/29/14 10:31:45.000 AM kernel[0]: expected events = kBluetoothHCIEventCommandStatus
4/29/14 10:31:45.000 AM kernel[0]: expected explicit complete events = kBluetoothHCIEventInquiryComplete
4/29/14 10:31:45.000 AM kernel[0]: possible intermediate events = kBluetoothHCIEventInquiryResult
4/29/14 10:31:45.000 AM kernel[0]: or
4/29/14 10:31:45.000 AM kernel[0]: possible intermediate events = kBluetoothHCIEventInquiryResultWithRSSI
4/29/14 10:31:45.000 AM kernel[0]: or
4/29/14 10:31:45.000 AM kernel[0]: possible intermediate events = kBluetoothHCIEventExtendedInquiryResult

Any ideas what may be causing this and how to resolve?

Blued and syslogd are both daemon processes. Blued is your Bluetooth daemon process and syslogd is is your logging console daemon (crash reported, console log files etc). Blued is connected to your console daemon so I guess that blued is actually the cause of your problem while the syslogd issue is only a result of the blued's problems. Looking at the error it seem that there is an communication error and your blued process is just waiting for a response from a device. The error is that your blued command is your host communicator interface (HCI) and an request is send but without a response. It's weird that blued waiting from the kernel from a response it putting it in a 100% CPU state.

Disconnect every bluetooth device in your device list and turn off every device that tries to connect to your Mac. Now re-connect every device again to your mac.
Remove all bluetooth caches

Turn off bluetooth
Remove /Library/Preferences/com.apple.bluetooth.plist
Remove ~/Library/Preferences/ByHost/com.apple.Bluetooth.*.plist
turn bluetooth on again

If you turn bluetooth off from the bluetooth menu, does blued eat less cpu? If you turn bluetooth on or off the blued keeps running. If the blued keeps running normal when bluetooth is turned off it could be an hardware issue
Did you update the bluetooth firmware up to the latest version as well as your mac OS X software?

edit:
option 5, it could be caused by cheap and crappy bluetooth hardware connected to your mac of course.


Is there a way to use the CMD button in the right side as a different button? You know in the keyboard we have 2 CMD buttons, one on the left side of the SPACE and on on the right side.

My question is, can I make OSX treat the one on the right side as a completely different button? So I can assign different actions to shortcuts such as CMD(left) + K and CMD(right) + K.

Thank you.

You can use KeyRemap4MacBook (Karabiner) to remap your keyboard.

Karabiner

A powerful and stable keyboard customizer for OS X.

 - You can easily customize from prepared settings.
 - You can also add your own settings by XML.

https://pqrs.org/osx/karabiner/


Mimic Xcode's camelCase selection keyboard shortcuts in OS X I spend a very large amount of time editing text in Xcode, and I would like maneuvering around text within the rest of the Cocoa Text System to offer an identical experience. There are 3 versions of cursor keyboard shortcuts that I use regularly in Xcode (only showing forward, non-selection-altering versions for brevity):

⌃+→Move cursor 1 subword forward (^camelCase -> camel^Case -> camelCase^)
⌥ Option+→ Move cursor 1 word forward
⌘ Command+→ Move cursor to the end of the line

The OS X default keybindings respect 2 and 3, but there is a disparity with 1. Outside of Xcode, ⌃+→ behaves like ⌘ Command+→. It's not applicable terribly often, but every time ⌃+→ takes me to the end of a line in Mail or something, it's like a little firecracker goes off in my brain. It's just annoying enought that I'm willing to invest in any hackery to "fix" the behavior once and for all.

To avoid covering old ground, I'm already aware of this little tidbit, and this list of selectors, but I'm not aware of any API in the Cocoa Text System for subword selection. Maybe there's undocumented API in there somewhere?

I don't always attempt to make camelCase selections outside of Xcode with keyboard shortcuts, but when I do I want OS X to obey.

Sorry but what you want is not possible.

You could try adding the XCode keybindings that do this

"^\UF702" = "moveSubWordBackward:";                     /* Ctl-Left Arrow */
"^$\UF702" = "moveSubWordBackwardAndModifySelection:";  /* Ctl-Shift-Left Arrow */
"^\UF703" = "moveSubWordForward:";                      /* Ctl-Right Arrow */
"^$\UF703" = "moveSubWordForwardAndModifySelection:";   /* Ctl-Shift-Right Arrow */
"^\177" = "deleteSubWordBackward:";                     /* ctl-delete */
"^\UF728" = "deleteSubWordForward:";                    /* ctl-forwardDelete */

into your ~/Library/KeyBindings/DefaultKeyBindings.dict file but unless the application is written to respond to these methods, it won't work.  As you've said, these methods are not part of the standard Text System so these calls in an app will just go unanswered or you will get a system beep.


Preview: How to edit the color of only the selected area? I have an image of a hand that I want to change the color of only the sleeve for:

I used the magic wand and it highlighted the area I wanted. However, when I open up the "Adjust Color" tool and slide the sliders, the adjustments affect the whole image and not just the highlighted / selected area.

I want to make changes only to the sleeve. Is this possible in preview?

Open the original image in Preview and carefully select the required portion to change. (the sleeve?) Do COPY then close the image. in Preview do a NEW FROM CLIPBOARD. Make your changes on  this then  COPY.
 Open the original and PASTE the changed selection onto this. Adjust the position as required...hope this works for you. It does for me:


Used boot camp for windows - cannot select partition at boot up I'm used boot camp and created a partition for windows. It gave the usual directions to insert windows CD. I did that and follows the installation instructions. When windows started up I inserted the OSX Leopard disk to install the drivers.

Now I cannot restart to OSX. It automatically starts to windows every time. I cannot hold down option and choose the partition. I didn't overwrite the OSX partition. It shows up when I click on "My Computer". Whats going on? Did I accidentally overwrite the OSX boot loader?

I believe once you install Boot Camp, the computer will boot into Windows by default unless you change it. Presumably, you're holding down the option key immediately on startup, it should be pressed as you hear the startup chime?

Apart from holding down the option key at startup, if you find you can only boot into Windows, this Apple support page tells you how you can change the default startup volume from Control Panel.

  This startup volume selection is temporary.  To set the default startup volume for your Mac after your computer is running, open System Preferences and choose Startup Disk from the View menu (in Mac OS X) or open the Boot Camp control panel (in Windows).

Also, do any of the other Startup key combinations work, e.g. Safe Boot or Single User Mode?


How to stop MacBook Air desktop being shown on another computer on network I have recently upgraded all computers to macOS Sierra V10.12.4 and found to my surprise that my MacBook Air's desktop files and folders are being mirrored on another, more public, computer on the network.  To avoid embarrassment I want to stop this.  I cannot find a way to do it - any help would be appreciated.

On the other computer that is public. Open iCloud preferences and turn of iCloud files. Consider signing out of iCloud entirely on that other computer.

For even more protection:

Turn off iCloud document sync on the source computer (or move the sensitive files to another folder that doesn't sync to iCloud). This eliminates the ability to access those files from iOS, though.
Store sensitive files in an encrypted DMG - they will still sync, but without a password to unlock the image - the files are not indexed or accessible.

In the future, Apple's new file system will allow file level encryption so that you can be less selective about sensitive files syncing but more selective about which are locked from inadvertent access (whether spotlight or just opening the file). This is probably 18 months off or more for total iOS / macOS adoption of APFS and file based encryption.


Will jailbreaking allow me to run apps that require iOS > 4.2.1? I have an iPod Touch (2nd gen), which can't update past iOS 4.2.1. I can't download many apps anymore, so I was wondering if jailbreaking it would allow me to download the things I want? I don't even mind actually paying for some stuff, it just won't allow me to download it says I need the iOS 4.3 which I can't even upgrade to.

No - we have several related questions, the best phrasing of this problem is here:

How can I make an app think it's running on iOS 5?

The newer software has code the app needs to run, so faking apps out still leaves them crashing when they call the code that only exists in iOS 5 to run.


Fullforce on iPad 4 uses iPhone keyboard instead of iPad keyboard I've just install the tweak "FullForce" from the Cydia store on my iPad 4th generation to make Google Maps app full screen capable, but the app uses the iPhone keyboard instead of the iPad keyboard.

Is there a way to solve this issue?

Nope, it is not possible to change that. The tweak works, but is limited in what it can do.


airport -s -x returns truncated output I am the author of wifi-wand, a Ruby command line utility that can be used as a simple way to manage the Mac's WiFi (https://github.com/keithrbennett/wifiwand) without having to learn all the different underlying Mac OS commands and their options.

To get a list of network names, I used to use airport -s but found that it does not work because since the network names are right justified (left padded), there is no way to know if leading spaces are part of the name or just there for formatting. So I use airport -s -x to get the information displayed in (pseudo-)XML.

This almost always works, but I've noticed in several locations, if there is an HP printer network, the output terminates somewhere in that element. For example:

           <key>SSID_STR</key>
           <string>DIRECT-0E-HP OfficeJet 4650</string>
           <key>WPS_PROB_RESP_IE</key>
            <dict>
                    <key>IE_KEY_WPS_AP_SETUP_LOCKED</key>
                    <true/>
                    <key>IE_KEY_WPS_CFG_METHODS</key>
                    <integer>0</integer>
                    <key>IE_KEY_WPS_DEV_NAME</key>
                    <string>DIRECT-0E-HP OfficeJet 4650</string>
                    <key>IE_KEY_WPS_DEV_NAME_DATA</key>
                    <data>
                    RElSRUNULTBFLUhQIE9mZmljZUpldCA0NjUw
                    </data>
                    <key>IE_KEY_WPS_MANUFACTURER</key>
                    <string>HP</string>
                    <key>IE_KEY_WPS_MODEL_NAME</key>
                    <string>OfficeJet 4650 series

Without the -x option, the output works, but, as I say, there is the space issue that prevents me from relying on it:

                        SSID BSSID             RSSI CHANNEL HT CC SECURITY (auth/unicast/group)
                NETGEAR25-5G a0:04:60:1a:5a:89 -67  153,-1  Y  -- WPA2(PSK/AES/AES)
 DIRECT-0E-HP OfficeJet 4650 ac:e2:d3:a9:d9:0f -90  6       Y  -- WPA2(PSK/AES/AES)
                      iPhone b2:8d:6c:9f:dd:00 -49  1       Y  US WPA2(PSK/AES/AES)
                   NETGEAR25 a0:04:60:1a:5a:87 -62  9       Y  -- WPA2(PSK/AES/AES)
                   CBCI-4F58 60:3d:26:57:4f:5c -86  6       Y  -- WPA2(PSK/AES/AES)

What's going on and how can I fix this?  Thanks in advance.

(The Github issue is at https://github.com/keithrbennett/wifiwand/issues/20.)

This HP related error is confirmed at https://clburlison.com/macos-wifi-scanning/, which says:

When you run airport with the --xml flag the command would fail to output properly formatted xml data...one idea is that HP printers are broadcasting a SSID with unsafe characters...

[which is close, but it is the model name, not the SSID, that seems to generate the error]

Building off of the idea of trying to match the BSSID and removing that to the end of the line, I came up with this:

airport -s \
| sed 's# ..:..:..:..:..:.. .*##g ; s#^ *##g ; 1,1d' \
| sort -u

The sed line is actually 3 part:

Match the BSSID by looking for 2 characters separated by colons, repeated 5 times, and then everything to the end of the line (.*)
Match from the beginning of the line (^) and then any number of spaces (.*)
Deleted the first line (1,1d) which has the header information we don't care about: "SSID BSSID RSSI CHANNEL HT CC SECURITY (auth/unicast/group)"

The sort -u line makes sure each SSID only shows up once.

Maybe it's not ideal, but it might be an option.

The only possible "gotcha" I can think of is that I think sometimes BSSIDs can be reduced to 1 character instead of 2 if the first character is a zero, but I'm not sure if airport does that, and none of the networks I have access to include a zero in them, so I can't test for it. Maybe someone who is better at regexes can suggest a better one that what I have.


Unified Logs | macOS High Sierra I have macOS unified logs from System A in .logarchive format. Any attempts to parse the .logarchive in System B using log show command provides following error:

bash-3.2#log show /tmp/unifiedlogsv2/unifiedlogs.logarchive
        ==========
    /private/tmp/unifiedlogsv2/unifiedlogs.logarchive
        ==========
    log: Archive format needs updating (to version 3), doing so will render the archive unreadable by older tools.
    Re-run log with --force if you want to allow this upgrade

When run with --force option, the following error is displayed:

bash-3.2# log show --force /tmp/unifiedlogsv2/unifiedlogs.logarchive|more
log: warning: The log archive contains partial or missing metadata
log: Could not open log archive: The log archive format is corrupt and cannot be read
==========
/private/tmp/unifiedlogsv2/unifiedlogs.logarchive
==========

The same logarchive opens fine in Console. My objective is to parse the logarchive using the log show command. Any suggestions how to do so?

The man log page shows two switches, --file file and --archive archive. You will likely need to include one of them when working with archives from another system which didn't originate on the local system.

log show [--archive archive | --file file] [--predicate filter] [--source] [--style default | compact | json | syslog] [--color auto | always | none]
     [--start date/time] [--end date/time] [--[no-]info] [--[no-]debug] [--[no-]signpost] [--last time [m|h|d]] [--timezone local | timezone]

The man page goes on to detail those 2 switches like so:

    --archive archive
                     Display events stored in the given archive. The archive
                     must be a valid log archive bundle with the suffix
                     .logarchive.

    --file file      Display events stored in the given .tracev3 file. In order
                     to be decoded, the file must be contained within
                     a valid .logarchive bundle, or part of the system logs
                     directory.

Example

Since you're working with .logarchive formatted files you likely want to use the --archive switch:

$ log show --archive /tmp/unifiedlogsv2/unifiedlogs.logarchive


Enable/disable Time Machine depending on network connection type I've not got a great Wi-Fi setup here at home and it sometimes results in failed Time Machine backups.  Is there a way of specifying that Time Machine only backs up under certain circumstances - i.e. Ethernet connection is active...?

This AppleScript will check if the Ethernet connection is active, and then run a Time Machine backup if so.

First, disable Time Machine in System Preferences. The below method will run it automatically.

While connected to Ethernet, you will need to run one command manually to confirm which interface Ethernet is assigned to. Run this command:

ifconfig

It should output a screen full of information. What you are looking for is a section labeled en with a number after it, and whose last line is status: active, like this:

en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    options=b<RXCSUM,TXCSUM,VLAN_HWTAGGING>
    ether 00:25:00:ef:30:3c
    inet6 fe80::225:ff:feef:303c%en1 prefixlen 64 scopeid 0x5
    inet 192.168.1.68 netmask 0xffffff00 broadcast 192.168.1.255
    media: autoselect (100baseTX <full-duplex>)
    status: active

Note the number next to en at the beginning - this is the interface that your Ethernet connection is running on. In the script below, where it says en9, replace 9 with the number from above. (If you have a Mac Pro, it will most likely be en0 or en1. Otherwise, it will likely be en0.)

if (do shell script "ifconfig en9 | awk '/inet/ {print $2}'") is not equal to "" then
    do shell script "/System/Library/CoreServices/backupd.bundle/Contents/Resources/backupd-helper &"
end if

Save this as EthernetTimeMachine.scpt into your home folder (/Users/<yourusername>/).

Next open up Terminal and type the following command:

pico ~/crontab

This will open up a text editor to allow you to schedule this script to run on an hourly basis, just like Time Machine does by default. Paste this line:

@hourly osascript ~/<yourusername>/EthernetTimeMachine.scpt

Press control+X then type y and press return to save and exit.

To disable it, go back into Terminal, again use the command:

pico ~/crontab

Then delete the line you added above and use the same steps to save and exit.


Bookmark all tabs in Chrome on iOS? Is there is a way to bookmark all of my tabs at once without having to go one by one while in Chrome for iOS?

There is no direct way to do this in Google Chrome for iOS.

However there is a work around:

It requires you to have sync enabled on both your iOS device and a Mac or PC running the desktop Google Chrome OS.

On the desktop computre launch Chrome, then go to the menu bar, and select History > Show Full History or press ⌘ + Y.
On the left side select "Tabs from other devices".
Find your device in the list and in the right corner press the three dots icon.
Now choose "Open all".
This will open every tab from your iPhone in a new window.
Now click "Bookmarks" from the menu bar and select "Bookmark All Tabs..." or press ⇧ + ⌘ + D.

You will now be able to save all these tabs as bookmarks and that group will sync back to your phone due to the sync feature you already enabled.

Based on a tip from: Reddit


Im trying to run a webserver in iMac but it doesn't work in port 800 Im trying to run a local web server Mongoose on mac, its default settings is listening on port 8080,I want to change it to 800 but it doesn't run mongoose once I changed it to 800. What seems to be the problem?

You have to run as root to bind to the privileged ports (<1024). You can run Mongoose via sudo, but then you will have a web server running as root. Not a good idea!

Changing user with run_as_user parameter also seems to be unsupported on Mac:

Mongoose[22361:507] The application with bundle ID (null) is running setugid(),
    which is not allowed.

Why don't you pick a port above 1024 e.g. 8081? Then you can run as unprivileged user.

For troubleshooting you can run Mongoose in Terminal.app like this:

sudo /Applications/Mongoose.app/Contents/MacOS/Mongoose


Failed to upgrade to OS X High Sierra with two non-descriptive errors I've downloaded "Install macOS High Sierra.app" from the Apple App Store. On launching I get:

"This copy of the Install macOS High Sierra.app application is damaged, and can‘t be used to install macOS."

This error can be fixed by following the steps (from https://discussions.apple.com/thread/7675283?start=0&tstart=0):

Go to your applications folder.
Find the installer.
Right click on the installer and click "Show Package Contents".
Click on the folder named "Contents".
Click on the folder named "SharedSupport".
Delete the file named "InstallInfo.plist".
Enter your administer password to confirm.
Now open the installer.

After deleting InstallInfo.plist, the installer runs. When it gets ready to restart, I get the error message:

"An error occurred while preparing the installation. Try running this application again." (see screenshot)

Searching for this error online suggests it can be linked to a mismatch between the system time and the time server, but my computer has the correct time and is set to update the time automatically.

I am currently running:

OS X El Capitan version 10.11.6. (Note that I was also not able to upgrade to Sierra 10.12, with similar errors)
MacBook Pro (Retina, 13-inch, Early 2015)
Processor 3.1 GHz Intel Core i7
Memory 8 GB 1867 MHz DDR3

I had the same problem with an iMac,

just delete the update program from your mac and re download it from the App Store.

If that won't work you should make a Backup with Timemachine and reset your Mac. Try to update again. if it works, recover your data from the backup.

Check this link if you need help with the reset of your system.
https://support.apple.com/kb/PH25649?locale=de_DE&viewlocale=de_DE


Sandvox: Only reachable within local network I have several Mac Minis using several OS (10.7.2-Intel Core 2 Duo, 10.8.5-Intel Core i5, 10.5.8-Power PC, 10.9.5-Intel Core i5, 10.6.8-Intel Core 2 Duo). I am using serving pages from all and built the sites using Sandvox. Until a couple of weeks ago everything was running fine. Also using DynDNS. Recently i modified some info on several and now Sandvox replies:

Only reachable within local network

Every pertinent port in the router is open… internally the page is webserved…

help!

thank you for your time and knowledge

Hello… It was the DynDns software… reinstalled and almost everything is good now… only some bugs now


Can a 2009 MacBook Pro use more memory than Apple's 'maximum RAM' figure of 8 GB? I have a 2009 MBP with 8GB of RAM. I run Windows under Parallels pretty much all the time (I use Visual Studio for work). I recently installed an SSD to speed it up a bit and its running beautifully. However I could do with having a few extra gigs available to the Windows VM and was wondering if it would be worth buying 2 x 8GB SIMs to enable this. Apple states that the maxiumum for MBPs is 8GB, but I have seen figures online (possibly at OWC) which would suggest that Apple's specs are just guidelines which can be over-ruled.

Does anyone have any experience of 'overloading' their Macs with RAM? OSX can address terabytes of memory so I thought perhaps it was availability of chips which is the limiting factor ...

Update

These are the specs for my Macbook Pro 5,5

As bmike refers to, YMMV, but...

Yes.  I had a 2008 MBP which has a listed 'maximum' of 4GB even though the slots would accept up to 8GB.  This machine worked wonderfully for a couple of years.  It was replaced though still works.

I am not sure if installing above the supported maximum voids your warranty, but it may be something you want to look into.  I just didn't care when I did it.


mac mini multi-display reconfiguring repeatedly I have a new mac-mini with HDMI + 2 thunderbolt-hdmi adapters.
Waking up the mini results in screen blanking repeatedly as it adds and removes displays.
Repeatedly.
Like 20 times.
For 2+ minutes.

I blame displaypolicyd but cannot find any documentation related to it.
The output in /var/log/displaypolicy/displaypolicyd.IGPU.log updates during the blanking, having entries like:

u>234091110954 LinkUpdate: 2.0 event: Insert [0]
u>234091111015 NOTICE: Addr: 2.0 event: Insert [0] source: 0
u>234091271092 NOTICE: Do online device addr 2.0 processCount 1
u>234091279665 NOTICE: Sync LinkTrain Port: 2: SST, 2 lanes @ HBR2
u>234091363536 NOTICE: FB AGDC state FB[0] - ON
u>234091363604 NOTICE: inject FB[0] change
u>234091400720 NOTICE: Do online device addr 2.0 - completed
u>234091685347 NOTICE: kIOFBNotifyOnlineChange 0x6 fb[ 0 ] -> online, Wed May 15 12:37:36 2019
u>234091685426 NOTICE: Update display map to fb[ 0 ] - online
u>234094043845 LinkUpdate: 2.0 event: Remove [1]
u>234094055235 NOTICE: Addr: 2.0 event: Remove [1] source: 0
u>234094055258 NOTICE: Do offline device addr 2.0 flags 0x0
u>234094055276 NOTICE: FB AGDC state FB[0] - OFF
u>234094055316 NOTICE: inject FB[0] change
u>234094237162 NOTICE: kIOFBNotifyOnlineChange 0x7 fb[ 0 ] -> offline, Wed May 15 12:37:38 2019
u>234094237198 NOTICE: Update display map to fb[ 0 ] - offline
u>234094237208 NOTICE: Release fb[ 0 ] resources
u>234094237244 NOTICE: Do LT off on port 2
u>234094237264 NOTICE: Port[2] - DP link down
u>234095319140 LinkUpdate: 2.0 event: Insert [0]
u>234095321284 NOTICE: Addr: 2.0 event: Insert [0] source: 0
u>234095492773 NOTICE: Do online device addr 2.0 processCount 1
u>234095501124 NOTICE: Sync LinkTrain Port: 2: SST, 2 lanes @ HBR2
u>234095583915 NOTICE: FB AGDC state FB[0] - ON
u>234095583964 NOTICE: inject FB[0] change
u>234095618927 NOTICE: Do online device addr 2.0 - completed
u>234095916433 NOTICE: kIOFBNotifyOnlineChange 0x6 fb[ 0 ] -> online, Wed May 15 12:37:40 2019
u>234095916542 NOTICE: Update display map to fb[ 0 ] - online

Why cant it just wake up and keep the last display configuration it had?
I'm tempted to play with the config, but fear rendering the mini display-less.

update:

The Thunderbolt-HDMI adapters are Apple D200s seen here:
https://www.apple.com/shop/product/MJ1K2AM/A/usb-c-digital-av-multiport-adapter

The displays are Dell U3415W and two Dell U2413s.
No DisplayLink adapters are involved (though I have several of those laying about).

Had similar issues for awhile, resolved via...

Changing combination of adapters / cables / ports as underlying ASICs (Application-specific Integrated Circuits) seemed to have different preferences / properties / thresholds.
Disabling 'Energy Saving' / 'Eco' / Etc. mode on connected displays.
Connecting displays to non-'eco controlled' (master / slave) outlets on surge protector / UPS (if using one).

My assumptions are (and flag if you wish to, anyone ; ) a combination of utilized ASICs in active / passive adapters & cables ± the state of software / hardware development and compatibility across vendors.

Some references which outline the spec as well as some of the same / similar issues below but, essentially, getting Apple, VESA / DisplayPort, DisplayLink, third-party vendors, etc. all on the same page and playing perfectly nice with each other can be… 'tough'.

(Apparently I can't actually share all the links to the references so… workaround = shared Evernote here.)

P.S. Since my case did involve (1) actual USB DisplayLink device [USB w/ DVI-I Dual Link-to-HDMI adapter then HDMI cable to display] in addition to (1) Mini DisplayPort-to-HDMI cable + (1) pure HDMI male/male cable, that’s a lot ICs and muxing in the mix there, only one of which was declared DisplayLink, so who knows what’s inside the others? Perhaps installing the newest DisplayLink drivers resolved multiple issues, therefore might suggest as a potential #4 scenario. (Driver download link is the last one listed above. : )

https://www.evernote.com/l/AASmqLZN5kZFsLnjD1VoDbLASs0i0w4O29U


Mavericks: notifications no longer displaying I recently upgraded to Mavericks (download from app store).

Before this upgrade, I could click on the the notifications UI element at the very top-right of the display; this would cause the whole screen to shift to the left and display a list of notifications:

Now, after the upgrade, this UI element simply turns blue during the mousedown, and nothing else happens.

Are there any known fixes or workarounds to this?

I should add I am experiencing a similar but not identical issue with the spotlight UI element:

When I click on this one, I just get a "bonk" sound and no spotlight search bar.  However I can use spotlight without problems from finder windows, etc.

I don't know, but I'm guessing these two issues may be related simply because of their proximity on the screen.

Other taskbar UI elements appear to be working normally.

First, check your settings in System Preferences > Notifications. You may have Do Not Disturb enabled.

  For com.apple.notificationcenterui.plist. It's located in your user library, not root level where you may be looking.

  Open the Finder. From the Finder menu bar click Go > Go to Folder

  Type or copy paste the following:

  ~/Library/Preferences/com.apple.notificationcenterui.plist

  Click Go then move the com.apple.notificationcenterui.plist file to the Trash.

  Restart your Mac.

  I can't locate the com.apple.soagent.plist in either user or root.

  If deleting the com.apple.notificationui.plist file did not help, reinstall OS X >  OS X Mavericks: Reinstall OS X

  That will reinstall any missing system files required for the Notification center.

From https://discussions.apple.com/message/25351691#25351691


Delete iMessage chat history from work MacBook How do I delete all the iMessage chat history and logs from my work MacBook but still have them on my iPhone (they are synced).

The Mac is running macOS Mojave 10.14.

You can simply disable the iMessage account on your Mac.

Open Messages app preferences (by using keyboard shortcut Command + ,), go to iMessage tab. Under Settings just below your Apple ID, uncheck Enable this account.


How do I remove or disable the Photos app in El Capitan? When I try to drag Photos.app or certain other bundled system apps to the trash in El Capitan, I get the error

  “Photos.app” can’t be modified or deleted because it’s required by OS X.

The solution in Yosemite would be simply to use

$ sudo rm -Rf Photos.app

but this method is blocked in El Capitan.  You instead get

  Operation not permitted

I tried to change permissions with

$ chflags -R nouchg Photos.app

to no avail.

There must be a way around this!

UPDATE: I have unselected my answer because an icon-less and half-working (see screenshot) version of Photos.app appeared on my system and opened automatically on SD-card insert.  This worked and did not cause problems for months, and now Photos is back

El Capitan has a new feature called System Integrity Protection. It does not allow the deletion of preinstalled apps.  This link gives details for disabling it.  The short of it is:

Restart and hold Command+R to go into recovery mode.  Open "Terminal", found in the "Utilities menu" and use the commands

$ csrutil disable; reboot

to disable SIP and reboot.  Now open Terminal.app normally and do

$ cd /Applications/
$ sudo rm -Rf Photos.app

and live happily ever after.

A few caveats: I don't know what SIP does specifically, but this post suggests you should at least re-enable it right away (and perhaps not disable it at all, ever).  Go ahead and do that by using the command

$ csrutil enable; reboot

in Recovery mode (see above).  I also don't know whether El Capitan has Photos.app-dependent system processes or not, so your mac may potentially not work the way you want it after this.  I have protected myself by first Archiving Photos.app and leaving Photos.app.zip in /Applications/, but again, I don't even know if this is good enough.  So proceed at your own peril!

Finally, this will work to get rid of any bundled system app (but the same or more severe warnings apply).


Install macOS High Sierra won't Delete I am kinda running out of room on my Mac, and in System Information (comes up when I click "manage" in "storage" of "About This Mac"), I saw that "Install macOS High Sierra" was taking 5.21 GB.

I thought that deleting it would solve my storage problem for now. I had it because I recently updated my mac to macOS Mojave 10.14 which I love, but that dang file won't go away. I click it, then delete. Then, I get a confirmation, "are you sure" and such.

After clicking "delete" I enter my password for permission because its an "application change". Then, the top tab goes away and nothing happens. I've been thought this process a few dozen times and I have no idea why nothing happens.

How can I get rid of the file and reclaim the space?

It’s in /Applications but has a slashed circle symbol over it.

Had this issue for a while and stumbled on the solution this morning.

Open Applications folder in Finder
Right Click 'Install macOS *****'
Click on "Show Package Contents"
Click and Drag Contents folder to Trash
Empty Trash
Click and Drag the Application to Trash
Empty Trash

All Gone!


external drive for ios products I just purchased a cloud ftp usb adapter for my ipad so i can access my data.
What these companies dont tell you is that the ipad must sync or download the files from hdd to ipad to access the data, which makes it ridiculous if your trying to watch video or listen to music.
My question is: Does anyone know how to stream the data from an external storage device so that accessing feel natural like a laptop?

edit: Air Video with a mac mini server pretty much did what i was looking for. Hopefully a HDD that offers something similar will be available soon.

Apple TV does most of this especially if u pay $25 a year for iTunes Match. Anything downloaded is available on all devices including the Apple TV...


Does MacOS on M1 prioritise arm binaries later on path? I'm trying to nix my new M1 Mac with home-manager and I'm thinking I might wanna skip xcode devtools altogether.
I've installed nix and home-manager and built a generation with git, but:
viktor@Viktors-MacBook-Air result % which git
/usr/bin/git

So this is the fake Mac binary that prompts to install devtools.
However, my real git from nix is before on PATH:
viktor@Viktors-MacBook-Air result % echo $PATH
/Users/viktor/.nix-profile/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin

Only thing I can think of is that MacOS somehow continues traversing PATH until it finds a arm64 executable?
viktor@Viktors-MacBook-Air result % file /Users/viktor/.nix-profile/bin/git
/Users/viktor/.nix-profile/bin/git: Mach-O 64-bit executable x86_64

viktor@Viktors-MacBook-Air result % file /usr/bin/git
/usr/bin/git: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64] [arm64e:Mach-O 64-bit executable arm64e]
/usr/bin/git (for architecture x86_64): Mach-O 64-bit executable x86_64
/usr/bin/git (for architecture arm64e): Mach-O 64-bit executable arm64e

I have rosetta installed and the real git works fine from full path.
I am using zsh as the shell
Am I misunderstanding the executable resolution? There's no alias at play at least, but is there something else going on?

This was just zsh caching at play.
You need to run rehash after you change $PATH which rebuilds zsh cache and then executables are found as expected.
See Section 3.1 of the Z shell guide http://zsh.sourceforge.net/Guide/zshguide03.html

There is a subtlety here. The shell tries to remember where the commands are, so it can find them again the next time. It keeps them in a so-called hash table', and you find the word hash' all over the place in the documentation: all it means is a fast way of finding some value, given a particular key. In this case, given the name of a command, the shell can find the path to it quickly. You can see this table, in the form key=value', by typing hash'.
In fact the shell only does this when the option HASH_CMDS is set, as it is by default. As you might expect, it stops searching when it finds the directory with the command it's looking for. There is an extra optimisation in the option HASH_ALL, also set by default: when the shell scans a directory to find a command, it will add all the other commands in that directory to the hash table. This is sensible because on most UNIX-like operating systems reading a whole lot of files in the same directory is quite fast.
The way commands are stored has other consequences. In particular, zsh won't look for a new command if it already knows where to find one. If I put a new ls command in /usr/local/bin in the above example, zsh would continue to use /bin/ls (assuming it had already been found). To fix this, there is the command rehash, which actually empties the command hash table, so that finding commands starts again from scratch. Users of csh may remember having to type rehash quite a lot with new commands: it's not so bad in zsh, because if no command was already hashed, or the existing one disappeared, zsh will automatically scan the path again; furthermore, zsh performs a rehash of its own accord if $path is altered. So adding a new duplicate command somewhere towards the head of $path is the main reason for needing rehash.


Where to find a picture from photo library on the file system? Using the get info on a picture inside the photo library, I'm getting a name a can't find on the file system anywhere in ~/Pictures/Photos Library.photoslibrary/....

Where can I get the physical location of a file ?

Oddly enough you did get the physical location of the picture.

It is inside the Photos Library.photolibrary package

While you can open that package file by right-clicking or control-clicking on that file and selecting "Show Package Contents" it is generally not a good idea to do this as just deleting the original will not remove it from the Photos.app. In other words the next time you launch Photos that picture will seemingly still be there.

Your best bet is to delete the picture from within the Photos.app and stay out of the photolibrary package.


Can I download a free app from the App Store without a credit card? I just recently got an iPod Touch and wanted to download some free apps. The App Store wanted me to get an Apple ID, no problem. But now it's telling me to input a credit card. I don't have one, and anyway shouldn't need one to download free apps.

I did some searching here and on Google and found out that there should be a "None" option when selecting credit cards, but it was not there. I then read that it's disabled in some countried, so I tried telling iTunes that I'm in the US (I'm in Argentina), but still no "None" option. Later, I read that apparently this feature was disabled in iTunes 10, so I installed iTunes 9, but I still don't get the option.

How can I get the No Credit Card option to appear when downloading an app for the first time? It doesn't make sense that you should need a credit card for free stuff.

EDIT: To clarify, I already made an account in Apple's website, I'm looking for a way to be able to select "None" when buying an app through iTunes.

To get an app for free (if you didn't get the choice to pick None as payment option) you should open your installed ITunes program. Then from within the program go to ITunes Store and pick any free app and try to buy it (Google Translate or some other one). It will tell you to login/register into ITunes. If you create account from there you will have a choice to pick None as payment option.

This worked for me several times for my customers.


AirPlay turned off and can't be turned on I have a MacBook Air and with no apparent reason the AirPlay icon has dissapeared from the desktop. When I go to System Preferences → Displays, the status of AirPlay shows "Off" and there's no way to change it since it doesn't show the "On" option.

The AirPlay icon in the menu bar is only shown when an AirPlay device is available, per the option ‘Show mirroring options in the menu bar when available’ (emphasis mine).

You're unable to change the option from Off because there are no AirPlay devices to choose from. There is no ‘On’ option ever, only a list of devices to choose, except there are no devices found so the list is empty.

There is never an AirPlay icon on the desktop.


Is it advisable to calibrate the battery on a MacBook? How useful or necessary is it to calibrate the battery on a MacBook?

If it is, should it be carried out when first purchased and does calibration of the battery mean it will also last longer?

There is almost no value in a user trying to "calibrate" a unibody MacBook's internal battery since it has multiple cells and the system handles this continually.

Older MacBook that were non-unibody construction with removable batteries did benefit periodic calibration runs to update the Mac's estimation of time remaining. Calibration didn't actually give you more power, just a more accurate estimate of the time remaining before that battery needs a recharge.

The canonical reference for which models can benefit from calibration is Apple Portables: Calibrating your computer's battery for best performance.
A nice primer on battery technology in general is Apple's Lithium-ion polymer batteries site.
For more technical data, I like reading at the "Battery University" site.

If you seek to extend the time between when you buy a battery (or computer) and the time when it needs to be replaced three things will help prolong the useful life of your battery.

Discharging it until the Mac sleeps at least once every month or two.
Not letting it drain totally for months.
Avoid exceeding the re-charge cycles (new models typically are rated for 5 years and 1000 equivalent charge cycles).
Avoid storage in very hot temperatures and use (charging / discharge) in hot temperatures.

In the end, you might pay between $100 and $150 for a new battery, but something that happens once every 3 to 4 years, Apple's new battery technology is far better than the old days where heavy users needed a new battery yearly and failures were far more common.


Cloning Macbook Pro HD to external HD and still using it I am still on Mavericks and want to upgrade OS X, but since I use a lot of audio apps, plugins etc that would break - I am looking for a way to clone my entire Macbook Pro 1TB SSD as it is right now including OS X to an external 1TB drive. I then want to do a fresh install on the Macobook, but still be able to boot into the Maverick clone from the TB HHD to finish older projects, so I don't have to port everything.

What's the best and especially savest way of doing this?

I have had good luck by booting into recovery mode and using Disk Utility to clone the drive before doing major OS X upgrades.

The steps:

Plug in your USB drive.
Boot your Mac into recovery mode by holding down command+r from the start of boot.
Once the recovery menu comes up, select Disk Utility and click Continue.
Select the drive you want to clone and click the "Restore" tab.
Drag the destination (USB) drive to the "Destination" field.
Click "Restore".

Once the process is complete, reboot the computer and hold down alt / option and select the drive you've cloned to. This is good to be sure it's functional before upgrading OS X on the main drive. Some software will detect that something's different (Dropbox, Photoshop) and may ask for credentials or to be setup again. But the vast majority of software just works as if nothing happened.


Is it a bad idea to have a folder and a notebook in a different folder with same name? I just realized that I have a folder and OneNote Notebook (that is located in a another folder) with the same name. Is this a bad idea? Could the filesystem mix them up?

You can easily have files (and directories) with the same name in different directories. You actually already do, even a plain macOS installation contains files/directories with the same name in different directories) (e.g. /System/Library and /Library, and then ~/Library for each user account).


Can I delete folder Developer-3.2.5? I saw a similar question (Can I delete the /Developer-3.2.6 or /Developer-3.2.5 folders?), but I am unclear if it would break anything. That question assumes the user is not a developer, so I was a little worried and would like to be sure before I do anything. Can I delete this folder? I updated to Xcode 4, but I am unsure if deleting this would remove things that I may need. For example, before Xcode 4 came out, I installed Xcode 3 to compile my C programs (gcc).

Right now, there is a Developer and a Developer-3.2.5 folder, so I assume Developer is for Xcode4 stuff.

Yes, you can absolutely delete the folder Developer-3.2.5 - it shouldn't effect your workflow in any way UNLESS you want to add an older SDK at a later date.

If you are interested in seeing more discussion about it, there is also an Apple Support Community thread that essentially says the same thing - that you don't need the folders.


The command for alias local='...' gets run on terminal open I have an alias set up in my .bash_profile file: alias local='npm run start-local', and for whatever reason when I open a new terminal session it is trying to run that command  npm run start-local immediately. It works fine if I rename it to "local2". What could be causing this?

I got this alias from my coworker who uses it regularly, and the only difference I know of is that he is not on Mojave.

Edit: something interesting I noticed is that if I change it to alias local='echo ' then I see

NVM_AUTO_MODE
NVM_CURRENT
NVM_MODE
VERSION
-bash: fork: Resource temporarily unavailable

Which adds evidence that it is running my local command when something is trying to  use the local variable.

I could not recreate what you have said is happening to you.

Saying that I would say that: It is really very dangerous to invoke local as your alias

Because the word local is a shell builtin, a reserved word for the default Bash shell to define a local variable in Bash script inside a Bash function. If you do type local from a new terminal window after removing it from your alias or by unalias local and then you would see it says:

local is a shell builtin

That is why, when you changed your alias to local2 from local it worked fine since local2 is not a shell builtin.

However, if you are using Korn Shell (version 93u+), local is not a shell builtin there. But, in most other shells local is a reserved word or shell builtin. So, in short: local should not be stored as an alias

For more information about shell builtin, look at man page: man builtin

Also, as mentioned by Gordon Davidson, there is definitely something calling the local variable and since you have overridden it as an alias for npm, it is running each time you are opening a new session.


Know how many windows are open for an app at a glance Is there a way to know at a glance how many windows are open for an app?

In the dock, using El Capitan, a black dot appears under running app icons, but if windows are on top of each other (i.e. Chrome main window, and Chrome Gmail composing new mail popup), there seem to be no way of knowing it without doing an Exposé of the app.

I would say the quickest way is to right click/ctrl-click/hold down on the dock icon. This opens a menu, where you can see all the open windows, even those in full screen, which do not appear in App Exposé. As this menu can grow to be quite long, you want to look for the section with the icon  on each line, and a tick next to one of the elements. The number of times this icon appears represents the number of windows of this app currently open.

Here are two examples of this menu for different apps:

Terminal (2 windows open)

Pages (3 windows open)


How to not import duplicates from shared Photos album When I import photos from a shared library, either from my own Family album or one shared with other iOS users, they are imported as expected. I cannot reimport them again.

However, if you share a picture in a shared album yourself (e.g. originating from the Photos.app on on my Mac), you can import that photo again once in your library. Resulting in duplicate photos.

This occurs in the Mac OSX Photos app, version 1.0.1 (215.65.0).

I'm aware that 'duplicate' in the technical definition may not be accurate; the imported photo in this case will have a different filename and be of lower resolution. But from a functional perspective it IS a duplicate.

Is there any way to avoid importing these duplicates so every now and then I can safely select and import a bunch of pictures from a shared library, without having to cleanup the duplicates afterwards?

Note that I've seen a similar older question, which is only for iPhoto.

Update 11 Jan, 2016: This is still an issue with the latest version of Photos v1.3 (350.23.0)

Open Photos app in OS X as usual.
Pull down the “Photos” menu and choose “Preferences”
Under the “General” tab, look for “Importing: Copy items to the Photos library” and uncheck that box to disable image copying.
Close Preferences.

Happy snapping! :)


Clean install a Macbook without another Mac A friend of mine recently bought a new laptop and passed me his old Macbook Pro 6,2. I think he had Lion on it, but the installation CD has been long lost.

I put in a new disk (he kept the original one), but how do I install OS X now?

Command+R gets me into Internet Recovery, but asks for an Apple ID (well, I registered for one). Then it complained the Apple ID was not used on iTunes (well, I loaded iTunes on my Windows laptop and set up the account, added the credit card details, etcetera, I even registered the serial number to my Apple ID on the website).

Now it tells me that my Apple ID has not purchased Mountain Lion, but will not let me buy it from there, nor can I do it from iTunes. According to this Apple support question, you have to use

  one of your personal authorized Macs

Well, I don't have another Mac! How am I supposed to do this?

This is an interesting situation.  If you have access to an Apple Store, I suspect that going to them would be the easiest way to resolve the problem.  Otherwise, if you have access to a Mac even temporarily, you should be able to sign in on the App Store using your Apple ID, and purchase Mountain Lion that way.  From here, I'm not sure if you'll be able to install Mountain Lion using Internet Recovery, because it is likely for Lion and not Mountain Lion (and I don't know if the Lion Internet Recovery supports Mountain Lion), however, from here, if you download the image, there are various tutorials that you can follow to either burn the installer to a DVD, or copy it to a USB flash drive, for instance: http://lifehacker.com/5928780/how-to-burn-os-x-mountain-lion-to-a-dvd-or-usb-flash-drive

As these are not officially supported solutions, my suggested option would be a visit to an Apple store.


Can I use setup assistant to move files to a Mac with a newer OS? I would like to migrate all my accounts, settings and applications from a OSX 10.7 Lion Mac Pro to a brand new OSX 10.8 Mountain Lion iMac.

Would Setup Assistant be able to move my files to a newer OS?

Yes, you can. Lion and Mountain Lion are compatible in this regard.

You can read Apple's official support document for details on completing the transfer.


When I drag a pix from Photos to the desktop, why doesn't it stay where I dropped it? I'm using El Capitan and the Photos app.

I drag-and-drop a photo from Photos onto a visible spot on my desktop.

The problem is, the photo icon appears elsewhere on my desktop, so to do anything with it -- double click to open in another app -- I have to minimize my application to locate it wherever it end up on the desktop.

I feel like Mac OS X didn't used to do this, that it file icons appeared exactly where they were dropped.

Is there some setting I have to enable/disable to make this work?

Thanks!

It seems you have some kind of auto arrange enabled. Right-click on the desktop and disable Sort By / Arrange By.


Edit column browser of a playlist in iTunes 12.4 Whenever I create a new playlist a new design is showing up. The problem here is, I can't edit the column browser anymore i.e. create a new column or change its order or size.

Is there a way to solve this problem? If it's not possible, is there a way to go back to the previous design without downgrading iTunes?
I've heard that this new design was for the "Playlist" mode and back in 12.2 you were able to change this mode back to "Song" mode. Unfortunately, I wasn't able to find it. Is it gone, too?

Here's a picture of the old design:

And here one of the new design:

I've been able to find the tool where you're able to switch between these two modes. It used to be on the upper right, but now you can find it in View As/Title on the View menu.


How to recover an accidentally deleted new pages document I accidentally clicked "delete" (clicked too fast thinking it was cancel) on the save new document prompt when exiting Pages. After one bad click, the file is completely gone, with no clear way to undo the mistake.

How can I recover (some version) of this lost document?

For anyone else that might have done this, here is my solution:

I created another new document with a unique string and searched spotlight to find the directory where autosaved Pages files live. With that directory open in Finder, I could use Time Machine to find the old autosaved file ("Unsaved Pages Document.pages") from an hour ago.

For me the directory was:

  ~/Library/Containers/com.apple.iWork.Pages/Data/Library/Autosave
  Information


Is it possible to select the previous similar text in Sublime? In OSX, command + D will allow us to select the next similar text in sublime, but command + shift + D will duplicate the text. Is it possible to select the previous text? If so, what is the keyboard shortcut?

You can Find Previous by using:

⇧ ⌘ G

Using (Shift + Command + G) will jump back to similar selected text, then you can tap (Command + D) to select multiples.


Enter user/pass dialog for acrobat app install: no text visible, can't type into text boxes / press buttons (pic) Has anyone ever seen this? I wish I could describe it better, but I hoped the picture could do the talking.

This is on a clients computer, running Mavericks, and as you can see trying to install Acrobat.

This dialog box pops up, which would normally ask you to enter your username and password, but instead no text is visible, and you can't enter text or click any buttons.

We've experienced one of these empty dialog / password request buttons. It appears when installing any types of software it seems (such as Vectorworks for example),

If you type in your normal password (the text won't show up), it will go away.


How can I alter the tempo of a song? We have a dance competition approach and the song we've chosen is 3:54. The rules say the song cannot be more than 3:30. We have to provide copies of the song on a CD, a USB stick and an iPod/iPad/iPhone which means we cannot rely on realtime slow-down software on an iPhone alone to make the tempo adjustment.

We must record it and save it as a new file and then copy it to all the medium.

I have a friend with a Mac who is willing to alter the file for us -- what does he need to do to change the tempo of the song so it fits in to the 3:30 run length requirement?

Audacity has a change tempo effect you could try in the Effects menu. It might end up making it sound funny, so you will obviously want to listen to it once the effect is applied, but it doesn't simply play it back faster which would change the pitch (that is the change speed effect.)

If my math is right you will want to change it by +11.4% to get from 3:54 to 3:30.


Mail app is multiplying mails when saving them When I'm writing an email with Mail, the email is going to be saved automatically each "X" minutes.
The thing is, it is saved in my Archives folder every times it gets automatically saved ; that means I get the email saved 4-5 times maybe more.

It really bothers me, and it takes a lot of space into my account, I guess.
This is also happening on my gmail app on android.

Anyone could solve this problem ?

Here is a screenshot of the problem :

Thanks for helping me !

Got it !

The problem is that "Show in imap" about drafts was unchecked on gmail.

If you go to Settings->Labels and check "Show in IMAP" for the "Drafts" system label after selecting "Enable IMAP" from the Settings->Forwarding and POP/IMAP menu then it worked for me.

Finally.


Which graphics applications work with Intuos3? MacBook Pro laptop, Running Mac 10.14.6 I just purchased a used Intuos3 from our local university auction.  Plugged it into my laptop and everything seemed to work just fine.  The only problem is that I don't have an application that will allow me to draw.  Several programs such as TextEdit and Pages have no problem with the pen controlling the cursor but there is nothing on the page.  LibreOffice Drawing will not work.  I have tried gimp and reset the input devices trying them all, but it does not allow the pen to control the cursor.  I am running out of ideas.  Please send me suggestions of applications/software that might work.

Thank you, NDDonna

Wacom doesn't work as 'plug & play', you will need compatible drivers - see https://www.wacom.com/en-us/support/product-support/drivers


Gmail Draft emails do not sync properly between Apple Mail.app (on Mac) and iPad My Gmail drafts are not syncing properly between Apple's Mail.app (on the Mac) and the Mail app on the iPad. What is the proper way to set up drafts so that they sync properly?

First - you'll want to set up two draft messages. One on the iPad and check using a gmail web interface if it's really storing the drafts properly to gmail. The iOS uses exchange active sync, but that shouldn't matter to you - either the iPad is storing it to the server (as viewed through mobile safari or any other web interface to gmail) or it isn't.

Repeat for Mail.app on the OS X. Here, you have more control (and more opportunity to set it up improperly).

The main item that would cause issues is if mail thinks it's not supposed to store drafts on the server. See the Accounts preference for your gmail account.

From there, you'll have to use the help menu to look into how to manually synchronize or run the connection doctor to see if/why mail isn't able to store drafts as directed. The last resort would be to hit up the google support link provided at the bottom of the mail account pane. Hopefully, you can suss it out with these tips.


Disk space used by iPhoto/iMovie libraries on OS X How can I tell how much space my iphotos and imovies are taking on my Macbook Pro hard drive? I've checked the applications from my finder, but iphoto and imovie are not listed there.

iPhoto pictures are stored in ~/Pictures/iPhoto Library
iMovie movies are stored in ~/Movies/iMovie Events (iMovie 9) or ~/Movies/iMovie Library (iMovie 10, name may be different as my system runs on German settings)

Select the library and type Cmd+I to open the "Get Info" window which also shows file size (may take a while to calculate).


Sync single photos from Mac to iPhone I'm trying so send photos from my Mac onto my iPhone. I don't want to sync whole folders.

Is it possible to "sync" single selected photos without deleting all the others? Granted, "sync" is the probably the wrong word here.

I know I can send them via email to my iPhone, but assuming that I have no internet, what else can I do?

Its difficult to give the best answer without knowing which photo manager you use and how often you'd to transfer a photo. For rare transfers, email and Dropbox are good solutions.

For a more sophisticated approach, I use a smart album in Aperture together with a keyword called "Sync." Now whenever I add the Sync keyword to a photo on my Mac, it is automatically added to the Sync album, which is set (in iTunes) to sync with my iPad.


Quick typing not possible after key remap I followed the tips in this thread. The TN2450 remaps the keys correctly, but a new problem has surfaced: The keys do not register when pressing more of them at the same time. Example: If typing the letters f and t fast after eachother, the t does not register if it is pressed too early. The f key has to be completely let go before pressing the t key. The problem can be replicated by holding the f key down while quickly press the t key multiple times. The first press does not register, but all the following presses does. The problem does not regard all remapped keys. The problem is not symmetric; the order of the keypresses matter. Problematic combinations:
ft
pø
ke
gd
jn
ul
yj
li
rp
sr
tg
ds
nk
ef
iu
oy

ok. I see the pattern now: If the old version of the key is pressed after the new version of itself, it does not work. Is there some infinite loop problem going on?

The problem is present on both the Macbook keyboard and the external Magic keyboard.

Sounds like your problem may be with keyboard, not software.  But worth a try is the following. Go to system preferences / Keyboard and click on keyboard tab.  see image below.

There is a slider to adjust the delay time between keys. Make that time as short as possible.  This feature is for holding down a key and having it repeat but should work in your case too.


How to recursively edit path of symlinks? This is an additional question that began with this one - How to edit Symbolic Links in OS X?

Now that I know how to edit the path symlinks point to, I'm trying to figure out how to do this recursively for any broken symlink.  I'm a PHP guy, so this CLI stuff is somewhat foreign to me...

There seems to be a few specific elements to this, namely:

Identify a broken symlink and retrieve its location
Get the old, now-incorrect, destination for the symlink
Construct the new correct path for the symlink to point to
Edit the symlink

The first is fairly easy:

find /path/to/search -type l | while read f; do if [ ! -e "$f" ]; then ls -l "$f"; fi; done

This gets me a nice list of all broken symlinks found below the supplied directory.  But I believe I would need to store the location of each in a variable (array?) to work with it.

Next, it seems that changing the action supplied in the "then" portion of the logic, would yield the solution.

Item 2 can be retrieved using:

readlink /path/to/broken/symlink

So it seems we need to shove that into a variable.  I'm unclear on how to do this in terminal.

Number 3 would be a simple edit to the path retrieved during step 2.  I need to replace the old drive name, with the new.  So changing:

/Volumes/Old\ Drive/path/to/symlink

to

/Volumes/New\ Drive/path/to/symlink

Also unclear on exactly how to do this within a CLI script.  Some sort of string replacement appears to be needed.  Something like str_replace in the PHP world.

Finally step 4 can be done via:

ln -f -s /path/to/new/location/of/original /path/to/location/of/broken/symlink/

as detailed in my other question, previously linked above.

How exactly would I string these concepts together, to accomplish my desired outcome of fixing all my symlinks in one shot?

From the top of my head (and without any testing at all):

Create a text file with the following content

#!/bin/bash

find "$1" -type l | while read symlink; do
    if [ ! -e "$symlink" ]; then
        old_path=$(readlink "$symlink")
        new_path=${old_path/Old Drive/New Drive}
        ln -f -s "$new_path" "$symlink"
    fi
done

Make it executable by running chmod +x name-of-file
Run ./name-of-file /path/to/search

This is untested so try it with a sample directory first.

To add some explanations

old_path=$(readlink "$symlink") runs the command in $(...) and assigns the result to $old_path
${old_path/Old Drive/New Drive} does text substitution on $old_path


How do I know which Python install is being used? If I type the command which python, then I get:

Oliviers-iMac:~$ which -a python
/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python
/usr/bin/python

If I then type python --version, how do I know which Python install I'm getting the version of? Are the two locations above 2 different Python installs?

/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python is most likely a symlink.

readlink on a simlink will give you the target.

For example on my Mavericks installation I have following :

$readlink /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python
python2
$readlink /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2
python2.7

Which means when I run python it actually runs /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7

Also there is something funny, when running /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7

Try this

>>> import sys
>>> print sys.executable

Which will return this :

/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOs/Python


iTerm2 - Disable same commands across tabs Terminal app in Sierra keeps crashing so I switched to iTerm. But iTerm tabs behave weirdly. Whatever I do in one tab automatically replicates across all open tabs! Am I missing some setting to turn this off? Please help.

Attached a gif showing that I open 1 file in tab 3, upon switching to tabs 1, 2 I see the same file open.

In the Menu: Shell > Broadcast Input > Send Input to Current Session Only


After the image has been saved, can I still edit text-boxes & shapes in Preview.app? If I add text boxes and shapes to an image using Preview.app, save that image, and then close the image window, the next time that I open the image in Preview, all additions are uneditable.

In other words, all edits are made permanent upon save.

Is there a way to retain the ability to modify markup elements in Preview.app?

If you convert the image to a PDF, and then edit the PDF, you can edit the additions in Preview.app, even after saving.

To save an image as a PDF, you can use:

File → Export As PDF...
File → Export...
File → Print → PDF → Save As PDF...


Stop Safari from asking to be default browser My default browser is currently Firefox. On those rare times when I do open Safari, it displays a message at the top of the Favorites page asking if I want to make Safari my default browser. How do I make this go away?

Edit 1: I am using High Sierra.

Without knowledge of your macOS version:

Open System settings
Choose General
Choose from the pop-up menu in
the default-Browser section your preferred browser.