Keyboard (NO) doesn't have square bracket

Post questions on how to use or achieve an effect in Inkscape.
User avatar
Grobe
Posts: 411
Joined: Tue Feb 02, 2010 2:20 am

Keyboard (NO) doesn't have square bracket

Postby Grobe » Fri Oct 08, 2010 7:43 am

Hi.

One can read in a nice Inkscape guide about node handling.

Under the section Rotating Handles, the square bracket keys on the keyboard is used. Problem here is that norwegian keyboards have the [] buttons located at the 8 and 9 key, and require user to hold down Shift to access the squares.

The combination "Left-Alt+["

I guess this is more a language issue rather that short keys itself. But if anybody have ideas about this is welcome. The < > buttons is same as for english keyboard.
:lol:

Uktrunie
Posts: 154
Joined: Sun Jul 18, 2010 4:48 am

Re: Keyboard (NO) doesn't have square bracket

Postby Uktrunie » Fri Oct 08, 2010 12:50 pm

It's a well known problem. But AFAIK there's no planned solution for this.

You could edit the shortcuts file in SomePath/shared/keys/Default.xml ("SomePath" depends on your system, but the Inkscape directory is a good bet), but it does not allow you to change all key combinations and commands that you have in Inkscape. :(

User avatar
Grobe
Posts: 411
Joined: Tue Feb 02, 2010 2:20 am

Re: Keyboard (NO) doesn't have square bracket

Postby Grobe » Sat Oct 09, 2010 12:03 am

Thanks.

But unfortunately I couldn't find the hotkey for "Node handle rotating" or what it calls.
:lol:

User avatar
druban
Posts: 1917
Joined: Fri Nov 20, 2009 10:48 pm

Re: Keyboard (NO) doesn't have square bracket

Postby druban » Sat Oct 09, 2010 2:09 am

Keys only has keybindings for items in the menus. The other key associations are not available for editing after compilation.
What happens if you type left-alt+Å? (the character to the right of the P)?
Your mind is what you think it is.

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: Keyboard (NO) doesn't have square bracket

Postby ~suv » Sat Oct 09, 2010 2:56 am

druban wrote:Keys only has keybindings for items in the menus. The other key associations are not available for editing after compilation.

Keyboard shortcuts in 'share/keys/default.xml' (or the equivalent file in the Inkscape user profile) can be defined for every action that has a verb associated (there exist more verbs than menu commands, but each command that has a menu entry also needs to have verb associated). (You can get a complete list of verbs by calling inkscape on the command line with 'inkscape --verb-list').

The commands to rotate objects, nodes or characters indeed cannot be remapped within Inkscape (they are hard-coded) - a workaround (short of editing the source files and recompiling Inkscape) might exist depending on your OS: if for example Inkscape is running under X11 (on Mac OS X) it is possible remap two (rarely used) keys to create the '[' and ']' characters without additional modifier keys (using xmodmap and ~/.Xmodmap). Note that a change on this level will affect all other applications running under X11, too and is not limited nor related to Inkscape itself.

I don't know if and how this could be done on Windows, and as far as i know Bug #488314 in Inkscape: “Issue with Alt-[ and Alt-] on AZERTY keyboards” (and the other duplicates) hasn't been confirmed to happen on linux as well.

Another workaround (again only tested on Mac OS X) is switching the keyboard layout while working with Inkscape to 'US' or 'US Extended': now the letters on the key caps no longer correspond to what letter is created on key press, but characters like '[', ']', '<', '>' can be typed without 'Alt' or 'Option' (or 'Shift') modifiers and work as keyboard shortcuts in Inkscape as expected. It's kind of typing blindly, though ;).


Return to “Help with using Inkscape”