[GNC] Defining Keyboard shortcuts for Menu Functions
Jean L
ripngo at gmail.com
Thu Mar 7 23:52:18 EST 2024
You have a typo in your second line (missing > after Primary). I don't
know whether that screws up the import of the file, or if the typo is
only in your email, but that could be the reason it's not working?
Jean
On 3/7/2024 5:02 PM, Lincoln A Baxter wrote:
> Thanks Jean...
>
> I tried this as follows (while GC was not running):
>
> ; control-shift-c for csv import:
> (gtk_accel_path
> "<Actions>/gnc-plugin-csv-import-actions/CsvImportTransAction"
> "<Primary><Shift>c")
> ; control-shift-o for Ofx import:
> (gtk_accel_path "<Actions>/gnc-plugin-ofx-actions/OfxImportAction"
> "<Primary<Shift>o")
>
> Then I ran GC, and Control-Shift-o and Control-Shift-c did nothing.
> FWIW I'm running GC version 4.13 on Debian stable. (bookworm) using
> the Xfce window manager.
>
> Thanks for trying, I've decided I can live with Alt-f-i-o which does
> seem to work.
>
> Lincoln
>
>
> On Wed, 2024-03-06 at 09:38 -0800, Jean Laroche wrote:
>> As shown in
>> https://wiki.gnucash.org/wiki/Keyboard_Shortcuts#Modifying_Keyboard_Shortcuts
>>
>> You need to find and edit the file accelerator-map
>> Then uncomment the line
>>
>> (gtk_accel_path "<Actions>/gnc-plugin-ofx-actions/OfxImportAction" "")
>>
>> And modify to this (for example, for Ctrl-shift-o to import ofx).
>>
>> (gtk_accel_path "<Actions>/gnc-plugin-ofx-actions/OfxImportAction"
>> "<Primary><Shift>o")
>>
>> Jean
>>
>> On 3/6/24 9:14 AM, Lincoln A Baxter wrote:
>>> Hi
>>>
>>> I've just spent 45 minutes searching the web, and GC docs for how to a
>>> new keyboard shortcut.
>>>
>>> The shortcut I want define would be to File->Import->Import OFX/QFX
>>>
>>> Can someone provide me with enough information so that I can do this?
>>>
>>> I have no problem editing text configuration files.
>>>
>>> I would need to know the function-name for this action, and how to bind
>>> a key to that function in a configuration file GC will read.
>>>
>>> TIA,
>>>
>>> Lincoln
>>> _______________________________________________
>>> gnucash-user mailing list
>>> gnucash-user at gnucash.org
>>> To update your subscription preferences or to unsubscribe:
>>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>>> -----
>>> Please remember to CC this list on all your replies.
>>> You can do this by using Reply-To-List or Reply-All.
>> _______________________________________________
>> gnucash-user mailing list
>> gnucash-user at gnucash.org
>> To update your subscription preferences or to unsubscribe:
>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>> -----
>> Please remember to CC this list on all your replies.
>> You can do this by using Reply-To-List or Reply-All.
More information about the gnucash-user
mailing list