The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My work

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,842 other followers

Archive for the ‘MacBook’ Category

When you believe that you have a keylogger or some sort trojan | Official Apple Support Communities

Posted by jpluimers on 2017/10/16

We thought one of our Macs was compromised, but it wasn’t: it had too many web browsers open so it was crawling like a snake.

The below terminal commands and EtreCheck [Source: etresoft/EtreCheck: Source code for EtreCheck] helped to find out what was running:

kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}'  

sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix)|edu\.mit|org\.(amavis|apache|cups|isc|ntp|postfix|x)/{print $3}'  

launchctl list | sed 1d | awk '!/0x|com\.apple|edu\.mit|org\.(x|openbsd)/{print $3}'  
 
ls -1A /e*/mach* {,/}L*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta}* L*/Fonts 2> /dev/null  

osascript -e 'tell application "System Events" to get name of every login item' 2> /dev/null  

Source: [WayBackI believe that I have a keylogger or some sort … | Official Apple Support Communities

–jeroen

Posted in Power User, Apple, MacBook, MacBook-Air, Mac | Leave a Comment »

Mac OS X – Hardware Monitor Help: remove com.bresink.driver.BRESINKx86Monitoring

Posted by jpluimers on 2017/10/13

Just in case you have this driver installed:

$ kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}'
com.bresink.driver.BRESINKx86Monitoring (9.0)

[WayBackHardware Monitor Help shows how to remove it:

  1. Ensure you are logged in as user with administrative rights.
  2. Use the Finder to open the folder Library at the topmost level of your system volume, and inside it, the folder StartupItems. If the driver is still installed, you will see the folder BRESINKx86Monitoring at this location.
  3. Drag the folder BRESINKx86Monitoring to the Trash. OS X may ask for your administrator password.

–jeroen

Posted in Apple, Mac, MacBook, MacBook Retina, MacBook-Air, OS X, OS X El Capitan, OS X Maverick, OS X Sierra, OSX Yosemite, Power User | Leave a Comment »

How-To: Automatically change your Mac’s display resolution when running specific apps [Video] – via: 9to5Mac

Posted by jpluimers on 2017/08/11

Yet another reason I love SwitchResX: : How-To: Automatically change your Mac’s display resolution when running specific apps [Video] | 9to5Mac

A few years ago, SwitchResX helped me switch my Mac machine to 1360×768 and 1888×1062 « The Wiert Corner – irregular stream of stuff

–jeroen

Posted in Apple, iMac, Mac, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, OS X, OS X El Capitan, OS X Leopard, OS X Lion, OS X Maverick, OS X Mountain Lion, OS X Snow Leopard, OSX Yosemite | Leave a Comment »

sleep wake – Macbook Air – battery drains while sleeping (but not when shut down) – via: Ask Different

Posted by jpluimers on 2017/08/07

I had the same issue as in sleep wake – Macbook Air – battery drains while sleeping (but not when shut down) – Ask Different which suddenly introduced itself in April 2016 after I had been running El Capitan (OS X 10.11) for a while.

The Mac didn’t have PowerNap active as I verified using How Power Nap works on your Mac – Apple Support

At first it looked like an SMC reset worked as explained by Reset the System Management Controller (SMC) on your Mac – Apple Support and mentioned in Mac Air loses 90% of battery overnight when in … | Apple Support Communities.

The Mac is indeed running Chrome, but I don’t like to turn that off before sleeping.

Executing pmset -g would show hibernatemode 3.

So I opted for the hibernate option as mentioned in the first link:

sudo pmset -a hibernatemode 25

This will take a bit longer to restore the memory from hibernate state, but saves a lot of frustration.

–jeroen

Posted in Apple, Mac, MacBook, MacBook-Air, Power User | Leave a Comment »

The strange case of some applications not being able to copy/paste on the Mac OS X clipboard

Posted by jpluimers on 2017/07/19

I’ve not tracked down the cause yet, but these seem to be related:

  1. The Mac OS X build of Atom IO
  2. WinBox v 3.4 WineBottle version from Winbox for Mac in an embedded Wine environment – Joshaven.com
  3. pbcopy / pbpaste that allow command-line copy/pasting
  4. none of these being able to copy/paste any more and return error level 1 like terminal – pbcopy exits code 1, no error message – Ask Different but not even running tmux or screen which means this solution does not apply: ChrisJohnsen/tmux-MacOSX-pasteboard: Notes and workarounds for accessing the Mac OS X pasteboard in tmux sessions.
  5. I didn’t have Mouse Keys turned on
  6. Other applications (Chrome, FireFox, TextEdit, Finder, etc) still being able to copy/paste between each other

I’ve “fixed” 4. by doing this as recommended at osx – Copy and Cut sometimes don’t work – Ask Different:

launchctl list | grep com.apple.pboard

If the pboard daemon is running, then stop and start it. If it’s not running, start it:

launchctl stop com.apple.pboard
launchctl start com.apple.pboard

Now 4. works again if I restart each application, 6. still works, but these applications still cannot copy/paste to 1. 2. and 3.

What does work is a full reboot, but that takes a while (especially Chrome re-loading lots of Windows: I need to get more organised here).

It might be that I need to restart each application in 6.

Grrr…..

–jeroen

Posted in Apple, Atom, iMac, Internet, Mac, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MikroTik, OS X, OS X El Capitan, OS X Maverick, OSX Yosemite, Power User, Routers, Text Editors, tmux | 4 Comments »

 
%d bloggers like this: