Safari icon from iPhone showing in macOS Dock Just now a Safari icon appeared to the left of my Dock with a tooltip saying it was from my iPhone. I have never seen this before! What is the point of it, why has it appeared today for the first time, and why has it now disappeared again?

This is Apple Handoff in action:

  With Handoff, you can start something on one device (Mac, iOS, or Apple Watch)   and then pick it up on another without losing focus on what you’re doing. For example, look at a webpage on your iPhone, then pick up where you left off in Safari on your Mac. You can use Handoff with many Apple apps—for example, Calendar, Contacts, Pages, or Safari. Some third-party apps may also work with Handoff.

(Image and text attribution: Apple.com)


iOS jailbroken: native storage on an external drive? Since I have a faster internet connection now, and I like watching screencasts, I've started to explore YouTube downloader apps, but there's a lot of apps that I would like to use by downloading data overnight.

There are several iOS Wi-Fi hard drives on the market now, but of course each one provides access to the drive only through its own limited app.

So, using a jailbroken iOS device, how could I take the native filesystem (or the directory where all apps live and store their data) and extend it to an external (networked) drive, so that my apps would think I just happen to have a 2TB iPad?

Theoretically? Yes.
Practically? No.

You would first need to build nfs for iOS. Then, you would need to make the YouTube downloader application save its movies onto the network drive. As far as I can tell, nobody has worked on nfs for iOS, so unless you know a lot about programming for iphoneos-arm, you might just be out of luck. You wouldn't be able to extend the user partition onto the network drive, though, so none of this would be transparent to the apps. You could symlink the Documents folder for each app that you'd like to have access to your network drive, which would give you the same effect (assuming you can get your drive mounted).


Question mark folder after reboot and cannot detect other boot option! My mac froze during some heavy hard disk activity which forces me to power down the machine.

It's a 13 inch MacBook Pro with mountain lion which I bought roughly last year but updated the OS.

But after starting again, all I can see is a folder with a question mark flashing.

I try to reset the nvram but it's the same.

When I click on option button on restart and go into disk utility, I do not see any other disk besides the disk-0 which have 1.39GB space.

Does this means my partition is corrupted or something?

Please advise.

Thanks!

just to update.

the hard disk actually crashed!!!

omg, can't believe that actually happened.

and the guys at the service center told me my data was unrecoverable...

guess i learn my lesson the hard way.

so what i did was after they renew my mac with a new hdd,

i bought myself two external hdd,

one for time machine backup

and one for all my other files,

so i don't keep any master copy of data on my mac hdd anymore.


I am not able to see or use cut/paste in lion I upgraded to lion on the day it was released. After that I updated my system twice even then I am not able to see any cut paste option as specified here.

Mine is still:-
Note: Command+Option+V  is not working for me. Nothing happens :(

You have to press the Option key BEFORE clicking Edit on the Menu. This will dynamically change the menu to show the "move" option.


Safari Bookmarklet - accessing DOM I've tried following bookmarklets:

  javascript:document.body.style.width='50%';

or

  javascript:document.getElementsByTagName('body')[0].width='50%';

They both work in console, but not in bookmarklet. What is the reason?

They both work fine as Chrome's bookmarklets.

Also, this bookmarklet works fine (on HTML5 videos):

  javascript:document.getElementsByTagName("video")[0].playbackRate=2.5

Safari requires that a literal percent sign in a URL (%) be URL-encoded in a bookmarklet (%25...while it looks like that's just 25 added, the percent sign followed by two numbers is decoded to a literal percent sign). Also, the property is .style.width, not just .width.

Change your bookmarklet to this:

javascript:document.getElementsByTagName("body")[0].style.width='50%25';

I've confirmed this works in Safari v8.0.6 (OS X 10.10.3).


Upgrading jailbroken iOS 5.1.1 iPhone to (regular) iOS 7.1 I'm trying to upgrade and the new OS downloaded but everytime I want to install it, I get:

Software Update Unavailable

Software Update is not available at this time. Try again later.

I read that this means I should try later, but I tried many, many times yesterday and today and it didn't go through. Supposedly the device needs to contact Apple to sign the new OS. I also doubt there is so much traffic to Apple servers now, this update is not that new (8 days old). So I wonder if the message is because of either a jailbreak or because something is wrong (bug) when upgrading for such an old iOS to 7.1.

Are you attempting to update OTA on the device? Don't do this — the error message is helping you by preventing you from updating your jailbroken device like this. Instead, restore the device using iTunes to the latest iOS, then restore from backup if you wish.


My husbands account is also showing my Bookmarks, how can I disable? All my bookmarks are also on my husbands user page, I would like to remove them and read one question as to sign out of my Apple ID when in his account but its asking me if I want to make a copy otherwise all my data will be removed from this mac but will still be available on my other devices .... I just daren’t risk losing everything on the mac either in my user page or his ... has anyone come across this problem and how did you solve it ?

You shouldn't be using the same Apple ID for two different people, so ideally yes you should sign out of the Apple ID entirely and create a separate one.

If you still wish to use the same Apple ID, you can just disable Safari sync by opening System Preferences → iCloud and disabling Safari.


OS X 10.12.16: "URLs with the type 'afp:' are not supported" I am mounting an AFP volume hosted on a FreeBSD server using netatalk. I am able to successfully mount the volume using mount_afp. However, I am mounting it for the purposes of Time Machine, and it seems that unfortunately mount_afp changes the permissions of the mount directory to 700, root:wheel so that the user is unable to access it.

So I am trying to mount the volume normally from Finder, unsuccessfully, with the above error code.

The URL I am using to mount it is
afp://user:pass@server/VolumeName

I have discovered that AFP is now deprecated, and that I will need to turn to other mechanisms to provide the remote Time Machine. I presume this is the reason for this error message.


How do I find how much space the camera roll is using on my iOS device? Since iOS5, when I want to find out how much space I have left on my iPhone I go to

  Settings > General > Usage

Where can I find out how much space is being used by the Camera Roll?

For whatever reason, iOS doesn't break out the size of the Camera Roll as well as other data that is potentially in the cloud like mail, contacts, calendars and photos and videos in the camera app.

If you absolutely must see the size of your Camera Roll without the help of a Mac or PC, you can measure it indirectly by turning on iCloud backup and seeing the space that did/will take on the last/next backup.

Open the Settings app and go to:

iCloud > Storage & Backup > Manage Storage


Can I run an eGPU on a Linux Partition of a Macbook Pro? I'm hoping to do some machine learning / tensorflow tasks with my eGPU, but after it arrived today, I realized that tensorflow discontinued support for Mac NVIDIA GPUs.

I'd like to install a Ubuntu partition and run the most recent tensorflow-gpu package on that. Would the eGPU still be supported in that case? Would any extra steps be needed to set it up in macOS before running it in Ubuntu?

If you install Ubuntu as a dual boot arrangement, both operating systems run independent of each other. In other words, when booted to Ubuntu, the Mac preforms the same as any other PC. The only involvement with the macOS would be the need to create enough free space to allow Ubuntu to be installed.


Can't find "setting -> iTunes & app store -> password settings" on iPhone I want to turn off password for free apps on my iPhone. But when I followed some tutorials found on the Internet, that is, setting -> iTunes & app store, there's no password settings option. Is there anything wrong?

I'm using iPhone 6+ with ios 12.2.

From article Manage your iTunes Store and App Store password preferences:

Touch ID or Face ID will always override whatever preference you set.

So first turn off Touch ID for iTunes by:
Settings -> Touch ID & Passcode -> Turnoff Touch ID for App Store.
Then go to Settings -> iTunes & App Store -> Password Settings.


How to become Apple iOS certified technician? is ACMT enough? I cant find if ACMT (Apple Certified Mac Technician) cover also iOS devices, I work in big company full of iPhones and we send to repair at least 10 iPhones every month so it will be better to repair them at the company. What certification I need to be able to repair phone without loose warranty?

You need both certificates so you can fix iPhones as well. Also if your company is registered as Apple Authorized Service Provider Program you can. If you need help with the certificates one very good app. is IT Technicians Professionals on Apple Store, you have all questions up to date.


I can't find an app that I purchased (wasn't free) anywhere? There is an app called "Calum Von Moger Fitness" and I bought it and stupidly deleted and then when I tried to find it again I couldn't! Strangely I cannot find it in my app purchase history.

I am not happy because I paid for this app and it just disappeared!

Not available in the U.S. App Store:

"The item you've requested is not currently available in the U.S. Store, but it is available in the Ireland Store. Click Change Store to view this item."


MBP resolution changes when connected to an external display Until recently, I was able to connect an external display to my 2013 MBP Retina without a problem. As of the past week or so, connecting an external display results in the resolution of the MBP changing from 2880x1800 to 1440x900. The external resolution is unaffected. I'm unaware of any particular system changes prior to when this problem started.

I use Display Menu to manage the resolutions of both displays and this has worked well for me for the past year or so.

The problem sounds like it's the same as described here: Is there a setting to make the Mac not change resolution when connecting to an external display? except that I'm not trying to mirror the MBP display and mirroring is not switched on.

I guess you have selected Scaled resolution with "More space" option for your MBP screen.
Have a look at that once you connect the second screen. For me connecting external display switches this option to "Default" for my MBP screen automatically.


applescript: get answer and buttons of display dialog How do I get both the answer and the button pressed of a display dialog on applescript?

The following code will get me the text, but not the button:

set myquestion to the text returned of (display dialog "hallo" ¬
          buttons {"h", "a"} default button "a" default answer "")

But how do I get the button which was pressed? I know I can use the following:

set mybutton to button returned of (display dialog "hallo" ¬
          buttons {"h", "a"} default button "a" default answer "")

But how to I get both?

The result returned of a display dialog command is a record, which is a collection of labeled properties, and as such you can code it so the variable contains the whole record and thus afterwards assign a variable for each labeled property within the record as in the following example:

set theResultReturned to (display dialog "hallo" buttons {"h", "a"} default button "a" default answer "")
set theTextReturned to the text returned of theResultReturned
set theButtonReturned to the button returned of theResultReturned

Note the use of the in to the ... can be omitted if you want to be less verbose. Also the variable names can be less verbose as well and were written in this manner for clarity.

You can then act upon the assigned variables as needed/wanted.

Unless for reasons of how/why you're coding it necessitates it, you also can code it in a manner in which separate variables for each labeled property do not have to be explicitly set. For an example logic flow without explicit setting of labeled properties, have a look at the Examples section of the display dialog command in the AppleScript Language Guide.


How to reinstall macOS? I have only Ubuntu 16.04 (no Partitions) running on my MacBook (My model is A1181) but I would like to install macOS, replacing Ubuntu. How should I go about doing this?

Boot your Mac holding down the Command and r keys. This should get you into Recovery Mode.

First get into disk Utility and delete the Ubuntu partition and format it as macOS Journaled HFS+. Once that is done quit out of disk utility and click on Reinstall MacOS.

It will connect to your network via WiFi (so if you can do ethernet, it will go faster) asking you for your WiFi password and proceed to install the version of macOS that your Mac came with.

Once macOS is installed you can log into the mac and then into the App Store and pick a later version of macOS that you want on your Mac if the one that was installed is not as up to date as you like.


Can "Buy with ApplePay" sync between a website and an app? At WWDC2016 Apple announced that ApplePay could be used to make purchases in Safari and they've created a JS API to allow this. From what I can see this is only for once-off purchases, it simply authenticates you and charges your card.

Is there any similar tool to access purchases which have already been made via an app which the website owner has created? For example if someone buys my task management app from the AppStore, can they then go to my website and "log in with ApplePay" or "log in with TouchID" and (if Apple confirms they have purchased my app) they can now they can access the web version of the product, customer-only support, etc.

I do not believe it is possible. Apple makes it very clear that, in order to protect your privacy, they cannot see what you buy with ApplePay. So there is no way ApplePay could be used to look up past purchases.


How to hide the Flagged folder in Mail.app (Mountain Lion)? Since upgrading to Mountain Lion, my Mail.app has sprouted a Flagged folder for each of my Gmail/Google Apps accounts.

I have no use for this and would like to disable or hide it - how can I do that?

To pre-empt some answers, no, this is not a folder that exists in either Gmail account, it's something that Mail.app has made up for itself, much like a Smart Folder.

Drove me crazy too, so I made a mailbundle to right this wrong ;-)  Download it here:
http://eelco.lempsink.nl/NoFlaggedMailbox.zip

Note: I’ll update the plugin every time when Mail.app breaks it for ‘compatibility’ reasons.  Just download it again and run the INSTALL script again to update.  (Might take me a couple of days though.)


USB vs FW400 for iMac G4 external backup drive? I am setting up an old iMac G4 running Mac OS X 10.5.8 as a computer to back things up from my network. I.e. it uses SSHFS to mount network shares and back up their contents (about 120GB) to a connected external LaCie rugged hard drive (the iconic orange one).

The hard drive has USB3 and FW800, both of which are not present on the iMac. However, I have a FW800 to FW400 adapter cable, and the USB3 cable works with the iMac's USB port (which is USB2 right?).

My question is which one will be faster? Does it even matter whether I use the USB3 to USB2 versus FW800 to FW400 connection? Thanks!

Firewire 400 will be considerably faster than USB in this case, as FW has its own dedicated chipset, whereas USB requires CPU time and shares its bus with all other USB devices.


How to export multiple images from Photos on my disk? I imported lots of images in the Photos app.

How can I export the selected ones on my disk? What's the easiest way to do that?

On El Capitan,

Choose the photos and videos you want to export, by clicking on them while holding down ⌘ Command, then do Photos > File > Export


Can I un-jailbreak an Apple TV? I'm considering switching out my Windows-based HTPC for an Apple TV unit that will stream media off a Mac in my house. This will work out okay for me as long as I can jailbreak the unit and install Plex on it. I may just opt to transcode my existing media library but I'd like to explore both options before I decide on a best solution for me.

If I jailbreak and don't like the Plex setup, can I un-jailbreak it and get it back to factory specs? How does one do this?

Yes, doing a restore, similar to how one does this on an iOS device, will reset it to the factory default settings and install.

You do this by going to Settings -> General -> Reset, and selecting restore.

If that doesnt work, you can also plug it into a computer with Micro USB, and use iTunes to restore.

More information is available in this Apple KB.


Skype does not work for a given account I installed Skype on my MacBook Air with macOS Mojave 10.14.6.
The computer has two user accounts.
Skype does not work in my user account, but in another user account it works well.

This is what I obtain if I launch Skype from command line:

❯❯❯ /Applications/Skype.app/Contents/MacOS/Skype
[Updater] initialized with fallback logger. undefined
[Updater] initialized. undefined
[Updater] start() called. undefined
[Updater] Update interval set to 14400000
[Updater] Starting unexplicit update check as the updater was started. undefined
[Updater] Checking for updates, explicit check: false undefined
[Updater] Platform updater feed URL not set. undefined
[Updater] Setting update feed url to: https://get.skype.com/s4l-update?version=8.52.0.145&os=mac&ring=production&app=s4l&t=1570079924901&osversion=18.7.0 undefined
[Updater] Calling startPeriodicChecks with interval 14400000 undefined
Problem initializing the app Error: Application failed to initialize, updater was started.
    at Object.init (/Applications/Skype.app/Contents/Resources/app.asar/ApplicationFactory.js:48:15)
    at Object.<anonymous> (/Applications/Skype.app/Contents/Resources/app.asar/Main.js:21:40)
    at Module._compile (internal/modules/cjs/loader.js:839:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:851:10)
    at Module.load (internal/modules/cjs/loader.js:701:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:633:12)
    at Function.Module._load (internal/modules/cjs/loader.js:625:3)
    at Object.<anonymous> (/Applications/Skype.app/Contents/Resources/electron.asar/browser/init.js:209:8)
    at Module._compile (internal/modules/cjs/loader.js:839:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:851:10)
[Updater] Checking for update. undefined
[Updater] Update not found. undefined

Here is the solution provided by Microsoft:

Many issues are due to current MacOS permissions or other faults that are negatively affecting Skype and other programs (lag/improper execution); not necessarily Skype itself. Here are some possible solutions that can resolve this type of issue and other issues. Many people are successful with #2.

Create a new macOS user, log into that account, try to use Skype. If this works, this proves an issue that exists with the other account, possibly permissions or a startup program. - Since you have done this, so I strongly suggest you try step 2.
Attempt to repair any permission problem in the failing user's account home folder.

Resolve issues caused by changing the permissions of items in your home folder

Once repaired, try to use the latest version of Skype.
Attempt to remove every trace of Skype so that the latest version could be reinstalled without permission or other issues. This would include trashing and emptying any Skype named files located in the Application folder, ~/Library/Preferences, and what Finder could find. Be sure to retain a copy of any history files (main.db file and its folder), if you want to ensure the exportation of older history. - I don't recommend this
Manually Install Standard version of Skype for Mac.


Do I need a credit card on file to get free apps? I am going to preface this by saying I don't think it is duplicate because the other questions are older and ever so slightly different.The only question that really might be a duplicate was asked three years ago and based on someone who is in Argentina.

Do I need to provide a credit card number to get a free app in the United States? I am asking because I want to buy and iPod touch and do not have a credit card!

You can set your payment details to none when you set up your Apple ID. This way you can download free content without the use of a creditcard.


Operating System becomes unstable after prolonged use My setup

uname -a prints:

Darwin Jutsu.local 11.2.0 Darwin Kernel Version 11.2.0: Tue Aug  9 20:54:00 PDT 2011;
root:xnu-1699.24.8~1/RELEASE_X86_64 x86_64

Mac OS X Version: 10.7.3 as of this post
Processor: 2.66 GHz Intel Core i7
Memory: 8 GB 1067 MHz DDR3

Problem

Google chrome starts to time out in an odd way: I'll open a new tab and try to load gmail. It's taking longer then it should, so I try to right click or open the console but nothing happens.

I am able to close the tab and try again - but the page loads and I am unable to do anything on the page.

Troubleshooting

This is what things start to look like when life sucks...

Processes: 97 total, 3 running, 2 stuck, 92 sleeping, 489 threads                                                                                11:59:12
Load Avg: 3.35, 2.46, 1.58  CPU usage: 3.28% user, 27.93% sys, 68.77% idle   SharedLibs: 13M resident, 6744K data, 0B linkedit. MemRegions: 19003 total, 1363M resident, 65M private, 663M shared.
PhysMem: 1037M wired, 2255M active, 272M inactive, 3563M used, 4626M free. VM: 198G vsize, 1118M framework vsize, 1886103(0) pageins, 0(0) pageouts. Networks: packets: 287068/334M in, 164599/24M out.
Disks: 28824/1238M read, 56041/935M written.

I've tried to kill the processes -9 and -15.

The processes end up as such: "(Google Chrome)" - which seems very odd to me.
I'm used to seeing "Google Chrome He" or something like this:

/Applications/Google Chrome.app/Contents/Versions/17.0.963.46/Google Chrome Helper.app/Contents/MacOS/Google Chrome Helper --type=renderer --lang=en-US --force-fieldtest=ConnCountImpact/conn_count_6/ConnnectBackupJobs/ConnectBackupJobsEnabled/DnsImpact/default_enabled_prefetch/DnsParallelism/parallel_default/GlobalSdch/global_enable_sdch/IdleSktToImpact/idle_timeout_10/Instant/SilentExperimentA/Prefetch/ContentPrefetchPrerender1/PrerenderFromOmnibox/OmniboxPrerenderEnabled/PrerenderFromOmniboxHeuristic/ExactFullAlgorithm/ProxyConnectionImpact/proxy_connections_32/SpdyCwnd/cwndMin16/SpdyImpact/npn_with_spdy/WarmSocketImpact/warm_socket/ --extension-process --enable-print-preview --channel=313.0x33f8c00.1296777368

At this point I figure I should just restart or shutdown. But the system becomes unwilling to, stating that it can't shut down any of the current processes. I try to terminate Adium or the Terminal itself and those won't close as well.

This leads me to holding down the power button.    When the system boots back up, everything works as it should, even the kill commands.

Does anyone have a guess as to what might be causing this?

Syslog: (220 was the parent Google Chrome process)

Feb 10 15:06:35 Jutsu Dock[222] <Error>: kCGErrorIllegalArgument: CGSSetWindowTransformsAtPlacement: Failed

Feb 10 15:06:35 Jutsu Dock[222] <Error>: kCGErrorIllegalArgument: CGSSetWindowTransformAtPlacement: Failed

--- last message repeated 1 time ---

Feb 10 15:06:35 Jutsu Dock[222] <Error>: kCGErrorIllegalArgument: CGSSetWindowListGlobalClipShape: Invalid window 0x72

Feb 10 15:06:31 Jutsu Dock[222] <Warning>: trying to take pid 220 out of fullscreen but it is not the current space

Update

This problem is not exclusive to Google Chrome, it happens with iTunes and other applications as well.
"killing" the processes doesn't produce the desired results, but going to Apple Icon -> Force Quit does indeed completely stop the process as it should.

But the system still begins to degrade in stability, for instance, iTunes reports:

"The iTunes Library file is locked, on a locked disk,
or you do not have write permission for this file."

When I tried to exit the Terminal that process became stuck as well (see report @ github).

Rebooting still remains the only viable option.

While your issue may go beyond this, there is one piece of behavior I've noticed with Google Chrome;

When you open a new window / tab, wait for the content to load. Wait for the Top Sites and everything else to appear. If you browse to a site while that's still loading, Chrome rarely allows me to browse to anything else. Wherein if I start having this problem and let the Top Sites content load, and THEN browse somewhere, it works pretty much perfectly and without any problems.

Whenever I'm "stuck" loading content, killing the tab takes time, at least a handful of seconds, but it does eventually happen.

However, I have never had massive computer instability as a result of Chrome, shutdown / restart has never failed to work.


MacBook Pro 15" 2010 keyboard won't work in login screen - Yosemite I did an update to Yosemite yesterday, but today I turned the computer on and tried to type my password in. I couldn't because the keys I P A D K L M C don't seem to be working, I have tried three different keyboards and none work. Two of the keyboards are official Apple. I tried them in my windows laptop and all the keys are working fine. I then booted into the recovery on the MBP and I could type with all the keys. I thought it was fixed so restarted. I then had the exact same problem and am at a loss of what to do. I've tried Apple support, but they are about as useful as a chocolate tea pot. Any help would be much appreciated. Thanks.

Try this...

Start your Mac from the recovery partition. Once it's booted, go to the Utilities menu item and select Terminal. Type in the following command (substituting the OS X startup disk name if different from Macintosh HD)...

rm /Volumes/"Macintosh HD"/Library/Preferences/com.apple.HIToolbox.plist

...and then restart your MacBook.


Compare two folder structures and list files which exist in both, but are different I have a local working folder which mirrors part of a web server’s public folder. I usually work in the local copy and then auto-upload files to the server when saving. Trouble is, I’ve realised lately that a lot of files in my local files appear to be out of date, so whenever I save and upload a file, I’m potentially overwriting a newer version. This is obviously problematic, so I’d like to get all the out-of-date local files up to date.

The best way I can think of to do this is to download the entire public folder as it is and compare each file with my local copy, going manually through files with differences (by comparing them in Visual Studio Code). The public server folder has about 5GB of extra stuff that I don’t need (or want) in my local working folder, though, so I’d have to filter out the unwanted stuff first.

In other words, I’m looking for a way (GUI or terminal) to do the following:

Give two top-level directories as input
Iterate recursively through both directories and pick out files which exist in both (in the same relative location)
Compare each set of matched files and list the ones where the two files are not identical

Is there some reasonably non-complex way of doing this?

You can use diff for this after downloading the public folder:

diff -q -r working-folder public-folder

It will give you the list of files which are different, omit -q to also show a list of the actual differences.

To supress the listing of files only available in public-folder you can easily filter them via grep:

diff -q -r working-folder public-folder | grep -v '^Only in public-folder'

(make sure to replace the public-folder part with the real name in both occurances)


Do Macs care which USB socket you plug devices into? Windows never likes when you stick things into different (USB) holes. It has to recognise the thing again, install drivers, again, etc.

Is that the case with Mac? Eg. I keep Time Machine on a USB drive. Does my MacBook Pro care which port I stick it into?

Not really, or at least not to the same level that Windows does.


About 'Remote Login' how to logout that? It's my first post and I'm not quite good in English. If I explained something not clear please let me know.

For simple when you logged in Terminal.app (on Mac OSX) the prompt should be

<hostname>:<path> <username>$

My local hostname is "Macintosh" but now my hostname is "foobar.com"(don't need to publish this name is for example)

I had enable the Remote function and logged in to the "foobar.com" as my self, confused? So I mean I do all of this on my local.

My local hostname was Macintosh, I enabled System Preferences>Network>Remote Login
I obtained foobar.com to log in.
Then, I logged @foobar.com.
My hostname is foobar.com and my group is staff.
I disabled Preferences>Network>Remote Login
Restart My Mac.
My hostname is still foobar.com and still  :staff.
So, I need to logout to be myself :admin and hostname "Macintosh"
Because I can't do anything as admin, It's weird.

How can I done that?

for additional information If I turn-off Wi-Fi that I
    ssh logged in to myself
That is the result that I need.

Thanks all guys!

I just solved it by myself HeHe!
I think is simple error that I don't know Terminal.app too much.
The cause of problem is I command this

ssh <username>@<hostname_trough_remote_login>

and I didn't know how to logout, so It's just simple way to logout. use

exit

It's solved. (first I used logout)


Keep my music on my phone but not in iTunes I use a MacBook Air with limited storage space, with a 256 GB phone. Is there a way I can download music and sync it to my phone, then delete the files from iTunes afterwards?

This may be possible by configuring iTunes to Manually manage music and videos. Then iTunes shouldn’t require you to have the same songs on your iPhone as you do on your computer.

Another way is to enable iCloud Music Library. This is a paid service that becomes available if you use either iTunes Match ($24.99/year) or MUSIC ($9.99/month).

By now you should have been bombarded with prompts for MUSIC. To subscribe to iTunes Match, open iTunes and open Music → Store, then click iTunes Match on the right hand side:

Your iPhone will then sync music with iCloud rather than with iTunes on your computer, and you will no longer need to keep any music on your computer. In fact this makes your entire music library available for streaming so you don’t even need to keep it on your iPhone either.


2012 Mac Mini not displaying in 1920x1200 on a 27" IPS Display When I plug one display in to the Thunderbolt port I get 2560x1440 and it looks sweet.

Before I purchased another display I wanted to make sure the Mac Mini would display at 1920x1200 via the included HDMI to DVI adapter. But I can't get this to display at that resolution just 1920x1080.

I discussed this with a couple of Mac Genius guys at the Apple store. They didn't think it would do this resolution so I took them to the Apple page that says it will do this resolution via HDMI on the Mini. They suggested that I bring in my Mini and display into the store.

Just wondering do you have to have two displays before OS X displays one monitor at 1920x1200?

The Mac Mini can do 1920x1200 but it is probably the HDMI to DVI adapter doing the limiting.  The Mac will only display the resolutions that it is being told it supports by the connected device.

If you are trying to get the display to 1080p HDTV, it is doing it properly (HDTV is 1920x1080).

If you are trying to get to 1920x1200 for a different monitor with a DVI connector, it probably won't be able to, again due to the limit of the adapter.

The monitor can probably do the 1920x1200 but it can't communicate that to the Mac because the adapter is in the way, which is saying it can only do 1920x1080.

By chance does your display have other connection options, like DisplayPort or MiniDisplayPort?  You can get an HDMI to Display Port adapter which will allow the display and Mac to communicate properly.


Adding options to application, upon startup? I'd like to change how my Chrome starts up (specifically, i would like to add some options --enable-easy-off-store-extension-install

How can i do it please?

You can change the option temporarily by quitting Chrome if it is already open and running either of these commands:

open -a Google\ Chrome --args --enable-easy-off-store-extension-install

/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --enable-easy-off-store-extension-install

You can change the options permanently by replacing Chrome's executable with a shell script or by using another application or script for opening Chrome. See this question.


Language switcher lag When I am changing the language layout (English <-> Bulgarian) most of the times I have huge lag or even buggy behavior. The language indicator says one thing, but when I type it is in the other language.
This actually happens on every OSX version I've used the last years (Mountain Lion - Sierra).
Here is a gif of the problem:

Now I'm totally pissed off and I cannot stand it anymore. Any clues of how to fix it?

Do you have SIRI on?  If so, try turning it off and restarting.

Just in case somebody has the same issue but wants to continue using Siri:
make sure your keyboard shortcut for Siri doesn't conflict with the keyboard switch combination.

Original text:

https://discussions.apple.com/thread/7769867?start=0&tstart=0


MS Word 2016 Turn Off Formatting Marks I'm no longer able to control the visibility of formatting marks in MS Word documents using the "paragraph" button on the top menu/ribbon.  I'm unable to locate an override setting that specifies to always display formatting marks.  Is anyone familiar with how to remedy this issue?

Go to Preferences → View and disable Paragraph marks. This option, when enabled, overrides the button on the ribbon. Disable it to control the marks using the ribbon button.


Possible consequences of forced shut down System specs:

  Model Name:   MacBook Pro
  Model Identifier: MacBookPro14,3
  Processor Name:   Intel Core i7
  Processor Speed:  2,9 GHz
  Number of Processors: 1
  Total Number of Cores:    4
  L2 Cache (per Core):  256 KB
  L3 Cache: 8 MB
  Memory:   16 GB
  System Version:   macOS 10.13.4 (17E202)
  Kernel Version:   Darwin 17.5.0

After I chose "Shut down" from the Apple menu, my apps started closing (as usual), the screen went black and only a frozen mouse cursor (arrow) remained. I waited a little bit and tried to move the arrow without success. Since I had to leave I forced shut down by keeping the Power button pressed for a few seconds.

I've experienced a lot of lock-ups in Windows, and I had to force shutdown many times. Over time, the system became more and more unstable, until I had enough of that crap and decided to migrate to Mac. I've never experienced a single lock-up until today. Could the forced shutdown have consequences on the stability of my OS?

At boot time a file consistency check is performed, usually a quick check to see if the filesystem was unmounted cleanly. If the filesystem is dirty (not unmounted cleanly) then some form of fsck is performed. fsck attempts to fix filesystem metadata not a files actual data. So, there is always the potential for data loss. fsck will not fix some inconsistencies and at some point a filesystem can become inconsistent and cannot be repaired. So, it is best to avoid hard shutdowns though the filesystem is not fragile.


MacBook Pro - Mac OS X 10.5.8 The operating system of my MacBook Pro is Mac OS X 10.5.8. What is the compatible browser I can safely download?

Just use Safari. If not you can try Opera 12

Opera 12 Link: Opera 12 Download


Can I find out through find my phone where my phone last was when the battery died? I can't find my iphone 6 using find my phone and I am not sure if the battery has died or someone turned it off.  Is there any way to find out the last location of my iphone before the battery died or the phone was turned off?

You should be able to locate the phone unless it is more than 24 hours since it was last "spotted" by Find my iPhone. Find my iPhone deletes the locations after 24 hours.


How do I view a webcam image on OS X 10.11 How do I view a webcam image on OS X 10.11. I have a webcam previously used on Windows and just want to use it as a camera.

If you just want to see what your webcam is showing:

Open QuickTime Player --> File --> New Movie Recording

It will give the option to record what your webcam is seeing but you don't have to. It will show a video feed from your webcam.

As an alternative to QuickTime Player you can use VLC.  You'll have to download it from VLC's website.

Once installed:

Open VLC --> File --> Open Capture Device --> Tick Video --> Choose your camera for the drop down list --> Click Open


Weather App where icon shows current temperature and weather on iPhone? It's not always sunny and 73° where I live. Is there any Weather forecasting app for iOS which will change its icon to show current conditions? Or even a way to make the standard Weather.app behave like this?

There are two apps, Celsius and Fahrenheit, that I know of that will add badges to their icons to attempt to give you an up-to-date temperature at a glance. I say attempt because the badge approach doesn't support negative numbers so if your temperature dips below zero for either of those two scales you won't know.

But without jailbreaking your phone that's as good as it gets. The App guidelines from Apple don't let third party apps change their icons.


Available RAM less than what my Macbook is supposed to have When I go into Photoshop and then I look at performance in the preferences, it says that I have "3240 MB Available", whereas I have a 4gb RAM MacBook Pro.
Also, it often crashes, and I frequently have to restart it. (minimum once a day)

Can I be sure it's a hardware problem ?
And if not, do I have ways to test it ?

If you're using a Mac with an integrated graphics card (all 13 inch models) then some of the RAM is used for this and obviously some for the OS, so this seems normal. As a rule of thumb you wouldn't want to give Photoshop more than 70/75% of what is remaining. If you assign too much to it the system won't have anything left for any other processes and we have to do a lot of work creating swap files to move temporary files about. This could be a cause of crashing. On the subject of crashing, if you're copy of Photoshop is not official (not suggesting it is) and not updated then its to be expected.


How to install Windows 10 on external SSD that currently runs OS X? I made the mistake of purchasing a MBP w/ only 128 GB of storage. When I ran out of space on the internal drive, I purchased a 512 GB external SSD, transferred all the data over to the SSD, and now run El Capitan on the external drive and use it as my main startup drive (in fact, the internal drive is completely formatted).

How do I partition the external SSD into two drives, one that runs OS X and the other with Windows 10? The reason I don't want to set up windows on the internal drive is because I want 256 GB dedicated to windows, leaving the other 256 GB on the external drive for OS X.

Boot Camp Assistant seems to only detect the internal drive, so I don't know how to properly partition the drive and install windows 10 on it. I've tried partitioning with Disk Utility as well, but when running Boot Camp again, it only allows me to partition the internal drive. Maybe there is a way to install Windows on the internal drive, and then transfer it over to a 256 GB partition on the external drive?

I'm very new to/unfamiliar with this kind of stuff, so I'm sorry if this is a poor question.

Thanks for your help

As Apple states here:
https://support.apple.com/en-us/HT201456

  Can I install Windows on an external drive?

  No, Boot Camp requires that Windows be installed on your internal hard disk.

There's a workaround, which doesn't use Bootcamp. Personally, I haven't tried it.
http://bleeptobleep.blogspot.gr/2013/02/mac-install-windows-7-or-8-on-external.html


Unlocking Sprint Network I got a phone from a guy, his business bought him a new phone and no longer needed the phone, which i now have.

His old plan was with sprint, and i use verizon. I would think his account has been deleted or something. The phone is not on his plan anymore.

I tried just to put in the verizon SIM in but the phone was locked. I called Sprint asking for a unlock, but they needed an account to unlock.... but there isn't one any more. So using sprint to unlock is out of the deal.

Is there anything else i can try so i can use my iPhone on my network?

You could try lots of things. Your carrier (the one you pay) might know how to help. You could get service with Sprint, associate the phone with that service and then get it unlocked. You could return the phone to the person and ask them to unlock it.

I would keep good notes on what you try and then reach out to your local consumer watchdog resources. Local news like to run "stick up for the local person" stories and there are government agencies that regulate carriers that you could share your efforts with.

It's a human policy issue though in the end, someone with access to a shared database needs to make an entry to unlock your device since they all cooperate and track which devices are locked and Apple doesn't really get involved in this according to any report I've seen.

Worst case, you could recycle that phone for cash or resell it if your time is worth more than the effort it would take to get it unlocked.


what happened to the shuffle option in iTunes Can anyone tell me how to get my iPod touch to shuffle my full music library with iTunes 12.1.0.50?

You need to create a playlist with all of your music in iTunes, add that playlist to you iPod, and then when you select the playlist, you are given the option to shuffle the playlist at that top of the list.


How to disable captive.apple.com? I used a crummy AT&T (*coughAT&Tsymbollookslikedeathstarcough*) router to build a private LAN.  It has no service/DSL connections, there for it detects no internet access (naturally) and will give me this pop-up on a Mac:

This, as you can see, seems to be a Safari window of sorts that is sourcing captive.apple.com.  Because I have no DSL connection, all DNS resolutions get translated to the router's web host.  This means that every 5 to 10 minutes I get this pop-up.  The WiFi connection does work, but I get this annoying pop-up that interrupts my work.

On an iPhone, I have a similarish problem, although it is more consequential.  In Settings --> Wireless it gives me this same page asking me to Log In.  I assume that's the function of captive.apple.com.  I know places like McDonalds or Starbucks will do this to make sure you come in and buy something before getting on their WiFi.

My Question is this:  How do I disable this on a Mac so that I don't have to worry with this pop-up anymore?  The iPhone is a secondary problem, but it would be nice to have a solution for it.  Would a /etc/hosts entry fix it, or is it more complicated than that?

OS X version 10.11 El Capitan
2011 Mac Mini

There's 3 ways.

sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.captive.control Active -boolean false
Just delete (or rename) /System/Library/CoreServices/Captive Network Assistant.app
Add an entry in /etc/hosts containing 127.0.0.1 captive.apple.com


How can I add a DNS record so that example.com resolves to my server.example.com in the OS X Server app? The default DNS setup leaves me with a record pointing server.example.com to my IP address. I've added a couple of aliases like www, mail.

But how can I add example.com, essentially the root domain so that when I type example.com in the web browser my web server gives me the page?

For example some DNS providers use a special syntax @.example.com -> server.example.com to specify the requests need to go there.

PS. Server is already configured to use itself as the a DNS.

OS X Server 4

If you have added a machine record (e.g. server.example.com) the primary zone example.com has been already created automagically.

To view all records (including your primary and the reverse zone) click on the gear near the bottom of the window and choose 'View All Records'.


Why is my Hard Drive and User folder shared when I turn on osx file sharing? I decided to try file sharing on a mac mini, and noticed something odd.  When I go to settings > Sharing, and enable File Sharing, then add ~/Shared.  Now ~/Shared is the only item listed.

When I go to another mac, find the shared device in Finder, and "Connect As" and login with my username & password for the mac mini, then I see the Hard drive is shared, my user folder ~/ is shared, and the ~/Shared.

If I right click on ~/Shared and goto "Get Info" I see that the "Shared folder" checkbox is checked, but for the hard drive and my user folder it is not checked.  These two folders are also not listed in the Settings > Sharing area...

Is this just default behaviour? If so, why is that and how is it useful? And, is this stated by apple anywhere?

Prior to Mac OS X Lion, Mac OS X Client came with SAMBA Server and Client and what you defined to share was all that was shared. Since Mac OS X Lion, and continuing with OS X Mountain Lion and other releases of OS X, SAMBA has been replaced with SAMBX due to SAMBA moving to GPLv3.  As a result SAMBA is basically broken in the OS since 10.7. The Mac OS X 10.7 Server and OS X Server going forwards does have some finer sharing controls not present in the Client version of the OS.

As a result of these changes the Macintosh HD and User's Home folders are automatically shared for them as an Administrative User and only the Home folder as a Standard User, in conjunction to what one chooses to share in System Preferences > Sharing > File Sharing.

To see the additional shares including what's defined in System Preferences > Sharing > File Sharing and what's not defined there. In a Terminal, the output below shows what's shared for me as an Administrative User and only sharing a folder named Temp in File Sharing.  With File Sharing enabled in System Preferences > Sharing, just copy and paste the following command into Terminal and press Enter: smbutil view //$USER@$HOSTNAME

$ smbutil view //$USER@$HOSTNAME
Password for $HOSTNAME:
Share                                           Type    Comments
-------------------------------
Temp                                            Disk
IPC$                                            Pipe
Macintosh HD                                    Disk
$LOGNAME                                        Disk

4 shares listed
$

If you do not want those shares exposed then do not turn on File Sharing via normal System Preferences and instead install SAMBA and manually configure file sharing yourself.


Animations are choppy and jerky after a day (Mountain Lion) After my 13" MacBook Pro (2010) has been on/sleeping for a day, the changing desktop animation and mission control gets choppy. Only a reboot fixes this problem and it stays good for several hours. I've already reset the SMC but it didn't work.

I have 8GB RAM and 4GB is always free.

How can I fix this problem?

You will need to figure out what is causing a processing bottleneck on the Mac.

You'll need some understudying of basics like being able to tell if the virtual memory system is swapping (vm_stat 5 will show paging when you reproduce the issue) as well as Activity Monitor to see what the overall RAM and disk IO are as well as look for processes that are not responding or taking a lot of CPU time.

The fact that a reboot cures things shows that it's not a hardware issue or a software conflict, but instead a resource issue. Experience in doing this leads me to guess you either have some apps that have memory leaks and once the system starts swapping, you have enough CPU busy things that on occasion that slows the GPU / graphics subsystem.

You could also try quitting all apps when you notice the slowness and then just starting one or two apps to see if that resolves things. It seems odd that you always have 4 GB free, since I would expect you to reach a state over time where almost all the "free" memory converts to inactive to cache things that were used, but now out of active memory use.

Hopefully this process helps you find the culprit since there isn't enough detail to guess what's really happening. Good luck hunting this down.


iOS 10 face recognition - how to reset the list of detected people? I found some errors in the list of detected people, wrong names attributed to photos. How can I reset the face recognition on my photo stream?

So this may not be a way of resetting all face entries at once, but you can do them individually by selecting all of the photos in each entry, hit the share button, then press "Not This Person". The entry will disappear and the photos will go back in to the untagged pool.

Source: How to unconfirm faces in iOS 10?


Why are inline images not visible in Mail on macOS Sierra? I'm on Sierra 10.12.3 and Mail wont display inline images. I already Googled for an answer and found a lot of stuff, but no solution so far.

For Yosemite I found this but can't find the option "Automatically detect and maintain account settings" in Sierra. Is it gone?

I already have "Display remote images in html messages" checked.

Did you enable Load remote content in messages in Mail Preferences > Viewing ?

Automatically detect and maintain account settings isn't related to your question.


How to transfer photos from Mac to iPhone via Airdrop? This may sound like an easy question, but it's pretty complicated as I found.
I just want to simple, open my Photos application on my Mac, choose a couple / multiple of pictures to send via Airdrop to my phone and send them.

When I try to use the Airdrop option after selecting my photos, it automatically selects all and says "Exporting 21 of 2233 photos for sharing".

How can I do this easily and simply? Move multiple photos via Airdrop.

Thanks

This is a workaround:

Select your photos
Right click --> edit with --> preview
In preview, hit the share button --> airdrop


Keyboard shortcut expansions not being expanded I have defined several keywords on my iPad Air 2 (iOS 8.3) in order to let iOS expand them when I type one of these keywords.

However, these keywords do not expand. How can I force my iPad to expand them?

Some apps do not support iOS keyboard shortcuts, having disabled autocomplete. Try using a first-party iOS app and see if the shortcuts work.
Make sure you have defined the shortcuts in the right way, whereby the "Replace" is what you type and the "With" is what the autocomplete should fill, not the other way round.


Facebook app shuts down itself on iPhone 4 I have an iPhone 4. The Facebook application was working fine until this morning. When I start the Facebook app, it shuts down immediately. I tried restarting the phone but it's the same. No jailbreak, no unlock. My phone is 9 months old.

Try uninstalling the app, restarting your phone, and reinstalling it from the App Store. This should resolve the issue.


How do you navigate to safari extensions from App Store? Not critical, but its bugging me.

I only know of one way to the safari extension gallery, ie, from the 'Extensions' tab in Safari's settings, More Extensions... button.

Is there anyway to navigate there directly in the App Store app?

Oddly enough if you open the App store app on your Mac and then type "Safari Extensions" in the search field, you will find a listing of all of the Safari extensions available from Apple on their app store.

I have never seen a built-in category for just Safari Extensions but this seems to work.


Voice to Text on iOS10? I'm Deaf and curious if there is the possibility to point the iPhone toward a speaker and see its text on the screen?

Not sure if iOS10 comes with that Voice to Text functionality or if an external app is required for this?

Thanks for any suggestions!

The iPhone does have a native voice-to-text feature so one can dictate emails and texts. You could open Notes, for example, and then enable the voice-to-text by touching the microphone on the keyboard (not the one next to the text-input). It's to the left of the spacebar.

Depending on what you want to use it for, the following apps may be useful to you.

Ava - This might do what you want it to. It helps with verbal conversations.

Speak2See - This also might work for you. Someone else could speak into your phone, and it shows nice large words in text on your screen.

Braci - Probably not what you're after. It analyzes sounds like doorbells and alerts your phone.

RogerVoice - This probably isn't quite what you're looking for, but it's still interesting. It was originally a KickStarter and is now on the App Store.


Restoring past purchases from different country I recently moved countries, and have purchases associated on my iTunes account.

Once I moved countries, I changed the country on my Apple ID to my new country.

However, after using a store card on my account, I can't change my account back to my previous country and access my past purchases, because I still have store credit on my account, which I can't spend.

I've contacted Apple about removing my store credit, but will I be able to access my past purchases once I actually change my country back?

I've just reinstalled my Mac, and need to re-download iPhoto, iMovie and GarageBand.

Any help appreciated.

Apple contacted me back, I changed my country, and all my purchases have been restored.


Can Coda 2 edit a file that the current user does not have permissions for? On a couple of servers I work on, despite having access to edit files and all else, there is the occasional need to gain elevated privileges (like running sudo) with the file to actually save the changes.

That said I like working with my files in Coda 2 and not the Terminal directly. So is there either a way to sudo the file open through the explorer when viewing the remote files, or is there a way to trigger a file to open through the built-in terminal in Coda 2 so I can make the edits, save, and move on.

Currently when I double click on a file to open it, if I would need elevated privileges, the file will open only in a read-only state.

No, it can not.  Coda 2, Coda, and Transmit all allow you to SFTP into a box, but when you try to access a file that is not in your user's accessible range, you have to log out and then log back in as a user who can.

I use Transmit and Coda 2 constantly and just have made it to where I am only signing in as root because I ended up having to log in as different users to access one file and then a different file.

I wish there was another way around it, like being able to have Transmit, Coda, or Coda 2 push some kind of command to the server or something but it isn't possible in any of the Apps current states.  I would highly recommend doing a feature request to them, I can't see how we would have been the only people who have ever wanted this.

I would recommend trying to contact them through their twitter account.  They are pretty cool guys and have responded to things like this before on Twitter.

http://twitter.com/#!/panic

I know it wasn't the answer you were probably looking for but I hope it helps.


How do I launch an app at start up but as a specific user? I want to launch an app at login but have it running as a specific user. Here's the use case:

I turn on my Mac and login in as Ben. In the background iTunes is launched for Bill. Ben can launch his own instance of iTunes and access Bills songs via iTunes sharing. Ben doesn't care have access to Bills instance of iTunes. All other iTunes on the local network can also access Bills shared iTunes library.

Please don't suggest iTunes specific solutions (e.g. Home Sharing) as I also want to run other apps in a similar fashion.

Is this possible?

If you just have two users, you can auto login as Bill, have Bill's account auto-launch multiple apps (see launchd, or via the GUI under User Accounts), and after a timed delay switch users (again, launchd or an Automater App + "sleep 30;" + this), returning you to the login screen. You now manually log in as Ben.

If you want multiple apps running under multiple user accounts in the background, it gets a bit more complicated. Please clarify if this is the case.


Automatically make QuickTime fullscreen when opened Question above. I often use QuickTime for watching video tutorials, but I want to be able to start it in fullscreen automatically.

QuickTime Player doesn't have a Preferences... menu command like other applications do, nor does it have a com.apple.quicktime.plist file to manipulate. Therefore there isn't anything you can do directly, however here is a workaround of sorts.

Note that this workaround requires changing the default application for file types, e.g. .mov, you'd normally open directly with QuickTime Player to the application created herein, called: QTP Full Screen.app

Using Automator create a new Application and add a Run Shell Script Action.

Change: Pass input: [to stdin] to [as argument]

Add the following code:

if [[ ! -z $1 ]]; then

    open -a "QuickTime Player" "$1"

    osascript -e 'tell application "QuickTime Player" to activate' \
              -e 'delay 1.5' \
              -e 'tell application "System Events" to keystroke "f" using command down' \
              -e 'delay 1.5' \
              -e 'tell application "QuickTime Player" to play front document'
fi

Save it as an Application named: QTP Full Screen

In order for QTP Full Screen to be the global default app for, e.g. .mov, files you'd open in QuickTime Player you'll have to use the Default Apps Preference Pane, RCDefaultApp by Rubicode to change which application opens a given Extension.

Install RCDefaultApp and then in System Preferences > Default Apps select the Extensions tab and scroll down to mov and then change the Default Application: to: QTP Full Screen

Now then you double-click .mov files in Finder or accessing them from Spotlight the QTP Full Screen application will open the target file in Quick Time Player, set View to Full Screen and start playing the file.

Note: If you do not want it to automatically start playing the file then remove the line of code, the one that has "play front document" in it.

If you need modify other default methods of file types, Apps, URLs, UTIs, etc. the Default Apps Preference Pane, RCDefaultApp by Rubicode, is a great utility for it.

To make the QTP Full Screen.app application bundle look better in the Applications folder you can copy and paste the QuickTime Player.app application icon from its Get Info sheet to the icon of the Get Info sheet for QTP Full Screen.app.

Note:  The value of the delay statements can be adjusted in seconds and or decimal fractions thereof, as might be necessary on any given system to account for its processing speed.


Sort output of tmutil compare by file size tmutil compare gives differences between two backups. But I wonder how do I sort the output by file size? With GNU sort, there is  the --human-numeric-sort option for this, but the sort which is part of macOS doesn't support this. So how can I sort the result by file size?

I don't know exactly how sort -h is supposed to work since it mixes the B, K, M and G prefixes, but it was at least workable for me in Mojave:

cat tmutil-compare | grep "M  " | cut -c 3- | sort -h


Unable to change volume during call when on speaker mode I'm able to change volume when not on speaker, however it does not work if I'm on speaker mode. (see image below). Bluetooth is turned off for what it's worth so it should not be trying to redirect to some other device.

Visited Apple store and ended up fixing the issue by "Reset all Settings".


Design Ebook Cover In Pages I have a pages document that I want to copy a JPG into and make the JPG take up the whole first page with no margins.  Then I want the rest of the pages to keep their margins as I've already specified.

I have the jpg copied into pages, but I can't make it any bigger than the margins and there is still a header and footer.

Thanks in advance!

Are you talking about an actual ePub ebook that you create from a Pages Word Processing document, or just a PDF you create from a Pages document?

If you make the image floating or in the background, you can move it around without being hindered by the margins or other text. To make your object floating or in the background, open the Inspector window (with the blue "i" icon in the toolbar), then click on "Wrap inspector" (third button from the left), and choose your Object placement.

However, converting to ePub removes floating objects, so if you want that, you should edit your eBook (using sigil for example) to add the first page back in. This is not too hard if you know some HTML.


Using Windows on Mac keyboard without Delete key I'm just curious - I guess lots of people with Mac hardware use Windows.

How do they manage to do so, given that delete key is missing on Mac keyboard and you have to press ctrl+alt+delete to log in to Windows?

Are they all forced to use autologin (to bypass ctrl+alt+delete pressing) or buy a PC keyboard?

When you press the Fn key, the backspace key (Mis-labeled "Delete") on a mac keyboard functions as the delete key.

Therefore, to log onto a windows install which requires Ctrl+Alt+Delete, you would press Ctrl+Alt+Fn+Backspace("Delete").

It's worth noting that this works even on the full wired keyboard, with a separate delete key.


Is there an iPhone app (as opposed to desktop software) that shows actual battery cycles - cycles number I can use Coconut Battery on my Macbook which shows cycles number on my iPhone when I plug iPhone into Macbook. I don't want to use that however. I want to have an iPhone app for that. Do you know any?

No. For a very long time, the API for that information is private. Any apps on the App Store that manage to trick review or access private API generally get shut down by Apple review / oversight in days or weeks.

The official way to get that data is through Apple Support.

https://support.apple.com
https://www.apple.com/batteries/service-and-recycling/

Until and unless Apple decides to provide cycle count detail in the settings app for iOS or in a public API, you will likely need a trusted computer and / or jailbreak to get those details.

How do I check an iOS device's battery health?


How can I use Nike+ with roller skates? Is it possible to use Nike+ with rollerblade skates? How?

Nike+ is a step counter, so it's measuring steps. With rollerblades you're not stepping usually.

You can try to calibrate your device with your moves of your rollerblades, but I don't think it will measure it correctly.


How can I configure OS X server to advertise SMB over bonjour? We have an OS X mac mini server that stores/shares our files and our Time Machine backups (which is why AFP needs to be enabled).

We were having issues with AFP and network files being held open indefinitely, so we've switched to SMB for file sharing; everything is resolved in regards to that.

The current issue, is that selecting the server name in the Finder sidebar attempts to connect via AFP. So, users need to open Finder, select Go -> Connect to server, each time they want to connect. This is becoming frustrating for users who have laptops. Is there a way to advertise the SMB shares over bonjour so that the SMB connection to the server will show up in the Finder sidebar? Or another better way so that users don't have to constantly go through the menu to access their network files?

I usually just do shortcuts- either on the desktop or in the dock (a little more dynamic)


MacOS does not isolate the apps in the secondary monitor through each Desktop I work with MacOS - El Capitan

Furthermore I have Windows 10 and Ubuntu Desktop working with multi desktops. I know how create a new one and how move through them

An important observation is that for each laptop is that each one has a secondary monitor. I am able to open any application (editor, window explorer or finder, terminal console, an IDE - etc) and move it to the secondary monitor. Therefore some applications are in the primary monitor and others in the secondary monitor.

The point here is, for each Desktop, I am able to have in the primary and secondary monitors any application. If I pass through these Desktops each Desktop respects and keeps isolated the same set of applications opened and distributed through the primary and secondary monitors from the beginning. Again it for each Desktop.

Problem: all the content (app) opened in the secondary monitor is shared through all the workspaces, therefore the apps are not isolated through each workspace.

How to fix this?

Fixed in comments.. but to provide an answer for future searchers…

Two things to check…
System Prefs > Mission Control > Displays have separate Spaces [should be off]
Then right click any one of your aberrant apps in the Dock > Options > make sure it's not set to All Desktops.

Either or both of those settings could be responsible.


Any way to 'migrate' a Time Machine external for use with CCC? I have an external which I'm using with Time Machine, and I'd like to 'migrate' it and start using just CCC (Carbon Copy Cloner).

Is there a good way to essentially mv the contents of LatestTM to the root of the drive, and then have CCC take over from there?
I'm concerned about permissions and symlinks being handled correctly.

(It's over 1TB of data so I'd love to avoid re-copying everything.)

No, there is no way. Time Machine uses Symbolic links to previous backups when it hasn't changed. You could use some form of ls -H combination with xargs to copy the latest backup some what safely, however, some times those symlinks are broken.

Furthermore, CCC won't accept that, because it also need to record which files it has copied, so in future it knows which are changed etc. You would be better off using a removing TM completely, format the disk, or create a partition for CCC. Though no point in keeping two backups on one external HDD, as both will be lost if it's destroyed.

CCC is very fast, it's not as slow as TM, so it shouldn't take long, as long as HDD has USB 3.0 (true, if inside of plug USB is blue). I was in the same place as you, where I didn't want to give up my previous back ups of TM. So ended using both, Time Machine to store all data, and CCC to create a bootable external copy of my disk. CCC only backs up the essentials, while TM does everything. When my PC's SDD is no longer functioning, I can boot up from CCC, and use TM to retrieve required data on the bootable.


Can Lion detect 1920x1200 screen resolution? I own a MacBook Pro, 17", MA897D/A, A1229, Mid 2007, with a display resolution of 1920x1200 which worked seamlessly under 10.4.

As I upgraded to Lion I sadly noticed that the maximum resolution now is 1680x1050.

Did anybody experience similar behaviour?
Is Lion unable to detect the native resolution?
Are there any 'power settings' I could use?

The current 17" MacBook Pro which ships with Lion also has a native resolution of 1920 x 1200:

http://www.apple.com/macbookpro/specs-17inch.html

My guess is Making a new user or booting into safe mode will help you sort out whether something got munged in your user account in the Lion install.


External monitor not recognised- MacBookAir I have the same problem with my new MacBook Air (May 2013) as others have stated with MacBook Pro. All was good until I played around with the resolution. Now the second monitor is not seen at all in the System setting; the monitor's power light is on (The monitor is not faulty as I plugged it into my Windows netbook) MacBook Air, monitor connected using VGA adaptor. I have unplugged everything, re-booted, and spoken to it nicely (and harshly). HELP as I have been using two monitors since 1994 and am lost without both. Thanks in advance for any assistance you can offer.

The first thing I would try is an NVRAM reset, instructions here.

Also close all applications and try pulling these plists

Library/Preferences/com.apple.windowserver.plist and
/Users//Library/Preferences/ByHost/com.apple.windowserver.XXXXX.plist

to your desktop and reboot


Battery cannot charge fully I replaced battery on my MBA mid 2011 (A1369).

Here is the report by coconut(the same appears in system report):

I bought no name battery from china and changed it personally (here they ask about 250 EUR for replacement battery (labour and battery) what is for me crazy and I will not pay it).
However, it does not charge fully aa you can see on picture. The laptop gets more hotter and fan sometimes is going very noisy which before replacement did not make.
I went through forums and made all recommended actions - reset smc, pram. I charge sometime with 60W adapter. It made the same on maverics and now on el capitan as well.

Finally I ordered other battery from China which is on the way. However, as I could read here maybe the problem is in software. There is a little charging cycles done...

Any help?

The battery from he picture is 1583 days old !
And the status is "Check Battery" !
Th maximum charge is less than half the design capacity already !
The figure of 93.4% is how full it is of the maximum charge!
Coconut Battery is a very interesting app, but basically it reads what is in the SystemInformation. It does not measure itself.
This battery is dying/dead. REPLACE.
The problem is that third party batteries always are s**t. If you decide to buy such, you should only buy from a good supplier with a high reputation like OWC. Or a repair shop may have an used original Apple battery.


Sketch within note app is not available on my Macbook Air 2012 Is there a way to tun sketch on? Because I can't see any icon to start drawing:

Here's a screenshot of the new Notes.app from the Apple website. It doesn't have a sketch function, which makes me think that sketch is probably only available in iOS.


Completely uninstall an application Is there a way to completely delete an application from my Macbook? I don't mean to just save the space by deleting it from the applications folder, but to delete all the files that it uses to make it run. I don't worry about the files it produces.

There are several 3rd-party “un-installers” available for Mac. The one I use is AppZapper.

There may be files in "~/Library/Application Support/{folder name of app}" and there may be a preference file in ~/Library/Preferences/.

Sandboxed apps have their data in "~/Library/Containers/{folder name of company}"

Some applications may also install more complicated things like kexts. Most of those apps will have their own uninstallers.


Setup Groovy in Mac OS X I have downloaded groovy-binary-1.7.10.zip, unzipped @ /Users/sarbbottam/SW Developments/groovy-1.7.10 and navigated to /Users/sarbbottam/SW Developments/groovy-1.7.10/bin. I tried to execute ./groovysh; however, I got the below error.

Sarbbottam-Bandyopadhyays-MacBook-Pro:bin sarbbottam$ ./groovysh
Exception in thread "main" java.lang.NoClassDefFoundError: Developments/groovy-1/7/10/bin/groovy/icns
Caused by: java.lang.ClassNotFoundException: Developments.groovy-1.7.10.bin.groovy.icns
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Sarbbottam-Bandyopadhyays-MacBook-Pro:bin sarbbottam$

Do you have any suggestion?

Try renaming your SW Developments folder to one word (with no spaces or an underscore).

Looks like the space is causing a problem in loading the library.


What does "Share Song" in Apple Music? I clicked Share Song, but didn't receive any feedback (what Apple Music did).

Is there some kind of social network? Do I have a profile? Who sees the shared songs?

You should be getting a pop-up like the below screenshot:

Then you'd be able to share via any app you like. It will create a link to the song you've chosen to share.

Sources:
iOSHacker


Wiki Server 3 Plugins We're running Wiki Server 3 on Mac OS Lion Server. I'm curious to know if there are any plugins for this wiki. I'm particularly interested in a code formatting plugin...

Cheers, Nick

I do not believe that there are at this time.


Macbook pro locked/disabled My Macbook pro got disabled. I tried to go into the recovery mode using cmd+R and internet recovery mode using cmd+opt+R. Both ask for my firmware password, and when I enter the password,although correct, it takes me back to disabled screen. Find my Iphone app says my Macbook is locked.In addition I tried to reinstall OS through bootable installer but that too takes me back to the disabled screen.

This lock is by design. It allows the owner to prevent anyone that can’t prove they own the hardware from getting Apple or other service professionals to erase the lock.

See https://www.apple.com/icloud/find-my-iphone/ and especially the Mac link at the bottom.

You now have a firmware password on that Mac preventing you from changing the OS to boot from other sources. You can either enter the passcode that was created to lock the hardware or follow the normal process when you forget a firmware password by seeking authorized service.

https://support.apple.com/en-us/HT204455


Is it possible to write a plugin to add more info in Finder's Preview Pane? I would like to display the DPI and color mode (RGB/CMYK) for JPEG images, is it possible to write a plugin to add more info in Finder's Preview Pane?

Is there an API for developers to do so?

Probably more trouble than you want but if you open jpeg in preview and under tools menu click on 'Show Inspector' a window appears with image size, DPI, color mode (RGB) and other info. If that is too much trouble maybe you can look to see how Preview gets and displays this info.


How to unlock an iPhone 3GS with 05.16.05? I had a perfectly working unlocked and jailbroken iPhone 3GS, but of course I had to go ahead and try to get iOS 5 on it. I didn't know I need to preserve my baseband while updating it, so now ultrasn0w will not unlock it for me and I'm left without a phone line.

Is there any way to unlock an iPhone 3GS with 05.16.05 baseband? If not, is there any expected change that will allow me to do so?

Ran into this by accident, but if you are still having issues there is now an iOS 5 jailbreak out - although tethered, it will do what you want.


How to list all /dev/disks, not partitions ending in s1, s2, ...? I am trying to list (output) the drive its Mac OS X name from the serial number in the Bash 3.2 shell on the command line. For this I need to loop through all block devices not being a partition. So I need a better replacement for this bash loop: for disk in /dev/disk*; do …; done
I do want to use ls only, eventually with a wildcard pattern, without piping (through grep) and without other utils (like find).
It is like ls /dev/disk* but not matching the partitions ending in s1 (like /dev/disk0s1), s2 etcetera.
Regression
The failing attempts:
$ ls /dev/disk[0-9]*[!s][!1-9]
$ ls /dev/disk[0-9]*[!s,!1-9]
$ ls /dev/disk* -d -- *[!s][1-9]
$ ls /dev/disk[0-9]*[!s,1-9]
$ ls /dev/disk[0-9]*[!s]
$ ls /dev/disk[0-9]*[!s][0-9]
$ ls /dev/disk[0-9]*[!s]*
$ ls /dev/disk[0-9]*[!\s1-9]
$ ls /dev/disk[0-9]*[!s1-9]
$ ls /dev/disk[0-9]*([!s1-9])
$ ls /dev/disk[0-9]*[!s]*[0-9]
$ ls /dev/disk[0-9][0-9]
$ ls /dev/disk* --ignore="disk*s?"
$ ls /dev/disk* -I "*s?"
$ ls /dev/disk* -I "*s[1-9]"
$ ls /dev/disk*[!s?]

Using ksh's extended glob:

ls /dev/+(disk?|disk??)

for bash you have to turn on extended glob

shopt -s extglob
ls /dev/+(disk?|disk??)


Is there a way to fetch the icon file path of an application using AppleScript? I'm currently writing an Alfred workflow in which I want to retrieve the icon file path linked to an application. Is there any way to do so natively using Apple Script ?

tell application "Finder"
    set appPath to POSIX path of (path to application "Terminal")
    set resourcesPath to appPath & "Contents/Resources"
    set contentFiles to (list folder resourcesPath)
end tell

Doing that I managed to get a list of file names but now I don't really know how to filter the .icns file.

I'm not familiar with Alfred however as far as AppleScript and getting an Application Bundle's Icon's pathname is typically not hardcoded, so it's not like you can get its path with a single command.  Additionally the value of CFBundleIconFile can be with and without the .icns extension, so when building the fully qualified pathname of the Application Bundle's Icon you'll need to take that into consideration as you write your code.

As an example, using the built-in /Applications/Calculator.app the /Applications/Calculator.app/Contents/Info.plist shows that the Icon file is "Calculator.icns" but doesn't give the path, although it will usually be within the Resources folder within the Application Bundle and in this case it's, /Applications/Calculator.app/Contents/Resources/Calculator.icns.  So you'd have to get the value of CFBundleIconFile from the App's .plist file and check whether or not it has the .icns extension and test to see if it's in the default location, which it normally is but not always.

So in Terminal you'd query using defaults, e.g.:

defaults read /Applications/Calculator.app/Contents/Info.plist CFBundleIconFile

In AppleScript you could set the results to a variable and go from there, e.g.:

set appIcon to do shell script "defaults read /Applications/Calculator.app/Contents/Info.plist CFBundleIconFile"

It returns: Calculator.icns

Where as,

defaults read /Applications/Utilities/Terminal.app/Contents/Info.plist CFBundleIconFile

Returns: Terminal

Yet the FQP is /Applications/Utilities/Terminal.app/Contents/Resources/Terminal.icns


Connect Apple Wireless Keyboard with my MBP How can I connect my Apple Wireless Keyboard with my MacBook Pro 13 inch? My device is running OS X Yosemite 10.10.3 (2011).

Default bluetooth of MBP 2011 does not support Bluetooth 4.0 so not compatible with the latest Apple Wireless Keyboard (i.e. 3rd gen with two batteries). No hardware upgrade possible.

External USB 4.0 adapter possible.
Similar problem in the thread Early 2009 iMac upgrading to Bluetooth 4.0.
This dongle IOGEAR GBU521 Bluetooth 4.0 Micro Adapter is one possibility as discussed Using unsupported Bluetooth 4.0 USB dongle with OS X.
The dongle is not shipped to Finland.
The only option is to order a corresponding item from China, etc google osx bluetooth 4 dongle site:dx.com, for instance Ultra-Mini Bluetooth CSR 4.0 USB Dongle Adapter - Black.


How to stop being logged out of SSH sessions when locking the screen in OS X 10.9.1? Every time I lock my screen I get logged out of any active SSH sessions.

I've added the following to my ~/.ssh/config file, but I still get logged out:

Host *
  ServerAliveInterval 60

How can I stop being logged out of SSH sessions when I lock my screen?

Two methods…

Add the following to /etc/ssh_config:

TCPKeepAlive yes

Use screen:

Create a new screen with screen, then use the terminal normally.
When the connection breaks, reconnect normally.
Run screen -dr to reattach.


Dark mode not appearing as an option on ipad, how to make it appear? I wanted to use dark mode on my ipad.
I tried the standard suggestion (based of this):

Setting | Display & Control

then there should be a nice picture to toggle dark mode. The option is not there.
I found a different option from this webpage to go to:

Setting | Control Center | Customize Controls

then they claim there should be an option for dark mode, but it's not there.
Thus, I am unsure what to do. I've restarted the ipad and tried updating but the update option is not there.
Why is it not working?

Perhaps some info of my ipad specs might help?
Software Version: 12.4.6
Model Name: iPad air
Model Number: ME898LL/A

iOS 12 doesn't have Dark Mode. It was new to iOS 13.
You can achieve something similar by going to

Settings > General > Accessibility and choose Display Accommodations. Then click Invert Colours.

If you want to go all funhouse crazy, toggle the Classic Invert mode. But to get an inverted iOS that's closer to a true dark mode, you'll want to select Smart Invert. That way iOS 12 actually tries to keep things from going too crazy.

Courtesy of Forbes - iOS 12.4 Public Beta 4 Released, Is Boring, Here's How To Get Dark Mode Now
Your iPad Air ME898LL/A 4,1 unfortunately cannot use iOS 13, it is stuck at 12. Info: Everymac


Brew cask install emacs takes control of the emacs command line command I'm currently using Homebrew to install both the command line version of Emacs and the GUI version of emacs, with the following commands:

brew install emacs
brew cask install emacs

When I first install the command line version, I can launch it via the command line with the command emacs <filename>, but after I install the GUI version, using that same command, it causes the GUI version to open.  I would like the command line version to continue to open from the command line command.  I posted this in the homebrew forum, but the only answer I was given was to check my shell config file.  I'm on macOS Catalina, so I'm assuming .zshrc is the file, but this contains nothing relating to Emacs at all.  Any suggestions for how to keep the GUI version from being launched from the command line command would be greatly appreciated.

You could create an alias in zsh that invokes emacs -nw whenever you write emacs. The -nw argument means to start emacs in "non-windowed" mode - i.e. a command line text interface.

You can create the alias by editing the .zshrc file you mention, and add the following line:

alias emacs="emacs -nw"


Understanding RAM and Disk Space when using Windows on a Mac? I am trying to understand how you need to set things up when trying to run Windows from a Mac (using Bootcamp /  Parallels).  I understand the differences in terms of Bootcamp requiring you to choose at bootup versus running side by side with Parallels but I want to understand the implications around HD and RAM.

So lets say I buy a Mac with 512 GB SSD and 16 GB of RAM.  I see that if you want to install windows, you need to partition and allocation memory and disk space for Windows.

On Windows I would need to run:

SQL Server 2008
Visual Studio 2010
Microsoft Office
and a few other pieces of propriety software

So my questions are:

How do i decide how much space is allocated to Windows and once I decide that, can I change it in the future?  I was thinking about allocated 100GB to Windows which seems like it should cover me.
How do i decide what RAM is allocated to Windows.  Can I change that on the fly in the future after that decision?  Once I do this (lets say i allocate 8GB of RAM to windows), either through BootCamp or Parallels, does that mean that my Mac only will be able to leverage 8GB (since i have a total of 16GB) regardless if I am running Windows at that time or it only "takes" 8GB away when i start up windows.

If you run Parallels off a disk image, you can expand that partition to as much disk space as you have available. All it requires is shutting down the VM. As far as I know you can't shrink a disk image.

If you're running Parallels off a Boot Camp partition, it's possible in some cases to expand that partition later on, using third party tools. This depends on how the other partitions on the disk are set up (typically a partition can be expanded to fill free space after it, but you can't change the starting point on the disk).

How much RAM you allocate can be changed using Parallels. You simply shut down the VM, change the setting in Parallels and restart. This doesn't change whether you're using a disk image or a Boot Camp partition, but it's worth pointing out that if you boot from the Boot Camp partition (not in Parallels), that's running Windows directly and it will use all the RAM available to the system, like any other laptop.

The RAM allocated to your VM is only "used" when the VM is running. If you shut down Parallels, OS X can use the full amount in your system.

How you allocate disk space and RAM depends on what you're doing with your VM, and what you expect to be doing with OS X while that VM is running. Think of it as configuring a whole new computer - you need a quantity of hard drive space and RAM sufficient for the tasks at hand. The easy part is that you can (mostly) change your mind later on if you guess wrong with a VM.


Mission Control; how do I correct the order of Desktops? I have 1, 2, 4, 5, 3, 6, 7? I've been playing with Lion and Mission Control.  I'm not sure how I did it, but I seem to have reordered my desktops.

When I open Mission Control, the labels of the desktops at the top of the screen are (from left to right):

Dashboard, Desktop 1, Desktop 2, Desktop 4, Desktop 5, Desktop 3 (in the wrong place!), Desktop 6, Desktop 7, Desktop 8, Desktop 9

How did I relocate 3?  And how do I put it back in the right place?

By default, Spaces are reorganized by last used. You can change this in System Preferences -> Mission Control.


How to find all Sun Sat on command line This works on Ubuntu but not on Mac.
$ seq -f %1.0f 20210101 20211231 | date -f - 2>/dev/null | grep 'Sun\|Sat'
...
Sat Dec 18 00:00:00 JST 2021
Sun Dec 19 00:00:00 JST 2021
Sat Dec 25 00:00:00 JST 2021
Sun Dec 26 00:00:00 JST 2021

How to find all Sat and Sun from command line?

The macOS/BSD version of date can't read from standard input so you need to loop manually.
for d in $(seq -f %1.0f 20210101 20211231); do
    date -jf "%Y%m%d" $d 2>/dev/null | grep 'Sat\|Sun'
done

You can avoid most of the impossible dates created by seq (and get the result faster) by running
for m in {01..12}; do
    for d in {01..31}; do
        date -jf "%Y%m%d" "2021${m}${d}" 2>/dev/null
    done
done | grep 'Sat\|Sun'


Why when I increase SSL certificate security on my mac am I unable to use the app store (preflight error)? Given the recent OSX issues with certificates and SSL, I want to increase the security of the certificate validation in general.

I came across a setting in the keychain that has a selection between best attempt and require if certificate indicates.  The selection of always validate is greyed out.

When I do this, I get an error when using the app store "Unable to verify the preflight file". reverting to "best effort" seems to fix the issue.

How can I increase the security of my SSL / PKI certificate validation without breaking functionality of other apps?

This is a known bug in the App Store. Apple needs to fix it.

  The only problem with forcing a check of revoked certificates is that
  Apple has a flaw in how it validates Mac App Store updates. With the
  option selected as shown in the figure below, you may be unable to
  perform updates through the App Store program. To fix that, launch
  Keychain Access, change the preferences to Best Attempt, update your
  apps, and then reset to the stricter setting. This is something Apple
  should clearly fix, since all the components of this situation are
  under its control.

http://www.macworld.com/article/1162472/keep_your_mac_safe_from_web_security_flaws.html


Can new colours be given to new tags? I wanted to add new tags to the standard set AND to give them colours of their own but I have not been able to do it. For instance, I would like to have a brand-new Black tag. Any ideas?

Thanks in advance,

Nacho

P.S. Notice that I am referring to Yosemite

You can only use the set tag colours; red, orange, yellow, green, blue, purple, or gray.

You're not able to set your own colour, so the closest colour for you would probably be gray.


Music from windows 7 to iPhone 6 without itunes I have a large number of songs I want to download from win7 to my iphone6,
What is the easiest way? I don't have iTunes on this computer.

It would be great to have file-access to iDevices, there appears to have been a lot of work done to make this difficult or nearly impossible from proprietary cords on up to inscrutable DB's. It seems unfair to pay so much for the products yet have such a trivial thing as open file access blocked so thoroughly and with such malicious intent! This, not just st for music files, but for ALL files.

I have seen two workarounds over the years -- one created a special driver that was used for low-level access to the entire storage device and created its own database with entries for every (music) file. The other method was to set up an FTP server using tFTP - an insecure and pretty featureless protocol.


iPod Touch will charge from computer USB, but not from AC outlet I have an iPod Touch.  If I plug it into the AC outlet, with a AC/USB power adapter, the iPod will charge to about 20%, and then stop charging.  However, if I plug it into a computer USB outlet (using the same USB cable), it will charge fully to 100%.

Electricity is electricity, no matter where it comes from, so why wouldn't it charge from an AC outlet?

It sounds to me like your AC to USB charger is having a problem with heat.

It charges for a while (while heating up) then it stops.

If you let it cool down for a while I assume it continues charging.

In any case, I would suggest replacing it.


web sharing on lion - odd behavior In my Lion local web sharing folder, I noticed that I cannot change any of the files without typing in my password.

I also noticed that there's a folder called postgresql there.

I don't remember having these behaviours before with Snow Leopard, are these new changes that Lion OS brings?

The permissions of some folders did change to more restrictive on Lion. I don't know about 10.6, but /Library/WebServer/Documents/ is owned by root and has 751 permissions on 10.8 as well.

I don't have any postrgesql folder by default on 10.8, but 10.7 might have had one.

Files are normally meant to put be to ~/Sites/ and accessed from http://localhost/~username/. The URLs can be made shorter by adding virtual hosts.

You could change the owner back to yourself with sudo chown -R $USER /Library/WebServer/Documents/.


How do you stop screen sharing in Mac OS? I want to know how to stop screen sharing in Mac OS, once I've enabled it by clicking "share screen" in the dialogue that pops up.

I don't want to disable screen sharing, since I'd still like to allow future requests for sharing. I just want to terminate the current sharing session.

The icon in the menu bar with binoculars inside of a screen is definitely the way to disconnect.

Thanks to Chard Marmon for the answer in the comments of my question.


Single-button shortcut for "Do not Disturb" Is there a way I can bind a single key on my keyboard to toggle "Do not Disturb"?

It would be more convenient that opening up the notification center and moving that awkward slider.

I do think that you can bind a key to a script, so a command line option for "Do not Disturb" would work as well, so if there is a command-line tool to enable/disable "Do not Disturb" then I will take that as an answer (since I am muy familiar with bash and applescript).

Sure. Download the ruby script from https://gist.github.com/samnung/c7e767167cf70531ccdc and then just make a bash wrapper to call it.

do_not_disturb.rb on

You'll may want a tool like FastScripts to call the script (and if so, place your bash calling script in ~/Library/Scripts for it to show up there nicely)


Adding my iPhone number to the list of allowed accounts in Messages.app When I enter my Messages.app settings for my iMessage account, I can see that I can receive iMessages on the two emails that I have entered. Is it possible to add my iPhone number to that list too?

Until now I have only found a way to add email accounts.

This is one of those things that should happen automatically - but doesn't always.

First step is to make sure your iPhone is on iOS 6. If it isn't, you won't get your phone number to show up (period).

After that, often the best and simplest way to get the phone number to show up is to disable iMessage and then re-enable it. In this case, you would open Settings in Messages.app on your Mountain Lion Mac, Select your iMessage account, and then tap the "Sign Out" button.  When you sign back in your iPhone number should appear at the top of the list for "addresses" that you can text from.

This question/answer may also help in getting all your Messages apps in sync with each other.


How do I open old Notes saved on my external hard drive? I've located the files in:

~/Library/Group Containers/group.com.apple.notes/

but now I am unsure how to actually open them and view the content. "Open With" Notes app does not seem to work

You could use an app like https://www.sqlitepro.com/ to open the SQLlite database. But are you sure your data is there? At my system there is nothing in it.


Windows 7 Client to OSX Server 5 (Password Error) I have OSX Server 5.0.15 running and am having trouble getting Windows 7 clients to connect to share via SMB. The file server is running and SMB is turned on. Accounts and groups are set up. The users are accessing the server by ip address.

They can connect to the share but when asked for their username and password the password always get the error "the specified network password is not correct". I have even tried logging in with my credentials and I am an admin on the server.

I have used DOMAINNAME\username for the login to ensure they are logging into the proper domain. But no luck. I assume at this point that I am doing something wrong.

On the server the host name is server.local and the computer name is MacProVtrack according to the Server Overview tab. I am working from the premise that the domain would be "server". (see Screenshots)

Is the server or domain name not correct? Do I need to change the host name? Any help would be greatly appreciated.

[

I assume the OS X Server is not integrated in your AD environment. Then all credentials (user name/password) have to be set up on the OS X Server - at least as network account. Additionally all OS X Server shares have to be set up properly.

Then you have to enter the IP address and the name of the share (e.g. \\10.10.1.12\Data-User1).

The proper credentials in the Windows Security dialog are then: the user name and the user password (e.g. User1 and Passw0rd).

server\User1 only works if the OS X server is part of Active Directory and has the fully qualified domain name server.sld.tld (or in your case server.unionsupply.net).

server.local is no domain name but a qualified mDNS name in the link-local domain .local. This isn't intergrated in a common DNS environment.


How Do I Change The Colour Of The Apple Icon In The Menu Bar The apple icon in the menu bar is a black gradient (everything on this MacBook Pro seems to be a shade of grey!).

How can I change the icon to use the classic fruit colours instead?

Here's a youtube video that covers how to do this in Mountain Lion: https://www.youtube.com/watch?v=y8wqOkrlX5Q

It appears to be the same in mavericks.  The easier way to get to the folders in Finder is click Go > Go to Folder, or hit Shift-Command-G and in the window type /System/Library/PrivateFrameworks/LoginUIKit.framework/Versions/A/Frameworks/LoginUICore.framework/Versions/A/Resources and the other folder is /System/Library/CoreServices.

The files in Mavericks seemed to be named apple_s1.png, apple_s1@2x.png, apple.png and apple@2x.png.

Good luck


How can I tell the time with an Apple TV? I'd like to tell the time with my Apple TV, so I don't have to use a computer. But I can't seem to find a single clock app or screensaver for Apple TV. Anyone know if one exists?

I'm using an Apple TV 3, with Apple TV Software 6.0.

Sorry for the shameless plug, but I made the app just because Apple TV lacks the time: Screen Clock.


Synchronize calendar between Mac, Android mobile and Windows 7 I´m currently using my Mac with Lion. Using Bootcamp I installed Windows 7. I also have an Android phone. Now I´m looking for a calendar software that allows me to synchronize between all three OS. It should not be an online solution.

Your best option is probably Google Calendar. It is an "online solution", but you don't have to make use of the webapp at all, just use it as a method to sync.

For OSX, you can use iCal synced to Google Calendar using CalDAV. It's not perfectly polished, but it works fine. You may need to enable any other calendars via the Delegation tab, under Accounts in the iCal preferences.

I'm not an Android guy, but I think Google Calendar support should be automatically set up when you activate your device with a Google account.

For Windows 7, it depends what app you're wanting to use. It looks like they removed the Calendar app from Vista. The simplest option may be this desktop gadget that syncs to Google Calendar. If you're looking to use other software, Google provides a sync option for Outlook, or you can use anything that supports the CalDAV standard.


"ip route get 8.8.8.8" equivalent in Mac? In Linux, I use ip route get 8.8.8.8 to determine the route and interface to connect to IP 8.8.8.8.
Since iproute2 is unavailable on Mac, what should I use instead?

You can simply use the route(8) command
$ route get 8.8.8.8
   route to: dns.google
destination: default
       mask: default
    gateway: 192.168.0.1
  interface: en0
      flags: <UP,GATEWAY,DONE,STATIC,PRCLONING>
 recvpipe  sendpipe  ssthresh  rtt,msec    rttvar  hopcount      mtu     expire
       0         0         0         0         0         0      1500         0

The ip tool is not supported on MacOS because it's a very Linux-specific implementation (Netlink). The Mac version of route uses another interface (see man 4 route).