OS X fonts look different on external Monitor

When the Macbook Pro connects to an external LCD monitor, fonts look very strange in some program  (Like Terminal) on the external monitor. It happened on 2015 Macbook Pro w/ OS X El Capitan 10.11.6.  Monitor AOC E2429SWHE.

It appears the fonts on an external monitor are not smoothing because system mistakenly recognizes the monitor as CRT.

To solve: In Terminal

defaults -currentHost write -globalDomain AppleFontSmoothing -int 2

The number 2 here corresponds to Medium – Best for Flat Panel. You may also use 1 for light smoothing, and 3 for strong smoothing, as per the original OS X font smoothing options.

Relaunch the program to take effect.

 

Advertisements

Speed Up Window Resizing Animation Speed in Mac OS X 10.10 El Capitan

OS X 10.10 Full screen resizing animation is annoying.

No way to turn the animation off, only to speed up.

In terminal:

defaults write -g NSWindowResizeTime -float 0.001

To turn off:

defaults delete -g NSWindowResizeTime

 

Extract Windows 10 beautiful spotlight (lock screen) wallpaper

  1. Enable ‘Show hidden files’
  2. Go to This PC > C: > Users > [Your User Name] > AppData > Local > Packages > Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy > LocalState > Assets
  3. Copy out all the files to a new Folder e.g. ‘Foo’
  4. Within foler ‘Foo’, enter into Windows Command line prompt (CMD), bulk rename all files with .jpg extension using this command:  >  ren * *.jpg
  5. View all the jpg files, select the one you want. Done.

OS X 10.10 Yosemite Transfer Old Apps Settings to New Hard drive

Copy files from old hard drive to new. If user name changed, need to change owner for old files.

1. Show hidden files in the Finder
In terminal:
defaults write com.apple.finder AppleShowAllFiles Yes
killall Finder

2. Message App:
1) Open Messages on both Macs and go Preferences > Accounts > iMessage > Sign Out
2) Copy these folders and override from old Mac to new Mac

~/Library/Messages
~/Library/Containers/com.apple.iChat

3) Restart new Mac
4) Open Messages and sign in to iMessages again

3. Dictionary App
~/Library/Dictionaries

4. Mail App
~/Library/Mail
~/Library/Containers/com.apple.mail
~/Library/Containers/com.apple.MailServiceAgent

HP Proliant G7 N54L Freenas 9.3 NAS Build Log

NAS Server build LOG ( It is still improving, many errors)

For my own reference

Start time: Jan 04, 2015

Project completion time: Jan 28, 2015

0.  Introduction

  • Planning:

Pure central storage server

  • Requirements:

Minimum Cost, Reliable Hardware, Data Redundancy, Fast & stable local file sharing, anywhere data accessing; the more storage space, the better.

1. Hardware selections:

1.1 Server:

  • Model: HP Proliant MicroServer G7 744900-001 4-HDD Bay
  • CPU: AMD Turion II Neo N54L CPU, 25W TDP

Similar performance CPU for comparsion -> (Intel Core i5 520M)

  • Build-in RAM: SKhynix 4GB, 1333MHz, PC3-10600E-9, DDR3, dual-rank x8, 1.50V, unbuffered with ECC dual in-line memory module (UDIMM)

Model: HMT351U7EFR8C-H9 T0 AF

Part Number: 500210-171

  • NIC: Broadcom NC107i Gbps
  • Reason: $199, HP Warranty, Hard drive bays, Sever grade hardware & design

Dual core CPU satisfies home NAS requirements

2.2Ghz is good enough for single thread CIFS share

Two slot ECC RAM, expandable to 16G, important for ZFS file system

Direct USB port on the motherboard, convenient for OS USB drive. Continue reading HP Proliant G7 N54L Freenas 9.3 NAS Build Log

Recover Acrobat XI favourite commands settings from offline Windows 8.1 Registry File on external HDD

I backup entire Windows 8.1 partition to an external hard drive and re-installed Windows.

I tried to recover my Acrobat XI common tool settings from backup instead of customizing them again.

Prepare:

I don’t know where Acrobat stores these settings. By google, in windows 8.1, Acrobat puts files in this location:

C:UsersUser_NameAppDataRoamingAdobeAcrobat11.0Preferences

However I didn’t find any useful files related with Common Tools settings. I guess that the settings are in Windows Registry.

Extract offline registry from my backup external hard drive

1. The Tool I am using: RegFileExport v1.06 

http://www.nirsoft.net/utils/registry_file_offline_export.html

2.Windows put registry file here since Vista:

Current User Settings:

1
Users%username%NTUSER.DAT

Computer Settings:

1
WindowsSystem32Config

3. Extract: In windows command line (cmd):

RegFileExport “J:UsersMyNameNTUSER.DAT” “E:OldReg.txt”

4.  Export my current Acrobat registry at “[HKEY_CURRENT_USERSoftwareAdobeAdobe Acrobat11.0” to temp.reg

5. Comparing content in OldReg.txt and temp.reg using Notepad++ and compare plugin, I found that Acrobat puts settings related to Common Tools at

“[HKEY_CURRENT_USERSoftwareAdobeAdobe Acrobat11.0AVGeneralcFavoritesCommandsDesktop]”

6.Extract these settings from my old registry and import in the current registry. Success!

7. Here is my example settings – AdobeCommon.reg

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USERSoftwareAdobeAdobe Acrobat11.0AVGeneralcFavoritesCommandsDesktop]
"a0"="Text"
"a1"="Highlight"
"a2"="RotatePages"
"a3"="TouchUpEditPDFTool"
"a4"="FreeTextTypewriter"
"a5"="Ink"
"a6"="EraseInk"

Acer Aspire V5-473P-5602 风扇调速

换了个本儿,写一个Log:

Acer Aspire V5-473P-5602 i5-4200U,无独立显卡, 使用起来感觉风扇略吵. 找不到现成可用的风扇调速软件.

使用RWEverything (http://rweverything.com/) 读取系统Embedded Controller (EC)试图找到控制风扇方法.

473P拆机后发现,设计时的双风扇在此机器上只有一个(假如键盘向上,这个风扇在右边), 473PG独显版本才有两个风扇. 感觉这单个风扇不足安静的将CPU温度控制在合理范围.

使用上述软件读取EC Register后发现,貌似这台机器的设计不同于一般笔记本, 似乎没法直接控制风扇的转速,只能按照档位调节,貌似只有少数笔记本这么设计,比如Asus Zenbook和Thinkpad x些列12寸的个别机器.

EC Register 上, 目前研究下来,可能的分配是:

Hex地址: (对应值均为Hex)

55 -> 控制风扇档位 -> :  00 风扇关闭; 01-04 由低到高的4个风扇档位,05貌似这时候风扇速度已经最大了,虽然数字还可以调高,但是没啥变化了; 1F 这时候风扇是最大转速而且系统不会更具CPU温度自动降档位了. 在其他数值,系统会更具温度很快的降下档位

56-> CPU图形核心温度

58->CPU Package温度

5C->风扇转速 -> 目前发现数值大约是以下规律: 00 风扇关闭 09 最低转速 1B最高转速. 听风扇声音, 和实际转速的对应关系可能是 Decimal数值 x 100, 也是就900RPM 到 2700 RPM

5D->数值变化没规律,但是是紧接着5C,怀疑是未安装的那个风扇的转速读数 Continue reading Acer Aspire V5-473P-5602 风扇调速