Inkscape.org
Beyond the Basics Creating A Shortcut Key
  1. #1
    Wilma DAVENPORT Wilma DAVENPORT @WilmaDD

    I'm wondering if there is any way to create a shortcut key to the Extensions>Generate From Path>Inset/Outset Halo function.  I use this a lot and would love to be able to have a shortcut.  I have figured out creating/changing shortcuts in the default.xml file and putting in my personal default file directory, but not sure what/if action I would use for the Inset/Outset Halo function.  Any input would be greatly appreciated.  Thanks.  

  2. #2
    inklinea inklinea @inklinea⛰️

    If you are using Inkscape 1+ , is there a reason why you are editing the xml file.

    It can be done that way, but Edit>Preferences>Interface>keyboard shortcuts  allows you to search for the extension and double click the shortcut column.

    It then asks for you to press a key combination ( accelerator ) and warns of any conflicts with existing shortcuts.

    If you do want the code for a halo shortcut though, this is what my default.xml looks like. ( Using Ctrl+O - overrides default 'open file' shortcut ) 

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <keys
       name="My custom shortcuts">
      <bind
         key="o"
         modifiers="Ctrl"
         action="org.inkscape.effect.bluredge"
         display="true" />
      <bind
         key="O"
         modifiers="Ctrl"
         action="org.inkscape.effect.bluredge" />
    </keys>

    2021 02 20 07 55
  3. #3
    ian ian @Ianp5a
    *

    "Double-click on the shortcut column" is a bit of a hidden operation. Not knowing that I'd already given up double-clicking around. It definitely needs

    • a hint somewhere, or
    • let you double-click anywhere on the whole line, or
    • have a right-click menu on the whole line, or
    • select a line and click a new Edit button. Or
    • All of the above.

    Now a Gitlab requirement: https://gitlab.com/inkscape/inbox/-/issues/4499

  4. #4
    Wilma DAVENPORT Wilma DAVENPORT @WilmaDD

    Thank you both, inklinea and ian.  I got it!   First I am not a programmer  (have html coding experience) so I'm figuring this out thru trial and error and determination.  I definitely didn't know about the double-clicking on the shortcut and didn't realize that the "new accelerator" was the prompt for my shortcut keys. That is SO MUCH EASIER!   So, now I know how to do it two different ways!  Thanks so much!!