Firefox 3.0的Tab Mix Plus配置

tabmixplus
browser.link.open_newwindow=3
browser.link.open_external=3
browser.link.open_newwindow.restriction=0
extensions.tabmix.linkTarget=false
extensions.tabmix.enablefiletype=true
extensions.tabmix.speLink=0
extensions.tabmix.singleWindow=true
extensions.tabmix.loadOnNewTab=0
extensions.tabmix.newTabUrl=
extensions.tabmix.openTabNext=false
extensions.tabmix.openTabNextInverse=true
extensions.tabmix.openDuplicateNext=true
extensions.tabmix.opentabfor.bookmarks=true
extensions.tabmix.opentabfor.urlbar=true
browser.tabs.loadFolderAndReplace=false
extensions.tabmix.opentabfor.search=true
extensions.tabmix.opentabfor.history=true
extensions.tabmix.middlecurrent=false
browser.tabs.loadInBackground=true
extensions.tabmix.loadUrlInBackground=false
browser.tabs.loadDivertedInBackground=true
extensions.tabmix.loadSearchInBackground=false
extensions.tabmix.loadNewInBackground=false
browser.tabs.loadBookmarksInBackground=false
extensions.tabmix.loadDuplicateInBackground=false
extensions.tabmix.inversefocusLinks=false
extensions.tabmix.inversefocusOther=false
browser.tabs.warnOnClose=true
extensions.tabmix.protectedtabs.warnOnClose=true
extensions.tabmix.keepWindow=true
extensions.tabmix.keepLastTab=false
extensions.tabmix.focusTab=2
extensions.tabmix.mergeAllWindows=true
extensions.tabmix.mergePopups=false
extensions.tabmix.placePopupNextToOpener=true
extensions.tabmix.closeOnSelect=true
extensions.tabmix.warnOnclose=true
extensions.tabmix.undoClose=true
browser.sessionstore.max_tabs_undo=20
extensions.tabmix.undoClosePosition=true
extensions.tabmix.undoCloseButton.menuonly=false
extensions.tabmix.lasttab.handleCtrlTab=true
extensions.tabmix.lasttab.showTabList=false
extensions.tabmix.lasttab.respondToMouseInTabList=true
extensions.tabmix.disableF8Key=true
extensions.tabmix.slideDelay=10
extensions.tabmix.newTabButton=true
extensions.tabmix.hideTabBarButton=false
extensions.tabmix.hideAllTabsButton=false
extensions.tabmix.tabBarSpace=false
extensions.tabmix.hideTabbar=0
extensions.tabmix.tabBarPosition=0
extensions.tabmix.tabBarMode=2
extensions.tabmix.tabBarMaxRow=3
extensions.tabmix.currentTab=true
extensions.tabmix.unreadTab=true
extensions.tabmix.extraIcons=true
extensions.tabmix.progressMeter=true
extensions.tabmix.tabXMode.enable=true
extensions.tabmix.tabXLeft=false
extensions.tabmix.tabXMode=1
extensions.tabmix.tabXDelay=50
browser.tabs.tabClipWidth=140
extensions.tabmix.minWidth=100
extensions.tabmix.maxWidth=150
extensions.tabmix.flexTabs=false
extensions.tabmix.titlefrombookmark=false
extensions.tabmix.mouseOverSelect=false
extensions.tabmix.mouseOverSelectDelay=250
extensions.tabmix.tabFlip=false
extensions.tabmix.tabFlipDelay=250
extensions.tabmix.enableScrollSwitch=false
extensions.tabmix.reversedScroll=false
extensions.tabmix.mouseDownSelect=false
extensions.tabmix.middleclickDelete=true
extensions.tabmix.useFirefoxDragmark=true
extensions.tabmix.dblClickTab=0
extensions.tabmix.dblClickTabbar=1
extensions.tabmix.middleClickTab=2
extensions.tabmix.middleClickTabbar=10
extensions.tabmix.ctrlClickTab=22
extensions.tabmix.ctrlClickTabbar=0
extensions.tabmix.shiftClickTab=5
extensions.tabmix.shiftClickTabbar=0
extensions.tabmix.altClickTab=6
extensions.tabmix.altClickTabbar=0
middlemouse.contentLoadURL=false
extensions.tabmix.newTabMenu=true
extensions.tabmix.duplicateMenu=false
extensions.tabmix.duplicateinWinMenu=false
extensions.tabmix.detachTabMenu=false
extensions.tabmix.showMergeWindow=false
extensions.tabmix.renameTabMenu=false
extensions.tabmix.copyTabUrlMenu=true
extensions.tabmix.reloadTabMenu=true
extensions.tabmix.autoReloadMenu=false
extensions.tabmix.reloadAllMenu=true
extensions.tabmix.reloadLeftMenu=false
extensions.tabmix.reloadRightMenu=false
extensions.tabmix.reloadOtherMenu=false
extensions.tabmix.undoCloseTabMenu=true
extensions.tabmix.undoCloseListMenu=true
extensions.tabmix.closeTabMenu=true
extensions.tabmix.closeAllMenu=false
extensions.tabmix.closeSimilarTabs=false
extensions.tabmix.closeOtherMenu=true
extensions.tabmix.closeLeftMenu=false
extensions.tabmix.closeRightMenu=false
extensions.tabmix.docShellMenu=false
extensions.tabmix.freezeTabMenu=false
extensions.tabmix.protectTabMenu=true
extensions.tabmix.lockTabMenu=true
extensions.tabmix.bookmarkTabMenu=true
extensions.tabmix.bookmarkTabsMenu=true
extensions.tabmix.openLinkHere=false
extensions.tabmix.openInverseLink=true
extensions.tabmix.openAllLinks=true
extensions.tabmix.linkWithHistory=false
extensions.tabmix.autoReloadContent=true
extensions.tabmix.closeTabContent=false
extensions.tabmix.duplicateTabContent=false
extensions.tabmix.duplicateWinContent=false
extensions.tabmix.detachTabContent=false
extensions.tabmix.mergeWindowContent=false
extensions.tabmix.freezeTabContent=false
extensions.tabmix.protectTabContent=false
extensions.tabmix.lockTabContent=false
extensions.tabmix.tabsList=false
extensions.tabmix.undoCloseListContent=false
extensions.tabmix.undoCloseTabContent=true
extensions.tabmix.optionsToolMenu=true
extensions.tabmix.sessionToolsMenu=true
extensions.tabmix.closedWinToolsMenu=false
browser.warnOnRestart=false
browser.warnOnQuit=false
browser.startup.page=0
browser.sessionstore.resume_from_crash=false
browser.sessionstore.interval=10000
browser.sessionstore.privacy_level=1
browser.sessionstore.postdata=0
extensions.tabmix.sessions.manager=true
extensions.tabmix.sessions.crashRecovery=true
extensions.tabmix.sessions.onStart=1
extensions.tabmix.sessions.onClose=0
extensions.tabmix.sessions.onStart.loadsession=-1
extensions.tabmix.sessions.onStart.askifempty=true
extensions.tabmix.sessions.restore.overwritewindows=true
extensions.tabmix.sessions.restore.overwritetabs=true
extensions.tabmix.sessions.restore.saveoverwrite=true
extensions.tabmix.sessions.restore.concatenate=true
extensions.tabmix.sessions.restore.reloadall=false
extensions.tabmix.sessions.save.history=true
extensions.tabmix.sessions.save.permissions=true
extensions.tabmix.sessions.save.protected=true
extensions.tabmix.sessions.save.locked=true
extensions.tabmix.sessions.save.scrollposition=true
extensions.tabmix.sessions.save.selectedtab=true
extensions.tabmix.sessions.save.closedtabs=false
extensions.tabmix.sessions.onStart.sessionpath=
extensions.tabmix.filetype=xpi zip rar exe tar jar gzip gz ace bin doc xls mdb ppt iso 7z cab arj lzh uue torrent /view=att&disp=attd/ /disp=attd&view=att/ php\?attachmentid=.* php\?act=Attach&type=post&id=.* /download.(php|asp)\?*/
extensions.tabmix.boldUnread=false
extensions.tabmix.italicUnread=true
extensions.tabmix.underlineUnread=false
extensions.tabmix.boldCurrent=false
extensions.tabmix.italicCurrent=false
extensions.tabmix.underlineCurrent=false
extensions.tabmix.unreadColorCode=#CC0000
extensions.tabmix.currentColorCode=#000000
extensions.tabmix.progressColorCode=#AAAAFF
extensions.tabmix.useCurrentColor=false
extensions.tabmix.useUnreadColor=true
extensions.tabmix.noprogress=false
extensions.tabmix.useProgressColor=true
extensions.tabmix.sessions.menu.showext=true
extensions.tabmix.disableIncompatible=true
extensions.tabmix.hideIcons=false
extensions.tabmix.disableF9Key=false

Posted in Firefox | Tagged | Leave a comment

笔记本上的touchpad不能使用右边来垂直滚动的解决办法

升级了openSUSE 11.0,失望很多,其中之一就是笔记本上的touchpad不能使用右边来垂直滚动了,解决办法是将其他的

Option       "RightEdge" "1100"

1100改小点,我这次改成了900, 好多了,再不行就把

Option       "Protocol" "auto-dev"

改成

Option       "Protocol" "explorerps/2"

Posted in X.org | Tagged | Leave a comment

在X-window中关闭touchpad的方法

转自: http://www.sudu.cn/info/html/edu/linux/20070102/287908.html

自己用的笔记本老是在打字的时候,大拇指不小心碰到触摸板,导致光标乱跳很是烦人。Ubuntu论坛上看到一个方法禁用touchpad,尝试了一下不错。
修改 /etc/X11/xorg.conf,把

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver    "synaptics"
Option    "SendCoreEvents" "true"
Option    "Device"    "/dev/psaux"
Option    "Protocol"    "auto-dev"
Option    "HorizEdgeScroll" "0"
EndSection

加一行

Option    "SHMConfig"        "on"

重新启动xorg,然后运行

synclient touchpadoff=0
synclient touchpadoff=1

就能够打开/关闭触摸板了。

Posted in X.org | Tagged | Leave a comment

我的~/.vimrc 保存下来作为备份

"""""""""""""""
" General
"""""""""""""""
filetype on         " detect the type of file
filetype plugin on " load filetype plugins

"""""""""""""""
" Theme/Colors
"""""""""""""""
syntax on           " syntax highlighting on
colorscheme ron     " colorscheme for black background

"""""""""""""""
" Visual Cues
"""""""""""""""
set showmatch       " show matching brackets
set hlsearch
set incsearch

"""""""""""""""
" Text Formatting/Layout
"""""""""""""""
set autoindent
set smartindent
set formatoptions=tcqrmM1
"give a indent when typing ‘#’
inoremap # X #
set tabstop=4       " TAB means 4 spaces
set shiftwidth=4    "
set expandtab       " replace TAB by SPACE

Posted in Vim | Tagged | 6 Comments

使用 vi 生成带语法高亮的 html

在vim 下打开一个源代码文件,然后

:runtime! syntax/2html.vim

! 的作用是在 syntax 目录下有其他匹配的*.vim可用时,一块 source 进来。如果指定了具体的文件名,应该可以不用加。

将新打开的窗口保存成一个文件就可以了,
这样以后再写 blog 时,需要插入的代码语法高亮,就直接把 html 代码拷过去就行了!

Posted in X.org | Tagged | Leave a comment