Remap Keyboard Pan Canvas

Post questions on how to use or achieve an effect in Inkscape.
forbyta
Posts: 2
Joined: Tue Feb 07, 2017 11:21 am

Remap Keyboard Pan Canvas

Postby forbyta » Sun Feb 19, 2017 8:41 am

Is it possible to remap the keyboard shortcut for panning the canvas?

I'm using Inkscape 0.91 on Mac OS X.

Currently, Inkscape uses Ctrl-Arrow [Left,Right,Up,Down], but I have that mapped to switch between Mac OS X Spaces. I've been using it that way for too many years and it's 2nd nature now, so I'd rather not change the Spaces shortcut.

I'd like to remap Inkscape to use Shift-Ctrl-Arrow [Left,Right,Up,Down].

I looked through the default.xml, but couldn't find where panning the canvas was mapped, so it must be somewhere else?

Assuming it CAN be overridden by using default.xml, how do you map something to one of the arrow keys? I couldn't find any examples in default.xml that used arrow keys.

Is anything else already using Shift-Ctrl-Arrows? I couldn't find anything in default.xml, but that doesn't appear to be the only place keyboard shortcuts are defined.

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Remap Keyboard Pan Canvas

Postby Moini » Sun Feb 19, 2017 11:16 am

I think these are hardcoded... (more shortcuts: https://inkscape.org/en/doc/keys092.html#d0e911)

You can also set keyboard shortcuts via Edit -> Preferences -> Interface -> Keyboard shortcuts. There, to set a new shortcut, you'd only need to press the key.
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

forbyta
Posts: 2
Joined: Tue Feb 07, 2017 11:21 am

Re: Remap Keyboard Pan Canvas

Postby forbyta » Mon Feb 20, 2017 8:17 am

Moini wrote:I think these are hardcoded...

I was afraid that might be the case. Do you know if there's a specific reason the "Pan Canvas" keyboard shortcuts are hardcoded? Is that something that just can't be configurable? Or it just hasn't been done?

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Remap Keyboard Pan Canvas

Postby Moini » Mon Feb 20, 2017 9:52 am

No, sorry, I don't know about the reasons for this.
In any case, I think you should make a bug report (feature requests go there, as well), even if just to find out.
Visit https://bugs.launchpad.net/inkscape to do so.
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)


Return to “Help with using Inkscape”