Google Chrome uses 3.8 GB of memory with 1 tab opened For some reason, Google Chrome tends to use a ton of memory, even though there is only 1 tab open most times.

What causes Google Chrome Helper to use so much memory?

If you go to Window->Task Manager in Chrome, it will pull up an activity monitor just for Chrome. Then, you can see if any extensions or sites you installed and are active are causing memory usage.

You can also go to chrome://memory-redirect/ (or click the "Stats for Nerds" link in the Task Manager) to see this information partitioned in the following way (quoted from the page) for each extension/tab/process of Chrome:

"                  Resident:
                  Amount of memory that is present in physical RAM.
                  This is the best indicator of browser memory resource usage.

                  Shared:
                  Amount of memory that is present in physical RAM and can
                  be shared with another process.

                  Private:
                  Amount of memory that is present in physical RAM and can not
                  be shared with another process.

                  Virtual:
                  Amount of address space allocated in virtual memory."


Apple Thunderbolt Display switching between two computers without manually disconnecting the cord? I have connected mac mini to ATD with the ATD's thunderbolt port on the back side using extra thunderbolt-thunderbolt cord, and I sometimes connect my macbook with the thunderbolt cable from ATD's.

To make screen active I have to disconnect one of the computers manually, what is pretty inconvinent.

I know this answer of somebody on Apple store Q&A from 2011 but I would like make sure if somebody not invented somme hack for not doing the switch manually.

UPDATE:

software solutions are much more apriciated over the hardware one.

What you describe asks for a KVM switch. That would be a small box with 2-4 output ports (non-enterprise class) where you connect one monitor/TB/USB devices and as many computers as you have ports on the switch. Then you switch which one is active and uses screen.

What it effectively does is actually disconnecting computers from the screen, but you don't have to pull the cable, just press a correct button.

A nice feature with those is that you can also connect Windows/Linux PCs and be able to seamlessly switch between all of them.

For example: http://www.atlona.com/Atlona-2x1-Mini-DisplayPort-KVM-Switch.html (it allows to connect 2 mini DP to one screen and switch between them using buttons on the front) [I'm not associated with manufacturer nor the online store, just giving it as an example].


USB Win 7 boot disk shows in rEFInd but booting from it loads BootCamp partition instead I'm having issues with my BootCamp installation of Win 7 Ultimate and want to troubleshoot it using a USB Win 7 boot disk. I created the USB disk in yet another Windows system in Parallels Desktop, using an ISO of my Windows 7 DVD and the USB/DVD Download tool available from Microsoft. When I reboot the computer, the drive shows up in rEFInd, but if I try to boot from it it just loads my problematic Windows installation (with Boot Camp as the C: drive). Any ideas what I should try next?

You have not provided enough information to precisely answer your question. Therefore, I will try to cover all the bases. Older Macs can not boot the Windows installer from a USB port. Generally if your Mac was shipped with an optical drive, then your Mac is one of the older models. Another way to tell, would be to try and create the USB installer using the Boot Camp Assistant application. If you can not, then the application knows you have such a model. You may read, elsewhere, that it is possible to edit a info.plist file to fool the Boot Camp Assistant into allowing you to create the USB Windows installer. Just because you can succeed, does not automatically mean your Mac will be able to boot from USB drive.

Again, just because rEFInd detects your USB Windows installer, does not mean your Mac can boot from the device. The tool rEFInd is a boot manager, not a boot loader. It can only override the default boot partition or device setting. The Mac firmware still preforms the operation of booting from a particular partition or device.

I believe the Windows USB installer created, using the  tools provided by Microsoft, produces a installer that will not work on any Mac. I believe this to be true, regardless of the year the Mac was made. Also, for the newer Macs, the "Boot Camp Support Software" is suppose to be transferred to the USB drive before installing Windows. The allows the Windows installer the choice of substituting software, such as drivers provided by Apple and other venders, during the installation process.

As for where to go next? This depends on the model/year of your Mac and the version of OS X you have installed.


iPhone 3GS activation error on iOS 5 upgrade - "No SIM card in phone" I upgraded my iPhone 3GS to iOS 5 a few days ago. The upgrade went smoothly; however, I'm having trouble activating my phone.

My wireless provider is O2 in the UK and my O2 SIM is in the phone, but when I connect to iTunes I get this error: "There is no SIM card in the iPhone you are attempting to activate. Please disconnect and insert a SIM card in the phone."

I've also tried activating over WiFi, but am getting an error message like "Activation servers are temporarily unavailable".

iTunes on my Windows x64 laptop is latest (10.5.0.142) and I've tried rebooting both my laptop and my iPhone several times.

Any advice would be highly appreciated.

here is the thing most of the answers work for those who have shsh blobs saved before but the thing is what if one has accidentally upgraded his/her iphone to the newer version and unable to activate it.
in my country it doesn't work but he easiest way to activate your phone even without sim card is to call an emergency number like 911 or 112 and before you hear any voice press the power button and then on the notification bar area click again on the phone icon and hangup and you will see your home screen and well the rest is the rest.for video help search something like " Activating iphone with out sim card" on youtube.
hope i contribue something and sadly i couldn't get mine to work.


How can I designate a default email account in Apple Mail on Mountain Lion? Opening a new mail to compose currently defaults to the Cloud email.

I want to change that default to my Gmail (set up already in Apple Mail).

How can I do this?

The default mail is the first one in the list. So just move it up in the preferences.


Created a symlink but Finder shows it as an Alias When I try to backup my iPhone, iTunes gives me an error, saying that it cannot make a Backup because the backup is damaged or not compatible.
To move the backup folder I have followed the steps as below:

Copy the Backup folder from the original path to the MacintoshHD
Change the name of the original folder (From backup to backup-old) to try to avoid conflicts
Run the command

ln -s /MacintoshHD/Backup ~/Library/"Application Support"/MobileSync

At the end of the process the Mac creates me a backup alias file (the icon looks like a data file with a little arrow on the corner). By the way, when I hit the "get info" option of the alias file, it shows me that the path is on my SSD?!
Sorry guys, I'm quite new and I'm trying to learn something about the terminal.

Finder always shows symlinks as aliases. Even though they are actually different, Finder does not show the difference, regarding all symlinks as aliases.


working on a remote Mac How can I log on remotely from my Macbook Pro to a friend's iMac so as to share her screen, and help her fix things when she has problems? My own knowledge is not very profound, so please bear that in mind with your answers. I am somewhat more at home with Unix than with Mac Os, but still no expert.

I realize that I would at least need her Mac's IP address. However, I think her computer gets its IP address from DHCP, so it would presumably change every time she turns her computer on or off. I suppose she could email me the IP address when she has problems, but that's not ideal.

Do I need to buy software for this task, or can I manage with facilities provided as standard by Apple? Does it matter which OS we work on? I am still working on 10.6.8, and I'm not sure what her iMac is running.

There are many ways to achieve your goal. Apple has its own product: Apple Remote Desktop.

But in your case I would suggest another tool called Teamviewer. It is free for non-commercial use and easy to handle. Both sides (you and your friend) have to install the teamviewer application. When startet, you don't have to bother with IP adresses or whatsoever. Teamviewer will give you an ID and a password which is enough to connect to your friends mac.
It is platform indipendend and will work also on lots of Linux distributions.

Another nice, maybe even easier to use but non-free service is Gotoassist. This service does not need to install software on the remote machine. The remote machine just has to open a specific link in browser and you're done.

As I mentioned before, there are many other possibilities depending on the type of support one wants to offer, for example: SSH or VNC.


How do I edit bash shell terminal history? I entered a password in a command line pro or in a terminal window by mistake and do not want to remove my whole history. My shell is bash.
How do I edit my bash history in Mac OS X?

Editing the .bash_history is just a matter of opening the file with an editor. There are a couple of ways you could achieve this.

In the Terminal just type vi ~/.bash_history, then edit the file as you want, and save. This option could be tricky, if you're not used to vi, of course.
Make the file visible by following these instructions, for instance, open it as any other file, modify it, and save.
In the Terminal just type open -e ~/.bash_history. This command will open the file with TextEdit, you can choose any other text editor, of course. Modify the file and save.

For the changes to be noticeable just restart the bash.


Is Airport Express reasonably better at receiving Wi-Fi signals than a laptop? I keep my router (an Apple Time Capsule 2011) in my living room, but I frequently use my MacBook Pro Retina 15" Mid-2014 in my kitchen, which is separated from the living room by a wall.

In the kitchen, I get roughly 50 % of the download speed that I get in the living room near the router.

I'm thinking of getting an Airport Express to extend my network via Wi-Fi extension. If I were to place it in the kitchen, would it suffer as much receiving penalty as my laptop, or is its capability much stronger, thus warranting the placement to some degree?

Alternatively, I could place the Airport Express in the hallway connecting the living room with the kitchen, effectively "mid-way" between the two rooms.

You could assume the Airport Express uses practically the same chipset as pre-AC equipped Macbooks.  Knowing this, any Airport Express would perform less fast than your 2014 laptop which does have AC.

But... Your 2011 Time Capsule also doesn't have AC technology, so this wouldn't be an issue.

Placing the Airport Express in the kitchen will theoretically improve signal because the Airport Express doesn't have (doesn't need) battery power saving routines as the Macbooks have (need).  Therefore chances are higher it can establish a better connection to your Time Capsule.

The bad thing is that you cannot improve speed with this; degraded signal in the chain is irreversible, no matter what (weakest link remember).

The good thing is that your Macbook wifi radio won't need to suck as much power as it will connect to a much closer antenna.

But... if you can place it in the middle the signal will have less chances to degrade and you benefit in speed AND battery.

So, yes, your footer assumption is the way to go; place it in the hallway.

If speeds are really really important to you and you have a little more money to burn, upgrade your network with a new Time Capsule or a new Airport Extreme.  These baby's do run on AC technology which is day and night different in speed.  Or invest in a non-Apple AC capable router.


Browsers unable to connect to Internet, other apps can, Parallels can This has been happening in the last few days: Chrome or Safari on the Mac (OSX Lion/10.7.2) are unable to connect to the Internet. Other apps are able to (Dropbox...). I am able to browse through IE on Win7 on Parallels. Terminal is able to ping to www.google.com.

I first thought it was a problem with Chrome, but Safari and Firefox have the same problem.

I am able to connect to the internet from my wife's laptop (Windows 7) and from my iPhone (over same WiFi network).

This problem gets resolved after I restart the Mac.

What can be wrong?

Update: When I use the IP address (173.194.37.50 for www.google.com) I am able to reach Google, from Chrome.
But even when I change the DNS to Google DNS, I still get the same issue when I use www.google.com. (This cannot be a DNS problem anyway right? ping is able to resolve google.com to its IP...)

I suspect a problem with the Parallels network driver, having seen similar issues before.  First, if you haven't already, try updating Parallels to the latest version.  Then, try changing the networking mode to Bridged, or if it already is, to Shared.  Also, here are some generic troubleshooting steps.


Is Apple Keyring data stored locally-only on devices? I would like to understand if the keyring database is stored only on the local Apple device or if it is also stored on servers on the internet.

As Mike Scott wrote, depending on your iCloud backup.

See "Set up iCloud Keychain".

See "Keychain data protection" on page 20 of the "iOS Security Guide" for how the keychain works, how it protects access to keychain items so they are only available when the phone is unlocked, using the secure enclave processor.


How can I run a application in Automator? I want to run an application in Automator but there is no run program.

Operating system and stuff:
OS X Lion 10.7.5
Automator 2.2.4
Memory: 3GB

You can use the Launch Application action:


Mac OS X 10.6.8 won't start up after kernel panic I got a kernel panic.

When I restart the laptop the system gets stuck in the loading screen (Apple logo and loading gif) with the fans spinning as if there was no tomorrow.

I tried booting in safe mode (power the computer holding shift) but no changes.

I've been waiting for 1 hour in the loading window already—this is not normal.

When your Mac consistently hangs at the loading screen you described (Apple logo with spinning gear) the best advice I can think of is to reboot using verbose mode.

To boot into verbose mode:

Power the Mac on and hold ⌘+V until you see a black screen with lines of text.

Verbose mode displays what is happening while the Mac boots, the stuff that is normally hidden behind that gray screen with the Apple logo and spinning gear.

Try powering it off (hold the power button for 5-10 seconds) then powering back on and entering verbose mode using the method described above.  Give it a minute and check to see where it's hanging.  It might not give you a clear cut answer but it can surely provide some clues.

In my experience this often comes back to a failing/failed hard drive.  This is often reinforced when I see entries for "Disk I/O read/write error" or similar in verbose mode.

Assuming you don't see Disk I/O errors you might also try resetting the PRAM and/or SMC.

To reset the PRAM:

Power on your Mac while holding ⌘+option+P+R until you hear the Mac chime twice, then release the keys and let it boot normally.

The SMC reset is somewhat model dependent.

For Macs with a removable battery: Remove the battery and disconnect the power cord, hold the power button for 5 seconds, reinstall the battery, reconnect the power cord and power on.

For Macs without a removable battery:

Connect your Mac to it's MagSafe adapter, on the left side of the Mac press and hold Shift+control+option and the power button for 1 second then release all at the same time.  Without holding any keys press the power button again to power on the Mac.

Hopefully that helps!


Code to fix: WindowServer[250]: _CGXGLDisplayContextForDisplayDevice: No matching context for device (0x7fcfcaf18220) - disabling OpenGL I need help implementing the answer to WindowServer[250]: _CGXGLDisplayContextForDisplayDevice: No matching context for device (0x7fcfcaf18220) - disabling OpenGL by inserting the following into wherever it goes:

? [= Sender WindowServer] [= Level Warning] [A= Message _CGXGLDisplayContextForDisplayDevice] claim only

I'm not a coder but I can get to Terminal and past in code and press enter.  That's the extent of my ability.  So, if there's something to do before putting this statement in Terminal I would need to know what, where, and how, etc.  Thank you.

From the original answer:

Type the following into your terminal: sudo nano /etc/asl.conf.
Now, use the arrow key to go to the bottom. When you are at the bottom, paste it the following:

? [= Sender WindowServer] [= Level Warning] [A= Message _CGXGLDisplayContextForDisplayDevice] claim only

(There is nothing special, just command+v).

Now, hit control+x and hit y. Now, type sudo kill -hup syslog.

Sudo means super user grant, so you are giving the command access to all of your machine.


Games on windows 8 in bootcamp lag even on lowest graphics I've been playing Crysis 2 and Skyrim on my Retina MacBookPro (10,1) for months now. The two games used to run super smoothly even on nearly maxed out settings. This laptop has an Nvidia GeForce GT 650M graphics card inside, it runs great.

But I recently replaced my Windows 8 consumer preview with the retail copy, and since then, 3D games lag in this odd way, no matter what the graphics settings. Every second Skyrim and Crysis alternates between running smoothly and lagging. It's a cyclical lag that comes and goes like clockwork. I can turn the graphics down to 800x600 with no antialiasing and low texture quality, and it runs much smoother on the "up" motion of the cycle, but every second it moves back into this lag spike.

I've tried installing beta graphics drivers, re installing the operating system, re installing the bootcamp support software, and freeing up space (I have about 20 GB free). I can't figure out what suddenly caused this other than some obscure difference between the consumer preview and the retail version.

What can I try? Is my video card failing? Are there some other drivers I can install? This isn't normal lag from maxing out the card, it

I had something similar happen to me recently. Suddenly, game performance went down pretty badly, not only on Windows, but on OSX as well.

Reseting the SMC seems to have corrected the issue.

Here are instructions on how to do it: http://support.apple.com/kb/HT3964

Hope it fixes your problem, if you haven't yet found a solution.


iOS 10 stuck on approve this iPhone from another one of your devices I have a MacBook Pro with El Capitan 10.11.6 signed in to iCloud. I also have an iPhone 6s Plus which is also signed in to iCloud. After upgrading my iPhone to iOS 10 I have follow-ups showing notifications and also frequently appearing push notifications about "approve your device".

I push it, then enter my passcode to iPhone and see this:

Approve This iPhone
Go to one of your devices signed in to iCloud to approve this iPhone.

Waiting for approval (spinning wheel)

Sooo... I do not have any popup or window or anything else on my MacBook to approve iPhone. How can I do this?

This is almost certainly a keychain issue. Try these steps:

Turn off iCloud Keychain on both the MacBook and iPhone.
From your iPhone, go to Keychain and tap Approve with Security Code.
When prompted for the 4-digit iCloud Security code tap Forgot Code.
Follow the prompts to reset the code.
Now this device should have iCloud Keychain enabled and working.
Now from your MacBook, enable iCloud Keychain.
You should get a notification on the iPhone about this. Enter your iCloud password in the prompt.
iCloud Keychain should now be enabled.

Hopefully this gets rid of the Approve your device notifications! Let me know how you go.

[EDIT]
***Make sure you have a passcode setup on your iCloud Keychain on your computer. If you don't set one up and then try approving your phone again. That is what made mine work. Hope this helps!


How do I do 6-key Braille input? Does Mac OS X have a facility for 6 key (Perkins) Braille typing? That is using F, D, S, J, F & L to type in the various Braille cells (mapping respectively to ⠁, ⠂, ⠄, ⠈, ⠐& ⠠) on the keyboard. I don't want to have to use the character palette as that would really slow me down. If OS X doesn't have it out of the box, what 3rd party tools are good?

An answer for 8-key input is also acceptable.

Just recently out I think, Braille Writer for OS X:

http://ethervision.net/blog/braille-writer-mac-apple

If you have an iOS device, you there is Braille Pad.

https://itunes.apple.com/us/app/braille-pad-pro/id544696675?mt=8

https://itunes.apple.com/us/app/braille-pad-student/id551373276?mt=8


Record video in 16:9 aspect ratio on the iPad running iOS 11 How can I record a video on iOS with an aspect radio of 16:9? I am using the iPad 9.7" 2017 model. I am running iOS 11.

Double tap on the screen while the camera is in video mode. That will switch the aspect ratio between 4:3 and 16:9.

I was fooling around with my iPad 2 and I found that you can change the aspect ratio when taking video! (not sure if this works on other iOS devices running iOS 4.3) But all you have to do is go to your iPad 2’s camera app, and double tap on the view finder. (I double tapped on the right side of the screen).
That’s it! Now you can record widescreen (16:9 ratio) 720p video instead of the regular “legacy” full screen (4:3 ratio) 720p video!

Source


Mac external drive, file rights I have a mac that just received an external drive which I formatted and plugged in.

When I am logged in as a normal user it all looks fine.
But when I am logged in as root the system recognizes ownership of the drive as '_unknown'.
Also, I can't change the ownership of any files/folders within the drive to root.
I do 'sudo chown root somefolder' but nothing happens.

Why is this happening? How can I make the mac recognize the external drive correctly?

Further info:
Version: OSX 10.7.5.
External drive is connected via USB.
It's a 3TB externa Lacie drive.
I formatted the external drive by just clicking the 'Lacie setup' program that appears when you connect it.
Filesystem: when i typed mount i recieved (hfs,local,nodex.noswich.journaled).

In the Finder, get info on the volume (under the File menu). First, check the General section of the info window to make sure it's in one of the Mac OS Extended formats (probably "Mac OS X Extended (Journaled)"); if not, you'll need to reformat it. I'm not familiar with the Lacie setup program, but you can use Disk Utility to do this.

If it's in Mac OS X Extended format (or a variant), expand the Sharing & Permissions section of the info window, and see if it has an "Ignore ownership and permissions" option at the very bottom. If it's there and enabled, click the padlock and authenticate as an administrator, then disable the "Ignore..." option.

Explanation: when OS X sees a new external volume, it assumes it's either come from another computer, going to another computer, or both.  Since there's no general correspondence between accounts on different computers, OS X figures there's no point in trying to track file ownership and simply disables it. If you enable ownership in the Info window, OS X will start storing & respecting ownership on files on that volume.


Grey screen apple logo prohibitory sign etc MacBook 2009 I have an older Mac book that will not boot. I have tried all key commands including fcsk which resulted in a "mach kernel" end result, so nothing worked. I don't have a system install disk (bought used). I would like to try a disk utility fix. I'm not sure if I need the specific install disk for the precise model, or if a generic Snow Leopard install disk will allow my to try to repair the disk. Or would the Snow Leopard  that came with my husbands later MacBook Pro work? Or do I need Disk Warrior 4? I will try to actually replace the hard drive if necessary but I would lose my data. This is my model:

Apple MacBook 13-inch 2.13GHz Core 2 Duo (Mid 2009) MC240LL/A [Condition:Good][Memory:4GB (2x2GB PC2-6400)][Hard Drive:750GB Hard Disk Drive][Optical Drive:SuperDrive-DL

You can always just use your Snow Leopard installation discs, in order to reinstall OS X. If you can get on a copy of OS X El Capitan though, it would be better to have it installed on that Mac via a bootable USB.


Devanagari font in macOS Terminal not rendering properly [Setup] -

I have a M1 Mac mini running Big Sur.
I am using Devanagari-QWERTY input method for typing Marathi/Hindi.

[Problem] -

All is well when typing in apps like Pages, Stickies, Safari etc..
But when I type in Terminal app, the rendering is not as expected.

See below images.
What could be the issue and how to fix this?

I think that Apple's Terminal has never supported correct Devanagari display, but have read that Gnome Terminal does.  You could try that.
Is there anyway to use GNOME terminal on macOS?
For vim also try searching/asking in its stackexchange site.
If you find something that works, by all means come back here and let us know.


How to diagnose Time Capsule issues I have a 1st or 2nd generation Time Capsule which acts both as the WiFi Access Point and the Time Machine backup store for our laptops. In the last few weeks we started to experience various problems like WiFI throughput getting reduced to practically nothing, Time Machine backups failing and the Capsule itself getting inaccessible. These situations can be resolved by power cycling the Capsule (and on the long run by replacing it with a new model).

In the meantime, which options do I have to diagnose the problem? I've already looked at the logs via Airport Utility but they don't show anything related to these incidents at all. Are there other options?

The main issue you mention of network strength and/or performance degrading should be something you could catch with periodic dumping of the RSSI status using the airport binary. I sym link it to /usr/bin for $PATH reasons and ease of access, but it's really buried in a System framework.

Air:~ me$ which airport
/usr/local/bin/airport
Air:~ me$ ls -l /usr/local/bin/airport
lrwxr-xr-x  1 root  wheel  89 Apr  4  2012 /usr/local/bin/airport -> /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport

If you were a unix sysadmin type, you would set up SNMP log forwarding on th AirPort/Time Capsule to send all the logs to your Mac and configure syslogd to file those airport messages in a log of your choosing. The Airport Utility version 6 (and the iOS versions) lack the ability to set a SNMP remote log host, so download an older version and maintain a copy of it going forward in case you want this extra functionality.

The --getinfo option will let you graph your observed signal and noise levels and you might even automate --scan to see if you can correlate drops to other networks showing up on the same channel with a better signal (or even causing excess noise). Once you've been able to catch 10 failures, you can start going over the logs to see if you can detect any patterns. You'll also need to keep good notes about what you change (and when and why) in terms of reboots, drops, changes to channels, etc...

Depending on how bored you are, you could script these data collections to append xml or csv and use a spreadsheet to chart the values over time. If you were supremely bored or motivated, set up MRTG - but for most home networks, it is severe overkill to configure let alone maintain.


Can I remotely access an iPhone from a computer overseas? I'm in England and have no Apple products.

My mom's in North America. We both have Internet. She's unskilled, but having difficulties, with iPhone that I'd like to access remotely from my Windows laptop.
Can I?

I would recommend the TeamViewer app.

Both side have to have it (you and your Mom).

You would download the version for your PC

while your Mom can use the iPhone version.

Here is the download site for all devices and OS.

Once installed your mom has to share her Login and the password with you.


Blank dock, command+tab menu icon for application - RubyMine 7.0 I'm having a problem with the application icon for Jetbrains' RubyMine 7.0 not showing up in the dock.

This used to work just fine before I cloned/renamed the user accounts on my Mac, running Yosemite.

One of my user accounts is able to see the icon in the dock, the other is not.  I believe the problem is with the account that was cloned from the original account.

Things I've tried:

Fixing permissions through diskutility
Uninstalling application, deleting all ~/Library files for the app and reinstalling.
`chown -R  ~/ (to ensure proper file ownership after account clone/rename)

Help is appreciated.

EDIT: Just to add a few other things:

Sometimes, for seemingly no reason, the application icon will reappear in the dock.  As strange as it sounds, there is no obvious action that causes it to come back.  It will certainly disappear shortly after.
The icon is also missing from application dialogs and from the command+tab switching menu.

I recover from all sort of temporary dock corruption by killing the dock after saving work and getting ready to restart the Mac.

killall Dock from terminal app
log out and back in
restart the Mac

Barring that, you've got more serious corruption, but let's start with the quick triage first.

The next steps would be to make a new user account and repeat installing your app on that user’s desktop and drag it into the dock.


Texts and imessage appearing on Mac I want texts and iMesssages from my iPhone to stop appearing on my home Mac. They currently get copied between the 2 devices, I have tried deleting iCloud but this does not stop the messages.

In your iPhone: Settings > Messages > Text Message Forwarding: you should see your Mac. Just uncheck it.

In your Mac: Messages > Preferences > Accounts: Just uncheck "Enable this account" or just "Sign out".

Be careful that you can attach iPhone and Mac also with an Apple ID different from the iCloud one, so you have to figure out what is the shared account and sign out from it.


Safari - Picture in Picture with Youtube playlist I am working on a Mac OS Sierra 10.12.1 using the new Safari Picture in Picture functionality.

It works well for single Youtube videos but how can I keep watching videos on Youtube playlists?

Right now, I have to go back to Safari at the end of each video and reenabled Picture in Picture mode every time.

Disable Adblocker to fix the p.i.p. playlist problem


Messages in iCloud Won’t Delete from macOS If I delete a message from Messages on my iPhone or iPad connected to Messages in iCloud, it gets deleted from all my other devices. However if I do the same from my Mac also connected to Messages in iCloud, the message/conversation only gets deleted from the Mac.

How do I make message deletion work correctly from a Mac?

As of macOS 10.13.5 High Sierra, it appears you need to disable Save history when conversations are closed for message deletion to function as advertised over iCloud.

To do this, open Messages, then from the menu bar navigate to Messages → Preferences… → General. Uncheck this box:

It’s unclear whether this is the expected behavior, but it sure looks like a bug.


Mounting a disk image without the "nodev" option I need to mount a disk image. From terminal, I issued:

hdiutil attach <myImage.sparseimage>

Now if I run mount I get:

/dev/disk2s2 on /Volumes/<myDisk> (hfs, local, nodev, nosuid, journaled, noowners, mounted by administrator)

The nodev flag is creating problems for my next commands. Is there a way to disable it?

You can't easily change the way hdiutil mounts the image. You can, however, change the status of a mounted volume using the mount command with the -uoption. The following will do what you wish:

sudo mount -u -o dev /Volumes/<mydisk>


Vmware Fusion + Ubuntu 12.04, shortcut I'm running vmware fusion 5 under OS X Mountain Lion. My virtual machine is running Ubuntu 12.04.
I have two fastidious shortcuts which I would like to disable:

When I press Command ⌘, Ubuntu opens the dash and shows under the text field a set of icons.

When I press the Option ⌥+` keys (which I use for making accented letters) Ubuntu opens the dash without showing the icons under the text field.

How can I disable or block these shortcuts?

I tried playing around with the keyboard settings in Fusion, in particular editing particular profiles.

This did not change the behaviour of ⌘ in unity. I did not play around with ⌥+` as I could not replicate your Ubuntu behaviour.

The only way I found to disable the ⌘ shortcut is to install gconf-editor and remove the shortcut from within Ubuntu running the following commands:

sudo apt-get install gconf-editor
gconftool-2 --set /apps/compiz-1/plugins/unityshell/screen0/options/shortcut_overlay --type bool false


Problems with macOS path on Synology NAS (SMB) I am having issues with macOS where, after mounting a drive it will mount new drives instead of just jumping to the sub-folder path within the mounted drive.

For example, I'm seeing where I send someone a path for in the "Video" drive on a Synology (smb://HAL9000/Video).  Instead of mounting the "Video" drive (smb://HAL9000/Video) and going to a sub-folder within the video drive labeled "GoPro -IMPORT", it will create a new drive on their desktop labeled "GoPro - IMPORT".

If I create a new sub-folder within "GoPro - IMPORT" and send them a link to that like (smb://HAL9000/Video/GoPro%20-%20IMPORT/Test), instead of taking to the sub-folder in the "Video" drive that they already have mounted on their desktop, it will create an entirely new drive labeled "Test" on their desktop.

I've tried reaching out to both Apple and Synology and had no luck with this.  I would appreciate any kind of help/support.

Unfortunately, this is not how macOS works.
SMB or Server Message Block is a Microsoft Windows technology so it stands to reason that sharing links to SMB shares (or as Microsoft calls them, network shares) is baked into the OS.  The UNC share isn't "mounted" like it is in Unix where "everything's a file".  In Windows, you can "map" a network drive to a share, but in Unix, you have to mount it.
Finder and SMB
When Finder "sees" the smb:// it invokes the mount_smbfs command behind the scenes and creates a mount point in the /Volumes/ sub-folder.  Using your example, the first time you send the link smb://HAL9000/Video, it will issue the following command:
`mount_smbfs //domain;user:password@HAL9000/Video /Volumes/Video`

If that name exists, you will get the following path /Volumes/Video(1) and if that exists, (2) and so on.  Using my SMB mounts on a Synology Diskstation, as another example, I have the share "Network Share" already mounted.  When I try to mount again using "Connect to Server" (⌘ CommandK and just connecting directly to the server with no share specified, you can see that it's greyed out.

That's because it's already mounted.  Issuing the mount command gives us:
$ mount
/dev/disk2 on / (hfs, local, journaled)
devfs on /dev (devfs, local, nobrowse)
map -hosts on /net (autofs, nosuid, automounted, nobrowse)
map auto_home on /home (autofs, automounted, nobrowse)
/dev/disk5s1 on /Volumes/MUSIC (msdos, local, nodev, nosuid, noowners)
/dev/disk4s2 on /Volumes/My Passport for Mac (hfs, local, nodev, nosuid, journaled)
/dev/disk3s2 on /Volumes/FreeAgent Go (hfs, local, nodev, nosuid, journaled, noowners)
//allan@diskstation.home/Network%20Share on /Volumes/Network Share (smbfs, nodev, nosuid, mounted by allan)

The last line confirms it - "Network Share" is already mounted and can't be mounted again.
So why can't I share links?
Because you don't access the file through smb://server-foo/share-bar/filename.txt (ignoring authentication).  You access it by going to /Volumes/Share-bar/filename.txt
The problem with that is /Volumes/Share-name may be completely different for you and me (see above re: existing names).  The only thing you can do is to rewrite the UNC path to let Mac users know which file you're referring to.  Example:
Windows:  \\HAL9000\Video\GoPro - IMPORT\filename.txt
macOS:    /Video/GoPro-Import/filename.txt

The user will then have to manually navigate to that share to get to the file you're referencing.
This is why they created WebDav because now you'll be accessing the file via a universal https:// link which is the same for everyone.  The downside is that if you intend to share with Windows clients, you'll need to implement SSL certificates.  And yes, Synology does support WebDav


Xcode C++ project adds C style header formate to new files I just started using XCode to do basic C++ programming. I have noticed something strange.

When Im working on a C++ project, and want to add a new C++ source file, the automatic generated file is formated as a C file, even though its extention is .cpp.

Im using Xcode 6.1.1. I was a member of the Mac OSX public beta program, but I think I use the released version of Xcode.

Can anybody reproduce this bug, or is it just my system that got this bug? If so, how could I fix it?

This is what a typical automatic created header file look like:

//
//  testfunk.h
//  Test
//
//  Created by Jørgen Rørvik on 16.01.15.
//  Copyright (c) 2015 Jørgen Rørvik. All rights reserved.
//

#ifndef __Test__testfunk__
#define __Test__testfunk__

#include <stdio.h>

#endif /* defined(__Test__testfunk__) */

The Xcode template for C++ files does have #include <stdio.h>. To change this you have to create a template of your own - See several Stack Overflow questions here or here


How to use iMessages without giving out phone number? I want students to text me at iCloud and I want to receive the messages on my iPhone and reply to them by iCloud. In essence, I don’t want them to have my personal phone number.

You can enable the iCloud email address under Settings → Messages → Send & Receive. After which just tell your students to compose a new message to your email address. They can even maintain your contact in their address books with only your email, not number.

Also, to prevent accidentally giving out your number, use email address to compose new messages. This setting can be found in the same place.


Difference between using ⌘ - space vs 'open -a' in terminal? I noticed a difference when compiling a latex document within emacs, but I think this is really a mac question.

When I open emacs via ⌘ - space and then type C-c C-c, instead of compiling with pdflatex, the minibuffer proposes 'Command[\doc-view]', and if I enter 'pdflatex', the TeX-shell (within emacs) tells me 'pdflatex: command not found'.

When I open emacs from a terminal window and type 'open -a emacs', it works fine.

Why is that?

The problem you are having is a constant for Emacs. It's due to Emacs relying on a couple of things that are set in a bash shell that aren't available in the GUI.

The most notable of these is the PATH variable. That's why pdflatex isn't being found.

Check https://www.emacswiki.org/emacs/EmacsApp for a better explanation and some things you can do to make it easier.


Temporarily disconnect from home Wi-Fi? On an iPhone, is there a way to temporarily disconnect from my home Wi-Fi without having to “Forget This Network”?

Why I need this:

My home Wi-Fi sometimes has a very slow Internet connection.
Meanwhile, my 4G always has a strong Internet connection.
In those cases, I would like to:

disconnect my phone from my home Wi-Fi,
activate the phone's wireless hotspot,
use this hotspot to connect my PC to the Internet, via the 4G connection.

I'll make my comment into an answer.

For your particular situation, you don't need to temporarily disconnect from home Wi-Fi.

When you realise that the Wi-Fi doesn't work properly and you want to switch to 4G it's only necessary to start the personal hotspot from settings.


My mac keeps panicking Recently my mac has started panicking and I don't really understand why.
The reason for the panics aren't always the same either.

Sometimes the reason for the panic is the same but the thread is different.

All the panics so far are in this gist (which as of posting only contains the most recent one).

The only thing I can pretty much say is I doubt it's Avira as I installed it right at the beginning and this issue is a recent one; I mention this because I read that sometimes kernel extensions can cause panics and Avira has a Kernel extension.

It happens whether I'm in the browser (Chrome) or my terminal (iTerm2).

I have 3 spaces open, 2 browsers and one terminal.

I'm running Tmux in my shell for multiplexing.

One last thing, unrelated, but why do some of the panics error with Bash? I switched my shell to Zsh.

The only thing I can pretty much say is I doubt it's Avira as I
  installed it right at the beginning and this issue is a recent one

That could be evidence to the contrary - even a minor OS X upgrade can cause a third party kext to become deprecated, resulting in persistent panics.

Unless you completely uninstall the software, you won’t be able to rule it out. A quick google search of Apple Support Communities shows a multitude of panics related to Akira’s drivers.

Another alternative would be to unload the kernel extension temporarily* and test. Open Terminal and enter the following command (replacing with the actual name of the kext):

sudo kextunload /System/Library/Extensions/thirdpartykext.kext

Confirm it’s unloaded:

kextstat | grep com.avira.kext.FileAccessControl

grep should return nothing. Proceed to reboot your machine.

If you’re unable to recreate the panic, then you’ve isolated the issue. Contact the developers of the software, report it, and wait for them to roll out an update.

*To reload the kext, you’d run:

sudo kextload /System/Library/Extensions/thirdpartykext.kext


Can I update the iCloud password from a terminal? I have several Macs in a different country, and I would like to update their iCloud password remotely. I can login to the machines via SSH, but the firewall does not allow me to use VNC.

I would like to know how to update iCloud password using only terminal commands. Is there any way?

check out the "security" command . it my work.


Finding hidden apps on home screen iPhone XR I removed a game app from my Home Screen when I wanted to delete it.  How do I get the icon back on my Home Screen?  I looked at iTunes but could not find apps there.  I removed the app on the home screen by clicking on and holding the app icon, then I hit hide app instead of delete app. I can only open app through App Store.  I have software version 14.3.  Thanks!

Update: I used the App Library and found the icon.  Thank you!!!

On iOS 14 you can find apps in the App Library if you remove the icon from Home Screen. You can also find these with Siri and Spotlight.

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

For older iOS versions you need to reinstall the app from the source (usually the App Store).


Is there a way to disable the command+up/command+down key combinations? Command+Left and Command+Right are both incredibly useful key combinations. By contrast, Command+Up and Command+Down are incredibly irritating. I almost never actually need a shortcut to the top of the document. 99 times out of 100, when I press Command+Up or Command+Down, it's by accident, usually when meaning to press one of the useful combinations. Is there any way to switch those two off?

You can use KeyRemap4MacBook with a private.xml such as this:

<?xml version="1.0"?>
<root>
  <item>
    <name>Disable ⌘↑ and ⌘↓</name>
    <identifier>DisableCMDUPandCMDDOWN</identifier>
    <autogen>
      __KeyToKey__
      KeyCode::CURSOR_UP, VK_COMMAND | ModifierFlag::NONE,
      KeyCode::VK_NONE
    </autogen>
    <autogen>
      __KeyToKey__
      KeyCode::CURSOR_DOWN, VK_COMMAND | ModifierFlag::NONE,
      KeyCode::VK_NONE
    </autogen>
  </item>
</root>

Just CURSOR_UP, VK_COMMAND without | ModifierFlag::NONE would also disable for example option-command-up.


VirtualBox does not work after upgrading to Big Sur During the holidays, I decided to upgrade from Catalina to Big Sur (macOS 11.1 (20C69) to be precise). The one thing I did not account for is that VirtualBox stopped working.
I followed the usual advice of using the VirtualBox_Uninstall.tool script to remove any trace of VirtualBox, rebooting, installing the latest stable version from a VirtualBox-6.1.16-140961-OSX.dmg disk image, ... which fails.  The install does not complete. I'm apparently not alone in experiencing this. Afterwards, VirtualBox is present on the file system however. Trying to start it works, although not booting up VMs. This fails with a rather expected
Kernel driver not installed (rc=-1908)

Make sure the kernel module has been loaded successfully.

where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.

error message. After dismissing it, the VM process crashes (throwing EXC_CRASH (SIGABRT)).
I then tried pretty much everything in the giant thread out it on the VirtualBox forums. Nothing works for me. The test versions also do not work at all, despite completing the installation.
All other articles and forum entries as well as Ask Different questions were either dismissed because the author was using a pre-release version of macOS 11 or describe situations that, to the best of my understanding, simply cannot occur on Big Sur. Like manually accepting kernel extensions via System Preferences > Security & Privacy. As far I can gather, kernel extensions are no longer supported in Big Sur, hence the breakage of software that relies on them, like VirtualBox.
I need VirtualBox for my Vagrant development boxes. For the time being, it means I'm dead in the water, probably having to re-install Catalina from scratch or buy both a VMware and a VMware Vagrant plugin license.
Maybe someone else has experienced the same issue as I have and can shine some light on the steps taken to get stuff working on Big Sur. This answer did not work as well for me.
Edit: For the time being, VMware Fusion plus the Vagrant VMware plugin appear to do the job quite nicely. And by purchasing the plugin, I'm actually supporting OSS development of Vagrant. Additionally, VMware appears to be quite a bit more performant compared to VirtualBox. Oh well, I guess that's what you get for running something like macOS as a development machine and update too early. Lesson learned: I'm going to trail macOS releases by a full year from now on.
Edit 2: VMware Fusion has issues with Vagrant creating private network addresses. This fails with a "Failed to create new device" error and Hashicorp support has no idea what may be wrong. However, after a full disk wipe and clean install of Big Sur, suddenly VirtualBox installs just fine and runs as expected — meaning, like before. No issues with private networks as well and no SIP messing around or the like required. Just initiated a refund for the VMware plugin license. It's pretty clear that the OS updater breaks stuff in subtle ways that are hard to troubleshoot. My suggestion to someone in a comparable situation: backup your system, wipe it, make a clean install and rebuild it from scratch (not a Time Machine backup). Now the only issue are random kernel panics on restart, even on the clean install. Oh well...

Big Sur user here (11.1), running VirtualBox 6.1.16 and Vagrant 2.2.14. Currently have a VM running, no issues. The major hassles for me came a few OS versions earlier (Catalina), presumably due to tightened macOS security, so may be why it was smooth for me to update to 11.1.
Per the mentioned thread, did you try this?

go to system preferences > security and privacy
unlock to make a change
unblock Oracle (might need a restart)
Install Virtualbox again
Linux VM started properly


1 old (Snow Leopard) iMac & 2 newer (Mountain Lion) MacBooks -- iCloud or DropBox? I have an old iMac (circa 2006, Intel Core Duo) which is running Snow Leopard (somewhat slowly) and cannot be upgraded to Mountain Lion, so there's no iCloud on that machine.

I also have 2 MacBook Pros which will both be running Mountain Lion very shortly.

My question is, I'd like to keep my "Documents" folder in sync across all of these three machines.  If I used iCloud to sync both MacBooks, is there an easy way to sync the iMac (minus iCloud) as well?

Or should I just use DropBox?  Any suggestions are greatly appreciated!

I think in your case Dropbox is the solution to keep synchronized your files.

You can continue to use iCloud on your other Mac with Moutain Lion (to synchronize your reminders or other contents that use iCloud).

Moreover, my understanding is that iCloud don't sync your Documents folder, so anyway for your need, you should use Dropbox.

However, be careful when you put your personal data online !


Cannot import AVCHD into final cut pro x I have a folder called "from camera" that contains an AVCHD component.
I recorded my videos using a SONY-X70.

I cannot import my media into fcpx. When i use the media importer in FCPX it tells me no importable files as describe in the pictures.

How can I import media into FCPX ..AVCHD

all help is appreciated

If the contents of the AVCHD have been altered or become corrupted, FCPX may be unable to import it. Utilities such as Panasonic's (free) AVCCAM restorer will attempt to reconstruct the AVCHD file structure. Backup your file before you attempt it.

In the event that the software cannot restore the file, it may be possible to extract the .MTS / .M2TS files from within the bundle, make a copy, place them within a folder, and seek to restore the contents of that folder separately.

There are also utilities such as FFMPEG that can easily and almost instantly convert stream files (for example the individual .mts / .m2ts files) and re-wrap them as .mov files. Be aware that converting stream files directly to .mov or .mp4 files may lose useful information which would normally be present within the AVCHD structure.

Panasonic publish various utilities for AVCHD and AVCCAM file structures on the Panasonic pro camera download site.


How Do I Create a Named Fork and Store Data In It? It says here...

https://en.wikipedia.org/wiki/Fork_(file_system)#Apple

...that the HFS+ file system in OSX supports "multiple named forks". How do I create a named fork at command line, and then how do I store data in it? Also, what are the maximum number of bytes I can place in my named fork?

I don't know about named forks except the resource fork. I can create it like so in Terminal (Bash shell):

echo "data fork area" > /tmp/test.txt
echo "resource fork area" > /tmp/test.txt/..namedfork/rsrc
cat /tmp/test.txt
cat /tmp/test.txt/..namedfork/rsrc

I don't know about size limitations.

You can also copy a binary executable into the resource fork, and extract the bytes back out into a file, and execute that file:

cp /usr/bin/whoami > /tmp/test.txt/..namedfork/rsrc
# get ready for some bells to sound in your terminal
cat /tmp/test.txt/..namedfork/rsrc > /tmp/test.bin
chmod u+x /tmp/test.bin
/tmp/test.bin

Note that the whoami command is kind of weird when you do this because it's really the id command, and so when you restore it, it reverts to the id command and you can do man id to learn more about that.


Is there an app that allows me to set music as an alarm? Let me preface this by saying that I am not looking to set music in the built-in iOS Clock app. I have tried that and I had problems with it. I usually keep all sounds muted, so it won't work. I also tried Alarm Clock HD, which plays music as an alarm but it won't work for me as I needed to be running in the background. I am also using an iPod touch, so bmike's suggestion isn't feasible.
Here's what I'm looking for: an app that will allow me to a set a song for an alarm and will play that song even if the app is in the background. Alarm Clock HD also had a nice volume feature, which automatically turned up the volume all the way (which is really nice). Is there an iOS app that will do this?

As of iOS 8, the native Clock app supports selecting your own music. When selecting a sound, choose "Pick a song" at the top. Presto!


Can anyone recommend a programmers' editor? I'm looking for a programmers' editor. I know Xcode and I use it for application programming but I'm looking for something that will:

Syntax highlight PHP, SQL, Javascript (including jQuery) and CSS not required but would be nice; also Lua, Python, and Perl
IntelliSense type stuff, start typing and get all the functions/objects/variables it could be and any parameters. Xcode does this well for C/C++/Objective-C but looking for languages that are listed above.
Would be nice if it worked with projects and not just files
Integrated with SVN, CVS, or GIT
Had upload-to-server functionality built in

I am aware of Coda but am looking for other options before I drop 100 bucks.

TextMate

Doesn't address all of your needs but I think it's pretty snaz.


Is there a QuickLook app that will highlight search terms within MS Word documents? I have a client with a large number of Word documents that he needs to be able to search. He's been using Spotlight and Quick Look, which has worked pretty well.

He asked me if there was a way to have the Quick Look image automatically highlight the search terms within the Quick Look preview.

I've been googling for a Quick Look plugin, but I haven't found one?

Does anyone here know of something like this?

This would require you to be able to pass parameters into Quicklook (the spotlight search terms) which I don't think is possible. You might be able to do this with Automator and a folder action.


iPhone sometimes goes to sleep running Pandora, sometimes doesn't I use my iPhone4 to listen to Pandora radio at work. I have it plugged in to a standard charge/sync cable, and a headphone jack to my speakers.

Sometimes the screen stays on indefinitely, showing me the current album in the Pandora app. Sometimes, it goes to sleep, and I have to manually unlock it to see the current album. Seems about 50/50, and I have no idea why it sometimes stays on and sometimes doesn't.

How can I get it to stay on, and not go to sleep (I do want it to go to sleep normally when I'm not using it for music, however)

Not sure if this is specific to Pandora, or if I'd see the same issue with the iPod app.

I figured out a reliable way to make sure the phone doesn't go to sleep while running Pandora:

Launch Pandora
Insert headphone jack
Connect dock/power cable

If I dock the power cable before launching Pandora, then the screen will go to sleep.

Still not sure why it does this, or if it is specific to the Pandora app, but hopefully this will help someone else out :)


How to locate "other" files on an Imac When I look at my available disk space on my imac it says ive used 700 gigs for "other" files. How do i find these files and delete them?

I use a app called OmniDisk Sweeper.

It allows me to find all files and delete the one I do not want.

In case of a application I use the AppCleaner application that not only deletes the app but all associated stuff with it.


How to improve spell check in OS X When I write a letter my workflow is like this.  I type sentence.  Some words end up underlined red.  I right click on the underlined words and select the correct spelling.

The problem is that the quality of suggestions that I get is really low.  Often, the correct spelling is not suggested even though it's one or two edit operation away.  When I paste the same misspelled word into google, it finds the correct spelling immediately.  That, of course, is prohibitively time consuming.   I mean, if general search the internet performs better, the built in algorithm is really awful

So, how can I improve the quality of spelling suggestions?  Is there a way to plug in a different algorithm or a different dictionary?

A possible alternative is Spellcatcher X.

http://www.rainmakerinc.com/products/spellcatcherx/


How to drop a file onto a GUI app from command line? I've got a tool to normalize WAV audio files, but it only works by dragging and dropping the file either onto the GUI or onto its dock's icon.

As far as I know the app doesn't have any option to pass from command line, so I was wondering whether there is a way to pass the file from a terminal in order to use it in a bash script.

Generally this is equivalent to dragging a file onto an app's icon:

open -a Your_WAV_Tool.app /path_to/your_file.wav

You can use the complete path to your app if it isn't in an expected place.


How to change resolution when using screen sharing and no physical screen is connected? We have a Mac Pro running Lion that ha no screen attached.  It is set up so it can be accessed using screen sharing (VNC).  It works with a 800 by 600 resolution.

How can I change the resolution while being connected using screen sharing?

When I use display preferences to change the resolution while being connected using screen sharing, this is what happens:  I get a dialog saying that if the resolution change didn't work, the system will revert it in 15 seconds.  Then the screen freezes (nothing changes and it doesn't appear to react to clicks).  Finally after 15 seconds it reverts to 800 by 600.

There is a very cool command line utility called cscreen. The developer has a number of versions available. Depending on how old your Mac is, you either want the PPC version, or the Intel version. If your Mac is newer than a 2006 model, you probably want the Intel version.

Once you have downloaded the disk image, double click the image to mount it, then copy the cscreen file to anywhere except the disk image. Now open Terminal. (You can search for it in Spotlight.) Once Terminal is open, you can run cscreen by navigating to it, then typing ./cscreen. For example, if you copied cscreen to your Desktop, you would navigate to the Desktop in Terminal by typing cd ~/Desktop. Once there, you would type ./cscreen.

To change the resolution, we first need to know what resolutions are possible. To find out, we can type ./cscreen -v. This should output something like this:

Now we can choose a resolution. Assuming you want 32 bit colour depth, you can change to the resolution of your choice by typing

cscreen -i <DisplayID> -d 32 -x <width> -y <height>,

and replacing the parts enclosed in <> with the actual values. I haven't tested this with a headless system over VNC, so your milage may vary. The command line option -i <DisplayID> is optional, so if your VNC doesn't register a display ID you may still be able to change the resolution if you omit that part of the command.


Is there a way to remove a server account network entry from terminal? I have a Mac mini running Mac OS X 10.10.3. It has an open directory server configured in the server account network configuration in 'Users and groups'.

Is there a way to remove that server account network entry from terminal?

To be more specific, I want to log in with the local user and remove the connection with the directory service for that particular server using the terminal.

After searching for a few hours I've finally found the command!

dsconfigldap -r *servername*


Transfer app without developer enrollment I have two apple ID's. I created a new one for my new company and bought enrollment for it. The old account has three apps that are no longer available on the store, since the enrollment ran out of time on the first account.

I have bought memebership for the new account.
It seems like I can't transfer any applications from the old account to the new account before the old account has enrolled again. The option 'Transfer this app' simply does not show up anymore. The apps are stuck at the status 'Pending Contract'.

What can I do to transfer the apps from the old account from the new one?
Will I have to pay for a membership for the old account too?

Apple Support is your absolute best contact. They might be willing to let you renew your old account and then refund the fee once you get the apps all transferred out or be able to work something else out.

https://developer.apple.com/support/

They could say, you need to pay $200 - one for each account to make them both active and then do the transfer. After all, if you have the code, you could simply recompile and resubmit the app under a new name if it didn't make you $100 to keep the old name in terms of recognition and continuity of app store ratings, good will, reduced app review time.


how do I enable multiple sshd ports in Mountain Lion I have multiple machines on my network that I access regularly using ssh.  I want to enable remote access through port forwarding, which means I'll need separate sshd ports for each machine.  That said, I'd like to continue to use port 22 for local access.

I realize that I have to add the configs to /etc/services and that the key to my answer lies in sshd.plist. I've attempted to follow various suggestions online, all of which seem to indicate that the plist files exist in different locations than mine do.  One suggested ssh.plist and another sshd.plist.  My changes to ssh.plist accomplished nothing.  Another suggested changing sshd.plist, which didn't even exist on my machine, but /System/Library/LaunchDaemons/com.apple.FileSyncAgent.sshd.plist does.  I was going to make and rename a copy of that file, but I couldn't tie it to a call in /etc/services.  I made a copy anyway, but then I couldn't figure out how to modify the  key as it's current value had no relationship to the file name (unlike the example for ssh.plist).

So, I currently have ssh and ssh-alt set in services, two ssh.plist files that vary based on the different file names (one ssh and the other ssh-alt) and two .sshd.plist files that are mirror images of each other.  When I rebooted the machine, port 22 no longer works, but my alternate port does.

Any suggestions would be appreciated.

Welp, I found the answer after a few more days of research, with the help of a response to this MacWorld post  I thought there had to be some way to include multiple ports in the one .plist file, but I couldn't figure it out.  You can add an "Alternate Listener" key to ssh.plist for the extra port inside the Sockets scope, such as:

 <key>Sockets</key>
 <dict>
         <key>Listeners</key>
         <dict>
            (...)
         </dict>
         <key>Alternate Listeners</key>
         <dict>
            <key>SockServiceName</key>
            <string>ssh-alt</string>
         </dict>
 </dict>

Notice the ssh-alt string for SockServiceName.  The original "Listeners" key remains as is, so you have Listeners and Alternate Listeners.  You have two entries in /etc/services for ssh and ssh-alt like:

ssh              22/udp
ssh              22/tcp
ssh-alt        4790/udp
ssh-alt        4790/tcp

which preserves the port 22 internal access and creates access via port 4790 for external use (assuming you disable port 22 and port forward port 4790 on your firewall/router.


Can an administrator access the iCloud Drive of another user on MacOS? I use a Macbook provided by my employer. I'm not the administrator on the machine, I use another user account.
If I connect to my iCloud account and enable iCloud Drive, can the administrator access the files on my iCloud Drive or the iCloud Drive is encrypted?
Thanks

The administrator can change your Mac password, login as you and so gain access to your iCloud Drive.  And also gain access to everything controlled by your username - for example, your Keychain.
The only mitigation is that the administrator can't change the password back, so you might become suspicious when your login fails.
Also, an administrator is able (without your login details) to look at any file on the computer - that would include any iCloud Drive files cached on your computer.
I don't know the law in your country, but where I am an employer is entitled to access anything on a computer owned by the employer (subject to any other agreement between employee and employer).
Advice: Don't keep personal information on an employer provided and controlled computer.


Will Apple's Mac Remote Wipe delete items on external disk? With all the news about remote wipe I am wondering if having a backup on an external disk that is connected to my Mac is OK.  Or if someone did a remote wipe, would they wipe that disk as well?

If Apple's incredibly vague description of "your Mac" and "the disk" also includes what is attached to it, which anyone might assume — then YES. On the other hand, if fluff marketing jargon and disappearing statements might leave some doubts in your mind, I would say NO. The only way to really know is to do what myhd suggests.

Taken from a cached page published by Apple on Jul 15, 2012 21:25:58 GMT:

  Instant wipe

  With FileVault 2, instant wipe removes the encryption key from your
  Mac instantaneously, making the data completely inaccessible. Then
  your Mac performs an entire wipe of the data from the disk. External
  drive support

  FileVault 2 supports encryption of external USB and FireWire drives.

Source: Apple - OS X Lion - Over 250 new features. Read about all of them.

Visiting the same (live) page now displays:

  FileVault 2 encrypts your data.

  With FileVault 2, your data is safe and secure — even if it falls into
  the wrong hands. FileVault 2 encrypts the entire drive on your Mac,
  protecting your data with XTS-AES 128 encryption. Initial encryption
  is fast and unobtrusive. It can also encrypt any removable drive,
  helping you secure Time Machine backups or other external drives with
  ease. Want to start fresh or give your Mac to someone else? FileVault
  2 makes it easy to clean data off your Mac. Instant wipe removes the
  encryption key from your Mac — making the data completely inaccessible
  — then proceeds with a thorough wipe of all data from the disk.

  OS X and iCloud can help find your missing Mac.

  OS X and iCloud can help keep your Mac safe even when you misplace it.
  Sign in to iCloud.com from another computer or use the Find My iPhone
  app on an iPhone, iPad, or iPod touch to locate your missing Mac on a
  map. If your Mac is offline when you try to find it, you can ask to
  receive an email as soon as it makes a Wi-Fi connection. You can also
  display a message on your Mac screen so whoever has it knows how to
  get it back to you. And until your Mac is back in safe hands, you can
  set a passcode lock remotely, or even initiate a remote wipe to delete
  your personal data and restore your Mac to its factory settings.


MacBook Pro WiFi much slower than Ethernet and other devices I noticed that the WiFi speeds (ping & rates) on my MacBookPro11,3 (osx 10.12.6) are far, far worse than with Ethernet or with other devices on the same network.

With WiFi my speeds are rarely above 1 mbps; whereas over Ethernet (same machine, same router) or WiFi on my Android phone (S7) I get a steady 20-25 mbps.

I tried manually tweaking MTU to 1423; also setting DNS to Google 8.8.8.8; also tried deleting files from /Library/Preferences/SystemConfiguration/ and rebooting. All to no avail.

Any way to diagnose this?

WiFi by it's nature is generally going to be slower then most any wired network. Not only do you share the bandwidth with everything else attached to that WiFi access point, but you can also get slowed down by your relative position in relation to the antennas and what is between you and the antennas (Walls, steel, sheet-rock, whole buildings, etc.)

First it would be helpful to know what the make and model of the WiFi hardware is that you are connecting to, where you are in relation to the device and what is between you and the device.

Also you may want to try a different access point. Possibly at work, a friend's house, a local coffee shop or other public location with WiFi.

With WiFi there are a lot of variables and before you go looking into problems with your Mac (possible but less likely than other things) you need to see if the problem exists connecting to other access points or even if just moving closer to your current one solves it.

Additionally I would be tempted to look in both /Library/Preferences and ~/Library/Preferences for any network/WiFi related preference file. Delete them and reboot. Then set up your networks again: you might have a damaged prefs file.


Current Version is: OS X el Capitan 10.11.6 What's Next? I am using MacBook Pro (15-inch, Early 2011) the problem is I can't see any update to newer version on App Store! Can anyone here send me the link to update online or download updates to next version.. I am very new user.

The highest version of macOS you might be able to run is High Sierra - why not download that installer or try sierra?

https://support.apple.com/kb/HT208202
http://updates-http.cdn-apple.com/2019/cert/061-39476-20191023-48f365f4-0015-4c41-9f44-39d3d2aca067/InstallOS.dmg

As commented - we have several questions on how to download specific versions if that’s the thing that’s blocking you.

How can I download an older version of OS X/macOS?


How do I connect user account with Time Machine back up? I have reinstalled my OS and copied my user account from a Time Machine backup using Migration Assistant.  However, now when Time Machine starts a back up, it says that it is copying 200 GB, which is the total size of my hard drive.  It seems that it has failed to identify my current user account as the same one that it already has back ups of.

I have tried changing my UID to match that of the Time Machine back up.  My UID now matches, but it still insists on backing up from scratch.

I saw your question before, but was at a loss to provide specific information. However, I took a look at Pondini's OSX and Time Machine Tips.

In particular on the page, How Local Backups are Stored, I noted that it's actually the hardware address, not the user ID, that is used as identification by Time Machine. From the page:

  Each Mac is identified by a hardware address internal to the Mac.   It's embedded in the Logic Board (motherboard).  The hardware address isn't displayed in the backups, but is kept in an extended attribute of the folder representing the Computer.

  That's why when you get a new logic board, Time Machine thinks you got a new Mac.  That's also why you can rename your Mac (System Preferences > Sharing) and Time Machine will automatically rename the Computer folder on the backups;  or you can have two Macs with the same name, but Time Machine still knows which backups belong to which Mac.

However, on the same page, Pondini goes on to say that each backup volume is assigned a Universally Unique IDentifier (UUID) that is in the extended attributes of the volume. Pondini says that this "should" cause Time Machine to automatically recognize the old backup.

However, if Time Machine does not automatically recognize the old backup via the UUID, then there is a procedure for manually restoring the association.

It's getting fairly involved at that point, and though it might be worth the effort from an investigative standpoint, you might be better off starting your Time Machine backups from scratch (just to wipe the slate clean, so to speak).


Unable to set previously used resolution, 1600x2560 I just came back to the office after being away for a month, plugged my mac into the 30" Dell display I have at work (rotated 90 degrees), and it the resolution is now 1536x2048 and that is the highest resolution available in System Preferences. Before I went away, I was always using 1600x2560, which is the native resolution.

If I remove the "90 degrees" rotation, it will let me use 2560x1600, but changing it back to 90 degrees drops the resolution back to 1536x2048.

The only thing I changed while away was upgrade from OS X 10.7.2 to 10.7.3. Perhaps this was the problem?

How can I change it back to 1600x2560?

This is a bug in 10.7.3. I have the same exact problem. I suggest filing a bug with apple: bugreport.apple.com. It doesn't look like there is any workaround for it.


iPhone 8 Plus (iOS 11.4) is frozen on emergency SOS screen Last evening I tried to add a system macroscript (Switch Control) recipe. After that my iPhone wasn't responding to any of touch moves. I managed to unlock it with Touch ID but I failed a couple of times and now it requires a password. I tried this:

 Subtle click the volume UP button.
 Subtle click the volume DOWN button.
 Hold the startup button until you see apple logo.

Instead of force restart I'm stuck in emergency SOS screen mode. Touch interface doesn't work, force restart is not possible now. What do I do?

iOS 11.4 is currently under development and you have either a developer or public beta installed on your device. Beta version of iOS are not guaranteed to work without issues.

Try restarting the device. If the issue persists, and it is hindering your workflow, it is recommended you restore the device to current public release of iOS, i.e. iOS 11.3.1.

You can share any observations and issue with Apple, via the Feedback app installed on your device.


Soundflower + AU Lab + Mavericks results in incessant clicking I have successfully routed my system audio through AU Lab via Soundflower, but it clicks.
To my knowledge, that clicking sound usually means that buffer sizes are out of wack (either too small, or not consistent across any applications in the signal chain).
Yet, trying to match the settings as follows doesn't seem to fix the problem.
My settings:
• In Soundflowerbed, buffer size = 2048
• In Info pane for AU Lab (CMD+i), selected 'Open in 32-bit mode'
• In AU Lab preferences, buffer size of all devices = 2048
• In System Prefs > Audio Midi Setup, Format of Built-in Output = 44.1k, 32 bits, to match Soundflower.
A few observations:
• In AU Lab, regardless of what settings I've selected in Preferences, it shows the Frames settings of Built-in Output to be 512, which is not necessarily what I have it set to. That figure gets updated for Soundflower. Not sure what that's about.
• Setting all buffer sizes to 512 to match the above does not fix the problem either.
• Clicking is present with all audio, consistently, and begins as soon as audio starts. If there is no audio, there is no clicking.
• In Audio Midi Setup, Soundflower says its audio is of the 32-bit integer variety, while the closest option Built-in Output has is 32-bit float. I don't know enough about digital signal processing to know if that's an issue.
I am on the Mid-2014 model MBP with OSX 9.4, Soundflower 1.6.6, and AU Lab 2.3.

Soundsiphon solved it for me as well. You do not need to buy the pro version, because the capturing of whole system audio (which means no specific application like safari needs to be selected as an audio source) is for free. :-)

My setup:
soundsiphon as default system audio device:

any Audio player/source on OS Yosemite -> AU Lab 2.2.2 (IN soundsiphon -> Waves GEQ -> OUT FiiO DAC:

Sorry for the german screens :-)


Is there a way to boot from a USB on a MacBook Pro with disc drive? I know that on certain models of MacBook you can only install Windows from the SuperDrive—is there a way to circumvent this limitation? My computer is a MacBook Pro 13" from 2010, it doesn't have a disc drive and I want it to boot from a USB with Windows.

As soon as you hear the boot chime, hold the Option or Alt key.

Some icons should appear. Be patient if they don't appear immediately (but if after an entire minute the screen stays white there could be a problem). If it simply boots into OS X, you might have pressed the Option key too late.

There should be a hard drive icon for every partition on your hard disk and a USB drive icon for your external drive. Click on the desired boot medium and click the arrow under the icon or use the arrow keys and press enter after selecting the boot medium you want.


How to skip OS X VNC connect password requester? I have an Ubuntu server which I tend to use via VNC from OS X. For this, I have saved a .vncloc file from the built-in Screen Sharing client. When I click this icon, Screen Sharing connects to Ubuntu, but shows this requester already filled in:

Since I saved my password in my Keychain, I just have to press enter every time. Is it possible to skip this requester somehow and connect immediately using the saved credentials?

The questioner already has a .vncloc file, so the simplest answer is to add the username into that file:

Locate the file.  (If you haven't moved it, it'll probably be in ~/Library/Application Support/Screen Sharing/.)
Ensure you have write permission.  (E.g. with the Finder, or chmod +w.)
Open it in your favourite text editor (e.g. vim).
Edit the first line with vnc://<address> to read vnc://<username>@<address>.
Save it.

The file will then connect directly to the remote system, skipping the password dialog entirely.

You can run it by double-clicking on the file in the Finder, dragging the file onto the Dock, or using open from the command line.

(Alternatively, you can include the username in the vnc: address when first creating the file.)


How can I download files from Linux to macOS only using the existing SSH connection? How can I download files from Linux to my Mac OS using only the existing ssh connection?

I know if I use the Windows System, I can use lrzsz to down files:

yum install lrzsz
sz file // there can use the `sz` download file to windows

but this is not apply to macOS.

If macOS is in a public IP address environment, I can use the scp to copy it, but there is a NAT, I can not do it.

You can actually the sz program for downloading to a Mac as well.

If you want to be able to run scp on your Mac to download files from the Linux machine when it is behind NAT, you'll need to setup a port forward in your router to forward your public IP address port 22 to port 22 on the Linux PC's local IP-address. You'll then enter the public IP address when running scp on your Mac.

However a perhaps more "user friendly" option is to use a service such as for example Dropbox. If you install that on both your Linux computer and Mac, you can send files back and forth that way without worrying about NAT.

Another option is to use VPN-software to connect both your Linux and Mac to the same virtual network. Then you can use scp as you're already using on the local network to copy files.


Can I update to python3.7 from python2.7 in my macOS 10.14.1? I have macOS 10.14.1. I installed Python3.7 but can see that python2.7 already installed in my os. Can I remove 2.7 and just keep 3.7? Will it affect other apps?

You don't need to remove one in order to install the other. You can have both python 2.7 and python 3 on your Mac. (In fact, python 2.7 is part of the OS and can't really be removed).

You just need to make sure that you invoke the correct one, either by typing python3 on the command line, or using #!/usr/bin/env python3 in scripts.


Is there a way to check whether an app explicitly supports Resume or not? Is there any way to check whether an app explicitly supports Lion's new Resume feature or not? For example, as of right now, Safari supports Resume, meaning all the tabs are reopened, however in Google Chrome, this is not the case.

Most "Lion-Ready" apps will also support the new full-screen mode, so if you see the little full screen button, it is likely the application will also support Resume. However, there is no definitive list that I am aware of yet, nor is there a way (beyond a mention in the app's documentation) of knowing whether it will support Resume.

However, there is now a list of "Enhanced for Lion" apps on the appstore which might be a good place to start.


How to select calendar with "Quick Event" in 10.7 iCal? I really like the "Quick Event" mask in iCal under OS X lion: insert event name, start time, date and you're ready! except for the fact that sometimes I'd like to add an event to a particular calendar instead of the default one!

I've tried to add "in *calendar_name*" or "calendar: *calendar_name*" at the end of the sentence, but none of them works!

Is there a way to achieve that?

You can enter events to specific calendars by holding down the + button

See here the entry from iCal help:

  Add events to a calendar

  You can add any kind of event to your iCal calendars. For example, you can add meetings, doctor appointments, and family activities.
  You can’t add events to a calendar you subscribed to.

  Open iCal
  Click Add (+) at the top of the iCal window or press Command (⌘)-N.
  Events are added automatically to your default calendar.
  If you want to choose a different calendar for the event, hold down the Add button (+), and then choose a calendar.
  To change your default calendar, choose iCal > Preferences, click General, and then select a calendar from the Default Calendar pop-up menu.


Can't Clear "Form and Search History" in Firefox I am attempting to clear the "form & search history" in Firefox, and the box is completely grayed out and will not allow me access.

Any thoughts or suggestions about how to fix this?

This happens when the item (in your are the "Form & Search History") is already cleared.

Are you sure this is not your case?

You mentioned in you comment that Firefox autofills the search bar when you type a website. Do you mean the URL bar (also known as Awesome bar ) ?

If yes, then the described behavior is expected. The Awesome bar get its results from "bookmarks, history and tabs".

So if you want to remove urls that you previously typed, you have to clear your browser's history.

On the other hand, if you mean the actual search-bar:

Then right click on it and select "Clear Search History" or select the option you mention in the question.

On the image above the "stack" word is a search I have previously done. You probably don't have any, since they are cleared.

For more information on what each option on the "Clear Recent History..." means check this section.


Resolving problems with development tools on upgrading to Mac Yosemite I use software development tools including Java, MySQL, Apache, PHP, LaTeX and Homebrew on OS X 10.7.5. What problems might I encounter on upgrading to Mac Yosemite and how can these be resolved?

I am a bioinformatician developing on the Mac and implementing on Linux. I have all of the following technologies that you mention running on Yosemite: Java, MySQL, Apache, PHP; I do not use LaTeX or Homebrew so cannot comment on them. In addition I run Tomcat, Perl CGI, Perl CGI with MySQL drivers, GD graphics for Perl, PHP with MySQL, Eclipse and Python. So in general it is definitely possible.

Your question however refers to your current installations. The answer here is that your current install of MySQL should not be affected. (If you wish you could upgrade and install the latest version available for Yosemite from Oracle's website, although this requires a free sign-up.)  Your current installation of Apache will not be available and this will also affect how PHP runs. You will also have to update your Java.

For the record, let me try to summarise what you would need to do. (I'm assuming you are starting with something as different from Yosemite as Snow Leopard. I never had Lion running - only Mountain Lion and Mavericks - so some of this may already be familiar from Lion.)

Basics

Yosemite no longer has a Developers' Tools disc. Instead you should download Xcode from the App Store. It's free, but a huge download (ca 3Gb). However you are almost bound to need it.
You need to unhide the Library folder (so you can get to the Apache install etc.) which is now hidden by default (https://support.apple.com/kb/PH18928). To make the Library folder in your home folder always visible you right-click and select View Options and then tick "Show Library Folder". However I use the main /Library folder for web development and can't remember how I unhid this. Apparently the following terminal command should work:

sudo chflags nohidden /Library/

Apache/PHP/Perl

The old option in System prefs of enabling the Apache website is no longer present for Apache 2. The following excellent article explains how to enable Apache 2 and the PHP5 and Perl modules: https://discussions.apple.com/docs/DOC-3083. Do exactly what it says.

Java

There are three possible things you may be doing with Java, and as you don't indicate which you are interested in I shall mention them all. However the basic thing is that Apple no longer supplies its own Java, so if you need upgrades you get them from Oracle.

You write Java programs. In this case download Eclipse for Java (https://eclipse.org/) — Luna is the current version. If it launches, you have Java installed. If not, you need to download it from https://www.java.com/en/download/mac_download.jsp? . Then you are fine.
You want to run Java applications on your desktop. You will need the download above, but Yosemite may try to prevent you actually running Java applications that ran fine before. If you have used the application before or trust the author then bypass Gatekeeper by right-clicking when you launch the app and tell Apple you want to run it (https://support.apple.com/en-us/HT202491).
You want to run a Java Applet in a web browser. This is still possible but is now a real nightmare. Basically you need a signed applet and even then you may need to set your Java System Preferences specifically to allow applets from the website in question and also make sure that in Safari Prefs > Security > Allow Plug-ins is ticked and the allowed sites are listed in Website settings. Even then Safari may ask you to confirm you want to run the applet each time. The current policy on browsers now is to only allow Java applets to run if you are using the latest version of Java. I do have some self-signed applets I wrote myself that I can still manage to run. However because the whole plugin technology is being phased out, I think the Java Applet is a dead man walking. (Server-side Java is no problem though, and has advantages over PHP and the like.) More details of setting your browser up for Java applets can be found at http://humairahmed.com/blog/?p=8061 and on the Oracle/Java site.

Note about Java 8 on virgin Yosemite

If you want to run an old Java application on a brand new machine with Yosemite installed (rather than upgrading from Mavericks or earlier), and download the latest version of Java it will be (April 2015) Java 8 and the application will not run. You need to install Java 6 from https://support.apple.com/kb/DL1572. I'd download it while it's still there.


How to open CSV file with Microsoft Excel and get the information into separate columns? I have a problem opening my .csv files in Excel; when importing them, all the information is in one column. How do I get Excel to separate the information automatically into different columns?

I have a MacBook Pro and I’m using Excel 14.3.8.

It is interesting that if you really have a comma separated text file, you actually have to select the comma separator, the only separator that is selected by default is "Tab".

Select the CSV file to import.
Select "Delimited" in the "Text Wizard Import 1 of 3" dialog.
Make sure the "Comma" checkbox is checked in the "Text Wizard Import 2 of 3" dialog.
Unselect "Tab" if you have tabs embedded in your data in the same dialog.
Continue with the text wizard dialogs and select finish.

The final screen, when "Finish" is enabled, will show a sample of how your data will be imported so you can see before you finish that it will be properly separated into columns.


Moving Application to other folder I just upgraded from Snow Leopard to Mountain Lion. Now when I open my application folder via the Dock there are different programs present, e.g. Automator, which I moved to the "Utilities" sub-folder on Snow Leopard.

If I try to move them again to the sub-folder I get the message that the application cannot be moved to this sub-folder since the sub-folder cannot be changed.

You can still do something like sudo mv /Applications/DVD\ Player.app /Applications/Utilities/.

I ran into several issues after moving applications on 10.6. For example Console crashed on launch, even though that stopped happening on 10.7. And OS upgrades will add duplicate applications at the original locations as in your case.


Why my iPhone6 is not be able to connect with my PC? I have an iPhone6 and I want to import photos or videos in my computer ASUS zenbook ux31ua/gl100t but I don't know why in my iPhone6 doesn't appear the permit to connect with it and consequently neither in Desktop.
How should I do to transer photos from iPhone6 to my PC?

You need to connect it through iTunes.

It is the only way apple's portable devices can connect with workstations and it has been this way since their introduction. Think of iTunes as the managing app for your iPod|iPhone|iPad...


Is it possible to use Boot Camp with Windows 10 from an external HDD? I need to run Visual Studio on my MacBook Pro and I need Windows to do that. The easiest and well known way to install Windows on a Mac is by running the Boot Camp app on the Mac and let it do what's necessary. The problem is that I don't want to partition the Internal SSD so the remaining option is to install Boot Camp Windows 10 on an External Drive and boot it every time I need it by plugging in my external USB 3.0 HDD. Is this achievable?

Here's an updated procedure for Windows 10, based on orkoden's excellent answer.

I tested this process on a MacBookPro11,1 running OS X 10.11.5 (15F34). Throughout the process, directly connect all devices to your Mac. I found that certain operations failed more frequently if I used the USB hub in my monitor.

In addition to the external drive that will host your Windows installation (the "destination drive"), you will need another USB drive (the "driver drive") to temporarily store the Boot Camp drivers.

I used these parts:

Destination drive: Samsung T3 Portable 500GB USB 3.0 External SSD (MU-PT500B/AM)
Driver drive: SanDisk Extreme 32GB USB 3.0 Flash Drive (SDCZ80-032G-GAM46)

Here are the steps:

Install VMware Fusion 8.1.1 from VMware's site
The non-professional free evaluation version is sufficient
VMware Fusion 7.1.3 couldn’t connect my external USB disk to my Windows VM
I downloaded VMware-Fusion-8.1.1-3771013.dmg (SHA256: 29cad381a36374e58a85fb58f7aaad8cae41ad50ef07fdda0db6d782c95c0a95)
Download the Windows 10 ISO file from https://www.microsoft.com/en-us/software-download/windows10ISO
I chose Windows 10, English, 64-bit
I downloaded Win10_1511_1_English_x64.iso (SHA256: cf5cff9e23c853fed769cf382e18b29889dcc0055b69226f0164ab51eca3069c)
Download the Windows 7 Automated Installation Kit from https://www.microsoft.com/en-us/download/details.aspx?id=5753
I downloaded KB3AIK_EN.iso (SHA256: c6639424b2cebabff3e851913e5f56410f28184bbdb648d5f86c05d93a4cebba)
Prepare the driver drive.

Run diskutil list to determine the device name. In my case, the device name was /dev/disk2.
Erase the disk using diskutil eraseDisk fat32 DRIVERS MBR /dev/disk2
Open Boot Camp Assistant

In "Introduction", click "Continue"
In "Select Tasks":

Uncheck "Create a Windows 7 or later version install disk"
Check "Download the latest Windows support software from Apple"
Uncheck "Install Windows 7 or later version"
Click "Continue"

If "Select Tasks" is not there, try "Action->Download Windows Support Software".
In "Save Windows Support Software", choose the driver drive, and click "Continue".
Wait for the process to complete.

Eject the driver drive: diskutil eject /dev/disk2
Disconnect the driver drive.

Prepare the temporary Windows VM. We’ll use the temporary Windows VM to write the disk image to the destination drive. In VMware Fusion:
Create a new VM:

File > New
In "Select the Installation Method", choose "Install from disc or image", and click "Continue".
In "Create a New Virtual Machine", choose "Use another disc or disc image…", locate Win10_1511_1_English_x64.iso, and click "Continue".
In "Microsoft Windows Easy Install", uncheck "Use Easy Install", and click "Continue".
Click "Finish".

Start the VM and complete Windows Setup. The settings don’t really matter, because we’re just using this VM to write the disk image.

Choose "Next"
Choose "Install now"
Choose "I don’t have a product key"
Choose "Windows 10 Pro"
Choose "I accept the license terms"
Choose "Custom: Install Windows only (advanced)"
Choose "Drive 0 Unallocated Space" and click "Next"
Choose "Use Express settings"
Choose "I own it"
Choose "Skip this step"
Enter a username

Install the Automated Installation Kit:

From the "Virtual Machine" menu, choose "CD/DVD (SATA)" > "Choose Disc or Disc Image...". Select KB3AIK_EN.iso.
From the Start menu, choose "File Explorer", and then "This PC". Double-click "DVD Drive (D:) KB3AIK_EN".
Choose "Yes"
Choose ".NET Framework Setup"

Choose "Download and install this feature"
After installation completes, choose "Close"

Choose "Windows AIK Setup"

Choose "Next"
Choose "I agree"
Choose "Next"
Choose "Next"
After installation completes, choose "Close"

Prepare and image the destination drive:

From the Start menu, choose "All apps". Choose "Microsoft Windows AIK". Right-click "Deployment Tools Command Prompt". Choose "More", then choose "Run as administrator". Choose "Yes".
Prepare the destination drive:

Run diskpart
Plug in the destination drive. In the "Choose where you would like to connect " prompt, choose "Connect to Windows"
Run list disk to determine the disk number of the destination drive. In my case, the disk number was 1.
Run: select disk 1
Run: clean
Run: create partition primary
Run: format fs=ntfs quick
Run: assign
Run: active
Run: list volume
Note the drive letter for the selected volume (marked with a *); this is the drive letter of the destination drive. In my case, the letter was "E".
Run: exit

Image the destination drive:

From the "Virtual Machine" menu, choose "CD/DVD (SATA)" > "Choose Disc or Disc Image...". Select Win10_1511_1_English_x64.iso.
Run: imagex /check /verify /apply d:\sources\install.wim "Windows 10 Home" e:

For Windows 10 Pro, use "Windows 10 Pro"
For Windows 10 Education, use "Windows 10 Education Retail Technical Preview"

Run: bcdboot e:\windows /v /s e:
Run: shutdown /p
Quit VMware Fusion

Restart into Windows to complete installation

Restart the Mac while holding the Option key
When the startup disk list appears, use the arrow keys to choose Windows.
Complete Windows Setup. If Windows restarts during Setup, restart again while holding the Option key to return to Windows.
Insert the driver drive. Open the Start menu, choose “File Explorer”, choose “DRIVERS (E:)”, open the “BootCamp” folder, and open “Setup”. Complete the installation.

Windows is now installed and ready.

To restart into OS X, click the Boot Camp icon in the notification area and choose “Restart in OS X…”.
To restart into Windows, open “System Preferences” from the Apple menu, choose “Startup Disk”, choose “BOOTCAMP”, and then choose “Restart…”.
To choose an OS at boot time, hold down the Option key.


Screenshot tool that uses current state of web browser? I'm looking for a screenshot tool that will snap the current page, in its current state. So if I've filled out a form, or changed the page from its default state in some way via DHTML, or I'm using AdBlock, that's what the screenshot looks like. SnagIt Pro on Windows works this way.

But the screen shot utilities that I've used on MacOS that do scrolling captures of full web pages all seem to send the URL of the desired page via Applescript and then snap the page using their own browser-like engine, which doesn't give me the state that I want.

Recently I've tried Skitch (Safari only), Littlesnapper (my current tool), and a few others that I can't remember any more. I don't mind paying a reasonable amount for a good tool, so I don't need it to be free... app store is always a plus. And I like having a screenshot-only library, the way Littlesnapper does it. Really, Littlesnapper would be perfect (odd interface behavior aside) if it just snapped the current page state.

SnagIt for Mac

seems to do exactly what you want. I own the product. I just tested it on a web page in Safari with ad-blocking and with some text I typed into a field. It did a scrolling capture faithfully with all the ads blocked and the text still in the field.


I installed a library for programming. How do I remove it? I installed the g2 graphical library on my mac using the terminal for a school assignment and now that I'm done with it I'd like to know how to remove it. Are there like commands I can run on the terminal? Are all the files in one folder and all I have to do is delete that folder?

I'm very picky when it comes to these things and if I can't delete it I'll probably end up reinstalling the whole OS (I know I'm crazy) so any help is appreciated.

Also if this is not the right place to post this question I'd appreciate it if you could point me in the right direction.

Thank you!

EDIT 1:
I installed the library by following these instructions:

  Extract package with gzip -dc g2-xxxx.tar.gz | tar xvf -
  Run './configure'
  Run 'make depend'
  Optionally edit src/g2_config.h to fine-tune g2 behavior (only if
  you know what are you doing)
  Run 'make'
  Run 'make install' or copy libg2.a and g2.h, g2_X11.h, g2_gd.h, and
  g2_PS.h to the default locations for library and include files.
  cd to demo directory and  run 'make demo' to compile demo
  applications
  To rebuild documentation run 'make doc' (html, PS and pdf manual
  should be already included into documentation).

EDIT 2: I ran the command suggested by @scottishwildcat in his answer below and got the following output:

  Makefile:101: warning: overriding commands for target `libg2.so'

  Makefile:98: warning: ignoring old commands for target `libg2.so'

  make: *** No rule to make target `uninstall'.  Stop.

First off, there's likely no harm in leaving the library installed on your system. It doesn't consume any processor or memory resources by itself (though it does take up some small amount of disk storage space).

My assumption is that you've installed the g2 library into default locations. According to the g2 website, the following files were installed:

libg2.a (may be called libg2.so or libg2.dylib on your particular flavor of OS)
g2.h
g2_X11.h
g2_GIF.h
g2_PS.h

The first file, the executable code, should've been installed into /usr/lib or /usr/local/lib. The rest — header files for development — should've been installed into /usr/include or /usr/local/include. To 'uninstall' the library, just delete the files in the above list from these paths.