DanTeng

March 19, 2010

Home and End Keys on the Macbook Pro

Filed under: Tech — Tags: — Clapton @ 10:18 pm

http://pcmcourseware.com/blog/2009/02/23/home-and-end-keys-on-the-macbook-pro/

Macbook Pro keyboard
Photo courtesy of existentist

There is no Home key or End key on the Macbook Pro keyboard. However, you can still execute the equivalent commands. For the Home command, press down the Fn + Left Arrow keystroke combination. For the End command, press the Fn + Right Arrow keyboard combination.

If you are using Microsoft Word, using the Command + Fn + Left Arrow to move to the beginning of the document and the Command + Fn + Right Arrow to move to the end.

Mac OS 锁定屏幕/锁定计算机 快捷键

Filed under: Tech — Tags: — Clapton @ 10:12 pm
10.6: Lock the screen via a keyboard shortcut System 10.6
Tue, Sep 8 2009 at 7:30AM PDT • Contributed by: visiondancer
When I step away from my Mac at work, I want a quick way to lock the screen, and hitting a hot-corner with the mouse is problematic for me. This hint details how to lock the screen from the keyboard by using Automator to build a Service in Snow Leopard.

First, check the General tab on the Security System Preferences panel to ensure that the Require password [some period] after sleep or screen saver begins box is checked.

Then, open Automator in the Applications folder, and select Service from the screen that appears. At the top of the new Service’s actions, in the Service receives drop-down, select no input from the options. Make sure that any application is selected in the second drop-down.

Add the Start Screensaver action (in the Utilities group of actions) to the Service by dragging it to the right. Save the Service (Automator does not ask you where to save it, just to name it). Next, open System Preferences and select the Keyboard preference pane. Select the Keyboard Shortcuts tab at the top, then the Services group on the left. The service you created should be near the bottom of the list of Services under the General disclosure triangle.

Double-click on the right side of the entry for the Service you created and assign a keyboard shortcut. This was a bit unintuitive, because the shortcut column is not distinctly visible, so it is not obvious that you can double-click in the assigned shortcut column to add a shortcut.

I had difficulty picking a keyboard shortcut that would work in 10.6.0. Command-L did not work for me, because it is assigned the Show All Preferences menu item in System Preferences. Control-L also did not work for me. Command-Shift-L did work once I reassigned the Search with Google Service a different shortcut.

Exit the keyboard preference pane to give it a try.

If you find yourself holding down the keyboard shortcut until the screen saver appears, and it disappears when you release the keys, you may want to decrease the time Snow Leopard waits before requiring a password in the Security system preference to immediately (or release the keys before the screen saver appears).

There are a number of helper apps, third party System Preferences panels, shell scripts, and even this previous hint that have promised a way to lock the screen with a keyboard shortcut in the past. This hint provides a simple method that does not require installing a third-party application or delving into shell scripting.

Mac与Windows共存时时区错乱的问题

Filed under: Tech — Tags: , — Clapton @ 9:49 pm

windows虽然为了兼容性,一直沿用本地时间,但是在注册表中有一个设置可以让它使用UTC,这个正是我们需要的,修改注册表就好了。

让windows也使用Universal Time,这样即使在不联网的情况下,时钟仍然是正确的特别注意的是:取消Boot Camp的Apple时间服务,不然时不时Apple时间服务会把时间调正回去。

1)开始菜单,运行regedit

2)打开TimeZoneInformation,位置
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation

3)右击->创建一个新的DWORD,数值名称 RealTimeIsUniversal 数值数据 1 (十六进制) 注意大小写,修改完成确定并且把regedit关了。

4)打开时间设置,取消“自动与Internet时间服务器同步”

5)取消Apple时间服务,控制面板->管理工具->服务,里面有个“Apple时间服务”, 右击它然后选择属性,启动类型选择禁用、停止。

Powered by WordPress

FireStats iconPowered by FireStats