summaryrefslogtreecommitdiffstats
path: root/share/keys/acd-canvas.xml
blob: c3ce321f0ca05954ac9f184edfce42a6e4780cdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
<?xml version="1.0"?>
<keys name="ACD Systems Canvas 11">

<!--  
This file contains ACD Systems Canvas 11 keyboard shortcuts. In each "bind" element:

- The "key" attribute contains the key name. The names are the same as those in the
<gdk/gdkkeysyms.h> header file but without the leading "GDK_". If you don't have GDK
source locally, you can view that file at:

  http://git.gnome.org/browse/gtk+/plain/gdk/gdkkeysyms.h

- The "modifiers" attribute contains a comma-separated list of modifiers, which can be
one or more of: "Ctrl", "Shift", "Alt".

- The "action" attribute contains the name of the action. The complete list of actions
(called "verbs") is in the file src/verbs.cpp in Inkscape source; there you can see
brief descriptions of what each action does. The same action may have multiple key
bindings.

- The "display" attribute controls whether this binding will be displayed in the menu
and tooltips. Only one binding for each action may have this attribute.

In case of conflict, those bindings that come later override those before them. This
file resides in the share/keys directory of your Inkscape installation, but you may also
have a default.xml in your personal Inkscape profile directory (e.g. ~/.inkscape
on Unix). The bindings in that personal file are added to (or, if there's a conflict,
override) the bindings in the main default.xml.
-->

<!-- TOOLS -->

<!--

Canvas has somewhat weird system of tools shortcuts. It has 12 groups of tools, 
and a tool from one group can have same shortcut another tool from other group 
has. E.g. both Airbrush, Speaker Notes and Multigon tools have A as shortcut. 
This is so weird for Inkscape that we cannot even emulate that properly :-)

Following tools exist in Canvas and have a shortcut, but are not used in this 
scheme due to reasons explained above and absence of such tools in Inkscape:

Linear Dimensioning Tool - somewhat close to Dimensions+Measure Path
Knife tool - K
Hand tool - Spacebar works in Inkscape anyway, so not using it

Wand tool - W
Lasso tool - L
Remote Move tool - V - actually. Ctrl+Selector do this one-direction-shift-only
Eraser tool - E
Marker tool - H
Airbrush tool - A
Neon tool - T
Bucket tool - K

Blur tool - F
Sharpen tool - Q
Rubber Stamp tool - S
Smudge tool - U
Dodge - O
Burn - N
Sponge - D
Red Eye Reduction - R
Polygon tool - P
Reshape - E (you select an object and draw freehand lines to add/subtract from this path)
Speaker Notes - A
Scissor tool - C
-->

  <bind key="S" action="ToolSelector" display="true"/>
  <bind key="s" action="ToolSelector" />

  <bind action="SelectPrefs" />
<!--
  <bind key="F2" action="ToolNode" display="true"/>
  <bind key="n" action="ToolNode" />
  <bind key="N" action="ToolNode" />


  <bind key="F2" modifiers="Shift" action="ToolTweak" display="true"/>
  <bind key="w" action="ToolTweak" />
  <bind key="W" action="ToolTweak" />

-->

<!--
  This is actually a trick since in Canvas 11 Ctrl+Spacebar is for zooming in 
  and Ctrl+Shift+Spacebar is for zooming out
-->
  <bind key="Spacebar" modifiers="Ctrl" action="ToolZoom" display="true"/>
  <bind key="Spacebar" modifiers="Ctrl,Shift" action="ToolZoom" />

  <bind key="R" action="ToolRect" display="true"/>
  <bind key="r" action="ToolRect" />

<!-- 3Dbox tool called Cube tool exists in Canvas, but has no shortcut
  <bind key="F4" modifiers="Shift" action="Tool3DBox" display="true"/>
  <bind key="x" action="Tool3DBox" />
  <bind key="X" action="Tool3DBox" />
-->

<!-- This is called Oval tool -->
  <bind key="O" action="ToolArc" display="true"/>
  <bind key="o" action="ToolArc" />

  <bind key="A" action="ToolStar" display="true"/>
  <bind key="a" action="ToolStar" /> 	 

  <bind action="StarPrefs" />
<!-- Spiral tools exists in Canvas, but has no shortcut
  <bind key="F9" action="ToolSpiral" display="true"/>
  <bind key="i" action="ToolSpiral" />
  <bind key="I" action="ToolSpiral" />
-->

  <bind key="P" action="ToolPencil" display="true"/>
  <bind key="p" action="ToolPencil" />
  <bind key="F" action="ToolPencil" display="true"/>
  <bind key="f" action="ToolPencil" />

  <bind key="B" action="ToolPen" display="true"/>
  <bind key="b" action="ToolPen" />

<!-- It's Paintbrush, but... read the explanation above
  <bind key="B" modifiers="Ctrl" action="ToolCalligraphic" display="true"/>
  <bind key="b" action="ToolCalligraphic" />
-->

<!-- K is also used for Knife tool, but we don't have it, so using K for bucket fill -->
  <bind key="K" modifiers="Shift" action="ToolPaintBucket" display="true"/>
  <bind key="k" action="ToolPaintBucket" />

  <bind key="T" action="ToolText" display="true"/>
  <bind key="t" action="ToolText" />

  <bind key="G" modifiers="Ctrl" action="ToolGradient" display="true"/>
  <bind key="g" action="ToolGradient" />

<!-- Canvas has various smart connection lines. Shortcut seems to be missing
  <bind key="F2" modifiers="Ctrl" action="ToolConnector" display="true"/>
  <bind key="o" action="ToolConnector" />
  <bind key="O" action="ToolConnector" />
-->

  <bind key="I" action="ToolDropper" display="true"/>
  <bind key="i" action="ToolDropper" />

<!-- FILE MENU -->

  <bind key="n" modifiers="Ctrl" action="FileNew" display="true"/>
  <bind key="N" modifiers="Ctrl" action="FileNew" />

  <bind key="o" modifiers="Ctrl" action="FileOpen" display="true"/>
  <bind key="O" modifiers="Ctrl" action="FileOpen" />

  <bind key="F4" modifiers="Ctrl" action="FileClose" display="true"/>

  <bind key="s" modifiers="Ctrl" action="FileSave" display="true"/>
  <bind key="S" modifiers="Ctrl" action="FileSave" />

  <bind key="s" modifiers="Ctrl,Shift" action="FileSaveAs" display="true"/>
  <bind key="S" modifiers="Ctrl,Shift" action="FileSaveAs" />

  <bind key="p" modifiers="Ctrl" action="FilePrint" display="true"/>
  <bind key="P" modifiers="Ctrl" action="FilePrint" />

  <bind key="x" modifiers="Alt" action="FileQuit" display="true"/>
  <bind key="X" modifiers="Alt" action="FileQuit" display="true"/>

<!-- EDIT MENU -->

  <bind key="z" modifiers="Ctrl" action="EditUndo" display="true"/>
  <bind key="Z" modifiers="Ctrl" action="EditUndo" />

  <bind key="z" modifiers="Ctrl,Shift" action="EditRedo" display="true"/>
  <bind key="Z" modifiers="Ctrl,Shift" action="EditRedo" />

<!-- Repeat - Alt+Enter - Inkscape doesn't have it yet -->

  <bind key="x" modifiers="Ctrl" action="EditCut" display="true"/>
  <bind key="X" modifiers="Ctrl" action="EditCut" />

  <bind key="c" modifiers="Ctrl" action="EditCopy" display="true"/>
  <bind key="C" modifiers="Ctrl" action="EditCopy" />

  <bind key="v" modifiers="Ctrl" action="EditPaste" display="true"/>
  <bind key="V" modifiers="Ctrl" action="EditPaste" />

<!-- Paste Into - Ctrl+Shift+V - needs clarification -->

  <bind key="Delete" action="EditDelete" display="true"/>
  <bind key="KP_Delete" action="EditDelete" />

<!-- is finding 100% analog to Inkscape's? -->

  <bind key="a" modifiers="Ctrl,Shift" action="DialogFind" display="true"/>
  <bind key="A" modifiers="Ctrl,Shift" action="DialogFind" />

  <bind key="a" modifiers="Ctrl" action="EditSelectAll" display="true"/>
  <bind key="A" modifiers="Ctrl" action="EditSelectAll" />

  <bind key="d" modifiers="Ctrl" action="EditDuplicate" display="true"/>
  <bind key="D" modifiers="Ctrl" action="EditDuplicate" />

<!-- Duplicate With Transform - Ctrl+Shift+D - Inkscape doesn't seem to have straight analog -->
<!-- Replicate - Ctrl+Alt+D - Inkscape doesn't seem to have straight analog -->


<!-- TEXT MENU -->

<!-- we don't seem to have verbs for them: 
Reduce Font Size - Ctrl+Shift+,
Increase Font Size - Ctrl+Shift+.
Plain Style - Ctrl+Shift+P
Bold Style - Ctrl+Shift+B
Italic Style - Ctrl+Shift+I
Underline Style - Ctrl+Shift+U
Strikethrough - Ctrl+Shift+K
Outline - Ctrl+Shift+O
Shadow - Ctrl+Shift+W
Small Caps - Ctrl+Shift+\
Superscript - Ctrl+Shift+=
Subscript - Ctrl+Shift+- -->

  <bind key="]" modifiers="Ctrl,Shift" action="org.inkscape.text.uppercase" display="true"/>

  <bind key="[" modifiers="Ctrl,Shift" action="org.inkscape.text.lowercase" display="true"/>

  <bind key=";" modifiers="Ctrl,Shift" action="org.inkscape.text.titlecase" display="true"/>

<!-- we don't seem to have verbs for them: 
Right Justification - Ctrl+Shift+R
Left - Ctrl+Shift+L
Center - Ctrl+Shift+C
Full - Ctrl+Shift+F
Leading -> Tighten - Alt+Shift+Up arrow
Leading -> Loosen - Alt+Shift+Down arrow
Kerning -> Tighten - Alt+Shift+Left arrow
Kerning -> Loosen - Alt+Shift+Right arrow
Kerning -> Tighten Fine Kerning 0,25 - Ctrl+Alt+Shift+Left arrow
Kerning -> Loosen Fine Kerning 0,25 - Ctrl+Alt+Shift+Right arrow
-->

  <bind key="T" modifiers="Ctrl" action="DialogText" display="true"/>
  <bind key="t" modifiers="Ctrl" action="DialogText" />  

<!-- OBJECT MENU -->

<!-- Edit Object... - Ctrl+E (редактирование объекта по контрольным точкам) -->

<!-- "Object Specs...": -->

  <bind key="I" modifiers="Ctrl" action="DialogObjectProperties" display="true"/>
  <bind key="i" modifiers="Ctrl" action="DialogObjectProperties" />

  <bind key="F" modifiers="Ctrl" action="SelectionToFront" display="true"/>
  <bind key="f" modifiers="Ctrl" action="SelectionToFront" />

  <bind key="B" modifiers="Ctrl" action="SelectionToBack" display="true"/>
  <bind key="b" modifiers="Ctrl" action="SelectionToBack" />

  <bind key="[" modifiers="Ctrl" action="SelectionRaise" display="true"/>

  <bind key="]" modifiers="Ctrl" action="SelectionLower" display="true"/>

  <bind key="F6" action="DialogAlignDistribute" display="true"/>

<!-- Move... -->
  <bind key="m" modifiers="Ctrl" action="DialogTransform" display="true"/>
  <bind key="M" modifiers="Ctrl" action="DialogTransform" />

<!-- Scale... -->
  <bind key="F8" action="DialogTransform" display="true"/>

  <bind key="g" modifiers="Ctrl" action="SelectionGroup" display="true"/>
  <bind key="G" modifiers="Ctrl" action="SelectionGroup" />

  <bind key="u" modifiers="Ctrl" action="SelectionUnGroup" display="true"/>
  <bind key="U" modifiers="Ctrl" action="SelectionUnGroup" />

<!-- we don't have individual verbs for locking and unlocking
Lock - Ctrl+L
Unlock - Ctrl+K
-->
 
<!-- Join? Huh? 
Path -> Join - Ctrl+Alt+J
-->

  <bind key="s" modifiers="Ctrl,Alt" action="SelectionSimplify" display="true"/>
  <bind key="S" modifiers="Ctrl,Alt" action="SelectionSimplify" />

<!-- Right now simplification of Bezier curves in Inkscape is destructive:
Path -> Unsmooth - Ctrl+Alt+U
-->

<!-- Live Curve Editing is conceptually close to wireframe mode, thus using the verb -->
  <bind key="l" modifiers="Ctrl,Alt" action="ViewModeToggle" display="true" />
  <bind key="L" modifiers="Ctrl,Alt" action="ViewModeToggle" />
  <bind action="ViewColorModeToggle" />
  <bind action="ViewSplitModeToggle" />
  <bind action="ViewXRayToggle" />
<!-- LAYOUT MENU -->

<!-- Needs checking
Display -> Size - Shift+F8
-->

  <bind key="F9" modifiers="Shift" action="ToggleGrid" />

  <bind key="F11" modifiers="Shift" action="ToggleRulers" />

  <bind key="F6" modifiers="Shift" action="ToggleGuides" />
  
<!-- EEK! Inkscape has no pages! 
Display -> Page Breaks - F10

But then we don;t need this too :)

Display -> Refresh - F5
-->

<!-- No named views at this time
Views -> New... - Ctrl+Alt+N
-->

  <bind key="KP_Add" modifiers="Shift,Alt" action="ZoomIn" display="true"/>

  <bind key="KP_Subtract" modifiers="Shift,Alt" action="ZoomOut" display="true"/>

<!-- This is "Home View" in Canvas's terminology -->
  <bind key="F3" action="Zoom1:0" display="true"/>

<!-- Views -> Fit to Window - Shift+F3
  <bind key="4" action="ZoomDrawing" display="true"/>
  <bind key="5" action="ZoomPage" display="true"/>
  <bind key="KP_5" action="ZoomPage" />
-->

<!-- Not implemented
Views -> Zoom... - Ctrl+/ (переход в статусную строку с клавиатуры для ввода зума ручками)
-->

<!-- Sending users to Document Properties for defining measure unit used in rulers -->
  <bind key="F11" action="DialogDocumentProperties" />

<!-- Not available in Inkscape at all
Slide Show - F12 -->

<!--
  This is a trick again, since Smart Mouse analog (snapping to objects/nodes/etc.) 
  and snapping to grids/guides are setup in Document Properties in Inkscape
-->
  <bind key="[" modifiers="Ctrl,Alt" action="DialogDocumentProperties" />

  <bind key="F9" modifiers="Ctrl,Shift" action="DialogDocumentProperties" />

  <bind key="F7" modifiers="Ctrl,Shift" action="DialogDocumentProperties" />


<!-- EFFECTS MENU -->

<!--Rotate tab in Transformation dialog is the answer -->
  <bind key="r" modifiers="Ctrl" action="DialogTransform" display="true"/>
  <bind key="R" modifiers="Ctrl" action="DialogTransform" />

<!-- 
  Not sure what to do with this one.
  Basically it's skew mode of our Selector tool
  
  Freeform - Ctrl+Alt+F (skew)
-->

<!-- This is not interactive Blend tool, but something close. Yay for LPE :) -->
  <bind key="b" modifiers="Ctrl,Alt" action="org.ekips.filter.interp" display="true"/>
  <bind key="B" modifiers="Ctrl,Alt" action="org.ekips.filter.interp" />

<!-- 
  "Combine..." dialog (Ctrl+Alt+C) provides boolean ops.
  There are no shortcuts for them in Canvas
-->

<!-- This is not interactive Envelope tool, but something close. Yay for LPE :) -->
  <bind key="v" modifiers="Ctrl,Alt" action="org.ekips.filter.perspective" display="true"/>
  <bind key="V" modifiers="Ctrl,Alt" action="org.ekips.filter.perspective" />

<!-- This is not interactive Extrusion tool, but something close. Yay for LPE :) -->

  <bind key="e" modifiers="Ctrl,Alt" action="org.ekips.filter.motion" display="true"/>
  <bind key="E" modifiers="Ctrl,Alt" action="org.ekips.filter.motion" />

<!-- IMAGE MENU -->

<!-- Not implemented in Inkscape:
Select -> Hide Edges - Ctrl+Shift+E -->

  <bind key="i" modifiers="Ctrl,Alt" action="FileImport" display="true"/>
  <bind key="I" modifiers="Ctrl,Alt" action="FileImport" />

</keys>