Help changing keyboard shortcuts (XML code)

Discuss SVG code, accessible via the XML Editor.
San_123
Posts: 1
Joined: Sat Sep 08, 2012 12:11 am

Help changing keyboard shortcuts (XML code)

Postby San_123 » Sat Sep 08, 2012 12:31 am

Hello everyone,

I am new user of Inkscape 0.48 (Windows 7). I would like to change some of the keyboard shortcuts. Searching online I found I have to edit default.xml found in "Program Files\Inkscape\share\keys" folder.

I have installed Microsoft's XML Editor, opened the default.xml, made changes per attached screen shot but after I replace the default.xml (kept original .xml document in case I ran into problems with my edits) in the keys folder, the shortcut has not changed in Inkscape (closed and restarted the application). Moreover, the original shortcut F1 does not appear in the tool tip when I hover over the tool in the toolbar. Also, the shortcut F1 does not work, nor does v (lowercase) work.

Would greatly appreciate if someone can guide me how to make the keyboard shortcut change. If this should have been posted in another location/forum, please advise.

Thanks,
San
Attachments
XML Editor Screen Shot.png
screen shot of XML editor after making changes to default.xml
XML Editor Screen Shot.png (77.05 KiB) Viewed 4307 times

pingo08
Posts: 3
Joined: Sun Oct 07, 2012 12:40 pm

Re: Help changing keyboard shortcuts (XML code)

Postby pingo08 » Sun Oct 07, 2012 1:28 pm

Hello

I think your problem is that the v key is already assigned (to Object > Flip Vertical), so because the XML file is read sequentially the ObjectFlipVertically action (which is defined later) overrides ToolSelector.
So just find ObjectFlipVertically and either delete it or set it to some other key.

Hope I'm not too late.
Pingo


Return to “SVG / XML Code”