2 posts tagged

mac

Google daemon check

Google don’t tell you but it installs process to check for updates every 5 hours. Which is annoying and can occupy 100% of CPU. You can check the status on mac in terminal with this line:

defaults read com.google.Keystone.Agent

And you can change this interval to 4 days like this (24*4*3600=345600):

defaults write com.google.Keystone.Agent checkInterval 345600
 380   2020   google   mac

Making Mac keyboard work on Windows 10

After more than 10 years on Mac computers I’m switching to Windows. And the most challenging thing to my surprise was not the lack of some apps but default windows keyboard layout.

It took me a while to figure out how to make my Magic Keyboard to work on windows the same way as on mac.

Fist you need to swap WIN key with CTRL in app called SharpKeys:

Then you need to install an app AutoHotkey.
Create a plain text document and call it whatever you want but with extension .ahk
Place it in your user startup folder (replace _username_ with your name):
C:\Users\_username_\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
Inside this ahk file write this:

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
	
LControl & Tab:: 
    AltTabMenu := true
    If GetKeyState("Shift","P")
        Send {Alt Down}{Shift Down}{Tab}
    else
        Send {Alt Down}{Tab}
return

#If (AltTabMenu)

    ~*LControl Up::
        Send {Shift Up}{Alt Up}
        AltTabMenu := false 
    return

#If
 269   2020   mac   switching   windows