当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 3 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : /etc/gimp/2.0/controllerrc 是什么文件?
帖子发表于 : 2009-06-03 18:50 

注册: 2009-06-03 18:28
帖子: 3
送出感谢: 0 次
接收感谢: 0 次
格式化系统分区后,用 tar 把备份的系统解压到系统分区,然后发现 /etc/gimp/2.0/controllerrc 文件的大小是 2G,删除之后也没什么问题。这个文件是做什么用的?怎么会有 2G 呢?备份前的系统好像只有 2G 多

下面是搜到的一个文件,好像是 gimp 的键盘鼠标设置

# GIMP controllerrc

(GimpControllerInfo "Main Mouse Wheel"
(enabled yes)
(debug-events no)
(controller "GimpControllerWheel")
(mapping
(map "scroll-up-alt" "tools-value-1-increase-skip")
(map "scroll-down-alt" "tools-value-1-decrease-skip")
(map "scroll-up-control-alt" "context-gradient-select-next")
(map "scroll-down-control-alt" "context-gradient-select-previous")
(map "scroll-up-shift-alt" "context-pattern-select-next")
(map "scroll-down-shift-alt" "context-pattern-select-previous")
(map "scroll-up-shift-control" "context-brush-select-next")
(map "scroll-down-shift-control" "context-brush-select-previous")
(map "scroll-up-shift-control-alt" "context-font-select-next")
(map "scroll-down-shift-control-alt" "context-font-select-previous")))

(GimpControllerInfo "Main Keyboard"
(enabled yes)
(debug-events no)
(controller "GimpControllerKeyboard")
(mapping
(map "cursor-up-shift" "view-scroll-page-up")
(map "cursor-down-shift" "view-scroll-page-down")
(map "cursor-left-shift" "view-scroll-page-left")
(map "cursor-right-shift" "view-scroll-page-right")
(map "cursor-up-control" "view-scroll-top-border")
(map "cursor-down-control" "view-scroll-bottom-border")
(map "cursor-left-control" "view-scroll-left-border")
(map "cursor-right-control" "view-scroll-right-border")
(map "cursor-up-alt" "tools-value-1-increase-skip")
(map "cursor-down-alt" "tools-value-1-decrease-skip")
(map "cursor-left-alt" "tools-value-1-decrease")
(map "cursor-right-alt" "tools-value-1-increase")))

# (GimpControllerInfo "Linux Input Example"
# (enabled yes)
# (debug-events no)
# (controller "ControllerLinuxInput"
# (device "/dev/input/event2"))
# (mapping
# (map "wheel-turn-left" "tools-value-2-decrease")
# (map "wheel-turn-right" "tools-value-2-increase")))

# (GimpControllerInfo "Midi Example"
# (enabled yes)
# (debug-events no)
# (controller "ControllerMidi"
# (device "/dev/midi01")
# (channel 0))
# (mapping
# (map "controller-000" "context-foreground-red-set")
# (map "controller-001" "context-foreground-green-set")
# (map "controller-002" "context-foreground-blue-set")
# (map "controller-004" "context-background-red-set")
# (map "controller-005" "context-background-green-set")
# (map "controller-006" "context-background-blue-set")
# (map "controller-008" "context-brush-radius-set")
# (map "controller-009" "context-brush-hardness-set")
# (map "controller-010" "context-brush-aspect-set")
# (map "controller-011" "context-brush-angle-set")))

# end of controllerrc


页首
 用户资料  
 
2 楼 
 文章标题 : Re: /etc/gimp/2.0/controllerrc 是什么文件?
帖子发表于 : 2009-06-03 19:41 

注册: 2009-04-29 21:22
帖子: 1081
送出感谢: 3
接收感谢: 1
我的这个文件是4K大小。里面的内容是:

# GIMP controllerrc

(GimpControllerInfo "Main Mouse Wheel"
(enabled yes)
(debug-events no)
(controller "GimpControllerWheel")
(mapping
(map "scroll-up-alt" "tools-value-1-increase-skip")
(map "scroll-down-alt" "tools-value-1-decrease-skip")
(map "scroll-up-control-alt" "context-gradient-select-next")
(map "scroll-down-control-alt" "context-gradient-select-previous")
(map "scroll-up-shift-alt" "context-pattern-select-next")
(map "scroll-down-shift-alt" "context-pattern-select-previous")
(map "scroll-up-shift-control" "context-brush-select-next")
(map "scroll-down-shift-control" "context-brush-select-previous")
(map "scroll-up-shift-control-alt" "context-font-select-next")
(map "scroll-down-shift-control-alt" "context-font-select-previous")))

(GimpControllerInfo "Main Keyboard"
(enabled yes)
(debug-events no)
(controller "GimpControllerKeyboard")
(mapping
(map "cursor-up-shift" "view-scroll-page-up")
(map "cursor-down-shift" "view-scroll-page-down")
(map "cursor-left-shift" "view-scroll-page-left")
(map "cursor-right-shift" "view-scroll-page-right")
(map "cursor-up-control" "view-scroll-top-border")
(map "cursor-down-control" "view-scroll-bottom-border")
(map "cursor-left-control" "view-scroll-left-border")
(map "cursor-right-control" "view-scroll-right-border")
(map "cursor-up-alt" "tools-value-1-increase-skip")
(map "cursor-down-alt" "tools-value-1-decrease-skip")
(map "cursor-left-alt" "tools-value-1-decrease")
(map "cursor-right-alt" "tools-value-1-increase")))

# (GimpControllerInfo "Linux Input Example"
# (enabled yes)
# (debug-events no)
# (controller "ControllerLinuxInput"
# (device "/dev/input/event2"))
# (mapping
# (map "wheel-turn-left" "tools-value-2-decrease")
# (map "wheel-turn-right" "tools-value-2-increase")))

# (GimpControllerInfo "Midi Example"
# (enabled yes)
# (debug-events no)
# (controller "ControllerMidi"
# (device "/dev/midi01")
# (channel 0))
# (mapping
# (map "controller-000" "context-foreground-red-set")
# (map "controller-001" "context-foreground-green-set")
# (map "controller-002" "context-foreground-blue-set")
# (map "controller-004" "context-background-red-set")
# (map "controller-005" "context-background-green-set")
# (map "controller-006" "context-background-blue-set")
# (map "controller-008" "context-brush-radius-set")
# (map "controller-009" "context-brush-hardness-set")
# (map "controller-010" "context-brush-aspect-set")
# (map "controller-011" "context-brush-angle-set")))

# end of controllerrc


页首
 用户资料  
 
3 楼 
 文章标题 : Re: /etc/gimp/2.0/controllerrc 是什么文件?
帖子发表于 : 2009-06-03 20:33 

注册: 2009-06-03 18:28
帖子: 3
送出感谢: 0 次
接收感谢: 0 次
多谢了


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

当前时区为 UTC + 8 小时


在线用户

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


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

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

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