Showing posts with label macbook. Show all posts
Showing posts with label macbook. Show all posts

Thursday, March 05, 2009

Firefox3 keyboard shortcuts on macbook

function key (fn) + option (alt) + left arrow key (<-) = HomePage

Command-D = Add bookmark
Command-Backspace = Back
Command-B = Bookmarks
F7 = Caret Browsing
Command-W = Close Tab
Command-F4 = Close Tab
Command-Shift-W = Close Window

Option-F4 = Close Window
Shift-Return = Add .net to address bar
Command-C = Copy
Command-X = Cut
Command-- = Shrink text
Delete = Delete
Shift-Delete = Delete Individual Form AutoComplete Entry
Command-J = Downloads
Command-G = Find Again
F3 = Find Again
‘ = Find As You Type Link
/ = Find As You Type Text
Command-Shift-G = Find Previous
Shift-F3 = Find Previous
Command-F = Find in This Page
Shift-Backspace = Forward
Command-Enter = Forward
Down Arrow = Scroll Down
Up Arrow = Scroll Up

Command-H = History
Option-Home = Go to your homepage
Command-+ = Enlarge text
F6 = Move to Next Frame
Shift-F6 = Move to Previous Frame
Command-M = New Mail Message
Command-T = New Tab
Command-Option-Tab = Next Tab
Command-Page Down = Next Tab
Command-N = New Window
Command-O = Open File
Command-Return = Activate selected hyperlink
Shift-Return = Open Link in New Window
Option-Return = Open address in address bar in a new tab
Command-I = Page Info
Command-U = Page Source
Command-V = Paste
Command-Shift-Tab = Previous Tab
Command-Page Up = Previous Tab
Command-P = Print
Command-Shift-Z = Redo
F5 = Refresh
Command-R = Refresh
Command-F5 = SuperRefresh (refreshes the page even if no changes have been made to the page since you last loaded it)
Command-Shift-R = SuperRefresh (refreshes the page even if no changes have been made to the page since you last loaded it)
Command-0 = Restore text size
Command-S = Save Page As
Option-Return = Save target of selected hyperlink as
Command-A = Select All
Command-L = Select Location Bar
Down Arrow = Select Next AutoComplete entry in textbox
Up Arrow = Select Previous AutoComplete entry in textbox
Command-Down Arrow = Select Next Search Engine in Search Bar
Command-Up Arrow = Select Previous Search Engine in Search Bar
Command-1 = Select first tab
Command-2 = Select second tab
Command-3 = Select third tab
Command-4 = Select fourth tab
Command-5 = Select fifth tab
Command-6 = Select sixth tab
Command-7 = Select seventh tab
Command-8 = Select eighth tab
Command-9 = Select ninth tab (select last tab)
Escape = Stop loading a page
Command-Z = Undo
Command-K = Web Search

Sunday, May 25, 2008

MacBook 中 FIREFOX2 中文网页乱码及掉字问题解决方法

中文乱码主要原因是因为安装了OFFICE 2008对SIMSUN字体产生冲突,FIREFOX 3就没有这个问题。
FIREFOX 2下的解决方法就是在FONT BOOK中把SIMSUN这个字体先禁用掉。如果按下面修改了2个自定义的css文件,指定firefox的渲染字体,那么就不需要去禁用SIMSUN字体了。
可以打开http://www.163.com看一下是否正常。

在 firefox2 中还有一个就是在input框中输入的中文掉字和光标错位的问题,比如在google搜索框里输入"暂停删除"这四个字就可看得到。
这个需要修改一下 firefox2 的渲染css文件:
默认的目录是 ~/Library/Application Support/Firefox/Profiles/xxxxxxxx.default/chrome/
下面原来有2个example.css文件,对应的生成userChrome.css 和 userContent.css 这2个文件,并在这二个文件中都加入一个css定义:


* {
font-family: Lucida Grande, 华文黑体;
}

需要注意的是,一定要把文件保存为 UTF-8 格式。Lucida Grande 和华文黑体,都是苹果的默认字体,也是 Safari 默认字体。

Reference: http://www.wpdr.net/forums/showthread.php?t=3287
http://hi.baidu.com/dawgdash/blog/item/6157a138c501b227b8998ff1.html

Tuesday, May 20, 2008

macbook and sudo

when I test below command in termial:
$> sudo ls -l .
then terminal will ask me input password, but current user has no password, and terminal will output nothing after entered.

after give current user a new password:
$> passwd
old password, new password, confirm new password, then type command in terminal again:
$> sudo ls -l .
input new password and enter, then results output as expected.