当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 5 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 我的配置
帖子发表于 : 2008-11-13 16:21 
头像

注册: 2008-05-03 23:05
帖子: 383
送出感谢: 0 次
接收感谢: 0 次
占坑:我的vim配置:
代码:
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" 一般设定
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" 设定默认解码
set fenc=utf-8
set fencs=utf-8,usc-bom,euc-jp,gb18030,gbk,gb2312,cp936

"设定搜索是的高亮显示
set hlsearch

" 不要使用vi的键盘模式,而是vim自己的
set nocompatible

" history文件中需要记录的行数
set history=100

" 在处理未保存或只读文件的时候,弹出确认
set confirm

" 与windows共享剪贴板
"Set mapleader
let mapleader = ","
let g:mapleader = ","

"绑定复制到系统剪贴板快捷键
vmap <leader>c "+y
nmap <leader>c "+y

"绑定粘贴系统剪贴板内容快捷键
imap <leader>v <ESC>"+p
vmap <leader>v <ESC>"+p
nmap <leader>v "+p

" 侦测文件类型
filetype on

" 载入文件类型插件
filetype plugin on

" 为特定文件类型载入相关缩进文件
filetype indent on

" 保存全局变量
set viminfo+=!

" 带有如下符号的单词不要被换行分割
set iskeyword+=_,$,@,%,#,-

" 语法高亮
syntax on

" 高亮字符,让其不受100列限制
:highlight OverLength ctermbg=red ctermfg=white guibg=red guifg=white
":match OverLength '\%101v.*'

" 状态行颜色
highlight StatusLine guifg=SlateBlue guibg=Yellow
highlight StatusLineNC guifg=Gray guibg=White

"高亮当前行
set cursorline

"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" 文件设置
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" 不要备份文件(根据自己需要取舍)
set nobackup

" 不要生成swap文件,当buffer被丢弃的时候隐藏它
setlocal noswapfile
set bufhidden=hide

" 字符间插入的像素行数目
set linespace=0

" 增强模式中的命令行自动完成操作
set wildmenu

" 在状态行上显示光标所在位置的行号和列号
set ruler
set rulerformat=%20(%2*%<%f%=\ %m%r\ %3l\ %c\ %p%%%)

" 命令行(在状态行下)的高度,默认为1,这里是2
set cmdheight=2

" 使回格键(backspace)正常处理indent, eol, start等
set backspace=2

" 允许backspace和光标键跨越行边界
set whichwrap+=<,>,h,l

" 可以在buffer的任何地方使用鼠标(类似office中在工作区双击鼠标定位)
set mouse=a
set selection=exclusive
set selectmode=mouse,key

" 启动的时候不显示那个援助索马里儿童的提示
set shortmess=atI

" 通过使用: commands命令,告诉我们文件的哪一行被改变过
set report=0

" 不让vim发出讨厌的滴滴声
set noerrorbells

" 在被分割的窗口间显示空白,便于阅读
set fillchars=vert:\ ,stl:\ ,stlnc:\

"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" 搜索和匹配
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" 高亮显示匹配的括号
set showmatch

" 匹配括号高亮的时间(单位是十分之一秒)
set matchtime=5

" 在搜索的时候不忽略大小写
set noignorecase

" 不要高亮被搜索的句子(phrases)
"set nohlsearch

" 在搜索时,输入的词句的逐字符高亮(类似firefox的搜索)
set incsearch

" 输入:set list命令是应该显示些啥?
set listchars=tab:\|\ ,trail:.,extends:>,precedes:<,eol:$

" 光标移动到buffer的顶部和底部时保持3行距离
set scrolloff=3

" 不要闪烁
set novisualbell

" 我的状态行显示的内容(包括文件类型和解码)
set statusline=%F%m%r%h%w\ [FORMAT=%{&ff}]\ [TYPE=%Y]\ [POS=%l,%v][%p%%]\ %{strftime(\"%d/%m/%y\ -\ %H:%M\")}

" 总是显示状态行
set laststatus=2

"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" 文本格式和排版
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" 自动格式化
set formatoptions=tcrqn

" 继承前一行的缩进方式,特别适用于多行注释
set autoindent

" 为C程序提供自动缩进
set smartindent

" 使用C样式的缩进
set cindent

" 制表符为4
set tabstop=4

" 统一缩进为4
set softtabstop=4
set shiftwidth=4

" 不要用空格代替制表符
set noexpandtab

" 不要换行
set nowrap

"设置每行80个字符自动换行
set textwidth=80

" 在行和段开始处使用制表符
set smarttab

"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" CTags的设定
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" winManager的设定
" 需要安装winManager先
let g:winManagerWindowLayout='FileExplorer|TagList'
nmap wm :WMToggle<cr>

" 按照名称排序
let Tlist_Sort_Type = "name"

" 在右侧显示窗口
let Tlist_Use_Right_Window = 1

" 压缩方式
let Tlist_Compart_Format = 1

" 如果只有一个buffer,kill窗口也kill掉buffer
let Tlist_Exist_OnlyWindow = 1

" 不要关闭其他文件的tags
let Tlist_File_Fold_Auto_Close = 0

" 不要显示折叠树
let Tlist_Enable_Fold_Column = 1

" cscope的设定:设定是否使用quickfix窗口显示cscope的结果
" 需要安装cscope先
:set cscopequickfix=s-,c-,d-,i-,t-,e-

"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Autocommands
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" 只在下列文件类型被侦测到的时候显示行号,普通文本文件不显示

if has("autocmd")
   autocmd FileType xml,html,c,cs,java,perl,shell,bash,cpp,python,vim,php,ruby set number
   autocmd FileType xml,html vmap <C-o> <ESC>'<i<!--<ESC>o<ESC>'>o-->
   autocmd FileType java,c,cpp,cs vmap <C-o> <ESC>'<o/*<ESC>'>o*/
   autocmd FileType html,text,php,vim,c,java,xml,bash,shell,perl,python setlocal textwidth=80
   autocmd Filetype html,xml,xsl source $VIMRUNTIME/plugin/closetag.vim
   autocmd BufReadPost *
      \ if line("'\"") > 0 && line("'\"") <= line("$") |
      \   exe "normal g`\"" |
      \ endif
endif " has("autocmd")

" C的编译和运行
map <F5> :call CompileRunGcc()<CR>
func! CompileRunGcc()
exec "!gcc % -Wall -g -o /tmp/%<"
exec "! /tmp/%<"
endfunc

" C++的编译和运行
map <F6> :call CompileRunGpp()<CR>
func! CompileRunGpp()
"exec "w"
exec "!g++ % -Wall -g -o ~/.binary_files_/%<"
exec "! ~/.binary_files_/%<"
endfunc

" ShellScript运行
map <F7> :call RunShellScript()<CR>
func! RunShellScript()
"exec "w"
exec "!chmod 711 %"
exec "!./%"
endfunc

" 能够漂亮地显示.NFO文件
set encoding=utf-8
function! SetFileEncodings(encodings)
    let b:myfileencodingsbak=&fileencodings
    let &fileencodings=a:encodings
endfunction
function! RestoreFileEncodings()
    let &fileencodings=b:myfileencodingsbak
    unlet b:myfileencodingsbak
endfunction

au BufReadPre *.nfo call SetFileEncodings('cp437')|set ambiwidth=single
au BufReadPost *.nfo call RestoreFileEncodings()

" 高亮显示普通txt文件(需要txt.vim脚本)
au BufRead,BufNewFile *  setfiletype txt

" 用空格键来开关折叠
set nofoldenable
set foldlevel=0
set foldmethod=indent
nnoremap <space> @=((foldclosed(line('.')) < 0) ? 'zc' : 'zo')<CR>

" minibufexpl插件的一般设置
let g:miniBufExplMapWindowNavVim = 1
let g:miniBufExplMapWindowNavArrows = 1
let g:miniBufExplMapCTabSwitchBufs = 1
let g:miniBufExplModSelTarget = 1

" 设置汇编高亮为MASM
au BufRead,BufNewFile *      if &ft=='asm' | set ft=masm | endif



最后由 Final_x 编辑于 2009-06-01 1:43,总共编辑了 2 次

页首
 用户资料  
 
2 楼 
 文章标题 : vim常用命令:记性不好,放这里备用
帖子发表于 : 2008-11-27 1:28 
头像

注册: 2008-05-03 23:05
帖子: 383
送出感谢: 0 次
接收感谢: 0 次
代码:
1. 查找

/xxx(?xxx)      表示在整篇文档中搜索匹配xxx的字符串, / 表示向下查找, ? 表示
向上查找.其中xxx可以是正规表达式,关于正规式就不多说了.
一般来说是区分大小写的, 要想不区分大小写, 那得先输入
:set ignorecase
查找到以后, 再输入 n 查找下一个匹配处, 输入 N 反方向查找.

*(#)            当光标停留在某个单词上时, 输入这条命令表示查找与该单词匹配的
下(上)一个单词. 同样, 再输入 n 查找下一个匹配处, 输入 N 反方
向查找.

g*(g#)          此命令与上条命令相似, 只不过它不完全匹配光标所在处的单词, 而
是匹配包含该单词的所有字符串.

gd              本命令查找与光标所在单词相匹配的单词, 并将光标停留在文档的非
注释段中第一次出现这个单词的地方.

%               本命令查找与光标所在处相匹配的反括号, 包括 () [] {}

f(F)x           本命令表示在光标所在行进行查找, 查找光标右(左)方第一个x字符.
找到后:
输入 ; 表示继续往下找
输入 , 表示反方向查找

2. 快速移动光标
在 vi 中, 移动光标和编辑是两件事, 正因为区分开来, 所以可以很方便的进行光标定
位和编辑. 因此能更快一点移动光标是很有用的.

w(e)            移动光标到下一个单词.
b               移动光标到上一个单词.

0               移动光标到本行最开头.
^               移动光标到本行最开头的字符处.
$               移动光标到本行结尾处.

H               移动光标到屏幕的首行.
M               移动光标到屏幕的中间一行.
L               移动光标到屏幕的尾行.
gg              移动光标到文档首行.
G               移动光标到文档尾行.
c-f             (即 ctrl 键与 f 键一同按下) 本命令即 page down.
c-b             (即 ctrl 键与 b 键一同按下, 后同) 本命令即 page up.

''              此命令相当有用, 它移动光标到上一个标记处, 比如用 gd, * 等查
找到某个单词后, 再输入此命令则回到上次停留的位置.

'.              此命令相当好使, 它移动光标到上一次的修改行.

`.              此命令相当强大, 它移动光标到上一次的修改点.

3. 拷贝, 删除与粘贴
在 vi 中 y 表示拷贝, d 表示删除, p 表示粘贴. 其中拷贝与删除是与光标移动命令
结合的, 看几个例子就能够明白了.

yw              表示拷贝从当前光标到光标所在单词结尾的内容.
dw              表示删除从当前光标到光标所在单词结尾的内容.
y0              表示拷贝从当前光标到光标所在行首的内容.
d0              表示删除从当前光标到光标所在行首的内容.
y$              表示拷贝从当前光标到光标所在行尾的内容.
d$              表示删除从当前光标到光标所在行尾的内容.
yfa             表示拷贝从当前光标到光标后面的第一个a字符之间的内容.
dfa             表示删除从当前光标到光标后面的第一个a字符之间的内容.

特殊地:
yy              表示拷贝光标所在行.
dd              表示删除光标所在行.
D               表示删除从当前光标到光标所在行尾的内容.

关于拷贝, 删除和粘贴的复杂用法与寄存器有关, 可以自行查询.

4. 数字与命令
在 vi 中数字与命令结合往往表示重复进行此命令, 若在扩展模式的开头出现则表示行
号定位. 如:

5fx             表示查找光标后第 5 个 x 字符.

5w(e)           移动光标到下五个单词.

5yy             表示拷贝光标以下 5 行.
5dd             表示删除光标以下 5 行.

y2fa            表示拷贝从当前光标到光标后面的第二个a字符之间的内容.

:12,24y         表示拷贝第12行到第24行之间的内容.
:12,y           表示拷贝第12行到光标所在行之间的内容.
:,24y           表示拷贝光标所在行到第24行之间的内容. 删除类似.

5. 快速输入字符
在 vi 中, 不要求你输入每一个字符, 可以有很多种方法快速输入一些字符.
使用 linux/unix 的同学一定有一个经验, 在命令行下输入命令时敲入头几个字符再按
TAB 系统就会自动将剩下的字符补齐, 假如有多个匹配则会打印出来. 这就是著名的命令
补齐(其实windows中也有文件名补齐功能). vi 中有许多的字符串补齐命令, 非常方便.

c-p(c-n)        在编辑模式中, 输入几个字符后再输入此命令则 vi 开始向上(下)搜
索开头与其匹配的单词并补齐, 不断输入此命令则循环查找. 此命令
会在所有在这个 vim 程序中打开的文件中进行匹配.

c-x-l           在编辑模式中, 此命令快速补齐整行内容, 但是仅在本窗口中出现的
文档中进行匹配.

c-x-f           在编辑模式中, 这个命令表示补齐文件名. 如输入:
/usr/local/tom 后再输入此命令则它会自动匹配出:
/usr/local/tomcat/

abbr            即缩写. 这是一个宏操作, 可以在编辑模式中用一个缩写代替另一个
字符串. 比如编写java文件的常常输入 System.out.println, 这很
是麻烦, 所以应该用缩写来减少敲字. 可以这么做:
:abbr sprt System.out.println
以后在输入sprt后再输入其他非字母符号, 它就会自动扩展为System.
out.println

6. 替换
替换是 vi 的强项, 因为可以用正规表达式来匹配字符串.以下提供几个例子.

:s/aa/bb/g      将光标所在行出现的所有包含 aa 的字符串中的 aa 替换为 bb
:s/\<aa\>/bb/g  将光标所在行出现的所有 aa 替换为 bb, 仅替换 aa 这个单词
:%s/aa/bb/g     将文档中出现的所有包含 aa 的字符串中的 aa 替换为 bb
:12,23s/aa/bb/g 将从12行到23行中出现的所有包含 aa 的字符串中的 aa 替换为 bb
:12,23s/^/#/    将从12行到23行的行首加入 # 字符
:%s= *$==       将所有行尾多余的空格删除
:g/^\s*$/d       将所有不包含字符(空格也不包含)的空行删除.

7. 多文件编辑
在一个 vim 程序中打开很多文件进行编辑是挺方便的.

:sp(:vsp) 文件名    vim 将分割出一个横(纵)向窗口, 并在该窗口中打开新文件.
从 vim6.0 开始, 文件名可以是一个目录的名称, 这样, vim 会
把该目录打开并显示文件列表, 在文件名上按回车则在本窗口打
开该文件, 若输入 O 则在新窗口中打开该文件, 输入 ? 可以看
到帮助信息.

:e 文件名           vim 将在原窗口中打开新的文件, 若旧文件编辑过, 会要求保存.

c-w-w               vim 分割了好几个窗口怎么办? 输入此命令可以将光标循环定位
到各个窗口之中.

:ls                 此命令查看本 vim 程序已经打开了多少个文件, 在屏幕的最下方
会显示出如下数据:
1   %a      "usevim.html"         行 162
2   #       "xxxxxx.html"         行 0

其中:
1               表示打开的文件序号, 这个序号很有用处.
%a              表示文件代号, % 表示当前编辑的文件,
# 表示上次编辑的文件
"usevim.html"   表示文件名.
行 162          表示光标位置.

:b 序号(代号)       此命令将指定序号(代号)的文件在本窗口打开, 其中的序号(代号)
就是用 :ls 命令看到的.

:set diff           此命令用于比较两个文件, 可以用
:vsp filename
命令打开另一个文件, 然后在每个文件窗口中输入此命令,就能看
到效果了.

8. 宏替换
vi 不仅可以用 abbr 来替换文字, 也可以进行命令的宏定义. 有些命令输起来很费劲,
因此我把它们定义到 <F1>-<F12> 上, 这样就很方便了.这些配置可以预先写到 ~/.vimrc
(windows 下为 $VIM/_vimrc) 中, 写进去的时候不用写前面的冒号.

:nmap <F2> :nohls<cr>              取消被搜索字串的高亮
:nmap <F9> <C-W>w                  命令模式下转移光标到不同窗口
:imap <F9> <ESC><F9>               输入模式下运行<F9>
:nmap <F12> :%s= *$==<cr>          删除所有行尾多余的空格.
:imap <F12> <ESC><F12>             同上

:java 中: (注, 这里为什么说 java 中, 因为以下定义对其他文件格式不起作用, 下文
会说到如何实现这一点)
:nmap <F3> :comp javac<CR>:mak -d . %<CR>
此命令用 javac 编译 java 文件, 它会自动将光标定位到出错点. 不过这需要定
义一个 javac.vim 文件在 $VIM/compiler 下, 在 javac.vim 里面只有两行字:
setlocal makeprg=javac
setlocal errorformat=%A%f:%l:\ %m,%-Z%p^,%-C%.%#

:nmap <F4> :comp ant<CR>:mak<CR>
此命令用 ant 编译 java 文件, 它会自动将光标定位到出错点. 一般来说, 安装
vim 后已经有了compiler/ant.vim文件, 因此这个命令可以直接使用. 但是需要
在当前目录下有 build.xml 文件, 当然还必须安装 ant 才行.

:nmap <F5> :cl<CR>                 此命令用于查看所有的编译错误.
:imap <F5> <ESC><F5>

:nmap <F6> :cc<CR>                 此命令用于查看当前的编译错误.
:imap <F6> <ESC><F6>

:nmap <F7> :cn<CR>                 此命令用于跳到下一个出错位置.
:imap <F7> <ESC><F7>

:nmap <F8> :cp<CR>                 此命令用于跳到上一个出错位置.
:imap <F8> <ESC><F8>

:nmap <F11> :JavaBrowser<cr>
此命令用于在窗口左部分割出一个新窗口, 里面的内容是 java 的资源树, 包括
本文件中出现的类, 类的成员变量及成员方法, 就好像 JCreator 表现的那样.
在这个窗口中输入 ? 会看到帮助. 嘿嘿, 很好用, 不过需要 ctags 支持.
:imap <F11> <ESC><F11>

9. TAB
TAB 就是制表符, 单独拿出来做一节是因为这个东西确实很有用.

<<                  输入此命令则光标所在行向左移动一个 tab.
>>                  输入此命令则光标所在行向右移动一个 tab.
5>>                 输入此命令则光标后 5 行向右移动一个 tab.
:12,24>             此命令将12行到14行的数据都向右移动一个 tab.
:12,24>>            此命令将12行到14行的数据都向右移动两个 tab.

那么如何定义 tab 的大小呢? 有人愿意使用 8 个空格位, 有人用4个, 有的用2个.
有的人希望 tab 完全用空格代替, 也有的人希望 tab 就是 tab. 没关系, vim 能
帮助你.以下的设置一般也都先写入配置文件中, 免得老敲.

:set shiftwidth=4   设置自动缩进 4 个空格, 当然要设自动缩进先.
:set sts=4          即设置 softtabstop 为 4. 输入 tab 后就跳了 4 格.
:set tabstop=4      实际的 tab 即为 4 个空格, 而不是缺省的 8 个.
:set expandtab      在输入 tab 后, vim 用恰当的空格来填充这个 tab.

10. autocmd
这个命令十分的强大, 可以用这个命令实现对不同的文件格式应用不同的配置; 可以
在新建文件时自动添加上版权声明等等. 这些命令一般定义在 ~/.vimrc 这样的配置文件
里面. 由于他很强大, 所以我不能给出很具体的说明, 只能举几个例子, 详细的请看帮助.

:autocmd!               删除所有之前的自动命令.
autocmd FileType        java  source ~/.vim/files/java.vim
autocmd FileType        java  source ~/.vim/files/jcommenter.vim
以上两条命令让我在打开 java 文件时才应用后面提到的两个配置文件.
autocmd BufNewFile      *.java  0r ~/.vim/files/skeletons/java.skel
以上这条命令让我在新建 java 文件时自动加入 java.skel 文件的内容.
autocmd BufNewFile      *.java  normal gnp
以上这条命令让我在新建 java 文件时自动运行 gnp 命令, 这个命令进行一些特殊化
处理, 比如将新 java 文件中的 __date__ 替换成今天的日期什么的.

11. 常用脚本
在 vim.sf.net 你可以发现很多脚本(scrīpt), 这些脚本常常有让你意想不到的作用.
我常用的有:

jcommenter.vim        自动加入 javadoc 风格的注释.
JBrowser.vim          类资源浏览. C, C++ 等可以用 Tlist

还有许多有用的, 比如 checkstyle.vim 可以检验你的编程风格, jad.vim 可以直接
反编译 .class 文件等等.

12. 常用配置
在~/.vimrc 配置文件中你常常需要一些个性化配置. 比如上面写的一些宏定义, 一些
autocmd 定义等等. 比如:

set suffixes=.bak,~,.o,.h,.info,.swp,.aux,.bbl,.blg,.dvi,.lof,.log,.lot,.ps,.toc
这样在vim中打开文件时, 按 tab 键补齐文件名时它会忽略上述文件.

set nu          显示行号
set ai          设置自动缩进
map Y y$        让 Y 和 D 一样, 要不然 Y 的本意和 yy 一样.

13. 其他
还有许多有意思的命令, 记录在这里免得忘记.

.                                               重复上次编辑命令.
:g/^/exec "s/^/".strpart(line(".")." ", 0, 4)   在行首插入行号
:runtime! syntax/2html.vim                      转换 txt 成 html, 会按照你的
颜色配置来转


页首
 用户资料  
 
3 楼 
 文章标题 : conky配置
帖子发表于 : 2008-11-30 3:30 
头像

注册: 2008-05-03 23:05
帖子: 383
送出感谢: 0 次
接收感谢: 0 次
代码:
use_spacer right
use_xft yes
font WenQuanYi Zen Hei:size=8
xftfont WenQuanYi Zen Hei:size=8
#xftfont WenQuanYi Zen Hei:pixelsize=12
override_utf8_locale yes
update_interval 1.0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 206 5
maximum_width 250
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders no
default_color ffffff
default_shade_color 000000
default_outline_color 000000
alignment bottom_right
gap_x 10
gap_y 30
cpu_avg_samples 2
uppercase no # set to yes if you want all text to be in uppercase
TEXT
${font LCD:style=Bold:pixelsize=30}${alignc}${time %H:%M:%S}
${font WenQuanYi Zen Hei:pixelsize=18}${time %b%d日 星期%a}${alignc}
${font WenQuanYi Zen Hei:pixelsize=12}
${color #98c2c7}Hostname:${color #db7093} $alignr$nodename
${color #98c2c7}Kernel: ${color #db7093}$alignr$kernel
${color #98c2c7}Uptime: ${color #db7093}$uptime${color #98c2c7}
${color #98c2c7}CPU: ${color #db7093} $cpu%

${color #78af78}$cpubar
${color #ddaa00} ${top name 1} ${top cpu 1}
${color lightgrey} ${top name 2} ${top cpu 2}
${color lightgrey} ${top name 3} ${top cpu 3}

${color #98c2c7}Memory${color #4169e1}--${color}$mem ${color #98c2c7}/${color}$memmax${color #4169e1}--${color #db7093}$memperc%
${color #78af78}${membar}

/: ${alignr}${fs_free /} / ${fs_size /}
${fs_bar 4 /}
/Var/: ${alignr}${fs_free /var} / ${fs_size /var}
${fs_bar 4 /var}
/Home/: ${alignr}${fs_free /home} / ${fs_size /home}
${fs_bar 4 /home}

${color #98c2c7}Downspeed:${color} ${downspeed eth0} k/s
${color #98c2c7}Upspeed:${color} ${upspeed eth0} k/s
   
   


页首
 用户资料  
 
4 楼 
 文章标题 : CompizConfig设置管理器profile
帖子发表于 : 2008-12-01 20:05 
头像

注册: 2008-05-03 23:05
帖子: 383
送出感谢: 0 次
接收感谢: 0 次
代码:
[3d]
s0_window_match = Toolbar | Utility | Dialog | Normal | Unknown
s0_min_cube_size = 60
s0_max_window_space = 10
s0_manual_only = true
s0_width = 0.300000
s0_bevel = 0
s0_width_color = #333333ff
s0_width_color_inactive = #333333ff
s0_bevel_topleft = true
s0_bevel_topright = true
s0_bevel_bottomleft = false
s0_bevel_bottomright = false

[addhelper]
as_toggle_key = <Super>p
as_window_types = Toolbar | Utility | Dialog | ModalDialog | Fullscreen | Normal
as_ononinit = false
as_brightness = 30
as_saturation = 50
as_opacity = 100

[animation]
s0_close_effects = 12;9;9;
s0_close_durations = 200;150;150;
s0_close_matches = ((type=Normal | Unknown) | name=sun-awt-X11-XFramePeer | name=sun-awt-X11-XDialogPeer) & !(role=toolTipTip | role=qtooltip_label) & !(type=Normal & override_redirect=1) & !(name=gnome-screensaver);(type=Menu | PopupMenu | DropdownMenu | Dialog | ModalDialog | Normal);(type=Tooltip | Notification | Utility);
s0_close_options = ;;;
s0_close_random_effects = 0;1;2;3;4;5;6;7;8;9;10;11;12;13;14;15;16;17;18;19;
s0_open_effects = 11;9;9;
s0_open_durations = 200;150;150;
s0_open_matches = ((type=Normal | Unknown) | name=sun-awt-X11-XFramePeer | name=sun-awt-X11-XDialogPeer) & !(role=toolTipTip | role=qtooltip_label) & !(type=Normal & override_redirect=1) & !(name=gnome-screensaver);(type=Menu | PopupMenu | DropdownMenu | Dialog | ModalDialog | Normal);(type=Tooltip | Notification | Utility);
s0_open_options = ;;;
s0_open_random_effects = 0;1;2;3;4;5;6;7;8;9;10;11;12;13;14;15;16;17;18;19;
s0_minimize_effects = 19;
s0_minimize_durations = 300;
s0_minimize_matches = (type=Normal | Dialog | ModalDialog | Unknown);
s0_minimize_options = ;
s0_minimize_random_effects = 0;1;2;3;4;5;6;7;8;9;10;11;12;13;14;15;16;17;
s0_shade_effects = 4;
s0_shade_durations = 300;
s0_shade_matches = (type=Normal | Dialog | ModalDialog | Utility | Unknown);
s0_shade_options = ;
s0_shade_random_effects = 0;1;2;
s0_focus_effects = 2;
s0_focus_durations = 150;
s0_focus_matches = (type=Normal | Dialog | ModalDialog | Utility | Unknown);
s0_focus_options = ;
s0_airplane_path_length = 1.000000
s0_airplane_fly_to_taskbar = true
s0_fire_particles = 1000
s0_fire_size = 5.000000
s0_fire_slowdown = 0.500000
s0_fire_life = 0.700000
s0_fire_color = #ff3305ff
s0_fire_direction = 0
s0_fire_constant_speed = false
s0_fire_smoke = false
s0_fire_mystical = false
s0_beam_size = 8.000000
s0_beam_spacing = 5
s0_beam_color = #7f7f7fff
s0_beam_slowdown = 1.000000
s0_beam_life = 0.700000
s0_glide1_away_position = 1.000000
s0_glide1_away_angle = 0.000000
s0_glide1_thickness = 0.000000
s0_glide1_zoom_to_taskbar = false
s0_glide2_away_position = -0.400000
s0_glide2_away_angle = -45.000000
s0_glide2_thickness = 0.000000
s0_glide2_zoom_to_taskbar = true
s0_zoom_from_center = 0
s0_zoom_springiness = 0.000000
s0_rollup_fixed_interior = false
s0_sidekick_num_rotations = 0.500000
s0_sidekick_springiness = 0.000000
s0_sidekick_zoom_from_center = 0
s0_dodge_gap_ratio = 0.500000
s0_dream_zoom_to_taskbar = true
s0_wave_width = 0.700000
s0_wave_amp = 0.030000
s0_magic_lamp_moving_end = true
s0_magic_lamp_grid_res = 100
s0_magic_lamp_max_waves = 3
s0_magic_lamp_amp_min = 200.000000
s0_magic_lamp_amp_max = 300.000000
s0_magic_lamp_open_start_width = 30
s0_vacuum_moving_end = true
s0_vacuum_grid_res = 100
s0_vacuum_open_start_width = 30
s0_curved_fold_amp = 0.150000
s0_curved_fold_zoom_to_taskbar = true
s0_horizontal_folds_amp = 0.070000
s0_horizontal_folds_num_folds = 3
s0_horizontal_folds_zoom_to_taskbar = true
s0_domino_direction = 5
s0_razr_direction = 5
s0_explode_gridx = 13
s0_explode_gridy = 10
s0_explode_thickness = 15.000000
s0_explode_tessellation = 0
s0_fold_gridx = 3
s0_fold_gridy = 3
s0_fold_dir = 1
s0_skewer_direction = 8
s0_skewer_tessellation = 0
s0_skewer_gridx = 6
s0_skewer_gridy = 4
s0_skewer_thickness = 0.000000
s0_skewer_rotation = 0
s0_all_random = true
s0_time_step = 10
s0_time_step_intense = 30

[annotate]
as_initiate_button = <Alt><Super>Button1
as_erase_button = <Alt><Super>Button3
as_clear_key = <Alt><Super>k
as_clear_button = Disabled
as_fill_color = #ff0000ff
as_stroke_color = #00ff00ff
as_line_width = 3.000000
as_stroke_width = 1.000000

[bench]
as_initiate_key = <Super>F12
as_disable_limiter = true
as_output_screen = true
as_position_x = 0
as_position_y = 0
as_output_console = false
as_console_update_time = 5

[blur]
as_pulse = false
s0_blur_speed = 3.500000
s0_focus_blur_match = toolbar | menu | utility | normal | dialog | modaldialog
s0_focus_blur = false
s0_alpha_blur_match =
s0_alpha_blur = true
s0_filter = 0
s0_gaussian_radius = 3
s0_gaussian_strength = 1.000000
s0_mipmap_lod = 2.500000
s0_saturation = 100
s0_occlusion = true
s0_independent_tex = false

[bs]
as_saturation_increase_key = Disabled
as_saturation_increase_button = <Control><Alt>Button4
as_saturation_decrease_key = Disabled
as_saturation_decrease_button = <Control><Alt>Button5
as_brightness_increase_key = Disabled
as_brightness_increase_button = <Shift><Alt>Button4
as_brightness_decrease_key = Disabled
as_brightness_decrease_button = <Shift><Alt>Button5
s0_brightness_step = 5
s0_saturation_step = 5
s0_saturation_matches =
s0_saturation_values =
s0_brightness_matches =
s0_brightness_values =

[clone]
as_initiate_button = <Shift><Super>Button1

[colorfilter]
as_toggle_window_key = <Super>f
as_toggle_screen_key = <Super>d
as_switch_filter_key = <Control><Super>s
s0_filters = negative;negative-green;blueish-filter;sepia;grayscale;
s0_filter_decorations = false
s0_filter_match = any
s0_exclude_match = type=Desktop

[core]
as_active_plugins = core;dbus;decoration;imgjpeg;minimize;move;place;png;regex;resize;screenshot;svg;text;thumbnail;water;shift;video;fade;cube;rotate;scale;switcher;cubeaddon;
as_texture_filter = 1
as_click_to_focus = true
as_autoraise = false
as_autoraise_delay = 500
as_edge_delay = 0
as_close_window_key = <Alt>F4
as_close_window_button = Disabled
as_main_menu_key = <Alt>F1
as_run_key = <Alt>F2
as_command0 =
as_command1 =
as_command2 =
as_command3 =
as_command4 =
as_command5 =
as_command6 =
as_command7 =
as_command8 =
as_command9 =
as_command10 =
as_command11 =
as_run_command0_key = Disabled
as_run_command1_key = Disabled
as_run_command2_key = Disabled
as_run_command3_key = Disabled
as_run_command4_key = Disabled
as_run_command5_key = Disabled
as_run_command6_key = Disabled
as_run_command7_key = Disabled
as_run_command8_key = Disabled
as_run_command9_key = Disabled
as_run_command10_key = Disabled
as_run_command11_key = Disabled
as_slow_animations_key = Disabled
as_raise_window_key = Disabled
as_raise_window_button = <Control>Button6
as_lower_window_key = Disabled
as_lower_window_button = <Alt>Button6
as_unmaximize_window_key = <Alt>F5
as_minimize_window_key = <Alt>F9
as_minimize_window_button = Disabled
as_maximize_window_key = <Alt>F10
as_maximize_window_horizontally_key = Disabled
as_maximize_window_vertically_key = Disabled
as_opacity_increase_button = <Alt>Button4
as_opacity_decrease_button = <Alt>Button5
as_command_screenshot = gnome-screenshot
as_run_command_screenshot_key = Print
as_command_window_screenshot = gnome-screenshot --window
as_run_command_window_screenshot_key = <Alt>Print
as_window_menu_button = <Alt>Button3
as_window_menu_key = <Alt>space
as_show_desktop_key = <Control><Alt>d
as_show_desktop_edge =
as_raise_on_click = true
as_audible_bell = true
as_toggle_window_maximized_key = Disabled
as_toggle_window_maximized_button = Disabled
as_toggle_window_maximized_horizontally_key = Disabled
as_toggle_window_maximized_vertically_key = Disabled
as_hide_skip_taskbar_windows = true
as_toggle_window_shaded_key = Disabled
as_ignore_hints_when_maximized = true
as_command_terminal = gnome-terminal
as_run_command_terminal_key = Super_R
as_cursor_theme = default
as_cursor_size = 18
as_ping_delay = 5000
s0_detect_refresh_rate = false
s0_lighting = true
s0_refresh_rate = 200
s0_hsize = 4
s0_vsize = 1
s0_opacity_step = 10
s0_unredirect_fullscreen_windows = true
s0_default_icon = icon
s0_sync_to_vblank = false
s0_number_of_desktops = 1
s0_detect_outputs = true
s0_outputs = 1440x900+0+0;
s0_overlapping_outputs = 0
s0_force_independent_output_painting = false
s0_focus_prevention_level = 1
s0_focus_prevention_match = any
s0_opacity_matches = Tooltip | Menu | PopupMenu | DropdownMenu;
s0_opacity_values = 90;
s0_texture_compression = true

[crashhandler]
as_enabled = true
as_directory = /tmp
as_start_wm = false
as_wm_cmd =

[cube]
as_unfold_key = <Control><Alt>Down
as_next_slide_key = space
as_prev_slide_key = Disabled
s0_color = #cdbe70ff
s0_in = false
s0_scale_image = false
s0_images =
s0_skydome = true
s0_skydome_image = /home/finalx/图片/壁纸/32803-32803-ubuntublueflames_eduard_gamonal.jpg
s0_skydome_animated = false
s0_skydome_gradient_start_color = #0db1fdff
s0_skydome_gradient_end_color = #feffc7ff
s0_acceleration = 4.000000
s0_speed = 1.500000
s0_timestep = 1.200000
s0_mipmap = true
s0_adjust_image = false
s0_active_opacity = 60.000000
s0_inactive_opacity = 100.000000
s0_transparent_manual_only = true
s0_multioutput_mode = 0

[decoration]
as_shadow_radius = 9.958000
as_shadow_opacity = 1.060400
as_shadow_color = #00000000
as_shadow_x_offset = 1
as_shadow_y_offset = 1
as_command = /usr/bin/compiz-decorator
as_mipmap = false
as_decoration_match = any
as_shadow_match = any

[expo]
as_expo_key = <Super>e
as_expo_button = Disabled
as_expo_edge =
as_double_click_time = 500
as_dnd_button = Button1
as_exit_button = Button3
as_next_vp_button = Button5
as_prev_vp_button = Button4
as_zoom_time = 0.500000
as_expo_immediate_move = false
as_expo_animation = 0
as_deform = 0
as_distance = 0.000000
as_vp_distance = 0.100000
as_aspect_ratio = 1.000000
as_curve = 0.500000
as_hide_docks = true
as_mipmaps = false
as_multioutput_mode = 0
as_vp_brightness = 75.000000
as_vp_saturation = 100.000000
as_reflection = true
as_ground_color1 = #b3b3b3cc
as_ground_color2 = #b3b3b300
as_ground_size = 0.500000
as_scale_factor = 0.750000

[extrawm]
as_toggle_redirect_key = Disabled
as_toggle_fullscreen_key = Disabled
as_toggle_always_on_top_key = Disabled
as_toggle_sticky_key = Disabled
as_activate_demands_attention = Disabled

[ezoom]
as_zoom_in = <Super>Button4
as_zoom_in_key = Disabled
as_zoom_out = <Super>Button5
as_zoom_out_key = Disabled
as_zoom_box = <Super>Button2
as_center_mouse = <Super>c
as_zoom_specific_1 = <Super>1
as_zoom_spec1 = 1.000000
as_zoom_specific_2 = <Super>2
as_zoom_spec2 = 0.500000
as_zoom_specific_3 = <Super>3
as_zoom_spec3 = 0.200000
as_spec_target_focus = true
as_lock_zoom = <Super>l
as_pan_left = Disabled
as_pan_right = Disabled
as_pan_up = Disabled
as_pan_down = Disabled
as_fit_to_zoom = <Super>v
as_fit_to_window = <Super>r
s0_zoom_factor = 1.150000
s0_sync_mouse = true
s0_scale_mouse = false
s0_hide_original_mouse = false
s0_restrain_mouse = false
s0_mouse_pan = false
s0_restrain_margin = 5
s0_pan_factor = 0.100000
s0_follow_focus = true
s0_focus_fit_window = false
s0_always_focus_fit_window = false
s0_follow_focus_delay = 1
s0_speed = 25.000000
s0_timestep = 1.200000
s0_filter_linear = true

[fade]
s0_fade_speed = 5.000000
s0_window_match = any
s0_visual_bell = true
s0_fullscreen_visual_bell = false
s0_minimize_open_close = true

[fadedesktop]
s0_fadetime = 500
s0_window_match = Toolbar | Utility | Dialog | Normal | Unknown

[firepaint]
as_initiate_key = Disabled
as_initiate_button = <Shift><Super>Button1
as_clear_key = <Shift><Super>c
as_clear_button = Disabled
s0_num_particles = 3000
s0_fire_size = 15.000000
s0_fire_slowdown = 0.500000
s0_fire_life = 0.700000
s0_fire_color = #ff3305ff
s0_fire_mystical = false
s0_bg_brightness = 50

[fs]
as_mount_point = compiz

[group]
as_select_button = Disabled
as_select_single_key = <Super>s
as_group_key = <Super>g
as_ungroup_key = <Super>u
as_remove_key = <Super>r
as_close_key = <Super>c
as_ignore_key = <Super>x
as_tabmode_key = <Super>t
as_change_tab_left_key = <Super>Left
as_change_tab_right_key = <Super>Right
as_change_color_key = Disabled
s0_move_all = true
s0_resize_all = false
s0_raise_all = true
s0_maximize_unmaximize_all = false
s0_minimize_all = true
s0_shade_all = false
s0_auto_group = false
s0_auto_ungroup = true
s0_window_match = Toolbar | Utility | Dialog | Normal | Unknown
s0_select_opacity = 80
s0_select_saturation = 20
s0_select_brightness = 70
s0_select_precision = 25
s0_fill_color = #00000055
s0_line_color = #000000ab
s0_mipmaps = false
s0_untab_on_close = false
s0_autotab_create = false
s0_tabbar_show_delay = 0.400000
s0_tabbing_speed = 1.200000
s0_tabbing_timestep = 1.500000
s0_fade_time = 0.200000
s0_pulse_time = 0.600000
s0_reflex_time = 0.500000
s0_fade_text_time = 0.250000
s0_visibility_time = 0.500000
s0_change_animation_time = 0.500000
s0_bar_animations = true
s0_thumb_size = 96
s0_thumb_space = 5
s0_border_radius = 10
s0_border_width = 1
s0_tab_base_color = #00000099
s0_tab_border_color = #000000ab
s0_tab_highlight_color = #ffffff99
s0_tab_style = 0
s0_tabbar_font_size = 12
s0_tabbar_font_color = #ffffffff
s0_dnd_ungroup_window = true
s0_drag_hover_time = 0.500000
s0_drag_spring_k = 8.000000
s0_drag_friction = 35.000000
s0_drag_y_distance = 400
s0_drag_speed_limit = 800
s0_glow = true
s0_glow_size = 64
s0_glow_type = 0

[imgjpeg]
as_quality = 80

[loginout]
s0_in_match = (iclass=^ksplash)
s0_in_time = 1.000000
s0_in_saturation = 0.000000
s0_in_brightness = 100.000000
s0_in_opacity = 100.000000
s0_out_match = (class=Ksmserver & (role=logoutdialog | role=logouteffect)) | (class=Libssui-tool & type=Dialog)
s0_out_time = 1.000000
s0_out_saturation = 0.000000
s0_out_brightness = 100.000000
s0_out_opacity = 100.000000

[mag]
as_initiate = <Super>m
as_zoom_in_button = <Shift><Super>Button4
as_zoom_out_button = <Shift><Super>Button5
s0_mode = 0
s0_zoom_factor = 2.000000
s0_speed = 1.500000
s0_timestep = 1.200000
s0_keep_screen = true
s0_box_width = 300
s0_box_height = 200
s0_border = 2
s0_box_color = #000000ff
s0_overlay = Gnome/overlay.png
s0_mask = Gnome/mask.png
s0_x_offset = 155
s0_y_offset = 155
s0_radius = 200

[maximumize]
as_ignore_sticky = true
as_ignore_overlapping = false
as_trigger_key = <Super>m

[mblur]
as_initiate_key = <Control>F12
s0_mode = 0
s0_strength = 20.000000
s0_on_transformed_screen = false

[minimize]
s0_speed = 1.500000
s0_timestep = 0.500000
s0_window_match = toolbar | utility | dialog | normal
s0_shade_resistance = 75

[mousepoll]
as_mouse_poll_interval = 10

[move]
as_initiate_button = <Alt>Button1
as_initiate_key = <Alt>F7
as_opacity = 100
as_constrain_y = true
as_snapoff_maximized = true
as_lazy_positioning = true

[neg]
as_window_toggle_key = <Super>n
as_screen_toggle_key = <Super>m
s0_neg_match = any
s0_exclude_match = type=Desktop

[notification]
as_timeout = -1
as_max_log_level = 1

[opacify]
as_toggle_key = <Super>o
as_toggle_reset = true
as_timeout = 700
as_init_toggle = true
s0_only_if_block = false
s0_focus_instant = false
s0_no_delay_change = false
s0_window_match = Normal | Dialog | ModalDialog | Utility | Toolbar | Fullscreen
s0_active_opacity = 100
s0_passive_opacity = 10

[place]
s0_workarounds = true
s0_mode = 2
s0_multioutput_mode = 0
s0_force_placement_match =
s0_position_matches =
s0_position_x_values =
s0_position_y_values =
s0_viewport_matches =
s0_viewport_x_values =
s0_viewport_y_values =

[put]
as_put_viewport_1_key = Disabled
as_put_viewport_2_key = Disabled
as_put_viewport_3_key = Disabled
as_put_viewport_4_key = Disabled
as_put_viewport_5_key = Disabled
as_put_viewport_6_key = Disabled
as_put_viewport_7_key = Disabled
as_put_viewport_8_key = Disabled
as_put_viewport_9_key = Disabled
as_put_viewport_10_key = Disabled
as_put_viewport_11_key = Disabled
as_put_viewport_12_key = Disabled
as_put_viewport_left_key = Disabled
as_put_viewport_right_key = Disabled
as_put_viewport_up_key = Disabled
as_put_viewport_down_key = Disabled
as_put_center_key = <Super>KP_Begin
as_put_center_button = Disabled
as_put_left_key = <Super>KP_Left
as_put_left_button = Disabled
as_put_right_key = <Super>KP_Right
as_put_right_button = Disabled
as_put_top_key = <Super>KP_Up
as_put_top_button = Disabled
as_put_bottom_key = <Super>KP_Down
as_put_bottom_button = Disabled
as_put_topleft_key = <Super>KP_Home
as_put_topleft_button = Disabled
as_put_topright_key = <Super>KP_Prior
as_put_topright_button = Disabled
as_put_bottomleft_key = <Super>KP_End
as_put_bottomleft_button = Disabled
as_put_bottomright_key = <Super>KP_Next
as_put_bottomright_button = Disabled
as_put_restore_key = <Super>KP_Insert
as_put_restore_button = Disabled
as_put_pointer_key = <Super>z
as_put_pointer_button = Disabled
s0_pad_left = 0
s0_pad_right = 0
s0_pad_top = 0
s0_pad_bottom = 0
s0_unfocus_window = false
s0_window_center = false
s0_avoid_offscreen = false
s0_speed = 2.500000
s0_timestep = 0.500000

[reflex]
s0_file = reflection.png
s0_match = any
s0_window = false
s0_decoration = true
s0_threshold = 1
s0_moving = true

[resize]
as_initiate_normal_key = Disabled
as_initiate_outline_key = Disabled
as_initiate_rectangle_key = Disabled
as_initiate_stretch_key = Disabled
as_initiate_button = <Alt>Button2
as_initiate_key = <Alt>F8
as_mode = 2
as_border_color = #2f2f4f9f
as_fill_color = #2f2f4f4f
as_normal_match =
as_outline_match =
as_rectangle_match =
as_stretch_match =

[resizeinfo]
as_fade_time = 500
as_always_show = false
as_text_color = #000000ff
as_gradient_1 = #cccce6cc
as_gradient_2 = #f3f3f3cc
as_gradient_3 = #d9d9d9cc

[ring]
as_next_key = <Super>Tab
as_next_button = Disabled
as_prev_key = <Shift><Super>Tab
as_prev_button = Disabled
as_next_all_key = <Alt><Super>Tab
as_next_all_button = Disabled
as_prev_all_key = <Shift><Alt><Super>Tab
as_prev_all_button = Disabled
as_next_group_key = Disabled
as_next_group_button = Disabled
as_prev_group_key = Disabled
as_prev_group_button = Disabled
s0_speed = 1.500000
s0_timestep = 1.200000
s0_inactive_opacity = 100
s0_window_match = Normal | Dialog | ModalDialog | Utility | Unknown
s0_overlay_icon = 1
s0_darken_back = true
s0_minimized = true
s0_select_with_mouse = false
s0_ring_clockwise = false
s0_ring_width = 70
s0_ring_height = 60
s0_thumb_width = 350
s0_thumb_height = 250
s0_min_brightness = 0.500000
s0_min_scale = 0.400000
s0_window_title = true
s0_title_font_bold = false
s0_title_font_size = 16
s0_title_back_color = #00000099
s0_title_font_color = #ffffffff
s0_title_text_placement = 0

[rotate]
as_initiate_button = <Control><Alt>Button1
as_rotate_left_key = <Control><Alt>Left
as_rotate_left_button = Disabled
as_rotate_right_key = <Control><Alt>Right
as_rotate_right_button = Disabled
as_rotate_left_window_key = <Shift><Control><Alt>Left
as_rotate_left_window_button = Disabled
as_rotate_right_window_key = <Shift><Control><Alt>Right
as_rotate_right_window_button = Disabled
as_edge_flip_pointer = false
as_edge_flip_window = true
as_edge_flip_dnd = true
as_flip_time = 350
as_rotate_to_1_key = Disabled
as_rotate_to_2_key = Disabled
as_rotate_to_3_key = Disabled
as_rotate_to_4_key = Disabled
as_rotate_to_5_key = Disabled
as_rotate_to_6_key = Disabled
as_rotate_to_7_key = Disabled
as_rotate_to_8_key = Disabled
as_rotate_to_9_key = Disabled
as_rotate_to_10_key = Disabled
as_rotate_to_11_key = Disabled
as_rotate_to_12_key = Disabled
as_rotate_to_1_window_key = Disabled
as_rotate_to_2_window_key = Disabled
as_rotate_to_3_window_key = Disabled
as_rotate_to_4_window_key = Disabled
as_rotate_to_5_window_key = Disabled
as_rotate_to_6_window_key = Disabled
as_rotate_to_7_window_key = Disabled
as_rotate_to_8_window_key = Disabled
as_rotate_to_9_window_key = Disabled
as_rotate_to_10_window_key = Disabled
as_rotate_to_11_window_key = Disabled
as_rotate_to_12_window_key = Disabled
as_rotate_to_key = Disabled
as_rotate_window_key = Disabled
as_rotate_flip_left_edge = Left
as_rotate_flip_right_edge = Right
as_raise_on_rotate = false
s0_invert_y = false
s0_sensitivity = 1.000000
s0_acceleration = 4.000000
s0_snap_top = false
s0_snap_bottom = false
s0_speed = 2.000000
s0_timestep = 1.000000
s0_zoom = 0.500000

[scale]
as_initiate_edge =
as_initiate_key = <Shift><Alt>Up
as_initiate_button = Disabled
as_initiate_all_edge =
as_initiate_all_button = Disabled
as_initiate_all_key = Disabled
as_initiate_group_edge =
as_initiate_group_button = Disabled
as_initiate_group_key = Disabled
as_initiate_output_edge =
as_initiate_output_button = Disabled
as_initiate_output_key = Disabled
as_show_desktop = true
s0_spacing = 10
s0_speed = 1.500000
s0_timestep = 1.200000
s0_window_match = Toolbar | Utility | Dialog | Normal | Unknown
s0_darken_back = true
s0_opacity = 75
s0_overlay_icon = 1
s0_hover_time = 750
s0_multioutput_mode = 0

[scaleaddon]
as_close_key = Disabled
as_close_button = Button2
as_pull_key = Disabled
as_pull_button = Disabled
as_zoom_key = Disabled
as_zoom_button = Button3
s0_window_title = 1
s0_title_bold = false
s0_title_size = 10
s0_border_size = 3
s0_font_color = #ffffffff
s0_back_color = #00000099
s0_window_highlight = false
s0_highlight_color = #ffffff96
s0_layout_mode = 0
s0_constrain_pull_to_screen = true
s0_exit_after_pull = false

[scalefilter]
s0_timeout = 0
s0_filter_case_insensitive = false
s0_filter_display = true
s0_font_bold = true
s0_font_size = 24
s0_border_size = 5
s0_font_color = #ffffffff
s0_back_color = #00000099

[screenshot]
as_initiate_button = <Super>Button1
as_directory = Desktop
as_launch_app =

[session]
as_save_legacy = false

[shelf]
as_trigger_key = <Super>l
as_reset_key = Disabled
as_triggerscreen_key = <Super>p
as_dec_button = <Alt><Super>Button4
as_inc_button = <Alt><Super>Button5
as_animtime = 150
as_interval = 0.900000

[shift]
as_initiate_key = <Shift><Super>s
as_initiate_button = Disabled
as_initiate_edge =
as_initiate_all_key = Disabled
as_initiate_all_button = Disabled
as_initiate_all_edge =
as_terminate_button = Button3
as_next_key = <Super>Tab
as_next_button = Disabled
as_prev_key = <Shift><Super>Tab
as_prev_button = Disabled
as_next_all_key = <Alt><Super>Tab
as_next_all_button = Disabled
as_prev_all_key = <Shift><Alt><Super>Tab
as_prev_all_button = Disabled
as_next_group_key = Disabled
as_next_group_button = Disabled
as_prev_group_key = Disabled
as_prev_group_button = Disabled
s0_speed = 1.500000
s0_shift_speed = 1.000000
s0_timestep = 1.200000
s0_window_match = Normal | Dialog | ModalDialog | Utility | Unknown
s0_minimized = true
s0_mouse_speed = 10.000000
s0_click_duration = 500
s0_mode = 0
s0_size = 50
s0_background_intensity = 0.500000
s0_hide_all = false
s0_reflection = true
s0_ground_color1 = #b3b3b3cc
s0_ground_color2 = #b3b3b300
s0_ground_size = 0.500000
s0_intensity = 0.400000
s0_flip_rotation = 30
s0_cover_offset = 0.000000
s0_overlay_icon = 1
s0_mipmaps = false
s0_multioutput_mode = 0
s0_window_title = true
s0_title_font_bold = false
s0_title_font_size = 16
s0_title_back_color = #00000099
s0_title_font_color = #ffffffff
s0_title_text_placement = 2

[showdesktop]
s0_speed = 1.200000
s0_timestep = 0.100000
s0_direction = 6
s0_window_match = type=toolbar | type=utility | type=dialog | type=normal
s0_window_opacity = 0.300000
s0_window_part_size = 20

[showmouse]
as_initiate = <Super>k
s0_num_particles = 500
s0_size = 10.000000
s0_slowdown = 1.000000
s0_life = 0.700000
s0_darken = 0.900000
s0_blend = true
s0_color = #ffdf3fff
s0_random = false
s0_rotation_speed = 0.500000
s0_radius = 100
s0_emiters = 3

[snap]
as_avoid_snap = 0;
s0_snap_type = 0;
s0_edges_categories = 0;1;
s0_resistance_distance = 30
s0_attraction_distance = 20

[splash]
as_initiate_key = <Control>F11
as_firststart = true
as_background = splash_background.png
as_logo = splash_logo.png
as_fade_time = 1.000000
as_display_time = 2.000000
as_saturation = 50.000000
as_brightness = 50.000000

[switcher]
as_next_button = Disabled
as_next_key = <Alt>Tab
as_prev_button = Disabled
as_prev_key = <Shift><Alt>Tab
as_next_all_button = Disabled
as_next_all_key = <Control><Alt>Tab
as_prev_all_button = Disabled
as_prev_all_key = <Shift><Control><Alt>Tab
as_next_no_popup_button = Disabled
as_next_no_popup_key = Disabled
as_prev_no_popup_button = Disabled
as_prev_no_popup_key = Disabled
as_next_panel_button = Disabled
as_next_panel_key = Disabled
as_prev_panel_button = Disabled
as_prev_panel_key = Disabled
s0_speed = 1.500000
s0_timestep = 1.200000
s0_window_match = any
s0_mipmap = true
s0_saturation = 100
s0_brightness = 65
s0_opacity = 95
s0_bring_to_front = true
s0_zoom = 0.000000
s0_icon = true
s0_minimized = true
s0_auto_rotate = false

[thumbnail]
s0_thumb_size = 200
s0_show_delay = 100
s0_border = 16
s0_thumb_color = #0000007f
s0_fade_speed = 0.500000
s0_current_viewport = true
s0_always_on_top = true
s0_window_like = true
s0_mipmap = false
s0_title_enabled = true
s0_font_bold = true
s0_font_size = 12
s0_font_color = #000000ff

[trailfocus]
s0_window_match = (type=toolbar | type=utility | type=dialog | type=normal) & !(state=skiptaskbar | state=skippager)
s0_windows_count = 5
s0_windows_start = 2
s0_max_opacity = 100
s0_min_opacity = 70
s0_max_brightness = 100
s0_min_brightness = 100
s0_max_saturation = 100
s0_min_saturation = 100

[video]
as_yv12 = true

[vpswitch]
as_begin_key = Disabled
as_switch_to_1_key = Disabled
as_switch_to_2_key = Disabled
as_switch_to_3_key = Disabled
as_switch_to_4_key = Disabled
as_switch_to_5_key = Disabled
as_switch_to_6_key = Disabled
as_switch_to_7_key = Disabled
as_switch_to_8_key = Disabled
as_switch_to_9_key = Disabled
as_switch_to_10_key = Disabled
as_switch_to_11_key = Disabled
as_switch_to_12_key = Disabled
as_left_button = Disabled
as_right_button = Disabled
as_up_button = Disabled
as_down_button = Disabled
as_next_button = Button5
as_prev_button = Button4
as_initiate_button = Button2
as_init_plugin = rotate
as_init_action = initiate_button

[wall]
as_show_switcher = true
as_miniscreen = false
as_preview_timeout = 0.400000
as_preview_scale = 100
as_edge_radius = 5
as_border_width = 10
as_outline_color = #333333d9
as_background_gradient_base_color = #cccce6d9
as_background_gradient_highlight_color = #f3f3ffd9
as_background_gradient_shadow_color = #f3f3ffd9
as_thumb_gradient_base_color = #33333359
as_thumb_gradient_highlight_color = #3f3f3f3f
as_thumb_highlight_gradient_base_color = #fffffff3
as_thumb_highlight_gradient_shadow_color = #dfdfdfa6
as_arrow_base_color = #e6e6e6d9
as_arrow_shadow_color = #dcdcdcd9
as_allow_wraparound = false
as_slide_duration = 0.300000
as_left_key = <Control><Alt>Left
as_left_button = Disabled
as_right_key = <Control><Alt>Right
as_right_button = Disabled
as_up_key = <Control><Alt>Up
as_up_button = Disabled
as_down_key = <Control><Alt>Down
as_down_button = Disabled
as_next_key = Disabled
as_next_button = Disabled
as_prev_key = Disabled
as_prev_button = Disabled
as_left_window_key = <Shift><Control><Alt>Left
as_right_window_key = <Shift><Control><Alt>Right
as_up_window_key = <Shift><Control><Alt>Up
as_down_window_key = <Shift><Control><Alt>Down
as_flip_left_edge = Left
as_flip_right_edge = Right
as_flip_up_edge = Top
as_flip_down_edge = Bottom
s0_mmmode = 0
s0_edgeflip_pointer = false
s0_edgeflip_move = true
s0_edgeflip_dnd = false

[water]
as_initiate_key = <Control><Super>
as_toggle_rain_key = <Shift>F9
as_toggle_wiper_key = <Shift>F8
as_offset_scale = 1.000000
as_rain_delay = 250
as_title_wave = false

[widget]
as_toggle_key = F9
as_toggle_button = Disabled
as_toggle_edge =
s0_match =
s0_end_on_click = true
s0_fade_time = 0.500000
s0_bg_brightness = 50
s0_bg_saturation = 100

[winrules]
s0_skiptaskbar_match =
s0_skippager_match =
s0_above_match =
s0_below_match =
s0_sticky_match =
s0_fullscreen_match =
s0_no_argb_match =
s0_no_move_match =
s0_no_resize_match =
s0_no_minimize_match =
s0_no_maximize_match =
s0_no_close_match =
s0_no_focus_match =
s0_size_matches =
s0_size_width_values =
s0_size_height_values =

[wobbly]
as_snap_key = <Shift>
as_snap_inverted = true
as_shiver = false
s0_friction = 4.000000
s0_spring_k = 10.000000
s0_grid_resolution = 8
s0_min_grid_size = 8
s0_map_effect = 0
s0_focus_effect = 0
s0_map_window_match =
s0_focus_window_match =
s0_grab_window_match =
s0_move_window_match = Toolbar | Menu | Utility | Dialog | Normal | Unknown
s0_maximize_effect = true

[workarounds]
as_legacy_fullscreen = true
as_firefox_menu_fix = true
as_ooo_menu_fix = true
as_notification_daemon_fix = true
as_java_fix = true
as_qt_fix = true
as_aiglx_fragment_fix = true
as_fglrx_xgl_fix = false
as_sticky_alldesktops = false
as_alldesktop_sticky_match = any

[zoom]
as_initiate_button = <Super>Button3
as_zoom_in_button = <Super>Button4
as_zoom_out_button = <Super>Button5
as_zoom_pan_button = <Super>Button2
s0_speed = 1.500000
s0_timestep = 1.200000
s0_zoom_factor = 2.000000
s0_filter_linear = false

[staticswitcher]
as_next_button = Disabled
as_next_key = <Alt>Tab
as_prev_button = Disabled
as_prev_key = <Shift><Alt>Tab
as_next_all_button = Disabled
as_next_all_key = <Control><Alt>Tab
as_prev_all_button = Disabled
as_prev_all_key = <Shift><Control><Alt>Tab
as_next_group_button = Disabled
as_next_group_key = Disabled
as_prev_group_button = Disabled
as_prev_group_key = Disabled
as_next_no_popup_button = Disabled
as_next_no_popup_key = Disabled
as_prev_no_popup_button = Disabled
as_prev_no_popup_key = Disabled
as_next_panel_button = Disabled
as_next_panel_key = Disabled
as_prev_panel_button = Disabled
as_prev_panel_key = Disabled
s0_speed = 4.000000
s0_timestep = 1.200000
s0_window_match = any
s0_bring_to_front = true
s0_minimized = true
s0_auto_change_vp = false
s0_popup_delay = 0.000000
s0_saturation = 50
s0_brightness = 50
s0_opacity = 100
s0_icon = true
s0_mipmap = true
s0_row_align = 1

[wallpaper]
s0_bg_image =
s0_bg_image_pos =
s0_bg_fill_type =
s0_bg_color1 =
s0_bg_color2 =

[cubeaddon]
as_top_next_key = space
as_top_next_button = Disabled
as_top_prev_key = Disabled
as_top_prev_button = Disabled
as_bottom_next_key = Disabled
as_bottom_next_button = Disabled
as_bottom_prev_key = Disabled
as_bottom_prev_button = Disabled
s0_reflection = true
s0_ground_color1 = #b3b3b3cc
s0_ground_color2 = #b3b3b300
s0_ground_size = 0.500000
s0_intensity = 0.400000
s0_auto_zoom = true
s0_zoom_manual_only = true
s0_mode = 0
s0_deformation = 0
s0_unfold_deformation = true
s0_cylinder_manual_only = false
s0_deform_caps = true
s0_sphere_aspect = 0.000000
s0_draw_top = true
s0_draw_bottom = true
s0_adjust_top = true
s0_adjust_bottom = true
s0_top_scale = true
s0_bottom_scale = true
s0_top_aspect = true
s0_bottom_aspect = true
s0_top_clamp = true
s0_bottom_clamp = true
s0_top_color = #ffffffff
s0_bottom_color = #ffffffff
s0_top_images = /home/finalx/图片/壁纸/39228-wallpaper11_1280_1024.jpg;
s0_bottom_images = /home/finalx/图片/壁纸/1217238010633.jpg;


页首
 用户资料  
 
5 楼 
 文章标题 : XORG
帖子发表于 : 2009-03-21 17:00 
头像

注册: 2008-05-03 23:05
帖子: 383
送出感谢: 0 次
接收感谢: 0 次
代码:
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Screen"
   Identifier   "Default Screen"
   Monitor      "Configured Monitor"
   Device      "Configured Video Device"
   Defaultdepth   24
EndSection

Section "Device"
   Identifier   "Configured Video Device"
   Driver      "fglrx"
   Option      "VideoOverlay"   "on"
   Option      "OpenGLOverlay"   "off"
EndSection

Section "InputDevice"
   Identifier   "Generic Keyboard"
   Driver      "kbd"
   Option      "XkbRules"   "xorg"
   Option      "XkbModel"   "pc105"
   Option      "XkbLayout"   "us"
EndSection

Section "InputDevice"
   Identifier   "Configured Mouse"
   Driver      "mouse"
   Option      "CorePointer"
EndSection

Section "ServerLayout"
   Identifier   "Default Layout"
  screen "Default Screen"
EndSection

Section "Module"
   Load      "glx"
EndSection

Section "Monitor"
   Identifier   "Configured Monitor"
EndSection

Section "Extensions"
   Option      "Composite"   "Enable"
EndSection


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 5 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 1 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译