I'm having trouble personalizing my keyboard shortcuts on Inkscape. Please give me your thoughts...
1. How do I disable the quick zoom feature? It seems to be hardcoded; I would like to map something to the Q key but Quick Zoom overrides everything. The action seems absent from verbs.cpp and I rewrote my default.xml from scratch anyway so I see no way Quick Zoom could have slipped in accidentally. A walk through Inkscape's preferences yielded no light either.
2. "Ctrl+A" appears to be glued to "EditSelectAll" (not vice-versa, though). Because I like to keep my selection commands on the Shift key, the following XML leads to both Ctrl+A and Shift+A selecting everything in the current layer (even though there's no Ctrl):
Code: Select all
<bind key="a" modifiers="Shift" action="EditSelectAll" display="true" />
<bind key="A" modifiers="Shift" action="EditSelectAll" />
3. Much like in the previous issue, comma and period seem to be hardcoded into shrinking and enlarging the currently selected object.
As I wrote the previous sentence I realized shrinking and growing only make sense when the

Maybe that has something to do with issue 2 also?
4. Neither single-quote symbol (`, ´) seem to ever do anything. The back quote is assigned to zoom history by default as stated in http://inkscape.org/doc/keys046.html, and I guess that means it has proved to work, so I might be alone in this. I've tried setting the following names (minus GDK_KEY_) to no avail (from gdkkeysyms.h): GDK_KEY_apostrophe, GDK_KEY_quoteright, GDK_KEY_quoteleft, GDK_KEY_asciicircum, GDK_KEY_grave, GDK_KEY_asciitilde, GDK_KEY_acute, GDK_KEY_dead_tilde and GDK_KEY_dead_circumflex.
Using:
- A US keyboard.
- Tried both the "English (US)" and the "English (US, international with dead keys)" keyboard layouts.
- Ubuntu 12.04 wearing gnome classic with no effects (I guess these can intercept shortcuts or something).
- Inkscape 0.48.
Here's a simplified default.xml file that summarizes all of the above, for testing:
Code: Select all
<?xml version="1.0"?>
<keys name="Test">
<!-- 1st issue; Inkscape ignores these and execs Quick Zoom when the Q key is pressed. -->
<!-- Expected behavior: The ToolPen tool activates. -->
<!-- Actual behavior: Temporal zoom-in. -->
<bind key="q" action="ToolPen" display="true" />
<bind key="Q" action="ToolPen" />
<!-- 2nd issue; These fail to replace Ctrl+A. Shift+A behaves as expected though. -->
<!-- Expected behavior: Shift+A selects everything in the current layer, Ctrl+A activates the ToolPen. -->
<!-- Actual behavior: BOTH Shift+A and Ctrl+A select everything in the current layer. -->
<bind key="a" modifiers="Shift" action="EditSelectAll" display="true" />
<bind key="A" modifiers="Shift" action="EditSelectAll" />
<bind key="a" modifiers="Ctrl" action="ToolPen" />
<bind key="A" modifiers="Ctrl" action="ToolPen" />
<!-- 3rd issue; this does nothing when the Select tool is active. -->
<!-- Expected behavior: The ToolPen tool activates. -->
<!-- Actual behavior: The currently selected object shrinks or grows. -->
<bind key="comma" action="ToolPen" display="true" />
<bind key="period" action="ToolPen" display="true" />
<!-- 4th issue: I can't get tildes/apostrophes to work at all. -->
<!-- Expected behavior: Either tilde on the keyboard should activate the ToolPen. -->
<!-- Actual behavior: Nothing happens. -->
<bind key="apostrophe" action="ToolPen" />
<bind key="quoteright" action="ToolPen" />
<bind key="quoteleft" action="ToolPen" />
<bind key="asciicircum" action="ToolPen" />
<bind key="grave" action="ToolPen" />
<bind key="asciitilde" action="ToolPen" />
<bind key="acute" action="ToolPen" />
<bind key="dead_tilde" action="ToolPen" />
<bind key="dead_circumflex" action="ToolPen" />
<!-- These are here just to show that the problem is not ToolPen. If I delete it, the problems above persist. -->
<bind key="p" action="ToolPen" display="true" />
<bind key="P" action="ToolPen" />
</keys>
I've sorted the problems from most important to whatever. Issue 1 renders Inkscape almost unusable to me due to Q's location :S. I mean just saying in case this is going to steal too much of your time.
Thank you.