Archive for the ‘OS X 10.11 El Capitan’ Category
Posted by jpluimers on 2019/03/29
When connecting from my Mac to my ESXi rig, some commands (especially less) show this output:
WARNING: terminal is not fully functional
So I created this alias to connect from my Mac to the internal address of my ESXi rig:
alias ssh-esxi-X10SRH-CF-internal='TERM=xterm ssh -p 22 root@192.168.71.91'
The trick is the bold part: TERM=xterm (which you can also replace by export TERM=xterm; if you want future ssh sessions to use the same [wayback] TERM setting).
The reason is that the Mac defines the TERM variable as containing xterm-256 which is defined on the Mac itself, but ESXi has a hard time coping with it.
Some Mac OS and Xcode combinations had a problem with xterm-256 not being present ([WayBack] macos – Terminal strangeness after installing Xcode on Lion – Super User), but this isn’t the case on my system:
$ ls -alh `find /usr/share/terminfo | grep 'xterm-256color'`
-rw-r--r-- 1 root wheel 3.2K Jul 30 2016 /usr/share/terminfo/78/xterm-256color
On the Mac you really want to use xterm-256color as it looks way better than xterm-color or xterm: [WayBack] linux – What is the difference between xterm-color & xterm-256color? – Stack Overflow (thanks [WayBack] Chris Page!)
It seems I already did something similar on ESXi itself to get esxtop working: ESXi: when esxtop shows garbage. That was on the ESXi side and works as well for this problem too.
However, it is a bit harder to have a script run during ESXi boot time that sets this, so it is easier to fix this on the Mac side.
It works for all OS X and ESXi versions I’ve tested so far.
–jeroen
Posted in *nix, Apple, ESXi5.1, ESXi5.5, ESXi6, ESXi6.5, iMac, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, macOS 10.12 Sierra, OS X 10.10 Yosemite, OS X 10.11 El Capitan, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User, Virtualization, VMware, VMware ESXi | Leave a Comment »
Posted by jpluimers on 2019/02/22
This has happened to me on most Macs with most Apple Mac OS X / MacOS / whatever versions: the built in sound controls for internal speakers and head phones fail to work (keyboard shortcuts and UI both fail).
The solution at [WayBack] mavericks – Unable to modify the volume with the keyboard – Ask Different works, but be sure to require the kernel module steps:
open up a Terminal window and run:
sudo killall coreaudiod
sudo kextunload /System/Library/Extensions/AppleHDA.kext
sudo kextload /System/Library/Extensions/AppleHDA.kext
–jeroen
Posted in Apple, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacMini, macOS 10.12 Sierra, OS X 10.10 Yosemite, OS X 10.11 El Capitan, OS X 10.9 Mavericks, Power User | Leave a Comment »
Posted by jpluimers on 2019/01/18
Two installation options for TigerVNC:
The [WayBack] TigerVNC viewer gives a bit more details on failing VNC connections than the stock OSX Screen Sharing.app does: after performing the logon, the connection would just stall, but TigerVNC would should “write broken pipe (32)” after the logon. Most of the linked search results indicated the VNC server was having a state problem.
So I restarted the VNC server, after which connections could be made again in both tools.
I actually prefer the stock Screen Sharing.app as:
–jeroen
Posted in Apple, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, macOS 10.12 Sierra, OS X 10.10 Yosemite, OS X 10.11 El Capitan, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User, VNC/Virtual_Network_Computing | 2 Comments »
Posted by jpluimers on 2018/08/03
Somewhere after Yosemite, braindead Mac OS X forcibly maps “Ctrl+Click” to right-click. In past versions, you could disable but those days have gone.
This means that inside Windows on VMware Fusion, you cannot add/remove items to/from a selection any more (for instance in the Windows Explorer).
Various workarounds turned up in my Google Search, but only this one works:
Holding down CTRL + OPTION together and LEFT CLICKING will do this.
Source: [WayBack] vmware fusion – How to use the control key in VM Ware? – Super User
–jeroen
via:
Posted in Apple, Fusion, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, macOS 10.12 Sierra, OS X 10.10 Yosemite, OS X 10.11 El Capitan, OS X 10.9 Mavericks, Power User, Virtualization, VMware | Leave a Comment »
Posted by jpluimers on 2018/06/11
- Connect the volume you want excluded to the Mac, even if Spotlight is currently indexing
- Launch “System Preferences” and click on “Spotlight” followed by the ‘Privacy’ tab
- Drag the drives icon into the Privacy window
Source and more information (including how to do this from the terminal): [WayBack] Stop Spotlight from Indexing Time Machine Backup Volumes & External Drives
–jeroen
Posted in Apple, iMac, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, macOS 10.12 Sierra, OS X 10.10 Yosemite, OS X 10.11 El Capitan, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User | Leave a Comment »
Posted by jpluimers on 2018/03/23
For me the easiest is on a sudo terminal (so I can omit the sudo part in the below commands), but if you’d do it “rather safe then sorry”, you can go from the fine-grained individual backup level:
sudo tmutil delete /Volumes/drive_name/Backups.backupdb/mac_name/YYYY-MM-DD-hhmmss
step by step
sudo tmutil delete /Volumes/drive_name/Backups.backupdb/mac_name
all the way back to
sudo tmutil delete /Volumes/drive_name/Backups.backupdb
Incidentally, the tmutil documentation is now regarded as legacy (I’m not sure why) so before it goes away, I’ve archived it:
[Archive.is] https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man8/tmutil.8.html
It’s not at http://developer.apple.com/library/mac/#documentation/Darwin/Reference/Manpages/man8/tmutil.8.html as for instance [WayBack] man tmutil … – Kristian Köhntopp – Google+ referred to a few years back.
Anyway:
–jeroen
–jeroen
via [WayBack] macos – How can I manually delete old backups to free space for Time Machine? – Ask Different
Posted in Apple, Mac OS X / OS X / MacOS, macOS 10.12 Sierra, OS X 10.10 Yosemite, OS X 10.11 El Capitan, Power User | Leave a Comment »
Posted by jpluimers on 2018/03/19
With system account starting with underscore:
dscl . list /Users
Without underscore, so only regular accounts:
dscl . list /Users | grep -v ^_.*
Source: [WayBack] macos – How can I list all user accounts in the terminal? – Ask Different
–jeroen
Posted in Apple, iMac, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, macOS 10.12 Sierra, OS X 10.10 Yosemite, OS X 10.11 El Capitan, OS X 10.9 Mavericks, Power User | Leave a Comment »
Posted by jpluimers on 2018/02/14
There still is no ps xf on Mac OS X.
You need brew install pstree for that. Then you can excute pstree which gives you a treeview of the processes running.
via: [WayBack] command line – Linux’ ps f (tree view) equivalent on OSX? – Ask Different
–jeroen
Posted in *nix, *nix-tools, Apple, Home brew / homebrew, iMac, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, macOS 10.12 Sierra, OS X 10.10 Yosemite, OS X 10.11 El Capitan, OS X 10.9 Mavericks, Power User, ps | Leave a Comment »
Posted by jpluimers on 2018/02/14
I’m still amazed this is not in stock Mac OS X:
In Finder > Select a folder > Right click, we get a popup with an option to create a new folder:Is there a way to add menu item New Textfile for adding a new text file?
[WayBack] macos – Right-click, create a new text file. How? – Ask Different
One way is to use Automator scripts, but: scripting…
–jeroen
Posted in Apple, Automator scripts, Development, iMac, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, macOS 10.12 Sierra, OS X 10.10 Yosemite, OS X 10.11 El Capitan, OS X 10.9 Mavericks, Power User, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2018/01/12
It looks like when syncing folders between Mac OS X (MacOS X?) and Windows, many directories get empty Icon? files have a size of 0 bytes.
None of these directories had custom icons, so I’m inclined to remove them all from the Google Drive folder:
find . -name 'Icon*' -size 0 -print0 | xargs -0 rm
as [WayBack] Didier Trosset answered at [WayBack] How to delete many 0 byte files in linux? – Stack Overflow
Before I do that, I need to read these in more detail:
–jeroen
Posted in Apple, Google, GoogleDrive, iMac, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, OS X 10.10 Yosemite, OS X 10.11 El Capitan, OS X 10.9 Mavericks, Power User | Leave a Comment »